export type UseFocusModeResult = [on: boolean, toggle: () => void]; /** * Whether the editor is in focus mode, hiding every panel but the canvas. * Esc exits it, as does any change to the AI panel, which is reopened if the change closed it. */ export declare function useFocusMode(): UseFocusModeResult;