import type { UndoFirestoreRestoreInput, UndoFirestoreRestoreResult } from "@x12i/catalox-contracts/restore.js"; import type { BackupDataDeps } from "./backup-data.js"; import { NativeItemStore } from "../firebase/native-item-store.js"; import { DefinitionStore } from "../firebase/definition-store.js"; import { CatalogDataIndexStore } from "../firebase/catalog-data-index-store.js"; export declare const RESTORE_FIRESTORE_BACKUP_SESSION_COLLECTION = "backup-restoreSessions"; export type RestoreFirestoreDeps = BackupDataDeps & { nativeItems: NativeItemStore; definitions: DefinitionStore; catalogDataIndex: CatalogDataIndexStore; }; export type RestoreFirestoreBackupSessionManifest = { restoreSessionId: string; createdAt: string; source: { kind: "gcs"; gcsBucket: string; gcsRunFolder: string; }; includeSnapshots: boolean; phase: "preRestoreCaptured" | "restored" | "undone" | "failed"; nativeCatalogIds: string[]; nativeItemSourceLayoutByCatalogId: Record; metadataSourceNames: readonly string[]; snapshotCatalogIds: string[]; snapshotRuns: { catalogId: string; runId: string; }[]; }; export declare function runUndoFirestoreRestore(deps: RestoreFirestoreDeps, input: UndoFirestoreRestoreInput): Promise; //# sourceMappingURL=restore-firestore-backup.d.ts.map