export declare type JSError = Error; export declare const MAX_SAFE_INTEGER = 9007199254740991; export declare function is(x: any, cls: any): boolean; export declare function noop(): void; export declare function identity(x: T): T; export declare function disableNoUnusedWarning(a?: any, b?: any, c?: any, d?: any, e?: any): void; export declare function isFunction(x: any): x is Function; export declare function isNaN(x: any): boolean; export declare function isNumber(x: any): x is number; export declare const isInteger: (x: any) => x is number; export declare function isArray(x: any): x is Array; export declare function isObject(x: any): x is Object; export declare function slice(arr: T[]): T[]; export declare function every(pred: (x: T) => boolean, xs: T[]): boolean; export declare function find(pred: (x: T) => boolean, xs: T[]): T | undefined; export declare function findIndex(pred: (x: T) => boolean, xs: T[]): number; export declare function constantly(x: T): () => T; export declare function pipe(a: A, a2b: (a: A) => B): B; export declare function pipe(a: A, a2b: (a: A) => B, b2c: (b: B) => C): C; export declare function pipe(a: A, a2b: (a: A) => B, b2c: (b: B) => C, c2d: (c: C) => D): D; export declare function pipe(a: A, a2b: (a: A) => B, b2c: (b: B) => C, c2d: (c: C) => D, d2e: (d: D) => E): E; export declare function pipe(a: A, a2b: (a: A) => B, b2c: (b: B) => C, c2d: (c: C) => D, d2e: (d: D) => E, e2f: (e: E) => F): F; export declare function pipe(a: A, a2b: (a: A) => B, b2c: (b: B) => C, c2d: (c: C) => D, d2e: (d: D) => E, e2f: (e: E) => F, f2g: (f: F) => G): G; export declare function pipe(a: A, a2b: (a: A) => B, b2c: (b: B) => C, c2d: (c: C) => D, d2e: (d: D) => E, e2f: (e: E) => F, f2g: (f: F) => G, g2h: (g: G) => H): H; export declare function pipe(a: A, a2b: (a: A) => B, b2c: (b: B) => C, c2d: (c: C) => D, d2e: (d: D) => E, e2f: (e: E) => F, f2g: (f: F) => G, g2h: (g: G) => H, h2i: (h: H) => I): I; export declare function pipe(a: A, a2b: (a: A) => B, b2c: (b: B) => C, c2d: (c: C) => D, d2e: (d: D) => E, e2f: (e: E) => F, f2g: (f: F) => G, g2h: (g: G) => H, h2i: (h: H) => I, i2j: (i: I) => J): J; export declare function pipe(a: A, a2b: (a: A) => B, b2c: (b: B) => C, c2d: (c: C) => D, d2e: (d: D) => E, e2f: (e: E) => F, f2g: (f: F) => G, g2h: (g: G) => H, h2i: (h: H) => I, i2j: (i: I) => J, j2k: (j: J) => K): K; interface CF2 { (t1: T1): (t2: T2) => R; (t1: T1, t2: T2): R; } interface CF3 { (t1: T1): CF2; (t1: T1, t2: T2): (t3: T3) => R; (t1: T1, t2: T2, t3: T3): R; } export declare function curry2(f: (t1: any, t2: any) => any): CF2; export declare function curry3(f: (t1: any, t2: any, t3: any) => any): CF3; export {};