/** * Minimal paths object needed for config backup — just the global root * from which we derive the backup history directory. */ export interface ConfigBackupPaths { globalRoot: string; } /** * Backup directory for config file history. * Every config write creates a timestamped snapshot here so the user can * recover from accidental changes. Backups are never cleaned up automatically. */ export declare function configHistoryDir(globalRoot: string): string; /** * Before overwriting a config file, save its current content to the * config-history directory with a timestamp. Best-effort: failures are * silently ignored so they never block the config write itself. */ export declare function backupConfigFile(filePath: string, paths: ConfigBackupPaths): Promise; //# sourceMappingURL=config-backup.d.ts.map