import { IFileDescription } from './i-file-description' ; import { SerializationService } from '../../model/serialization.service' ; /**
 * A file loaded from any source (Upload, GitHub, ..)
 */ export interface IFile { description : IFileDescription ; size : number ; content : string ; /**
     * Return a string representation of translation file content.
     * This will be stored in BackendService.
     */ serialize ( serializationService ) : string ; param newContent copyWithNewContent ( newContent ) : IFile ; param saveAs copyForNewDescription ( saveAs ) : IFile ; }