import { Editor, Extension } from "@tiptap/core"; import { Plugin, PluginKey } from "@tiptap/pm/state"; //#region src/extensions/focus-scopes.d.ts interface FocusScopesOptions { clearSelectionOnBlur: boolean; } interface FocusScopesStorage { registerScope: (el: HTMLElement | null) => void; unregisterScope: (el: HTMLElement | null) => void; } declare module '@tiptap/core' { interface Storage { focusScope: FocusScopesStorage; } } declare const focusScopePluginKey: PluginKey; declare function createFocusScopesStorage(): FocusScopesStorage; declare function createFocusScopePlugin({ editor, storage, clearSelectionOnBlur }: { editor: Editor; storage: FocusScopesStorage; clearSelectionOnBlur: boolean; }): Plugin; declare const FocusScopes: Extension; //#endregion export { createFocusScopesStorage as a, createFocusScopePlugin as i, FocusScopesOptions as n, focusScopePluginKey as o, FocusScopesStorage as r, FocusScopes as t }; //# sourceMappingURL=focus-scopes-CKTuaMk3.d.mts.map