import { AfterViewInit, OnDestroy } from '@angular/core';
import { MatDialog } from '@angular/material/dialog';
import { SourceAndTargetWrapperComponent } from '../tld-common/components';
import { IFileMeta } from '../tld-common/models';
import { TldTranslateConfigService } from '../tld-common/services';
import { ITranslationFile, TranslationStatuss } from '../tld-document/models';
import { TldTranslateFileService } from '../tld-document/services/tld-translate-file.service';
import { TldFileTranslateBaseComponent } from '../tld-document/tld-file-translate-base.component';
import * as i0 from "@angular/core";
export declare class TldTranslateFileComponent extends TldFileTranslateBaseComponent implements AfterViewInit, OnDestroy {
    protected readonly fileService: TldTranslateFileService;
    protected readonly dialog: MatDialog;
    protected readonly config: TldTranslateConfigService;
    errorStatus: string;
    constructor(fileService: TldTranslateFileService, dialog: MatDialog, config: TldTranslateConfigService);
    translationFile: ITranslationFile;
    translatorWrapper: SourceAndTargetWrapperComponent;
    get downloading(): boolean;
    get filePreview(): import("@angular/platform-browser").SafeHtml;
    get isFilePreviewLoaded(): boolean;
    get progress(): number;
    get translatedPreview(): import("@angular/platform-browser").SafeHtml;
    get translating(): boolean;
    get showPreview(): boolean;
    get translationStatuss(): TranslationStatuss;
    get sourcePreviewHasHtml(): boolean;
    get loadedFileName(): string;
    get showSourceDownload(): boolean;
    readonly clearButtonAriaCode = "CLEAR_FILES";
    ngAfterViewInit(): void;
    cancel(): void;
    clearPreview(): void;
    download(fileMeta?: IFileMeta): void;
    downloadSource(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<TldTranslateFileComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<TldTranslateFileComponent, "tld-translate-file", never, { "translationFile": { "alias": "translationFile"; "required": false; }; }, {}, never, never, false, never>;
}
