export declare type Fn = (a: A) => B; export declare const flatten: (arr: T[][]) => T[]; export declare const fst: (arr: T[]) => T; export declare const encodePayload: (data: any) => string; declare type IPredicate = (value: T) => boolean; export declare const andFilter: (predicates: IPredicate[]) => IPredicate; export declare const andPredicates: (predicates: IPredicate[], value: T) => boolean; export declare function addTime(baseMs: number, offsetMs: number): number; export declare function getNextTimeThreshold(baseTimestamp: number, offsetMs: number): number; export declare function isLastIndex(index: number, arr: T[]): boolean; export declare const not: (fn: Fn) => (value: I) => boolean; export declare const sanitizeLocale: (locale: string) => string; export declare const SECOND = 1000; export declare const MINUTE: number; export declare const HOUR: number; export declare const DAY: number; export declare const sanitizeString: (str: string) => string; export declare const stringToList: (separator: string) => (value: string) => string[]; export declare const arr2Obj: (arr: [string, V][]) => Record; export declare const omit: (obj: Record, key: string) => Record; export declare const template: (str: string, values?: Record, fallbackValues?: Record) => string; export declare function secToHrs(qty: number): number; export declare function globPattern(keys: string[]): string; export declare const distinct: (arr: T[]) => T[]; export declare const sleep: (time: number) => Promise; export {};