interface KeyboardNavigationOptions { /** * Current value of the selected item */ currentValue: string; /** * Array of all available item values */ items: string[]; /** * Reference to the container element */ containerRef: React.RefObject; /** * Data attribute to use to find items in the container */ dataAttribute: string; /** * CSS class name that indicates an item is disabled */ disabledClassName: string; /** * Callback to focus an item at a specific index */ onFocusItem: (value: string) => void; /** * Callback to select an item */ onSelectItem?: (value: string) => void; /** * Whether the component is in horizontal orientation */ isHorizontal?: boolean; } export declare function useKeyboardNavigation({ currentValue, items, containerRef, dataAttribute, disabledClassName, onFocusItem, onSelectItem, isHorizontal, }: KeyboardNavigationOptions): { handleKeyDown: (event: React.KeyboardEvent) => void; }; export {};