/** * A function that takes an array of promises and returns a promise that fulfills when all of the promises have fulfilled, or rejects if any of the promises reject. * But unlike {@link Promise.all}, it does not short-circuit on the first rejection. * Instead, it collects all of the rejections and throws them as an AggregateError. * That means the fulfilled values are lost if any of the promises reject. * @see {@link Promise.allSettled} the underlying implementation * @see {@link Promise.any} a similar function that returns the first fulfilled promise * @see {@link Promise.race} a similar function that returns the first settled promise * @see {@link Promise.all} a similar function that returns the fulfilled promise or the first rejection * @param input A list of promises to settle. * @returns A promise that resolves to an array of fulfilled values. */ export declare function settleAll(input: T): Promise<{ -readonly [P in keyof T]: Awaited; }>; export declare function settleAll(...input: T): Promise<{ -readonly [P in keyof T]: Awaited; }>;