import type { ValidationResult } from "../format.interface.js"; import type { TranslationFile } from "../translate.interface.js"; /** * Utility class for XMB/XTB message bundle operations and integrity validation */ export declare class XmbXtbUtils { private xmbHandler; private xtbHandler; constructor(); /** * Validate that XTB translations maintain message integrity with XMB source */ validateBundleIntegrity(xmbContent: string, xtbContent: string): ValidationResult; /** * Generate XTB file from XMB source with translations */ generateXtbFromXmb(xmbContent: string, targetLanguage: string, translations: TranslationFile): string; /** * Update existing XTB file with new translations while preserving structure */ updateXtbFile(existingXtbContent: string, newTranslations: TranslationFile): string; /** * Extract message descriptions and meanings from XMB for translator context */ extractTranslatorContext(xmbContent: string): Record; examples: string[]; }; }>; /** * Validate that message references are not broken in bundle structure */ validateMessageReferences(xmbContent: string, xtbContent: string): ValidationResult; private extractPlaceholderInfo; }