import type { CatalogBindingRecord } from "@x12i/catalox-contracts/bindings.js"; import type { CatalogRecord } from "@x12i/catalox-contracts/catalogs.js"; import type { CatalogDescriptorRecord } from "@x12i/catalox-contracts/descriptors.js"; import type { NativeCatalogItemRecord } from "@x12i/catalox-contracts/items.js"; import type { AppId, CatalogId } from "@x12i/catalox-contracts/ids.js"; export declare const CATALOX_CATALOG_LOCAL_SCHEMA_V1: "catalox.catalog.local.v1"; export type CataloxCatalogLocalSnapshotV1 = { schemaVersion: typeof CATALOX_CATALOG_LOCAL_SCHEMA_V1; generatedAt?: string; appId: AppId; catalogId: CatalogId; catalog?: CatalogRecord; descriptor?: CatalogDescriptorRecord; binding?: CatalogBindingRecord; items: unknown[]; }; export type LoadedLocalSnapshot = { appId: AppId; catalogId: CatalogId; catalog: CatalogRecord; descriptor: CatalogDescriptorRecord; binding: CatalogBindingRecord; items: NativeCatalogItemRecord[]; }; export type LocalStoreOptions = { /** Directory or path to a single snapshot JSON file. */ root: string; /** @default "read-only" */ access?: "read-only" | "read-write"; /** Optional explicit snapshot path (overrides root when set). */ snapshotPath?: string; /** When true, synthesize catalog/descriptor/binding from snapshot header. @default true */ prebuiltCatalog?: boolean; }; export declare function loadLocalSnapshot(options: LocalStoreOptions): LoadedLocalSnapshot; //# sourceMappingURL=snapshot.d.ts.map