import type { VaultMemoryApi } from './cloud.js'; interface EngineBackupPage { version: number; sourceOwnerId: string; snapshotEpoch: number; manifest: Record; records: unknown[]; nextCursor?: string | null; hasMore: boolean; } interface LocalBackupV2 { format: 'vault-go-private-backup-v2'; createdAtEpoch: number; coverage: { included: string[]; omitted: string[]; customTypes: string; consistency: string; snapshotLimits: string; upstreamCompatible: false; }; preferences: unknown; pages: EngineBackupPage[]; } export interface BackupFileResult { backupId: string; path: string; sha256: string; bytes: number; pages: number; records: number; coverage: LocalBackupV2['coverage']; } export declare function createPrivateBackup(cloud: VaultMemoryApi, home?: string): Promise; export declare function restorePrivateBackup(cloud: VaultMemoryApi, backupId: string, expectedSha256?: string, home?: string): Promise<{ backupId: string; sha256: string; pages: number; records: number; }>; export {};