import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import { FileUpload } from './file-upload'; export declare class FileUploadService { private http; private domain; private product; /** * Setting up default configs */ constructor(http: HttpClient); /** * Depending on the project, the correct domain must be changed using this method. * This should be done preferably in CoreModule. */ setDomain(domain: string): void; /** * Depending on the project, the correct product must be changed using this method. * This should be done preferably in CoreModule. */ setProduct(product: string): void; /** * Solicitação para realizar o upload de um arquivo. * @param fileName Nome do arquivo a ser carregado */ requestUpload(fileName: string): Observable; /** * Realiza o commit de um arquivo que foi carregado anteriormente. * @param file */ commitUploadedFile(file: FileUpload): Observable; }