import { Category, Image, Product, Variant } from '../../../../common/types'; import { BigCommerceCorsCategoryTreeItem, BigCommerceCorsImage, BigCommerceCorsProduct, BigCommerceCorsVariant } from './types'; /** * Map a bigcommerce category to the common category type. * @param category The bigcommerce category * @returns The common category */ export declare const mapCategory: (category: BigCommerceCorsCategoryTreeItem) => Category; /** * Map a bigcommerce image to the common image type. * @param image The bigcommerce image * @returns The common image */ export declare const mapImage: (image: BigCommerceCorsImage) => Image; /** * Map a bigcommerce product variant to the common product variant type. * @param variant The bigcommerce product variant * @param product The bigcommerce product * @returns The common variant */ export declare const mapVariant: (variant: BigCommerceCorsVariant, product: BigCommerceCorsProduct) => Variant; /** * Map a bigcommerce product to the common product variant type. * @param product The bigcommerce product * @returns The common variant */ export declare const mapVariantProduct: (product: BigCommerceCorsProduct) => Variant; /** * Map a bigcommerce product to the common product type * @param product The bigcommerce product * @returns The common product */ export declare const mapProduct: (product: BigCommerceCorsProduct) => Product;