import { NodeType } from '@sse-editor/pm/model'; import { PasteRule, PasteRuleFinder } from '../PasteRule.js'; import { ExtendedRegExpMatchArray } from '../types.js'; /** * Build an paste rule that adds a node when the * matched text is pasted into it. */ export declare function nodePasteRule(config: { find: PasteRuleFinder; type: NodeType; getAttributes?: Record | ((match: ExtendedRegExpMatchArray, event: ClipboardEvent) => Record) | false | null; }): PasteRule;