/** * Returns f such that f() calls func(...boundArgs), i.e. optimizes `() => func(...boundArgs)`. * It is faster on node6 by 57-92%. */ export declare function bindB(func: (...args: any[]) => R, b: any[]): () => R; /** * Returns f such that f(unboundArg) calls func(unboundArg, ...boundArgs). * I.e. optimizes `(arg) => func(arg, ...boundArgs)`. * It is faster on node6 by 0-92%. */ export declare function bindUB(func: (arg: U, ...args: any[]) => R, b: any[]): (arg: U) => R; /** * Returns f such that f(unboundArg) calls func(...boundArgs, unboundArg). * I.e. optimizes `(arg) => func(...boundArgs, arg)`. * It is faster on node6 by 0-92%. */ export declare function bindBU(func: (...args: any[]) => R, b: any[]): (arg: any) => R;