import { type Cart, type CartInitialState, type CartItem, type CartProps, type CartState } from '../../../../controllers/commerce/context/cart/headless-cart.js'; import type { UniversalControllerDefinitionWithProps } from '../../types/controller-definitions.js'; export type { Cart, CartInitialState, CartItem, CartProps, CartState }; export interface CartBuildProps { initialState: CartInitialState; } export type CartDefinition = UniversalControllerDefinitionWithProps; /** * Defines a `Cart` controller instance. * @group Definers * * @returns The `Cart` controller definition. * * Note: This controller is automatically included in all engine definitions. You do not need to add it manually to your engine definition configuration. */ export declare function defineCart(): CartDefinition;