export type DistanceFunction<T = any> = (a: T[], b: T[]) => T;
