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 interface CartDefinition extends UniversalControllerDefinitionWithProps { } /** * @deprecated In the future, the context controller will be included by default in the engine definition. You will no longer need to define it manually * Defines a `Cart` controller instance. * @group Definers * * @returns The `Cart` controller definition. */ export declare function defineCart(): CartDefinition;