import { Category, CustomerGroup, Product, Variant, Image } from '../../../../common/types'; import { ShopifyCollection, ShopifyImage, ShopifyPrice, ShopifyProduct, ShopifySegment, ShopifyVariant } from './types'; /** * Map a Shopify price to the common price type. * @param price The Shopify price * @returns The common price */ export declare const mapPrice: (price: ShopifyPrice) => string; /** * Map a Shopify collection to the common category type. * @param collection The Shopify collection * @returns The common category */ export declare const mapCategory: (collection: ShopifyCollection) => Category; /** * Map a Shopify image to the common image type. * @param image The Shopify image * @returns The common image */ export declare const mapImage: (image: ShopifyImage) => Image; /** * Map a Shopify product variant to the common product variant type. * @param variant The Shopify product variant * @param sharedImages Images shared between each variant * @returns The common variant */ export declare const mapVariant: (variant: ShopifyVariant, sharedImages: ShopifyImage[]) => Variant; /** * Map a Shopify product to the common product type. * @param product The Shopify product * @returns The common product */ export declare const mapProduct: (product: ShopifyProduct | null) => Product | null; /** * Map a Shopify segment to the common customer group type * @param segment The Shopify segment * @returns The common customer group */ export declare const mapCustomerGroup: (segment: ShopifySegment) => CustomerGroup;