export declare function pickBy>(obj: T, fn: (i: T[keyof T]) => boolean): Partial; export declare function compact(a: (T | undefined)[]): T[]; export declare function uniqBy(arr: T[], fn: (cur: T) => any): T[]; export declare function last(arr?: T[]): T | undefined; type SortTypes = boolean | number | string | undefined; export declare function sortBy(arr: T[], fn: (i: T) => SortTypes | SortTypes[]): T[]; export declare function castArray(input?: T | T[]): T[]; export declare function isProd(): boolean; export declare function maxBy(arr: T[], fn: (i: T) => number): T | undefined; export declare function sumBy(arr: T[], fn: (i: T) => number): number; export declare function capitalize(s: string): string; export declare function isTruthy(input: string): boolean; export declare function isNotFalsy(input: string): boolean; export declare function uniq(arr: T[]): T[]; export declare function mapValues, TResult>(obj: { [P in keyof T]: T[P]; }, fn: (i: T[keyof T], k: keyof T) => TResult): { [P in keyof T]: TResult; }; export declare function mergeNestedObjects(objs: Record[], path: string): Record; export {};