import { OverrideEditor, PluginConfig, SlateEditor, TElement } from "platejs"; //#region src/lib/types.d.ts type CancelComboboxInputCause = 'arrowLeft' | 'arrowRight' | 'backspace' | 'blur' | 'deselect' | 'escape' | 'manual'; type ComboboxInputCursorState = { atEnd: boolean; atStart: boolean; }; type TriggerComboboxPluginOptions = { trigger?: RegExp | string[] | string; triggerPreviousCharPattern?: RegExp; createComboboxInput?: (trigger: string) => TElement; triggerQuery?: (editor: SlateEditor) => boolean; }; //#endregion //#region src/lib/withTriggerCombobox.d.ts declare const withTriggerCombobox: OverrideEditor>; //#endregion export { TriggerComboboxPluginOptions as i, CancelComboboxInputCause as n, ComboboxInputCursorState as r, withTriggerCombobox as t };