interface PromiseWithResolvers { promise: Promise; resolve: (value: T | PromiseLike) => void; reject: (reason?: any) => void; } export declare function withResolvers(): PromiseWithResolvers; export {};