import { Platform } from '@angular/cdk/platform'; import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import { FileInformation } from '@mtna/file-manager'; import { MtnaApiConfig } from '@mtna/lib-ui'; import { MtnaErrorService } from '@mtna/lib-ui/error'; import { MtnaLogger } from '@mtna/lib-ui/logger'; import * as i0 from "@angular/core"; export declare class FileService { private errorService; private http; private logger; private platform; FILE_URL: string; constructor(errorService: MtnaErrorService, http: HttpClient, logger: MtnaLogger, platform: Platform, config: MtnaApiConfig); /** * Downloads a file via generated anchor tag, when a file blob is not available * from the server. * @param downloadUrl URL to attach to the href * @param fileInfo info to attach the fileName, contentType, & key */ downloadFileAnchorTag(downloadUrl: string, fileInfo: FileInformation): void; deleteFile(fileInformation: FileInformation): Observable; downloadFilePOST(): Observable; downloadFileGET(key: string, fileName: string, contentType: string): void; uploadFile(files: FileList): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }