/** * Restore Command * Rollback MCP client configs from backups */ import { BackupInfo } from '../../utils/backup.js'; import { MCPClient } from '../../utils/paths.js'; export interface RestoreOptions { client?: string; backup?: string; list?: boolean; all?: boolean; interactive?: boolean; dryRun?: boolean; } export interface RestoreResult { success: boolean; client: string; message: string; backupUsed?: string; preRestoreBackup?: string; } /** * List all backups across all clients */ export declare function listAllBackups(): Map; /** * Format backup list for display */ export declare function formatBackupList(backups: Map): string; /** * Restore a specific client to its latest backup */ export declare function restoreClient(client: MCPClient): RestoreResult; /** * Restore from a specific backup file */ export declare function restoreFromFile(backupPath: string, client?: MCPClient): RestoreResult; /** * Restore all clients to their latest backups */ export declare function restoreAll(): RestoreResult[]; /** * Format restore results for display */ export declare function formatRestoreResults(results: RestoreResult[]): string; /** * Restore command handler */ export declare function restoreCommand(options?: RestoreOptions): Promise; //# sourceMappingURL=restore.d.ts.map