/** * Unwraps the promise to allow resolving/rejecting outside the Promise constructor */ export declare class Deferred { readonly promise: Promise; resolve: (value: T) => void; reject: (reason?: unknown) => void; constructor(); }