import { PromiseRejection, PromiseResolution, PromiseResult } from "./types"; type PromiseTuple = { [P in keyof T]: Promise | T[P] }; type PromiseResultTuple = { [P in keyof T]: PromiseResult }; declare function allSettled(): Promise<[]>; declare function allSettled( iterable: PromiseTuple, ): Promise>; declare function allSettled(iterable: Iterable | T>): Promise>>; export = allSettled;