import { 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<string, CartItemWithMetadata>;
    purchasedItems: string[];
    purchased: Record<string, CartItemWithMetadata>;
}
export declare const getCartInitialState: () => CartState;
export declare const getProductsFromCartState: (state: CartState) => CartItemParam[];
export declare const getProductsFromCartPurchasedState: (state: CartState) => CartItemParam[];
