import type { CommerceTypes } from '@brandingbrand/fscommerce'; import type { Constructor } from '../../helpers'; import { Cart } from '../../helpers'; export declare const CartMixin: >(superclass: T) => { new (...args: any[]): { cart: Cart; orders: Map; addToCart(productId: string, qty?: number, product?: CommerceTypes.Product): Promise; addPayment(cartId: string, payment: CommerceTypes.Payment): Promise; fetchCart(query?: CommerceTypes.CartQuery): Promise; destroyCart(): Promise; fetchPaymentMethods(cartId: string): Promise; fetchShippingMethods(cartId: string, shipmentId: string): Promise; removeCartItem(itemId: string): Promise; setBillingAddress(options: CommerceTypes.BillingAddressOptions): Promise; setCustomerInfo(options: CommerceTypes.CustomerInfoOptions): Promise; setShipmentAddress(options: CommerceTypes.ShipmentAddressOptions): Promise; setShipmentMethod(options: CommerceTypes.ShipmentMethodOptions): Promise; submitOrder(cartId: string): Promise; updateOrder(order: CommerceTypes.Order): Promise; updateOrderPayment(orderId: string, paymentId: string, payment: CommerceTypes.Payment): Promise; updateCartItemQty(itemId: string, qty: number): Promise; updatePayment(cartId: string, paymentId: string, payment: CommerceTypes.Payment): Promise; updateGiftOptions(giftOptions: CommerceTypes.GiftOptions): Promise; applyPromo(promoCode: string): Promise; removePromo(promoItemId: string): Promise; minRefinements: number; storeCurrencyCode: string; fetchProducts(ids: string[]): Promise; }; } & T;