/** * Run `task` over every item with at most `concurrency` calls in flight and * settle each call on its own, like `Promise.allSettled` over a bounded pool. * * Each call runs inside its own promise, so a task that throws synchronously * is settled as a rejection instead of stopping the pool, and one failure * never skips the remaining items. * * @param items - Inputs, processed in order. * @param concurrency - Maximum number of simultaneous `task` calls (at least 1). * @param task - Operation to run for each item. * @returns The settled result of every call, in the order of `items`. */ export declare function settleWithConcurrencyLimit(items: readonly Item[], concurrency: number, task: (item: Item) => Promise): Promise>>;