import { Cart, GraphQLClient, MediaImageProductSearchInput, TransformationsInput } from '@propeller-commerce/propeller-sdk-v2'; import { AnyUser } from '@propeller-commerce/propeller-v2-core-ui'; export interface CartInitConfig { graphqlClient: GraphQLClient; user: AnyUser; /** Active company ID — overrides user's default company for cart lookup and creation */ companyId?: number; language?: string; imageSearchFilters?: MediaImageProductSearchInput; imageVariantFilters?: TransformationsInput; onCartCreated?: (cart: Cart) => void; } /** * Resolves the active cart for the current user. * Returns an existing OPEN cart if one exists, otherwise creates and * initialises a new cart with default addresses. */ export declare function initCart(config: CartInitConfig): Promise;