/** * A deferrable value. * * @export * @class Deferrable * @template T */ export declare class Deferrable { /** * Gets the promise of this deferrable. * * @type {Promise} * @memberof Deferrable */ readonly promise: Promise; /** * Creates an instance of Deferrable. * @memberof Deferrable */ constructor(); /** * Resolves the promise to the indicated value. * * @param {(T | PromiseLike)} [value] The resolved value. * @memberof Deferrable */ resolve: (value: T | PromiseLike) => void; /** * Rejects the promise with the indicated reason. * * @param {*} [reason] The reason for rejection. * @memberof Deferrable */ reject: (reason?: any) => void; }