/**
 * Run async tasks with a limited number of tasks running concurrently,
 * for example to avoid hitting AWS API rate limits.
 * @param tasks
 * @param limit
 * @returns results in the same order as the tasks
 */
export declare function runWithConcurrency<T>(tasks: (() => Promise<T>)[], limit?: number): Promise<T[]>;
