import { Observable } from 'rxjs'; export interface UploadFileOptions { path?: string; filename?: string; ext?: string; firebaseApp?: object; } export declare class ObservableUploadTask { uploading$: Observable; progress$: Observable; constructor(file: string, opts: UploadFileOptions); upload(firebaseApp?: object): Promise; pause(): Promise; resume(): Promise; cancel(): Promise; }