import type { CatalogId } from "@x12i/catalox-contracts/ids.js"; import type { CatalogItemsConfig, CatalogSourceMode } from "@x12i/catalox-contracts/catalogs.js"; import { MongoStore } from "./mongo-store.js"; export type CatalogDefinitionRecord = { catalogId: CatalogId; sourceMode: CatalogSourceMode; catalogItems: CatalogItemsConfig; sync?: { mode: "read-through" | "snapshot"; lastSyncedAt?: string; syncStatus?: "idle" | "running" | "success" | "error" | "stale"; lastSyncError?: string; }; metadata?: Record; createdAt: string; updatedAt: string; }; export declare class DefinitionStore { private readonly store; constructor(store: MongoStore); get(catalogId: CatalogId): Promise; upsert(record: CatalogDefinitionRecord): Promise; delete(catalogId: CatalogId): Promise; } //# sourceMappingURL=definition-store.d.ts.map