import type { Mark, Node } from '@milkdown/prose/model'; import type { $Ctx } from '../$ctx'; export type $NodeAttr = $Ctx<(node: Node) => Record, `${string}Attr`>; export declare const $nodeAttr: (name: string, value?: (node: Node) => Record) => $NodeAttr; export type $MarkAttr = $Ctx<(node: Mark) => Record, `${string}Attr`>; export declare const $markAttr: (name: string, value?: (mark: Mark) => Record) => $MarkAttr; //# sourceMappingURL=$attr.d.ts.map