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