export declare function pickBy(obj: T, fn: (i: T[keyof T]) => boolean): Partial; export declare function maxBy(arr: T[], fn: (i: T) => number): T | undefined; export declare type SortTypes = string | number | undefined | boolean; export declare function sortBy(arr: T[], fn: (i: T) => SortTypes | SortTypes[]): T[];