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