/** * Module-level tracker for the active (focused) PureRichText instance. * Separate file so PureRichText.tsx and EditorPanel.tsx can import it without a cycle. */ import { Editor } from 'slate'; export declare function registerActiveRichText(id: string, editable: HTMLDivElement | null, editor: Editor | null): void; export declare function clearActiveRichText(id: string): void; export declare function getActiveRichTextId(): string | null; export declare function getActiveSlateEditor(): Editor | null; /** * Restore focus and caret on the active Slate editor. ReactEditor.focus() restores * both DOM focus and the Slate selection into window.getSelection() (caret visible). */ export declare function focusActiveEditable(): void; export declare function subscribeActiveRichText(callback: () => void): () => void; export declare function setSuppressBlurDeactivation(value: boolean): void; export declare function isSuppressBlurDeactivation(): boolean; export declare function setMouseSelecting(value: boolean): void; export declare function isMouseSelecting(): boolean; export declare function setSuppressNextEditClick(value: boolean): void; export declare function consumeSuppressNextEditClick(): boolean; //# sourceMappingURL=activeInstance.d.ts.map