/** * inParallel executes the given function in parallel, up to max concurrency. * There are no guarantees on the order in which promises start. * * @param tasks The tasks to invoke, must be async. * @param concurrency Optional configuration. * * @return Array of results in the order of args. */ export declare function inParallel Promise>, R extends ReturnType>(tasks: (() => Promise | Promise)[], concurrency?: number): Promise;