export declare class RetryablePromise extends Promise { constructor(executor: (resolve: (value: T | PromiseLike) => void, reject: (reason?: any) => void) => void, retryTimes?: number, retryIntervalInMs?: number); } export declare function retryable(asyncFn: () => Promise, retryTimes?: number, retryIntervalInMs?: number): Promise; export declare function defer(dispose: () => Promise): { [Symbol.asyncDispose]: () => Promise; }; //# sourceMappingURL=promise.d.ts.map