2016-10-18 23:10:45 +00:00
|
|
|
/// <reference types="node" />
|
2016-10-18 22:35:41 +00:00
|
|
|
import 'typings-global';
|
2016-10-18 23:10:45 +00:00
|
|
|
import { Transform } from 'stream';
|
2016-10-18 22:35:41 +00:00
|
|
|
export declare type TExecutionMode = 'forEach' | 'forFirst' | 'atEnd';
|
|
|
|
export interface IPromiseFunction {
|
|
|
|
(file?: any, enc?: any): PromiseLike<any>;
|
|
|
|
}
|
2016-10-18 23:10:45 +00:00
|
|
|
declare let mainExportFunction: (functionsToExecuteArg: IPromiseFunction | IPromiseFunction[], executionModeArg?: TExecutionMode) => Transform;
|
|
|
|
export default mainExportFunction;
|