import { OnChangeFn, TableOptions } from '@tanstack/react-table'; export interface UseFuzzySearchResult { globalFilter: string; setGlobalFilter: OnChangeFn; fuzzySearchOptions: Pick, 'filterFns' | 'globalFilterFn' | 'getFilteredRowModel' | 'filterFromLeafRows' | 'onGlobalFilterChange'>; } /** * Returns fuzzy search state and the corresponding `useReactTable` options. * Filter options are disabled when `showSearch` is falsy. */ export declare function useFuzzySearch(isSearchEnabled: boolean | undefined): UseFuzzySearchResult; //# sourceMappingURL=useFuzzySearch.d.ts.map