type AnyFunc = (...args: TA) => TR; type MakeProm = Promise ? I : T>; type PipeReturn = MakeProm>; export declare function pipe(...fns: PipeReturn extends never ? never : T): (...args: Parameters) => PipeReturn; export declare const map: (...args: any[]) => any; export declare const reduce: (mixedArray: any[]) => (iteratee: AnyFunc, initialValue?: T) => Promise; export {}; //# sourceMappingURL=async.d.ts.map