import type { Dispatch } from 'react'; import { SuggestionItemType } from '../Autocomplete.types'; import type { FocusedPathAction } from '../reducers/focusedReducer'; export declare const keys: { Enter: string; Space: string; Tab: string; Escape: string; ArrowLeft: string; ArrowRight: string; ArrowUp: string; ArrowDown: string; Home: string; End: string; PageUp: string; PageDown: string; }; interface ReturnedProps { onKeyDown: (event: React.KeyboardEvent) => void; } interface Props { isOpen: boolean; setIsOpen: (e: boolean) => void; focused: number | null; dispatchFocused: Dispatch; finalResults: SuggestionItemType[]; handleItemClick: (e: SuggestionItemType) => void; } export declare const useKeyNavigation: ({ isOpen, setIsOpen, focused, dispatchFocused, finalResults, handleItemClick, }: Props) => ReturnedProps; export {}; //# sourceMappingURL=useKeyboardNavigation.d.ts.map