import { I18nIntegrationConfig } from '../types'; export interface BackupInfo { id: string; timestamp: string; files: string[]; description: string; } /** * Backup and restore system for translation files */ export declare class BackupSystem { private config; private backupDir; constructor(config: I18nIntegrationConfig); /** * Create backup of translation files before modifications */ createBackup(description?: string): Promise; /** * Restore translation files from a backup */ restoreBackup(backupId: string): Promise; /** * List all available backups */ listBackups(): Promise; /** * Delete a specific backup */ deleteBackup(backupId: string): Promise; /** * Clean up old backups, keeping only the specified number */ cleanupOldBackups(keepCount?: number): Promise; /** * Get backup information by ID */ getBackupInfo(backupId: string): Promise; /** * Generate unique backup ID */ private generateBackupId; /** * Get all translation file paths */ private getTranslationFiles; /** * Ensure directory exists, create if it doesn't */ private ensureDirectoryExists; /** * Recursively remove directory and all contents */ private removeDirectory; } //# sourceMappingURL=backup-system.d.ts.map