import { NodeType } from 'prosemirror-model';
import { PasteRule } from '../PasteRule';
import { ExtendedRegExpMatchArray } from '../types';
/**
 * Build an paste rule that adds a node when the
 * matched text is pasted into it.
 */
export declare function nodePasteRule(config: {
    find: RegExp;
    type: NodeType;
    getAttributes?: Record<string, any> | ((match: ExtendedRegExpMatchArray) => Record<string, any>) | false | null;
}): PasteRule;
