import { type Signal, type ReadOnlySignal } from '@wix/services-definitions/core-services/signals'; import * as currentCart from '@wix/auto_sdk_ecom_current-cart'; export interface CurrentCartServiceAPI { cart: Signal; isLoading: Signal; isTotalsLoading: Signal; isCouponLoading: Signal; error: Signal; cartCount: ReadOnlySignal; buyerNotes: Signal; cartTotals: Signal; addToCart: (lineItems: currentCart.AddToCurrentCartRequest['lineItems']) => Promise; removeLineItem: (lineItemId: string) => Promise; updateLineItemQuantity: (lineItemId: string, quantity: number) => Promise; increaseLineItemQuantity: (lineItemId: string) => Promise; decreaseLineItemQuantity: (lineItemId: string) => Promise; clearCart: () => Promise; setBuyerNotes: (notes: string) => Promise; proceedToCheckout: () => Promise; applyCoupon: (couponCode: string) => Promise; removeCoupon: () => Promise; reloadCart: () => Promise; onAddedToCart: (callback: (lineItems: currentCart.AddToCurrentCartRequest['lineItems']) => void) => void; } export declare const CurrentCartServiceDefinition: string & { __api: CurrentCartServiceAPI; __config: {}; isServiceDefinition?: boolean; } & CurrentCartServiceAPI; export interface CurrentCartServiceConfig { initialCart?: currentCart.Cart | null; } export declare const CurrentCartService: import("@wix/services-definitions").ServiceFactory; export declare function loadCurrentCartServiceConfig(): Promise;