import type { IBackupUseCase, BackupInitResult, BackupPushResult, BackupStatusResult, BackupHistoryResult, BackupRestoreResult, BackupPushOptions, IPromptPort, IWorldBackupPort } from '../ports/index.js'; /** * Backup Use Case * Manages world backups to GitHub */ export declare class BackupUseCase implements IBackupUseCase { private readonly prompt; private readonly port; private configSaveCallback?; constructor(prompt: IPromptPort, port: IWorldBackupPort); /** * Set callback for saving configuration (called by CLI layer) */ setConfigSaveCallback(callback: (config: Record) => void | Promise): void; /** * Interactive backup initialization */ init(force?: boolean): Promise; /** * Test GitHub connection */ private testGitHubConnection; /** * Interactive backup push */ push(): Promise; /** * Push backup with message */ pushWithMessage(message: string, options?: BackupPushOptions): Promise; /** * Get backup status */ status(): Promise; /** * Get backup history */ history(): Promise; /** * Interactive restore selection */ restore(): Promise; /** * Restore from specific commit */ restoreFromCommit(commitHash: string): Promise; } //# sourceMappingURL=BackupUseCase.d.ts.map