export type ProgressPromiseSubscription = { unsubscribe: () => void; }; export type ProgressPromiseObserver = { next?: (t: StatusT) => void; error?: (error: Error) => void; complete?: (t: ResultT) => void; }; export type ProgressPromiseConstructor = (progress: (status: StatusT) => void, resolve: (result: ResultT) => void, reject: (error: Error) => void) => void; export declare class ProgressPromise { #private; constructor(callbackFn: ProgressPromiseConstructor); subscribe(observer: ProgressPromiseObserver): ProgressPromiseSubscription; then(resolve: (result: ResultT) => void, reject: (error: Error) => void): void; catch(cb: (error: Error) => void): void; finally(cb: () => void): void; } //# sourceMappingURL=ProgressPromise.d.ts.map