export interface BackupOptions { maxGenerations?: number; maxAgeMs?: number; } /** * Get backup directory path for a library */ export declare function getBackupDirectory(libraryName: string): string; /** * Create a backup of the given file */ export declare function createBackup(sourceFile: string, libraryName: string): Promise; /** * List all backups for a library (sorted by modification time, newest first) */ export declare function listBackups(libraryName: string): Promise; /** * Clean up old backups based on generation count and age */ export declare function cleanupOldBackups(libraryName: string, options?: BackupOptions): Promise; //# sourceMappingURL=backup.d.ts.map