export interface UseKeyboardNavigationOptions { records: TRecord[]; isOpen: boolean; onSelect: (record: TRecord) => void; onClose: () => void; onEscape: () => void; onClear: () => void; searchQuery: string; /** * Fired when Enter is pressed while nothing is highlighted (the user typed and hit * Enter immediately, without arrowing down to a result first) and there's search text * to act on. Lets the host resolve/verify an exact match (e.g. a full code) directly * instead of Enter being a no-op. */ onEnterWithoutHighlight?: (searchQuery: string) => void; } export interface UseKeyboardNavigationResult { highlightedIndex: number; setHighlightedIndex: (index: number) => void; handleKeyDown: (event: React.KeyboardEvent) => void; } export declare function useKeyboardNavigation(options: UseKeyboardNavigationOptions): UseKeyboardNavigationResult; //# sourceMappingURL=useKeyboardNavigation.d.ts.map