import type { CartItemParam } from '../../../../api/commerce/commerce-api-params.js'; export interface CartItemWithMetadata extends CartItemParam { /** * The name of the cart item. */ name: string; /** * The price of the cart item. */ price: number; } export interface CartState { cartItems: string[]; cart: Record; purchasedItems: string[]; purchased: Record; } export declare const getCartInitialState: () => CartState; export declare const getProductsFromCartState: (state: CartState) => CartItemParam[]; export declare const getProductsFromCartPurchasedState: (state: CartState) => CartItemParam[];