export type SearchFunction = (search: string, values: T[]) => T[];