import { ListItemProps } from '../lists/ListItemViewProps'; export declare type UseFilterProps = { searchable?: boolean; items: A[]; query?: string; onQueryChange?: (next: string) => any; sortBy?: (item: A) => string; filterKeys?: string[]; removePrefix?: string; groupBy?: (item: any) => string; groupByLetter?: boolean; groupMinimum?: number; }; export declare function useFilter(props: UseFilterProps): { results: any[]; getItemProps: (item: any, index: number, items: any[]) => { separator: string; }; }; export declare function removePrefixIfExists(text: string, prefix: string): string; //# sourceMappingURL=useFilter.d.ts.map