/** * Props for the FocusContext. */ export interface FocusProps { /** * The ID of the currently active (focused) component. */ readonly activeId?: string; /** * Register a new focusable component. * * @param id - Unique identifier for the focusable component. * @param options.autoFocus - Auto-focus the component when registered. */ readonly add: (id: string, options: { autoFocus: boolean; }) => void; /** * Unregister a focusable component. * * @param id - Unique identifier of the component to unregister. */ readonly remove: (id: string) => void; /** * Mark a component as active (focused). * * @param id - Unique identifier of the component to activate. */ readonly activate: (id: string) => void; /** * Mark a component as inactive (unfocused). * * @param id - Unique identifier of the component to deactivate. */ readonly deactivate: (id: string) => void; /** * Enable focus management. */ readonly enableFocus: () => void; /** * Disable focus management. */ readonly disableFocus: () => void; /** * Move focus to the next component. */ readonly focusNext: () => void; /** * Move focus to the previous component. */ readonly focusPrevious: () => void; /** * Focus a specific component by ID. * * @param id - Unique identifier of the component to focus. */ readonly focus: (id: string) => void; } /** * Context to manage focus state across the application. */ export declare const FocusContext: import("react").Context;