/**
 * useBackup Hook
 *
 * Manages backup workflow state
 */
import { type BackupMetadata, type BackupProgress, type BackupType } from '../../workflows/backup.js';
export interface UseBackupOptions {
    backupDir: string;
    maxBackups?: number;
}
export interface BackupState {
    progress: BackupProgress | null;
    result: BackupMetadata | null;
    loading: boolean;
    error: string | null;
    backups: BackupMetadata[];
    createBackup: (sourceDir: string, type?: BackupType, description?: string) => Promise<void>;
    listBackups: (type?: BackupType) => Promise<void>;
    restore: (backupPath: string, targetDir: string) => Promise<void>;
    clear: () => void;
}
/**
 * Hook for managing backup workflow
 */
export declare function useBackup(options: UseBackupOptions): BackupState;
//# sourceMappingURL=useBackup.d.ts.map