/** Declare before focus enters: a document editor keeps ownership between its fields and buttons. */ export declare const EDITING_FOCUS_SCOPE = "data-pygmalion-editing-focus-scope"; /** One listener set per document; typing outside the editor owns the keyboard too. */ export declare function createEditingFocusStore(document: Document): { getSnapshot: () => boolean; subscribe(listener: () => void): () => void; }; export declare function useEditingFocus(document?: Document | undefined): boolean;