import { HttpErrorResponse, HttpEvent } from '@angular/common/http'; import { OnDestroy } from '@angular/core'; import { BehaviorSubject, Observable, Subscription } from 'rxjs'; import * as i0 from "@angular/core"; export interface SCFileTransfer { index?: string; fileTransferObservable: Observable>; fileTransferSubscription?: Subscription; label: string; files?: File[]; fileList?: FileList; filesTooltip?: string; uploadedSize?: number; totalSize?: number; progress?: number; error?: HttpErrorResponse; throwError?: boolean; status?: 'running' | 'complete' | 'canceled' | 'failed' | 'paused'; } export declare class SCFileTransferService implements OnDestroy { fileTransfers: SCFileTransfer[]; config: { enablePause: boolean; enableRestart: boolean; }; constructor(); ngOnDestroy(): void; get uploading(): boolean; get countUploading(): number; addFileTransfer(fileTransfer: SCFileTransfer>): BehaviorSubject; cancelFileTransfer(fileTransfer: SCFileTransfer): void; toggleFileTransfer(fileTransfer: SCFileTransfer): void; restartFileTransfer(fileTransfer: SCFileTransfer): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }