/** * Runs a callback for every item, with at most a given number running at the same time, and keeps the results in item order. * @param items - The items. * @param maxConcurrency - The most callbacks running at the same time; `1` runs them one after another. * @param callback - The callback for one item. * @returns The results, in the order of the items. */ export declare function runConcurrently(items: readonly TItem[], maxConcurrency: number, callback: (item: TItem, index: number) => Promise): Promise; //# sourceMappingURL=runConcurrently.d.ts.map