declare global { interface PromiseConstructor { /** * Creates a Promise that can be resolved or rejected using provided functions. * @returns An object containing `promise` promise object, `resolve` and `reject` functions. */ withResolvers(): { promise: Promise; resolve: (value: T | PromiseLike) => void; reject: (reason?: any) => void; }; } } declare global { interface ArrayConstructor { fromAsync(iterableOrArrayLike: AsyncIterable | Iterable> | ArrayLike>): Promise; fromAsync(iterableOrArrayLike: AsyncIterable | Iterable | ArrayLike, mapFn: (value: Awaited) => U, thisArg?: any): Promise[]>; } } export {}; declare global { interface Error { cause?: unknown; } } export {}; //# sourceMappingURL=_dnt.polyfills.d.ts.map