/** * A deferred: a `Promise` together with its `resolve` / `reject` functions. * This is `Promise.withResolvers()`, which is not available in all supported * runtimes. */ export declare function promiseWithResolvers(): { promise: Promise; resolve: (value: T | PromiseLike) => void; reject: (reason?: unknown) => void; }; //# sourceMappingURL=promise.d.ts.map