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