/**
 * Backup and restore core module.
 * @task T4783
 */
export interface BackupResult {
    backupId: string;
    path: string;
    timestamp: string;
    type: string;
    files: string[];
}
export interface RestoreResult {
    restored: boolean;
    backupId: string;
    timestamp: string;
    filesRestored: string[];
}
/** Create a backup of CLEO data files. */
export declare function createBackup(projectRoot: string, opts?: {
    type?: string;
    note?: string;
}): BackupResult;
/** A single backup entry returned by listSystemBackups. */
export interface BackupEntry {
    backupId: string;
    type: string;
    timestamp: string;
    note?: string;
    files: string[];
}
/**
 * List all available system backups (snapshot, safety, migration types).
 * Reads `.meta.json` sidecar files written by createBackup.
 * This is a pure read operation — it does not modify any files.
 * @task T4783
 */
export declare function listSystemBackups(projectRoot: string): BackupEntry[];
/** Restore from a backup. */
export declare function restoreBackup(projectRoot: string, params: {
    backupId: string;
    force?: boolean;
}): RestoreResult;
//# sourceMappingURL=backup.d.ts.map