export interface DeferredPromise { /** The deferred promise. */ promise: Promise; /** Resolves the promise with a value or the result of another promise. @param value - The value to resolve the promise with. */ resolve(value?: ValueType | PromiseLike): void; /** Reject the promise with a provided reason or error. @param reason - The reason or error to reject the promise with. */ reject(reason?: unknown): void; } export default function pDefer(): DeferredPromise; //# sourceMappingURL=pDefer.d.ts.map