import type { CliContext } from '../context/create-context.js'; export type BackupInfo = { name: string; path: string; createdAt: Date; sizeBytes: number; }; export declare function isValidBackupName(name: string): boolean; export declare function defaultBackupName(): string; export declare function backupsDir(context: CliContext): string; export declare function backupPath(context: CliContext, name: string): string; export declare function backupExists(context: CliContext, name: string): Promise; export declare function listBackups(context: CliContext): Promise; export declare function resolveBackupOption(options: { context: CliContext; flag: string | undefined; message: string; customInput?: boolean; }): Promise; export declare function createBackup(context: CliContext, name: string): Promise; export declare function restoreBackup(context: CliContext, name: string): Promise; export declare function renameBackup(context: CliContext, from: string, to: string): Promise; export declare function removeBackup(context: CliContext, name: string): Promise; //# sourceMappingURL=db-backup-helpers.d.ts.map