/** * UI18n Advanced Version Control System * Enhanced version management with Git integration and visual tools */ export interface VersionTag { name: string; description: string; createdBy: string; createdAt: string; languages: string[]; entryCount: number; hash: string; } export interface GitIntegrationConfig { enabled: boolean; autoCommit: boolean; commitMessageTemplate: string; separateBranch?: string; includeMetadata: boolean; hookOnReview: boolean; } export interface VersionComparison { added: Array<{ key: string; language: string; text: string; }>; modified: Array<{ key: string; language: string; oldText: string; newText: string; similarity: number; }>; removed: Array<{ key: string; language: string; text: string; }>; unchanged: number; totalChanges: number; } export declare class AdvancedVersionManager { private projectPath; private gitConfig; constructor(projectPath: string); /** * Create version snapshot with tagging */ createVersionSnapshot(options: { tag: string; description: string; createdBy: string; languages?: string[]; }): Promise<{ success: boolean; message: string; hash?: string; error?: string; }>; /** * Compare two versions */ compareVersions(version1: string, version2: string, language?: string): Promise<{ success: boolean; comparison?: VersionComparison; error?: string; }>; /** * Selective rollback by language or keys */ selectiveRollback(options: { targetVersion: string; languages?: string[]; keys?: string[]; createBackup?: boolean; reason?: string; }): Promise<{ success: boolean; message: string; error?: string; }>; /** * Git integration - create commit */ createGitCommit(tag: string, description: string): Promise; /** * Visual version tree display */ displayVersionTree(options?: { format?: 'tree' | 'list'; maxDepth?: number; }): Promise; /** * Private helper methods */ private loadGitConfig; private getAllLanguages; private updateVersionIndex; private getVersionPath; private getVersionLanguages; private calculateSimilarity; private levenshteinDistance; private getAllVersions; private displayTreeFormat; private displayListFormat; private logVersionEvent; } /** * CLI command implementations */ export declare function createVersionSnapshot(projectPath: string, tag: string, description: string, options?: { languages?: string[]; user?: string; }): Promise; export declare function compareVersions(projectPath: string, version1: string, version2: string, language?: string): Promise; export declare function displayVersionHistory(projectPath: string): Promise; //# sourceMappingURL=advanced-version-control.d.ts.map