/** * Interface for the return type of promiseWithResolvers */ export interface PromiseWithResolvers { promise: Promise; resolve: (value: T | PromiseLike) => void; reject: (reason?: any) => void; } /** * Node 20+ compatible implementation of Promise.withResolvers() * Falls back to native Promise.withResolvers when available (Node 22+) */ export declare function promiseWithResolvers(): PromiseWithResolvers; //# sourceMappingURL=promise-with-resolvers.d.ts.map