@nevios/storefront-kit 1.3.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  import * as React from 'react';
2
- import { StorefrontClient, Money, Product, ProductMedia, ProductVariant, CollectionDetail, ProductSort, Cart, AddLineInput, CartLine, Checkout, CreateCheckoutInput, SetAddressInput, ShippingQuote, PaymentMethod, OrderStatus, PaymentState, OrderPhase, PaymentInstructions, Customer, MagicLinkResult, ReorderResult } from '@nevios/storefront-js';
2
+ import * as _nevios_storefront_js from '@nevios/storefront-js';
3
+ import { StorefrontClient, Money, Product, ProductMedia, ProductVariant, CollectionDetail, ProductSort, SubscriptionPlan, Cart, AddLineInput, UpdateCartLineInput, CartLine, SubscriptionSelection, SubscriptionQuote, Checkout, CreateCheckoutInput, SetAddressInput, ShippingQuote, PaymentMethod, SubscriptionAcceptance, SubscriptionEnrollmentResult, SubscriptionPayment, OrderStatus, PaymentState, OrderPhase, PaymentInstructions, Customer, MagicLinkResult, ReorderResult, SubscriptionDetails, Subscription } from '@nevios/storefront-js';
4
+ import * as react_jsx_runtime from 'react/jsx-runtime';
3
5
 
4
6
  /**
5
7
  * NeviosProvider — puts a configured storefront client on React context so
@@ -71,6 +73,16 @@ declare function ThemeProvider({ theme, children, as: Tag, }: ThemeProviderProps
71
73
  * provider picks the category for the active locale via `Intl.PluralRules`.
72
74
  */
73
75
  declare const en: {
76
+ "subscriptions.purchaseOption": string;
77
+ "subscriptions.empty": string;
78
+ "subscriptions.status.active": string;
79
+ "subscriptions.status.paused": string;
80
+ "subscriptions.status.pending": string;
81
+ "subscriptions.status.cancelled": string;
82
+ "subscriptions.title": string;
83
+ "subscriptions.consent": string;
84
+ "subscriptions.eachDelivery": string;
85
+ "subscriptions.once": string;
74
86
  "common.free": string;
75
87
  "common.close": string;
76
88
  "common.loadingShort": string;
@@ -204,6 +216,45 @@ declare const en: {
204
216
  "error.generic.title": string;
205
217
  "error.generic.body": string;
206
218
  "error.home": string;
219
+ "subscriptions.mixPrice": string;
220
+ "subscriptions.locked.inactive": string;
221
+ "subscriptions.locked.cutoff": string;
222
+ "subscriptions.locked.in_flight": string;
223
+ "subscriptions.quantity": string;
224
+ "subscriptions.back": string;
225
+ "subscriptions.loading": string;
226
+ "subscriptions.loadingProducts": string;
227
+ "subscriptions.chargeDate": string;
228
+ "subscriptions.noticeHeld": string;
229
+ "subscriptions.nextDelivery": string;
230
+ "subscriptions.onlyNext": string;
231
+ "subscriptions.toCharge": string;
232
+ "subscriptions.noticeStatus": string;
233
+ "subscriptions.notice.pending": string;
234
+ "subscriptions.notice.queued": string;
235
+ "subscriptions.notice.sent": string;
236
+ "subscriptions.notice.failed": string;
237
+ "subscriptions.notice.superseded": string;
238
+ "subscriptions.editUntil": string;
239
+ "subscriptions.changeInterval": string;
240
+ "subscriptions.addNext": string;
241
+ "subscriptions.changeMix": string;
242
+ "subscriptions.skip": string;
243
+ "subscriptions.skipWarning": string;
244
+ "subscriptions.futureOnly": string;
245
+ "subscriptions.nextUnchanged": string;
246
+ "subscriptions.reviewTotal": string;
247
+ "subscriptions.acceptChange": string;
248
+ "subscriptions.reloadBeforeRetry": string;
249
+ "subscriptions.confirmChange": string;
250
+ "subscriptions.reviewChange": string;
251
+ "subscriptions.unit.week": string;
252
+ "subscriptions.unit.month": string;
253
+ "subscriptions.unit.year": string;
254
+ "subscriptions.searchProducts": string;
255
+ "subscriptions.addProduct": string;
256
+ "subscriptions.mixCount": string;
257
+ "subscriptions.addMix": string;
207
258
  "account.title": string;
208
259
  "account.signIn": string;
209
260
  "account.signInBlurb": string;
@@ -510,6 +561,16 @@ interface TagFilterProps {
510
561
  /** Toggleable tag chips. Multi-select; emits the selected list. */
511
562
  declare function TagFilter({ tags, selected, onChange }: TagFilterProps): React.ReactElement | null;
512
563
 
564
+ /** Controlled PDP selector. Pass value to AddToCart.subscriptionPlanId.
565
+ * Plans and prices must come from client.subscriptions.plans(variantId). */
566
+ declare function PurchaseOptions({ plans, value, onChange, disabled, locale }: {
567
+ plans: SubscriptionPlan[];
568
+ value: string | null;
569
+ onChange(planId: string | null): void;
570
+ disabled?: boolean;
571
+ locale?: string;
572
+ }): React.ReactElement;
573
+
513
574
  /**
514
575
  * CartProvider + useCart — shared cart state for the whole app. The drawer, the
515
576
  * PDP add-to-cart, and a header cart count all read the same cart and re-render
@@ -527,12 +588,17 @@ interface CartState {
527
588
  loading: boolean;
528
589
  itemCount: number;
529
590
  addLine(input: AddLineInput): Promise<Cart>;
530
- updateLine(lineId: string, quantity: number): Promise<Cart>;
591
+ setSubscriptionMix(planId: string, lines: {
592
+ variant_id: string;
593
+ quantity: number;
594
+ }[], expectedLineIds: string[]): Promise<Cart>;
595
+ updateLine(lineId: string, quantity: number | UpdateCartLineInput): Promise<Cart>;
531
596
  removeLine(lineId: string): Promise<Cart>;
597
+ clearSubscription(): Promise<Cart>;
532
598
  /** Re-fetch the cart from the server. */
533
599
  refresh(): Promise<void>;
534
600
  }
535
- declare function CartProvider({ children }: {
601
+ declare function CartProvider({ children, }: {
536
602
  children: React.ReactNode;
537
603
  }): React.ReactElement;
538
604
  declare function useCart(): CartState;
@@ -547,11 +613,12 @@ declare function useCart(): CartState;
547
613
  interface AddToCartProps {
548
614
  variant: ProductVariant | null;
549
615
  quantity?: number;
616
+ subscriptionPlanId?: string | null;
550
617
  /** Button label. Defaults to "Add to cart". */
551
618
  children?: React.ReactNode;
552
619
  onAdded?: () => void;
553
620
  }
554
- declare function AddToCart({ variant, quantity, children, onAdded, }: AddToCartProps): React.ReactElement;
621
+ declare function AddToCart({ variant, quantity, subscriptionPlanId, children, onAdded, }: AddToCartProps): React.ReactElement;
555
622
 
556
623
  /**
557
624
  * CartLineItem — one cart row: thumbnail, title + variant, a quantity stepper,
@@ -615,8 +682,16 @@ type PayResult = {
615
682
  } | {
616
683
  kind: "order";
617
684
  checkout: Checkout;
685
+ } | {
686
+ kind: "subscription";
687
+ subscription: SubscriptionEnrollmentResult;
688
+ } | {
689
+ kind: "subscription_payment";
690
+ payment: SubscriptionPayment;
618
691
  };
619
692
  interface PayOptions {
693
+ /** Explicit acceptance of the currently displayed recurring quote. */
694
+ subscription?: SubscriptionAcceptance;
620
695
  /** Where the gateway returns the customer after paying. */
621
696
  returnUrl?: string;
622
697
  /** Where the gateway returns the customer on cancel. */
@@ -629,6 +704,9 @@ interface PayOptions {
629
704
  redirect?: boolean;
630
705
  }
631
706
  interface CheckoutState {
707
+ selectSubscription(selection: SubscriptionSelection): Promise<SubscriptionQuote>;
708
+ clearSubscription(): Promise<Checkout>;
709
+ reviewSubscription(): Promise<SubscriptionQuote>;
632
710
  checkout: Checkout | null;
633
711
  /** True while a checkout request is in flight. */
634
712
  loading: boolean;
@@ -678,6 +756,8 @@ declare function useCheckout(): CheckoutState;
678
756
  interface CheckoutFlowProps {
679
757
  /** If set and no checkout exists yet, create one from this cart token. */
680
758
  cartToken?: string;
759
+ /** Confirm with Stripe.js, then the flow refreshes the server payment state. */
760
+ onSubscriptionPayment?: (payment: SubscriptionPayment) => void | Promise<void>;
681
761
  /** Called when a (non-gateway) order is placed. Gateway flows redirect away
682
762
  * before this fires. */
683
763
  onOrderPlaced?: (checkout: Checkout) => void;
@@ -690,7 +770,7 @@ interface CheckoutFlowProps {
690
770
  cancelUrl?: string;
691
771
  locale?: string;
692
772
  }
693
- declare function CheckoutFlow({ cartToken, onOrderPlaced, emptyState, renderConfirmation, returnUrl, cancelUrl, locale, }: CheckoutFlowProps): React.ReactElement;
773
+ declare function CheckoutFlow({ cartToken, onSubscriptionPayment, onOrderPlaced, emptyState, renderConfirmation, returnUrl, cancelUrl, locale, }: CheckoutFlowProps): React.ReactElement;
694
774
 
695
775
  /**
696
776
  * AddressForm — collects email + shipping address (the checkout's first step).
@@ -731,7 +811,7 @@ declare function ShippingPicker({ title, submitLabel, onComplete, locale, }: Shi
731
811
  * one, and places the order. The category drives the final action:
732
812
  * • gateway → `pay()` starts the payment and redirects to the gateway
733
813
  * • cod/bank/manual → `pay()` completes the order directly → `onOrderPlaced`
734
- * The storefront never embeds a gateway — paying a card means a redirect.
814
+ * Recurring Stripe payments use the merchant's Stripe.js callback.
735
815
  */
736
816
 
737
817
  interface PaymentSectionProps {
@@ -743,8 +823,10 @@ interface PaymentSectionProps {
743
823
  /** Called when a non-gateway order is placed (gateway flows redirect away). */
744
824
  onOrderPlaced?: (checkout: Checkout) => void;
745
825
  locale?: string;
826
+ /** Confirm the returned intent using your Stripe.js Payment Element. */
827
+ onSubscriptionPayment?: (payment: SubscriptionPayment) => void | Promise<void>;
746
828
  }
747
- declare function PaymentSection({ title, returnUrl, cancelUrl, onOrderPlaced, locale, }: PaymentSectionProps): React.ReactElement;
829
+ declare function PaymentSection({ title, returnUrl, cancelUrl, onOrderPlaced, locale, onSubscriptionPayment, }: PaymentSectionProps): React.ReactElement;
748
830
 
749
831
  /**
750
832
  * OrderSummary — the checkout's running total: line items + the full breakdown
@@ -761,6 +843,14 @@ interface OrderSummaryProps {
761
843
  }
762
844
  declare function OrderSummary({ checkout: override, totalsOnly, locale, }: OrderSummaryProps): React.ReactElement | null;
763
845
 
846
+ /** Displays the exact server quote. Never pre-check consent or calculate a discount. */
847
+ declare function SubscriptionTerms({ quote, checked, onChange, locale }: {
848
+ quote: SubscriptionQuote;
849
+ checked: boolean;
850
+ onChange(checked: boolean): void;
851
+ locale?: string;
852
+ }): React.ReactElement;
853
+
764
854
  interface OrderStatusState {
765
855
  order: OrderStatus | null;
766
856
  loading: boolean;
@@ -1051,6 +1141,106 @@ declare function ProfileEditor(): React.ReactElement | null;
1051
1141
  /** Email verification, session revocation and explicit account-closure confirmation. */
1052
1142
  declare function AccountSecurity(): React.ReactElement | null;
1053
1143
 
1144
+ /** Customer-only API plus reload-safe query state. Changing a saved account
1145
+ * address never silently changes a recurring contract; preview/commit explicitly. */
1146
+ declare function useCustomerSubscriptions(): {
1147
+ subscriptions: Subscription[];
1148
+ loading: boolean;
1149
+ error: Error | null;
1150
+ refresh: () => Promise<void>;
1151
+ api: {
1152
+ plans(variantId: string, marketId?: string, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<_nevios_storefront_js.SubscriptionPlan[]>;
1153
+ select(checkoutToken: string, selection: _nevios_storefront_js.SubscriptionSelection, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<_nevios_storefront_js.SubscriptionQuote>;
1154
+ clear(checkoutToken: string, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<void>;
1155
+ enroll(checkoutToken: string, selection: _nevios_storefront_js.SubscriptionEnrollment, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<_nevios_storefront_js.SubscriptionEnrollmentResult>;
1156
+ checkoutPayment(checkoutToken: string, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<_nevios_storefront_js.SubscriptionPayment>;
1157
+ list(opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<Subscription[]>;
1158
+ get(id: string, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<Subscription>;
1159
+ management(id: string, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<SubscriptionDetails>;
1160
+ mixProducts(planId: string, options?: {
1161
+ marketId?: string;
1162
+ q?: string;
1163
+ offset?: number;
1164
+ signal?: AbortSignal;
1165
+ }): Promise<_nevios_storefront_js.SubscriptionProductOptions>;
1166
+ products(id: string, options?: {
1167
+ q?: string;
1168
+ offset?: number;
1169
+ scope?: "one_time" | "mix";
1170
+ signal?: AbortSignal;
1171
+ }): Promise<_nevios_storefront_js.SubscriptionProductOptions>;
1172
+ upcoming(id: string, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<_nevios_storefront_js.UpcomingSubscriptionDelivery>;
1173
+ previewNextItems(id: string, changes: _nevios_storefront_js.SubscriptionNextItems, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<_nevios_storefront_js.SubscriptionNextItemsQuote>;
1174
+ commitNextItems(id: string, changes: _nevios_storefront_js.SubscriptionNextItems, quote: _nevios_storefront_js.SubscriptionNextItemsQuote, consentEvidence: string, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<_nevios_storefront_js.UpcomingSubscriptionDelivery>;
1175
+ command: (id: string, body: _nevios_storefront_js.SubscriptionCommand, opts?: _nevios_storefront_js.SubscriptionCallOptions) => Promise<Subscription>;
1176
+ pause: (id: string, expectedVersion: number, opts?: _nevios_storefront_js.SubscriptionCallOptions) => Promise<Subscription>;
1177
+ resume: (id: string, expectedVersion: number, nextAt: string, opts?: _nevios_storefront_js.SubscriptionCallOptions) => Promise<Subscription>;
1178
+ skipNext: (id: string, expectedVersion: number, opts?: _nevios_storefront_js.SubscriptionCallOptions) => Promise<Subscription>;
1179
+ cancel: (id: string, expectedVersion: number, opts?: _nevios_storefront_js.SubscriptionCallOptions) => Promise<Subscription>;
1180
+ payment(id: string, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<_nevios_storefront_js.SubscriptionPayment>;
1181
+ previewChanges(id: string, changes: _nevios_storefront_js.SubscriptionChanges, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<_nevios_storefront_js.SubscriptionChangeQuote>;
1182
+ commitChanges(id: string, changes: _nevios_storefront_js.SubscriptionChanges, quote: _nevios_storefront_js.SubscriptionChangeQuote, consentEvidence: string, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<Subscription>;
1183
+ confirmCard(id: string, setupIntentId: string, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<Subscription>;
1184
+ replaceCard(id: string, expectedVersion: number, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<_nevios_storefront_js.SubscriptionCardSetup>;
1185
+ };
1186
+ };
1187
+ /** Unified upcoming/history/items view. Async results never survive a logout or
1188
+ * switching customer/contract. Call refresh after an explicitly reviewed change. */
1189
+ declare function useCustomerSubscription(id: string | null): {
1190
+ subscription: SubscriptionDetails | null;
1191
+ loading: boolean;
1192
+ error: Error | null;
1193
+ refresh: () => Promise<void>;
1194
+ api: {
1195
+ plans(variantId: string, marketId?: string, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<_nevios_storefront_js.SubscriptionPlan[]>;
1196
+ select(checkoutToken: string, selection: _nevios_storefront_js.SubscriptionSelection, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<_nevios_storefront_js.SubscriptionQuote>;
1197
+ clear(checkoutToken: string, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<void>;
1198
+ enroll(checkoutToken: string, selection: _nevios_storefront_js.SubscriptionEnrollment, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<_nevios_storefront_js.SubscriptionEnrollmentResult>;
1199
+ checkoutPayment(checkoutToken: string, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<_nevios_storefront_js.SubscriptionPayment>;
1200
+ list(opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<Subscription[]>;
1201
+ get(id: string, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<Subscription>;
1202
+ management(id: string, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<SubscriptionDetails>;
1203
+ mixProducts(planId: string, options?: {
1204
+ marketId?: string;
1205
+ q?: string;
1206
+ offset?: number;
1207
+ signal?: AbortSignal;
1208
+ }): Promise<_nevios_storefront_js.SubscriptionProductOptions>;
1209
+ products(id: string, options?: {
1210
+ q?: string;
1211
+ offset?: number;
1212
+ scope?: "one_time" | "mix";
1213
+ signal?: AbortSignal;
1214
+ }): Promise<_nevios_storefront_js.SubscriptionProductOptions>;
1215
+ upcoming(id: string, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<_nevios_storefront_js.UpcomingSubscriptionDelivery>;
1216
+ previewNextItems(id: string, changes: _nevios_storefront_js.SubscriptionNextItems, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<_nevios_storefront_js.SubscriptionNextItemsQuote>;
1217
+ commitNextItems(id: string, changes: _nevios_storefront_js.SubscriptionNextItems, quote: _nevios_storefront_js.SubscriptionNextItemsQuote, consentEvidence: string, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<_nevios_storefront_js.UpcomingSubscriptionDelivery>;
1218
+ command: (id: string, body: _nevios_storefront_js.SubscriptionCommand, opts?: _nevios_storefront_js.SubscriptionCallOptions) => Promise<Subscription>;
1219
+ pause: (id: string, expectedVersion: number, opts?: _nevios_storefront_js.SubscriptionCallOptions) => Promise<Subscription>;
1220
+ resume: (id: string, expectedVersion: number, nextAt: string, opts?: _nevios_storefront_js.SubscriptionCallOptions) => Promise<Subscription>;
1221
+ skipNext: (id: string, expectedVersion: number, opts?: _nevios_storefront_js.SubscriptionCallOptions) => Promise<Subscription>;
1222
+ cancel: (id: string, expectedVersion: number, opts?: _nevios_storefront_js.SubscriptionCallOptions) => Promise<Subscription>;
1223
+ payment(id: string, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<_nevios_storefront_js.SubscriptionPayment>;
1224
+ previewChanges(id: string, changes: _nevios_storefront_js.SubscriptionChanges, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<_nevios_storefront_js.SubscriptionChangeQuote>;
1225
+ commitChanges(id: string, changes: _nevios_storefront_js.SubscriptionChanges, quote: _nevios_storefront_js.SubscriptionChangeQuote, consentEvidence: string, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<Subscription>;
1226
+ confirmCard(id: string, setupIntentId: string, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<Subscription>;
1227
+ replaceCard(id: string, expectedVersion: number, opts?: _nevios_storefront_js.SubscriptionCallOptions): Promise<_nevios_storefront_js.SubscriptionCardSetup>;
1228
+ };
1229
+ readRevision: number;
1230
+ };
1231
+
1232
+ declare function SubscriptionList({ href, locale }: {
1233
+ href(id: string): string;
1234
+ locale?: string;
1235
+ }): React.ReactElement;
1236
+
1237
+ /** Customer-owned, reviewed changes. A failed/ambiguous commit locks the editor
1238
+ * until a fresh read; a customer/contract switch unmounts all private drafts. */
1239
+ declare function SubscriptionManager({ subscriptionId, locale, }: {
1240
+ subscriptionId: string;
1241
+ locale?: string;
1242
+ }): React.ReactElement | null;
1243
+
1054
1244
  /**
1055
1245
  * ProductJsonLd — schema.org/Product structured data for rich results (price,
1056
1246
  * availability, brand). Drop it in the PDP <head> (or anywhere; it's a script).
@@ -1127,4 +1317,13 @@ interface JsonLdProps {
1127
1317
  /** Render a JSON-LD `<script>` for the given (already-shaped) data object. */
1128
1318
  declare function JsonLd({ data }: JsonLdProps): React.ReactElement;
1129
1319
 
1130
- export { AccountDashboard, type AccountDashboardProps, AccountProvider, AccountSecurity, type AccountState, AddToCart, type AddToCartProps, AddressBook, AddressForm, type AddressFormProps, AvailabilityFilter, type AvailabilityFilterProps, BackInStockForm, type BackInStockFormProps, type BreadcrumbItem, BreadcrumbJsonLd, type BreadcrumbJsonLdProps, CartDrawer, type CartDrawerProps, CartLineItem, type CartLineItemProps, CartProvider, type CartState, CartSummary, type CartSummaryProps, CheckoutFlow, type CheckoutFlowProps, CheckoutProvider, type CheckoutState, CollectionPage, type CollectionPageProps, I18nProvider, type I18nProviderProps, type I18nValue, JsonLd, type JsonLdProps, LoginForm, type LoginFormProps, type MarketOption, MarketSwitcher, type MarketSwitcherProps, type MessageKey, type Messages, NeviosProvider, type NeviosProviderProps, OrderConfirmation, type OrderConfirmationProps, OrderHistory, type OrderHistoryProps, OrderLines, OrderStatusPage, type OrderStatusPageProps, type OrderStatusState, OrderSummary, type OrderSummaryProps, OrderTotals, OrganizationJsonLd, type OrganizationJsonLdProps, type PayOptions, type PayResult, PaymentMethodPicker, type PaymentMethodPickerProps, PaymentPage, type PaymentPageProps, type PaymentPageState, PaymentSection, type PaymentSectionProps, PhaseTimeline, PriceMoney, type PriceMoneyProps, PriceRangeFilter, type PriceRangeFilterProps, ProductCard, type ProductCardProps, ProductDetailPage, type ProductDetailPageProps, ProductGallery, type ProductGalleryProps, ProductJsonLd, type ProductJsonLdProps, ProfileEditor, ShippingPicker, type ShippingPickerProps, SortSelect, type SortSelectProps, StatusBanner, StockBadge, type StockBadgeProps, type StorefrontTheme, type TFunction, type TVars, TagFilter, type TagFilterProps, ThemeProvider, type ThemeProviderProps, TransferInstructions, type TransferInstructionsProps, VariantPicker, type VariantPickerProps, type VerifyStatus, absoluteUrl, bundledMessages, cs, en, formatCents, formatMoney, isTerminal, serializeJsonLd, stripHtml, themeToCssVars, useAccount, useCart, useCheckout, useI18n, useMagicLinkVerify, useOrderStatus, usePayment, useStorefront, useStorefrontOptional, useT };
1320
+ /** Atomic cart selection. This is a composition offer, not an ordinary bundle SKU. */
1321
+ declare function Mix({ plan, marketId, locale, onAdded, }: {
1322
+ plan: SubscriptionPlan;
1323
+ marketId?: string;
1324
+ locale?: string;
1325
+ onAdded?: () => void;
1326
+ }): react_jsx_runtime.JSX.Element | null;
1327
+ declare function SubscriptionMix(props: Parameters<typeof Mix>[0]): react_jsx_runtime.JSX.Element;
1328
+
1329
+ export { AccountDashboard, type AccountDashboardProps, AccountProvider, AccountSecurity, type AccountState, AddToCart, type AddToCartProps, AddressBook, AddressForm, type AddressFormProps, AvailabilityFilter, type AvailabilityFilterProps, BackInStockForm, type BackInStockFormProps, type BreadcrumbItem, BreadcrumbJsonLd, type BreadcrumbJsonLdProps, CartDrawer, type CartDrawerProps, CartLineItem, type CartLineItemProps, CartProvider, type CartState, CartSummary, type CartSummaryProps, CheckoutFlow, type CheckoutFlowProps, CheckoutProvider, type CheckoutState, CollectionPage, type CollectionPageProps, I18nProvider, type I18nProviderProps, type I18nValue, JsonLd, type JsonLdProps, LoginForm, type LoginFormProps, type MarketOption, MarketSwitcher, type MarketSwitcherProps, type MessageKey, type Messages, NeviosProvider, type NeviosProviderProps, OrderConfirmation, type OrderConfirmationProps, OrderHistory, type OrderHistoryProps, OrderLines, OrderStatusPage, type OrderStatusPageProps, type OrderStatusState, OrderSummary, type OrderSummaryProps, OrderTotals, OrganizationJsonLd, type OrganizationJsonLdProps, type PayOptions, type PayResult, PaymentMethodPicker, type PaymentMethodPickerProps, PaymentPage, type PaymentPageProps, type PaymentPageState, PaymentSection, type PaymentSectionProps, PhaseTimeline, PriceMoney, type PriceMoneyProps, PriceRangeFilter, type PriceRangeFilterProps, ProductCard, type ProductCardProps, ProductDetailPage, type ProductDetailPageProps, ProductGallery, type ProductGalleryProps, ProductJsonLd, type ProductJsonLdProps, ProfileEditor, PurchaseOptions, ShippingPicker, type ShippingPickerProps, SortSelect, type SortSelectProps, StatusBanner, StockBadge, type StockBadgeProps, type StorefrontTheme, SubscriptionList, SubscriptionManager, SubscriptionMix, SubscriptionTerms, type TFunction, type TVars, TagFilter, type TagFilterProps, ThemeProvider, type ThemeProviderProps, TransferInstructions, type TransferInstructionsProps, VariantPicker, type VariantPickerProps, type VerifyStatus, absoluteUrl, bundledMessages, cs, en, formatCents, formatMoney, isTerminal, serializeJsonLd, stripHtml, themeToCssVars, useAccount, useCart, useCheckout, useCustomerSubscription, useCustomerSubscriptions, useI18n, useMagicLinkVerify, useOrderStatus, usePayment, useStorefront, useStorefrontOptional, useT };