import { HttpClient } from '@angular/common/http';
import { TerminologyService } from '@tilde-nlp/ngx-common';
import { Observable } from 'rxjs';
import { IDownloadFileParams, IGetFileStatusParams, IGetFileTranslationStatusResponse, IRemoveFileParams, ISourceFilePreviewResponse, IStartFileTranslationParams, ITranslatedDocumentPreviewParams } from '../../../tld-common/models';
import { TldTranslateConfigService, TldTranslateSystemManagementService } from '../../../tld-common/services';
import { ITranslationFile } from '../../models/translate-file.model';
import * as i0 from "@angular/core";
export declare class FileApiService {
    private readonly http;
    private readonly config;
    private readonly terminologyService;
    private readonly systemManagementService;
    private get url();
    constructor(http: HttpClient, config: TldTranslateConfigService, terminologyService: TerminologyService, systemManagementService: TldTranslateSystemManagementService);
    translatedDocumentPreview(properties: ITranslatedDocumentPreviewParams): Observable<{
        success: boolean;
    }>;
    download(properties: IDownloadFileParams): Observable<Blob>;
    startTranslation(properties: IStartFileTranslationParams): Observable<string>;
    remove(properties: IRemoveFileParams): Observable<any>;
    sourceFilePreview(file: ITranslationFile): Observable<ISourceFilePreviewResponse>;
    getStatus(properties: IGetFileStatusParams): Observable<IGetFileTranslationStatusResponse>;
    private convertedSourceFileName;
    static ɵfac: i0.ɵɵFactoryDeclaration<FileApiService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<FileApiService>;
}
