import type { MarkType } 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 adds a mark when the
 * matched text is typed into it.
 * @see https://tiptap.dev/guide/custom-extensions/#input-rules
 */
export declare function markInputRule(config: {
    find: InputRuleFinder;
    type: MarkType;
    getAttributes?: Record<string, any> | ((match: ExtendedRegExpMatchArray) => Record<string, any>) | false | null;
}): InputRule;
//# sourceMappingURL=mark-input-rule.d.ts.map