import type { CartEntityResponse, Product as ElasticPathProduct, Node, ProductData, ProductListData } from "@epcc-sdk/sdks-shopper"; import { Cart } from "../types/cart"; import { Product } from "../types/product"; import { Category } from "../types/site"; export declare const normalizeProduct: (product: ProductData, locale: string, childProducts?: ProductListData | undefined) => Product; export declare const normalizeCart: (cart: CartEntityResponse, locale?: string | undefined) => Cart; export declare const normalizeCategory: (category: Node, locale: string) => Category; /** * Normalize a product from the ProductListData response (from getByContextAllProducts) * This handles the direct Product type from the list, which has a different structure * than ProductData which wraps a single product. */ export declare const normalizeProductFromList: (product: ElasticPathProduct, locale: string, included?: { main_images?: { id?: string | undefined; link?: { href?: string | undefined; } | undefined; }[] | undefined; files?: { id?: string | undefined; link?: { href?: string | undefined; } | undefined; }[] | undefined; } | undefined) => Product;