import type { MarkType } from 'prosemirror-model';
import { PasteRule, type PasteRuleFinder } from '../PasteRule';
import type { ExtendedRegExpMatchArray } from '../types';
/**
 * Build paste rule that adds a mark when the
 * matched text is pasted into it.
 * @see https://tiptap.dev/docs/editor/extensions/custom-extensions/extend-existing#paste-rules
 */
export declare function markPasteRule(config: {
    find: PasteRuleFinder;
    type: MarkType;
    getAttributes?: Record<string, any> | ((match: ExtendedRegExpMatchArray, event: ClipboardEvent) => Record<string, any>) | false | null;
}): PasteRule;
//# sourceMappingURL=markPasteRule.d.ts.map