import type { FilterFn } from '@tanstack/table-core'; import { DataTableFilterOperatorTypes, DateFilterOperatorType, FilterOperatorTypes, FilterTypes, FilterValueType, MultiSelectFilterOperatorType, NumberFilterOperatorType, SelectFilterOperatorType, StringFilterOperatorType } from '~/types/filters'; import { DataTableFilterValues } from '../data-table.types'; export type FilterPrimitive = string | string[] | number | boolean | Date; export type FilterFunctionsMap = { number: Record>; string: Record>; date: Record>; select: Record>; multiselect: Record>; }; export declare const filterOperationsMap: FilterFunctionsMap; export declare function getFilterFn(type: T, operator: FilterOperatorTypes): any; export declare const getFilterOperator: ({ value, filterType, operator }: { value: FilterPrimitive; filterType?: "string" | "number" | "select" | "date" | "multiselect" | undefined; operator: FilterOperatorTypes; }) => DataTableFilterOperatorTypes; export declare const getFilterValue: ({ value, dataType, filterType, operator }: { value: FilterPrimitive; dataType?: FilterValueType | undefined; filterType?: "string" | "number" | "select" | "date" | "multiselect" | undefined; operator?: "in" | "empty" | "eq" | "neq" | "ilike" | "lt" | "lte" | "gt" | "gte" | "contains" | "starts_with" | "ends_with" | "notin" | undefined; }) => DataTableFilterValues; export declare const getDataType: ({ filterType, dataType }: { dataType?: FilterValueType | undefined; filterType?: "string" | "number" | "select" | "date" | "multiselect" | undefined; }) => FilterValueType; //# sourceMappingURL=filter-operations.d.ts.map