import type { CatalogId } from "@x12i/catalox-contracts/ids.js"; import type { Firestore } from "firebase-admin/firestore"; export { nativeItemsCollectionId } from "../catalog-data-paths.js"; export type NativeItemsLayout = "legacy" | "flat"; /** * Prefer the flat layout when it already has data (post-migration). * Otherwise use legacy `catalogData/{catalogId}/items` when it has data. * If both are empty, default to flat for new writes. * @deprecated Firestore layout resolution — Catalox is Mongo-primary; kept for migration tooling. */ export declare function resolveNativeItemsLayout(firestore: Firestore, catalogId: CatalogId): Promise; /** @deprecated Firestore-only — kept for migration tooling. */ export declare function legacyNativeItemsCollectionRef(firestore: Firestore, catalogId: CatalogId): FirebaseFirestore.CollectionReference; /** @deprecated Firestore-only — kept for migration tooling. */ export declare function flatNativeItemsCollectionRef(firestore: Firestore, catalogId: CatalogId): FirebaseFirestore.CollectionReference; //# sourceMappingURL=catalog-data-paths.d.ts.map