import type { PromiseOrValue } from "./PromiseOrValue.mjs"; /** * Based on Promise.withResolvers proposal * https://github.com/tc39/proposal-promise-with-resolvers * * @internal */ export declare function promiseWithResolvers(): { promise: Promise; resolve: (value: T | PromiseOrValue) => void; reject: (reason?: any) => void; };