export declare type TTerm = { key: string; value: string | number; }; export declare type TMatchingFunction = (value: string | number) => boolean; export declare type TFilter = TTerm & { isMatching?: TMatchingFunction; }; export interface ISearchProvider { isMatching: (id: string | number, property: string, valueToMatch: string | number) => boolean; getTerms: () => TTerm[]; }