/** * A custom predicate for returning an entirely new `items` array based on the provided query. * See usage sites in `ListItemsProps`. */ export declare type ItemListPredicate = (query: string, items: T[]) => T[]; /** * A custom predicate for filtering items based on the provided query. * See usage sites in `ListItemsProps`. */ export declare type ItemPredicate = (query: string, item: T, index?: number, exactMatch?: boolean) => boolean;