import pAll from 'p-all';
import pMap from 'p-map';
declare type PromiseFactory<T> = () => Promise<T>;
export declare function all<T>(tasks: PromiseFactory<T>[], options?: pAll.Options): Promise<T[]>;
export declare function map<Element, NewElement>(input: Iterable<Element>, mapper: pMap.Mapper<Element, NewElement>, options?: pMap.Options): Promise<NewElement[]>;
export {};
