import { ParseAnalysis, ParsedTranslationBundle, TranslationParser } from './translation_parser'; import { XmlTranslationParserHint } from './translation_utils'; /** * A translation parser that can load XLIFF 1.2 files. * * https://docs.oasis-open.org/xliff/v1.2/os/xliff-core.html * https://docs.oasis-open.org/xliff/v1.2/xliff-profile-html/xliff-profile-html-1.2.html * * @see Xliff1TranslationSerializer * @publicApi used by CLI */ export declare class Xliff1TranslationParser implements TranslationParser { analyze(filePath: string, contents: string): ParseAnalysis; parse(filePath: string, contents: string, hint: XmlTranslationParserHint): ParsedTranslationBundle; private extractBundle; }