import { SafeHtml } from '@angular/platform-browser';
import { TranslationStatuss } from '.';
import { IFileMeta } from '../../tld-common/models';
import { FileConversionTypes } from './file-conversion-types.model';
import { InlineMessage } from '@tilde-nlp/ngx-common';
export interface ITranslationFile {
    isDownloading?: boolean;
    isDownloadingSource?: boolean;
    isFilePreviewLoaded?: boolean;
    isFilePreviewSupported?: boolean;
    originalFileName: string;
    originalExtension: string;
    tmpName?: string;
    translating?: boolean;
    translationStarted?: boolean;
    sourcePreview?: SafeHtml;
    progress?: number;
    downloadAvailable?: boolean;
    translatedPreview?: SafeHtml;
    availableExtensions?: IFileMeta[];
    translationStatuss?: TranslationStatuss;
    filePreviewProgress?: number;
    sourcePreviewHasHtml?: boolean;
    sourceDownloadAvailable?: boolean;
    id?: string;
    file: File;
    sourceFileName?: string;
    /** stores src file type if it is converted to different (downloadable & editable) type before translation */
    fileType?: FileConversionTypes;
    /** Necessary for api v2, to know if file needs to be deleted from server. */
    translationStartedOnServer?: boolean;
    /** Inline messages to be shown next to file in multiple file translation view */
    messages: InlineMessage[];
}
