import type { AttributeRow, CategoryRow, CategoryStoreRow, ProductRecord, ProductStoreRow, StoreRow } from '@znet/catalog-db';
import { type Category, type Product, type ProductAttribute, type StoreConfig, type StoreView, type Website } from '@znet/magento';
/** Magento sends `YYYY-MM-DD HH:MM:SS` in UTC. */
export declare function parseMagentoDate(v: string | null | undefined): Date | null;
export declare function toMagentoDate(d: Date): string;
export declare function mapStores(views: StoreView[], configs: StoreConfig[], websites: Website[]): StoreRow[];
export declare function mapAttribute(a: ProductAttribute): AttributeRow;
export declare function mapCategory(c: Category): CategoryRow;
export declare function mapCategoryStore(c: Category, storeId: number): CategoryStoreRow;
/** Store-scoped content of a product as returned by `/rest/{store}/V1/products`. */
export declare function mapProductStore(p: Product, storeId: number): ProductStoreRow;
/**
 * Default-scope product → catalog record.
 * `childSkuById` resolves configurable child ids (Magento only returns ids for those).
 */
export declare function mapProduct(p: Product, childSkuById: Map<number, string>): ProductRecord;
//# sourceMappingURL=mappers.d.ts.map