import { ICartPricingResult, IUpdateCartPrices } from '../types/cart'; /** * Returns the key for a cart item, by concatenating the product ID, price ID and unit price. * @param productId {number} - The product ID * @param priceId {number} - The price ID * @param unitPrice {number} - The unit price * @returns {string} - The cart item key */ export declare function getPriceDataKey(productId: number, priceId: number, unitPrice: number): string; /** * Updates the prices of products in the cart. * @template T extends ICartPricingResult * @template T2 extends IUpdateCartPrices * @param cartPrices {T} - The cart prices * @param updatePrices {T2} - The prices to update. For CATEGORY/GLOBAL flows, * `updatePrices.categories.*` and `updatePrices.subtotal` are subtotal pools * (pre-exclusive-tax). * @returns {T} - The updated cart prices */ export declare function updateCartPrices(cartPrices: T, updatePrices?: T2): T;