import * as _udecode_plate_core from '@udecode/plate-core'; import { PluginConfig, SlateEditor } from '@udecode/plate'; import { TriggerComboboxPluginOptions } from '@udecode/plate-combobox'; type MentionConfig = PluginConfig<'mention', { insertSpaceAfterMention?: boolean; } & TriggerComboboxPluginOptions, {}, { insert: { mention: (options: { search: string; value: any; key?: any; }) => void; }; }>; declare const BaseMentionInputPlugin: _udecode_plate_core.SlatePlugin>; /** Enables support for autocompleting @mentions. */ declare const BaseMentionPlugin: _udecode_plate_core.SlatePlugin void; }; }, {}>>; interface TMentionItemBase { text: string; key?: any; } type MentionOnSelectItem = (editor: SlateEditor, item: TItem, search?: string) => void; declare const getMentionOnSelectItem: ({ key, }?: { key?: string; }) => MentionOnSelectItem; export { BaseMentionInputPlugin, BaseMentionPlugin, type MentionConfig, type MentionOnSelectItem, type TMentionItemBase, getMentionOnSelectItem };