/**
 * Returns a promise and two functions to resolve and reject the promise.
 * This is a ponyfill for `Promise.withResolvers()`.
 */
export declare function withResolvers<T>(): {
    promise: Promise<T>;
    resolve: (value: T) => void;
    reject: (error: any) => void;
};
//# sourceMappingURL=with-resolvers.d.ts.map