import type { CatalogItemReference } from "@x12i/catalox-contracts/references.js"; import type { CatalogId, ItemId } from "@x12i/catalox-contracts/ids.js"; import { MongoStore } from "./mongo-store.js"; export type CatalogReferenceRecord = CatalogItemReference & { referenceId: string; createdAt: string; updatedAt: string; }; export declare class ReferenceStore { private readonly store; constructor(store: MongoStore); private col; listByCatalog(catalogId: CatalogId): Promise; listByToCatalog(catalogId: CatalogId): Promise; listReferencingCatalog(catalogId: CatalogId): Promise; delete(referenceId: string): Promise; listByItem(catalogId: CatalogId, itemId: ItemId): Promise; listToItem(catalogId: CatalogId, itemId: ItemId): Promise; upsert(record: CatalogReferenceRecord): Promise; } //# sourceMappingURL=reference-store.d.ts.map