import type { Ctx, MilkdownPlugin } from '@milkdown/ctx'; import type { MarkSchema } from '@milkdown/transformer'; import type { $Ctx } from '../$ctx'; import type { $Mark } from '../$mark'; export type GetMarkSchema = (ctx: Ctx) => MarkSchema; export type $MarkSchema = [ schemaCtx: $Ctx, schema: $Mark ] & { id: $Mark['id']; type: $Mark['type']; mark: $Mark; ctx: $Ctx; schema: MarkSchema; key: $Ctx['key']; extendSchema: (handler: (prev: GetMarkSchema) => GetMarkSchema) => MilkdownPlugin; }; export declare function $markSchema(id: T, schema: GetMarkSchema): $MarkSchema; //# sourceMappingURL=$mark-schema.d.ts.map