import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { CreateCurrentCartOptions, CreateCurrentCartResponse, CreateCurrentCartApplicationErrors, GetCurrentCartResponse, Cart, UpdateCurrentCartResponse, UpdateCurrentCartApplicationErrors, RefreshCurrentCartResponse, RefreshCurrentCartApplicationErrors, CalculateCurrentCartOptions, CalculateCurrentCartResponse, CalculateCurrentCartApplicationErrors, EstimateCurrentCartOptions, EstimateCurrentCartResponse, EstimateCurrentCartApplicationErrors, AddLineItemsToCurrentCartOptions, AddLineItemsToCurrentCartResponse, AddLineItemsToCurrentCartApplicationErrors, RemoveLineItemsFromCurrentCartResponse, RemoveLineItemsFromCurrentCartApplicationErrors, UpdateLineItemsInCurrentCartOptions, UpdateLineItemsInCurrentCartResponse, UpdateLineItemsInCurrentCartApplicationErrors, CouponInput, AddCouponToCurrentCartResponse, AddCouponToCurrentCartApplicationErrors, RemoveCouponFromCurrentCartResponse, RemoveCouponFromCurrentCartApplicationErrors, DeliveryMethodInput, SetDeliveryMethodForCurrentCartResponse, SetDeliveryMethodForCurrentCartApplicationErrors, ListAvailableDeliveryMethodsForCurrentCartOptions, ListAvailableDeliveryMethodsForCurrentCartResponse, ListAvailableDeliveryMethodsForCurrentCartApplicationErrors, RemoveDeliveryMethodFromCurrentCartResponse, RemoveDeliveryMethodFromCurrentCartApplicationErrors, GiftCardInput, AddGiftCardToCurrentCartResponse, AddGiftCardToCurrentCartApplicationErrors, RemoveGiftCardFromCurrentCartResponse, RemoveGiftCardFromCurrentCartApplicationErrors, UpdateFormSubmissionsInCurrentCartOptions, UpdateFormSubmissionsInCurrentCartResponse, GetUpsellOptionsForCurrentCartResponse, CartCalculatedEnvelope, CartCompletedEnvelope, CartCreatedEnvelope, CartDeletedEnvelope, CartUpdatedEnvelope } from './index.typings.js'; export { AccountInfo, AccountInfoMetadata, ActionEvent, AddCouponRequest, AddCouponResponse, AddCouponToCurrentCartRequest, AddGiftCardRequest, AddGiftCardResponse, AddGiftCardToCurrentCartRequest, AddLineItemsRequest, AddLineItemsResponse, AddLineItemsToCurrentCartRequest, AdditionalCost, AdditionalFee, AdditionalFeeSource, AdditionalFeeSourceWithLiterals, AdditionalFeeTax, Address, AddressLocation, AggregatedTaxBreakdown, ApplicableLineItems, ApplicationError, AppliedDiscount, AppliedDiscountDiscountSourceOneOf, AutoTaxFallbackCalculationDetails, AvailableDeliveryMethod, BalanceType, BalanceTypeWithLiterals, BaseEventMetadata, BaseRateSource, BaseRateSourceWithLiterals, Benefit, BenefitQuotaOneOf, BenefitType, BenefitTypeWithLiterals, BillingSettings, BridgeAction, BridgeActionWithLiterals, BundleInfo, BundledItem, BundledItemAttributes, BundledItemDiscount, BundledItemSource, BusinessInfo, CalculateCartForV1Request, CalculateCartForV1Response, CalculateCartRequest, CalculateCartResponse, CalculateCurrentCartRequest, CalculateTotalsResponse, CalculatedBundledItem, CalculatedCyclePriceOverride, CalculatedItemModifier, CalculatedLineItem, CalculatedPlatformFee, CalculationConfig, CalculationErrors, CalculationErrorsShippingCalculationErrorOneOf, CalculationOverrides, Carrier, CarrierError, CarrierErrors, CarrierServiceOption, CartAlreadyOrderedErrorData, CartBridgeCalculated, CartCompleted, CartEstimationIndicators, CartRevisionMismatchErrorData, CartSettings, CartSource, CartSummary, CatalogItemInput, CatalogOverrideFields, CatalogReference, ChannelType, ChannelTypeWithLiterals, Charge, ChargeType, ChargeTypeWithLiterals, Color, ConvertedMoney, Coupon, CouponAdded, CouponAlreadyExistsErrorData, CouponDiscountValueOneOf, CouponNotFoundInCartErrorData, CouponRemoved, CoveredLineItem, CreateCartRequest, CreateCartResponse, CreateCurrentCartRequest, CreatedBy, CreatedByIdOneOf, CrossBorderNotApplicableReason, CrossBorderNotApplicableReasonWithLiterals, CrossBorderPriceAdjustment, CrossBorderRepricingMode, CrossBorderRepricingModeWithLiterals, CrossBorderRepricingResult, CustomContentReference, CustomField, CustomItemAttributes, CustomItemDeliveryConfig, CustomItemInput, CustomItemPaymentConfig, CustomItemPricingInfo, CustomItemQuantityInfo, CustomItemSource, CustomItemTaxConfig, CustomValidationErrorData, CustomerInfo, CustomerInfoIdOneOf, CyclePriceOverride, DeleteCartRequest, DeleteCartResponse, DeleteCurrentCartRequest, DeleteCurrentCartResponse, DeliveryAllocation, DeliveryCarrier, DeliveryInfo, DeliveryLogistics, DeliveryMethod, DeliveryMethodCost, DeliveryMethodNotFoundErrorData, DeliveryMethodTypeFilter, DeliveryMethodTypeFilterWithLiterals, DeliverySummary, DeliveryTimeSlot, Description, DescriptionLine, DescriptionLineDescriptionLineValueOneOf, DescriptionLineName, DescriptionLineType, DescriptionLineTypeWithLiterals, DescriptionLineValueOneOf, Details, DetailsKindOneOf, Dimensions, DimensionsUnit, DimensionsUnitWithLiterals, Discount, DiscountRule, DiscountRuleDiscountValueOneOf, DiscountRuleName, DiscountScope, DiscountScopeWithLiterals, DiscountSource, DiscountSourceType, DiscountSourceTypeWithLiterals, DiscountType, DiscountTypeWithLiterals, DiscountValueType, DiscountValueTypeWithLiterals, DomainEvent, DomainEventBodyOneOf, DuplicateItemModifierIdsErrorData, DuplicateLineItemUpdatesErrorData, DuplicateModifierGroupIdsErrorData, Empty, EmptyLineItemUpdatesErrorData, EmptyPaymentTokenErrorData, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EstimateCartRequest, EstimateCartResponse, EstimateCurrentCartRequest, EventMetadata, ExistingMembership, ExistingMembershipInput, ExtendedFields, ExternalReference, FallbackReason, FallbackReasonWithLiterals, FieldViolation, FileType, FileTypeWithLiterals, FixedQuantityItemErrorData, FormIdentifier, FormInfo, FormSubmission, FreeTrialPeriod, FullAddressContactDetails, FutureMembership, FutureMembershipInput, GetCartRequest, GetCartResponse, GetCheckoutURLRequest, GetCheckoutURLResponse, GetCurrentCartRequest, GetUpsellOptionsForCurrentCartRequest, GetUpsellOptionsRequest, GetUpsellOptionsResponse, GiftCard, GiftCardAdded, GiftCardAlreadyExistsErrorData, GiftCardCalculationError, GiftCardNotFoundInCartErrorData, GiftCardPaymentNotSupportedOnDemoCartErrorData, GiftCardRedeemErrorData, GiftCardRemoved, GiftCardSummary, Group, HandleAsyncCheckoutCompletionRequest, HeadersEntry, IdentificationData, IdentificationDataIdOneOf, InsufficientInventoryEntry, InsufficientInventoryErrorData, InvalidCartErrorData, InvalidCouponCodeErrorData, InvalidCouponReason, InvalidCouponReasonWithLiterals, InvalidCouponStatusErrorData, InvalidCouponStatusErrorDataDetailsOneOf, InvalidGiftCardCodeErrorData, InvalidGiftCardReason, InvalidGiftCardReasonWithLiterals, InvalidGiftCardStatusErrorData, InvalidMembership, InvalidMembershipEntry, InvalidMembershipErrorData, InvalidMembershipPaymentOptionErrorData, InvalidMembershipReason, InvalidMembershipReasonWithLiterals, InvalidMembershipStatusErrorData, InvalidPaymentStatusErrorData, InvalidPriceVerificationTokenErrorData, InvalidThirdPartyCheckoutTokenErrorData, ItemAttributes, ItemCombination, ItemCombinationBundledItem, ItemCombinationLineItem, ItemDeliveryConfig, ItemDiscount, ItemFile, ItemModifier, ItemNotFoundInCatalogErrorData, ItemPaymentConfig, ItemPriceBreakdown, ItemPricingInfo, ItemQuantityInfo, ItemSource, ItemStatus, ItemStatusWithLiterals, ItemTaxConfig, ItemTaxFullDetails, ItemType, ItemTypeItemTypeDataOneOf, ItemTypePreset, ItemTypePresetWithLiterals, ItemUpsells, JurisdictionType, JurisdictionTypeWithLiterals, LegacyFields, LimitedQuota, LimitedQuotaType, LimitedQuotaTypeWithLiterals, LineItem, LineItemAdded, LineItemCoverage, LineItemDiscount, LineItemIdentifier, LineItemIdentifierIdOneOf, LineItemNotFoundInCartErrorData, LineItemPriceConflictErrorData, LineItemPricesData, LineItemSummary, LineItemTax, LineItemUpdate, LineItemsOutOfStockErrorData, ListAvailableDeliveryMethodsForCurrentCartRequest, ListAvailableDeliveryMethodsRequest, ListAvailableDeliveryMethodsResponse, ManualCalculationReason, ManualCalculationReasonWithLiterals, MarkCartAsCompletedRequest, MarkCartAsCompletedResponse, MaxItemModifiersExceededErrorData, MaxLineItemsExceededErrorData, MembersOnlyItemErrorData, Membership, MembershipInput, MembershipInputMembershipOneOf, MembershipName, MembershipOptions, MembershipPaymentCredits, MembershipSummary, MembershipSummaryMembershipIdentifierOneOf, MerchantDiscount, MessageEnvelope, MinLineItemQuantityNotReachedDetails, MinSubtotalNotReachedDetails, ModifierGroup, MultiCurrencyPrice, NameInLineItem, NameInLineItemWithLiterals, NameInOther, NameInOtherWithLiterals, Other, OtherCharge, PaymentInfo, PaymentOption, PaymentOptionType, PaymentOptionTypeWithLiterals, PaymentSummary, PhysicalProperties, PickupDetails, PickupDetailsPickupMethod, PickupDetailsPickupMethodWithLiterals, PickupMethod, PickupMethodWithLiterals, PlaceOrderRequest, PlaceOrderResponse, PlainTextValue, PlatformFee, PlatformFeeChargeType, PlatformFeeChargeTypeWithLiterals, PlatformFeeSummary, Policy, Price, PriceDescription, PriceDetails, PriceSummary, ProductPeriodAlignment, ProductPeriodAlignmentWithLiterals, PurchasablePlan, QuantityUpdate, QuotaType, QuotaTypeWithLiterals, RateType, RateTypeWithLiterals, RawHttpResponse, RedemptionType, RedemptionTypeWithLiterals, RedirectUrls, RefreshCartRequest, RefreshCartResponse, RefreshCurrentCartRequest, Region, RemoveCouponFromCurrentCartRequest, RemoveCouponRequest, RemoveCouponResponse, RemoveDeliveryMethodFromCurrentCartRequest, RemoveDeliveryMethodRequest, RemoveDeliveryMethodResponse, RemoveGiftCardFromCurrentCartRequest, RemoveGiftCardRequest, RemoveGiftCardResponse, RemoveLineItemsFromCurrentCartRequest, RemoveLineItemsRequest, RemoveLineItemsResponse, RepriceStatus, RepriceStatusWithLiterals, RestoreInfo, RuleType, RuleTypeWithLiterals, Scope, SecuredMedia, SelectedCarrierServiceOption, SelectedCarrierServiceOptionOtherCharge, SelectedCarrierServiceOptionPrices, SelectedMembership, SelectedMembershipUpdate, SelectedMemberships, ServiceProperties, SetDeliveryMethodForCurrentCartRequest, SetDeliveryMethodRequest, SetDeliveryMethodResponse, Severity, SeverityWithLiterals, ShippingInformation, ShippingOption, ShippingPrice, ShippingRegion, Source, SourceWithLiterals, StreetAddress, SubscriptionCharges, SubscriptionFrequency, SubscriptionFrequencyWithLiterals, SubscriptionOptionInfo, SubscriptionSettings, SubtotalBelowOrderMinimumErrorData, SuggestedFix, SuggestedFixWithLiterals, SystemError, Target, TargetTargetTypeOneOf, Tax, TaxBreakdown, TaxCalculationDetails, TaxCalculationDetailsCalculationDetailsOneOf, TaxCalculatorAttribution, TaxDetails, TaxInfo, TaxRateBreakdown, TaxSummary, TaxableAddress, TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, TaxableAddressTypeWithLiterals, Title, TranslatableString, UnmarkAsCurrentCartRequest, UnmarkAsCurrentCartResponse, UpdateCartRequest, UpdateCartResponse, UpdateCurrentCartRequest, UpdateFormSubmissionsInCurrentCartRequest, UpdateFormSubmissionsRequest, UpdateFormSubmissionsResponse, UpdateLineItemsInCurrentCartRequest, UpdateLineItemsRequest, UpdateLineItemsResponse, UpsellBenefitMetadata, UpsellOption, V1AdditionalFee, V1Membership, V1PlatformFeeChargeType, V1PlatformFeeChargeTypeWithLiterals, V1PriceSummary, V2AdditionalFee, V2CalculationErrors, V2CalculationErrorsShippingCalculationErrorOneOf, V2CarrierError, V2CarrierErrors, V2Coupon, V2DeliveryAllocation, V2DeliveryLogistics, V2DeliveryTimeSlot, V2ExistingMembership, V2GiftCard, V2LineItem, V2LineItemDiscount, V2Membership, V2MembershipIdentifierOneOf, V2PickupDetails, V2PriceSummary, V2SelectedMembership, V2TaxSummary, V2Violation, V2ViolationDataOneOf, ValidatedExistingMemberships, ValidatedPurchasablePlans, ValidationError, ValidationsConfig, ValidationsConfigWithLiterals, VatId, VatType, VatTypeWithLiterals, Violation, ViolationCode, ViolationCodeWithLiterals, ViolationScope, ViolationScopeWithLiterals, ViolationSeverity, ViolationSeverityWithLiterals, ViolationWithErrorSeverityErrorData, ViolationsList, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WeightUnit, WeightUnitWithLiterals } from './index.typings.js'; declare function createCurrentCart$1(httpClient: HttpClient): CreateCurrentCartSignature; interface CreateCurrentCartSignature { /** * Creates the customer's current cart. */ (options?: NonNullablePaths): Promise & { __applicationErrorsType?: CreateCurrentCartApplicationErrors; }>; } declare function getCurrentCart$1(httpClient: HttpClient): GetCurrentCartSignature; interface GetCurrentCartSignature { /** * Retrieves the customer's current cart. */ (): Promise>; } declare function updateCurrentCart$1(httpClient: HttpClient): UpdateCurrentCartSignature; interface UpdateCurrentCartSignature { /** * Updates the customer's current cart. * * Use this endpoint to set and replace fields such as buyer note and delivery method. * To add or remove elements from lists (for example, line items, discounts, gift cards), use their dedicated endpoints. * @param - Cart to update; may be partial. */ (cart: Cart): Promise & { __applicationErrorsType?: UpdateCurrentCartApplicationErrors; }>; } declare function deleteCurrentCart$1(httpClient: HttpClient): DeleteCurrentCartSignature; interface DeleteCurrentCartSignature { /** * Deletes the customer's current cart. */ (): Promise; } declare function refreshCurrentCart$1(httpClient: HttpClient): RefreshCurrentCartSignature; interface RefreshCurrentCartSignature { /** * Re-evaluates prices, inventory, and discounts to ensure the customer's current cart is up-to-date with the latest changes. */ (): Promise & { __applicationErrorsType?: RefreshCurrentCartApplicationErrors; }>; } declare function calculateCurrentCart$1(httpClient: HttpClient): CalculateCurrentCartSignature; interface CalculateCurrentCartSignature { /** * Calculates the customer's current cart based on its current state (line items, discounts, delivery method, etc.) * and returns a detailed summary including subtotal, delivery costs, taxes, fees, and the total price. * * Note that line item discounts are already pre-computed and applied to the current cart. */ (options?: CalculateCurrentCartOptions): Promise & { __applicationErrorsType?: CalculateCurrentCartApplicationErrors; }>; } declare function estimateCurrentCart$1(httpClient: HttpClient): EstimateCurrentCartSignature; interface EstimateCurrentCartSignature { /** * Estimates the customer's current cart totals based on its current state and the selected * calculation components. * * This API provides a partial, component-based estimation of the cart and is * intended for preview purposes (for example, showing partial estimated totals). * * The estimation is controlled by boolean flags that indicate which components * should be included (delivery costs, additional fees, taxes, gift cards). * Components that aren't explicitly enabled are excluded from the calculation. * * This isn't a full cart calculation. * * Note that line item discounts are already pre-computed and applied to the current cart. */ (options?: EstimateCurrentCartOptions): Promise & { __applicationErrorsType?: EstimateCurrentCartApplicationErrors; }>; } declare function addLineItemsToCurrentCart$1(httpClient: HttpClient): AddLineItemsToCurrentCartSignature; interface AddLineItemsToCurrentCartSignature { /** * Adds line items to the customer's current cart. * If a current cart doesn't already exist, one is created. */ (options?: NonNullablePaths): Promise & { __applicationErrorsType?: AddLineItemsToCurrentCartApplicationErrors; }>; } declare function removeLineItemsFromCurrentCart$1(httpClient: HttpClient): RemoveLineItemsFromCurrentCartSignature; interface RemoveLineItemsFromCurrentCartSignature { /** * Removes line items from the customer's current cart. * @param - Line item IDs to remove from the current cart. */ (lineItemIds: string[]): Promise & { __applicationErrorsType?: RemoveLineItemsFromCurrentCartApplicationErrors; }>; } declare function updateLineItemsInCurrentCart$1(httpClient: HttpClient): UpdateLineItemsInCurrentCartSignature; interface UpdateLineItemsInCurrentCartSignature { /** * Updates line items in the customer's current cart. * * Use this endpoint to update line item properties such as quantity and selected membership. */ (options?: NonNullablePaths): Promise & { __applicationErrorsType?: UpdateLineItemsInCurrentCartApplicationErrors; }>; } declare function addCouponToCurrentCart$1(httpClient: HttpClient): AddCouponToCurrentCartSignature; interface AddCouponToCurrentCartSignature { /** * Applies a coupon to the customer's current cart. * @param - Coupon to apply. * * Currently only one is supported. */ (coupon: NonNullablePaths): Promise & { __applicationErrorsType?: AddCouponToCurrentCartApplicationErrors; }>; } declare function removeCouponFromCurrentCart$1(httpClient: HttpClient): RemoveCouponFromCurrentCartSignature; interface RemoveCouponFromCurrentCartSignature { /** * Removes a coupon from the customer's current cart. * @param - Coupon ID. */ (couponId: string): Promise & { __applicationErrorsType?: RemoveCouponFromCurrentCartApplicationErrors; }>; } declare function setDeliveryMethodForCurrentCart$1(httpClient: HttpClient): SetDeliveryMethodForCurrentCartSignature; interface SetDeliveryMethodForCurrentCartSignature { /** * Sets the delivery method for the customer's current cart. * @param - Delivery method. */ (deliveryMethod: NonNullablePaths): Promise & { __applicationErrorsType?: SetDeliveryMethodForCurrentCartApplicationErrors; }>; } /** @internal */ declare function listAvailableDeliveryMethodsForCurrentCart$1(httpClient: HttpClient): ListAvailableDeliveryMethodsForCurrentCartSignature; interface ListAvailableDeliveryMethodsForCurrentCartSignature { /** * Retrieves a list of delivery methods available for the customer's current cart. * * By default, only methods that deliver all of the cart's line items are returned. To also get methods that deliver only some of them, pass `include_partial_methods` as `true`. Those methods have `partial` set to `true`. Digital items, such as downloadable files, aren't delivered, so a cart with only digital items might have no available delivery methods. * * Returns an empty list when the cart has no line items, or when no delivery method delivers the cart's line items to the cart's delivery address. When no method is available because of a problem with the delivery address, the call fails with an error that names the problem. * * To select a returned method, pass its `code` and `appId` to Set Delivery Method For Current Cart. */ (options?: ListAvailableDeliveryMethodsForCurrentCartOptions): Promise & { __applicationErrorsType?: ListAvailableDeliveryMethodsForCurrentCartApplicationErrors; }>; } declare function removeDeliveryMethodFromCurrentCart$1(httpClient: HttpClient): RemoveDeliveryMethodFromCurrentCartSignature; interface RemoveDeliveryMethodFromCurrentCartSignature { /** * Removes the selected delivery method from the customer's current cart. */ (): Promise & { __applicationErrorsType?: RemoveDeliveryMethodFromCurrentCartApplicationErrors; }>; } declare function addGiftCardToCurrentCart$1(httpClient: HttpClient): AddGiftCardToCurrentCartSignature; interface AddGiftCardToCurrentCartSignature { /** * Adds a gift card to the customer's current cart. * * Once added, the gift card's balance is used as a payment method during checkout, either partially or fully covering the cart total. * @param - Gift card to add. * * Currently only one is supported. */ (giftCard: NonNullablePaths): Promise & { __applicationErrorsType?: AddGiftCardToCurrentCartApplicationErrors; }>; } declare function removeGiftCardFromCurrentCart$1(httpClient: HttpClient): RemoveGiftCardFromCurrentCartSignature; interface RemoveGiftCardFromCurrentCartSignature { /** * Removes a gift card from the customer's current cart. * @param - Gift card ID. */ (giftCardId: string): Promise & { __applicationErrorsType?: RemoveGiftCardFromCurrentCartApplicationErrors; }>; } declare function updateFormSubmissionsInCurrentCart$1(httpClient: HttpClient): UpdateFormSubmissionsInCurrentCartSignature; interface UpdateFormSubmissionsInCurrentCartSignature { /** * Updates form submissions associated with the customer's current cart line items. * * Forms are defined by catalog apps and used for collecting additional information per line item (for example, personalization text or event details). */ (options?: UpdateFormSubmissionsInCurrentCartOptions): Promise>; } /** @internal */ declare function getUpsellOptionsForCurrentCart$1(httpClient: HttpClient): GetUpsellOptionsForCurrentCartSignature; interface GetUpsellOptionsForCurrentCartSignature { /** * Returns the upsell options available for the cart's line items. */ (): Promise>; } declare const onCartCalculated$1: EventDefinition; declare const onCartCompleted$1: EventDefinition; declare const onCartCreated$1: EventDefinition; declare const onCartDeleted$1: EventDefinition; declare const onCartUpdated$1: EventDefinition; declare const createCurrentCart: MaybeContext & typeof createCurrentCart$1>; declare const getCurrentCart: MaybeContext & typeof getCurrentCart$1>; declare const updateCurrentCart: MaybeContext & typeof updateCurrentCart$1>; declare const deleteCurrentCart: MaybeContext & typeof deleteCurrentCart$1>; declare const refreshCurrentCart: MaybeContext & typeof refreshCurrentCart$1>; declare const calculateCurrentCart: MaybeContext & typeof calculateCurrentCart$1>; declare const estimateCurrentCart: MaybeContext & typeof estimateCurrentCart$1>; declare const addLineItemsToCurrentCart: MaybeContext & typeof addLineItemsToCurrentCart$1>; declare const removeLineItemsFromCurrentCart: MaybeContext & typeof removeLineItemsFromCurrentCart$1>; declare const updateLineItemsInCurrentCart: MaybeContext & typeof updateLineItemsInCurrentCart$1>; declare const addCouponToCurrentCart: MaybeContext & typeof addCouponToCurrentCart$1>; declare const removeCouponFromCurrentCart: MaybeContext & typeof removeCouponFromCurrentCart$1>; declare const setDeliveryMethodForCurrentCart: MaybeContext & typeof setDeliveryMethodForCurrentCart$1>; /** @internal */ declare const listAvailableDeliveryMethodsForCurrentCart: MaybeContext & typeof listAvailableDeliveryMethodsForCurrentCart$1>; declare const removeDeliveryMethodFromCurrentCart: MaybeContext & typeof removeDeliveryMethodFromCurrentCart$1>; declare const addGiftCardToCurrentCart: MaybeContext & typeof addGiftCardToCurrentCart$1>; declare const removeGiftCardFromCurrentCart: MaybeContext & typeof removeGiftCardFromCurrentCart$1>; declare const updateFormSubmissionsInCurrentCart: MaybeContext & typeof updateFormSubmissionsInCurrentCart$1>; /** @internal */ declare const getUpsellOptionsForCurrentCart: MaybeContext & typeof getUpsellOptionsForCurrentCart$1>; /** * Triggered when a cart is calculated. */ declare const onCartCalculated: BuildEventDefinition & typeof onCartCalculated$1; /** * Triggered when an order created from this cart is successfully paid for or when a cart is marked as completed. */ declare const onCartCompleted: BuildEventDefinition & typeof onCartCompleted$1; /** * Triggered when a cart is created. */ declare const onCartCreated: BuildEventDefinition & typeof onCartCreated$1; /** * Triggered when a cart is deleted. */ declare const onCartDeleted: BuildEventDefinition & typeof onCartDeleted$1; /** * Triggered when a cart is updated. */ declare const onCartUpdated: BuildEventDefinition & typeof onCartUpdated$1; export { AddCouponToCurrentCartApplicationErrors, AddCouponToCurrentCartResponse, AddGiftCardToCurrentCartApplicationErrors, AddGiftCardToCurrentCartResponse, AddLineItemsToCurrentCartApplicationErrors, AddLineItemsToCurrentCartOptions, AddLineItemsToCurrentCartResponse, CalculateCurrentCartApplicationErrors, CalculateCurrentCartOptions, CalculateCurrentCartResponse, Cart, CartCalculatedEnvelope, CartCompletedEnvelope, CartCreatedEnvelope, CartDeletedEnvelope, CartUpdatedEnvelope, CouponInput, CreateCurrentCartApplicationErrors, CreateCurrentCartOptions, CreateCurrentCartResponse, DeliveryMethodInput, EstimateCurrentCartApplicationErrors, EstimateCurrentCartOptions, EstimateCurrentCartResponse, GetCurrentCartResponse, GetUpsellOptionsForCurrentCartResponse, GiftCardInput, ListAvailableDeliveryMethodsForCurrentCartApplicationErrors, ListAvailableDeliveryMethodsForCurrentCartOptions, ListAvailableDeliveryMethodsForCurrentCartResponse, RefreshCurrentCartApplicationErrors, RefreshCurrentCartResponse, RemoveCouponFromCurrentCartApplicationErrors, RemoveCouponFromCurrentCartResponse, RemoveDeliveryMethodFromCurrentCartApplicationErrors, RemoveDeliveryMethodFromCurrentCartResponse, RemoveGiftCardFromCurrentCartApplicationErrors, RemoveGiftCardFromCurrentCartResponse, RemoveLineItemsFromCurrentCartApplicationErrors, RemoveLineItemsFromCurrentCartResponse, SetDeliveryMethodForCurrentCartApplicationErrors, SetDeliveryMethodForCurrentCartResponse, UpdateCurrentCartApplicationErrors, UpdateCurrentCartResponse, UpdateFormSubmissionsInCurrentCartOptions, UpdateFormSubmissionsInCurrentCartResponse, UpdateLineItemsInCurrentCartApplicationErrors, UpdateLineItemsInCurrentCartOptions, UpdateLineItemsInCurrentCartResponse, addCouponToCurrentCart, addGiftCardToCurrentCart, addLineItemsToCurrentCart, calculateCurrentCart, createCurrentCart, deleteCurrentCart, estimateCurrentCart, getCurrentCart, getUpsellOptionsForCurrentCart, listAvailableDeliveryMethodsForCurrentCart, onCartCalculated, onCartCompleted, onCartCreated, onCartDeleted, onCartUpdated, refreshCurrentCart, removeCouponFromCurrentCart, removeDeliveryMethodFromCurrentCart, removeGiftCardFromCurrentCart, removeLineItemsFromCurrentCart, setDeliveryMethodForCurrentCart, updateCurrentCart, updateFormSubmissionsInCurrentCart, updateLineItemsInCurrentCart };