export declare const pick: (obj: T, whitelist: K[]) => Pick; export declare const uid: () => string; export declare function md5(str: string): string; /** * FNV1A32 hash */ export declare function fnv(str: string): string; /** * FNV1A64 hash */ export declare function fnv64(str: string): string; export declare function mapValues(object: Record, func: (value: any) => T): Record; export declare function isEqual(a: object, b: object, ...keysToIgnore: string[]): boolean; export declare function isNumber(x?: unknown): x is number; export declare function isRecord(x: unknown): x is Record; export declare function extendObject>(target: T, ...sources: Partial): T; /** * Convert a human-readable duration to ms */ export declare function toMilliseconds(value: string | number | undefined): number | undefined; /** * Convert a human-readable duration to seconds */ export declare function toSeconds(value: string | number): number | undefined; /** * Returns a first element of an array */ export declare function getFirstOne(val: T[]): T; /** * Returns a last element of an array */ export declare function getLastOne(val: T[]): T; /** * Returns a function that caches the result of func * @param fn - function to be called */ export declare const memoize: (fn: (arg: T) => K) => ((arg: T) => K); export declare const tokenize: (arg: string) => string; export declare const toBoolean: (val?: unknown) => boolean; export declare function durationToMs(input: string): number;