import { getBackupRoot } from "../migrations/backup.js"; /** * v0.8.4 §7 — `solosquad backup` subgroup. * * Owns lifecycle management of `~/.solosquad-backups/` — the same directory * already used by `migrate` to snapshot pre-migration state. Consolidates * three flags that previously lived in different commands: * * - `migrate --list-backups` → `backup list` * - `migrate --delete-backup` → `backup delete ` * - `uninstall --also-purge-backups` → `backup purge` * * The migrate/uninstall flags still work in v0.8.4 (with deprecation * warnings) for a 1-minor compat window. Removed in v1.0. */ export interface BackupPurgeOpts { keepRecent?: string; yes?: boolean; dryRun?: boolean; } export declare function backupListCommand(): void; export declare function backupDeleteCommand(id: string | undefined): void; export declare function backupPurgeCommand(opts: BackupPurgeOpts): Promise; export { getBackupRoot };