/** * This is a convenience object for creating a promise and retrieving it's resolve method for * later use in resolving a situation. Very handy for making a method asynchronous. */ export declare class PromiseResolver { resolver: (val: T | PromiseLike) => void; rejector: Function; promise: Promise; constructor(); resolve(val: T): void; reject(reason: U): void; }