2016-10-18 23:10:45 +00:00
|
|
|
/// <reference types="node" />
|
2018-01-29 22:28:03 +00:00
|
|
|
import { Transform } from "stream";
|
|
|
|
export declare type TExecutionMode = "forEach" | "forFirst" | "atEnd";
|
2016-10-18 22:35:41 +00:00
|
|
|
export interface IPromiseFunction {
|
|
|
|
(file?: any, enc?: any): PromiseLike<any>;
|
|
|
|
}
|
2016-10-19 05:36:32 +00:00
|
|
|
declare let defaultExport: (functionsToExecuteArg: IPromiseFunction | IPromiseFunction[], executionModeArg?: TExecutionMode) => Transform;
|
2016-11-25 10:19:12 +00:00
|
|
|
export declare let forEach: (funcArg: IPromiseFunction) => Transform;
|
|
|
|
export declare let forFirst: (funcArg: IPromiseFunction) => Transform;
|
|
|
|
export declare let atEnd: (funcArg: IPromiseFunction) => Transform;
|
2016-10-19 05:36:32 +00:00
|
|
|
export default defaultExport;
|