/** A ref that focuses a field once, when it mounts; stable so re-renders never move focus back. */ export declare function focusOnMount(element: HTMLElement | null): void; /** Starts telling keyboard focus from pointer focus, for `focusCameFromKeyboard`. Call it once * something needs to know, such as when a component that asks mounts. */ export declare function trackFocusModality(): void; /** Whether the focus that just landed came from the keyboard rather than a press. */ export declare function focusCameFromKeyboard(): boolean;