import type { FilterItemValues } from '../../filters/filter/types/shared-filter-types.js'; /** * Hook that facilitates easy usage of the FilterBar for filtering entries in the DataTable. * * @param data - the initial, unfiltered data. * @param filter - custom filter function returning a boolean if the row should be filtered or not. * * @returns onChange callback and the filteredData which is then used as an input for the table * @public */ export declare function useFilteredData>(data: Array, filterData?: (appliedFilters: FilterItemValues, entry: T, index: number, originalEntries: Array) => boolean): { onChange: (appliedFilters: FilterItemValues) => void; filteredData: T[]; };