/** * Map a asynchronous function to an array sequentially from front to * back. * */ export declare function promiseEach(arr: T[], fn: (t: T, idx: number) => R | Promise): Promise;