import { Index, IndexSearchResult } from 'flexsearch';
type IndexableItem = {
    ID: string;
    label: string;
};
export type TextSearchResult = IndexSearchResult;
export declare const useTextSearchIndex: (items: Array<IndexableItem>) => Index;
export {};
//# sourceMappingURL=useTextSearchIndex.d.ts.map