import { type KeyboardEvent } from "react"; import type { CollectionItem } from "./collectionTypes"; interface TypeaheadHookProps { disableTypeToSelect?: boolean; highlightedIdx: number; highlightItemAtIndex: (idx: number) => void; applyIncrementalSearch?: boolean; typeToNavigate: boolean; items: CollectionItem[]; } interface TypeaheadHookResult { onKeyDown?: (e: KeyboardEvent) => void; } export declare const useTypeahead: ({ disableTypeToSelect, highlightedIdx, highlightItemAtIndex, typeToNavigate, items, applyIncrementalSearch, }: TypeaheadHookProps) => TypeaheadHookResult; export {};