import type { CatalogId, ItemId } from "@x12i/catalox-contracts/ids.js"; import type { NativeCatalogItemRecord } from "@x12i/catalox-contracts/items.js"; export type InMemoryNativeItemStoreOptions = { access: "read-only" | "read-write"; }; export declare class InMemoryNativeItemStore { private readonly options; private readonly byCatalog; constructor(initialItems: NativeCatalogItemRecord[], options: InMemoryNativeItemStoreOptions); private catalogMap; private putRecord; private assertWritable; get(catalogId: CatalogId, storageDocId: ItemId): Promise; findByLogicalItemId(catalogId: CatalogId, logicalItemId: ItemId): Promise; list(catalogId: CatalogId, options?: { limit?: number; offset?: number; filterEq?: Record; filterArrayContains?: Record; sort?: Record; }): Promise; upsert(catalogId: CatalogId, record: NativeCatalogItemRecord): Promise; replace(catalogId: CatalogId, record: NativeCatalogItemRecord): Promise; delete(catalogId: CatalogId, storageDocId: ItemId): Promise; batchUpsert(catalogId: CatalogId, records: NativeCatalogItemRecord[]): Promise; batchReplace(catalogId: CatalogId, records: NativeCatalogItemRecord[]): Promise; invalidateLayoutCache(_catalogId?: CatalogId): void; } //# sourceMappingURL=in-memory-native-item-store.d.ts.map