export declare function sortBy(arr: T[], fn: (i: T) => sortBy.Types | sortBy.Types[]): T[]; export declare namespace sortBy { type Types = string | number | undefined | boolean; } export declare function uniq(arr: T[]): T[]; export declare function uniqWith(arr: T[], fn: (a: T, b: T) => boolean): T[];