import { type TuiStringHandler } from './handler'; import { type TuiMapper } from './mapper'; /** * A matcher function to test items against with extra arguments. */ export type TuiMatcher = TuiMapper; export type TuiStringMatcher = (item: I, matchValue: string, stringify: TuiStringHandler) => boolean; export type TuiIdentityMatcher = (item1: I, item2: I) => boolean;