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