export declare function promisify(func: Function): (...args: any[]) => Promise; export declare function promiseMap(arr: T[], asyncF: (x: T, i: number, r: T[]) => Promise): Promise; export type asyncF = (...args: any[]) => Promise; export declare function serial(arr: asyncF[]): Promise; export declare function promiseMapSerial(arr: any[], func: asyncF): Promise;