import type { Storage } from "node-appwrite"; export interface BucketBackupOptions { compressionLevel?: number; parallelDownloads?: number; onProgress?: (current: number, total: number, fileName: string) => void; } export interface BucketBackupResult { backupFileId: string; manifestFileId: string; fileCount: number; totalSizeBytes: number; zipSizeBytes: number; status: 'completed' | 'partial' | 'failed'; errors?: string[]; } /** * Downloads all files from a bucket in parallel and creates a ZIP backup */ export declare function backupBucket(storage: Storage, bucketId: string, backupBucketId: string, options?: BucketBackupOptions): Promise;