/** * Polyfill for `Promise.withResolvers` which is not available in this typescript version. */ export declare function withResolvers(): PromiseWithResolvers; export type PromiseWithResolvers = { promise: Promise; resolve: (value: T | PromiseLike) => void; reject: (reason?: any) => void; };