import type { NodeType } from '../../pm/model';
import type { InputRuleFinder } from '../input-rule.js';
import { InputRule } from '../input-rule.js';
import type { ExtendedRegExpMatchArray } from '../types.js';
/**
 * Build an input rule that changes the type of a textblock when the
 * matched text is typed into it. When using a regular expresion you’ll
 * probably want the regexp to start with `^`, so that the pattern can
 * only occur at the start of a textblock.
 * @see https://tiptap.dev/guide/custom-extensions/#input-rules
 */
export declare function textblockTypeInputRule(config: {
    find: InputRuleFinder;
    type: NodeType;
    getAttributes?: Record<string, any> | ((match: ExtendedRegExpMatchArray) => Record<string, any>) | false | null;
}): InputRule;
//# sourceMappingURL=textblock-type-input-rule.d.ts.map