@stigg/react-sdk 7.24.1 → 7.25.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.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _stigg_js_client_sdk from '@stigg/js-client-sdk';
2
- import { Plan, Customer, Subscription, BillingPeriod, BillableFeature, CustomerPortalSubscriptionScheduledUpdateDataFragment, PaywallCurrency, PaywallCalculatedPricePoint, PriceTierFragment, Price, CustomerPortalSubscription, CustomerPortalEntitlement, EntitlementsFallback, SubscriptionAddon, Addon, BillingAddress, SubscriptionBillingInfo, GetCheckoutState, GetCheckoutStateResults, ApplySubscription, ApplySubscriptionResults, CheckoutStatePlan, PreviewSubscription, SubscriptionPreviewV2, SubscriptionPreviewDiscount, SubscriptionPreviewTaxDetails, GetBooleanEntitlement, BooleanEntitlement, GetNumericEntitlement, NumericEntitlement, GetMeteredEntitlement, MeteredEntitlement, GetEnumEntitlement, EnumEntitlement, GetActiveSubscriptions, GetPaywall, GetCustomerPortal, CreditUsageTimeRange, GetCreditUsageInput, CursorPaging, CreditGrantFragment, PageInfoFragment } from '@stigg/js-client-sdk';
2
+ import { Plan, Customer, Subscription, BillingPeriod, BillableFeature, CustomerPortalSubscriptionScheduledUpdateDataFragment, PaywallCurrency, PaywallCalculatedPricePoint, PriceTierFragment, Price, CustomerPortalSubscription, FeatureEntitlementFragment, EntitlementUnionFragment, CreditEntitlementFragment, EntitlementsFallback, SubscriptionAddon, Addon, BillingAddress, SubscriptionBillingInfo, GetCheckoutState, GetCheckoutStateResults, ApplySubscription, ApplySubscriptionResults, CheckoutStatePlan, PreviewSubscription, SubscriptionPreviewV2, SubscriptionPreviewDiscount, SubscriptionPreviewTaxDetails, GetBooleanEntitlement, BooleanEntitlement, GetNumericEntitlement, NumericEntitlement, GetMeteredEntitlement, MeteredEntitlement, GetEnumEntitlement, EnumEntitlement, GetActiveSubscriptions, GetPaywall, GetCustomerPortal, CreditUsageTimeRange, GetCreditUsageInput, CursorPaging, CreditGrantFragment, PageInfoFragment } from '@stigg/js-client-sdk';
3
3
  export * from '@stigg/js-client-sdk';
4
4
  import { FeatureFragment, BillingPeriod as BillingPeriod$1, BillableFeatureInput } from '@stigg/api-client-js/src/generated/sdk';
5
5
  import react, { PropsWithChildren, ChangeEvent, ReactNode } from 'react';
@@ -239,8 +239,12 @@ type CustomerPortalTheme = {
239
239
  iconsBackgroundColor?: string;
240
240
  };
241
241
 
242
- type OnBuyMoreCallbackFn = (feature: FeatureFragment, entitlement: CustomerPortalEntitlement) => void;
243
- type FilterEntitlementsFn = (entitlements: CustomerPortalEntitlement[]) => CustomerPortalEntitlement[];
242
+ type OnBuyMoreCallbackFn = (feature: FeatureFragment, entitlement: FeatureEntitlementFragment) => void;
243
+ type FilterEntitlementsFn = (entitlements: FeatureEntitlementFragment[]) => FeatureEntitlementFragment[];
244
+ type PackageEntitlementsFilterPayload = {
245
+ entitlements: EntitlementUnionFragment[];
246
+ };
247
+ type FilterPackageEntitlementsFn = (input: PackageEntitlementsFilterPayload) => PackageEntitlementsFilterPayload;
244
248
  declare enum CustomerPortalIntentionType {
245
249
  MANAGE_SUBSCRIPTION = "MANAGE_SUBSCRIPTION",
246
250
  UPGRADE_PLAN = "UPGRADE_PLAN",
@@ -255,13 +259,14 @@ type CustomerPortalSection = 'usage' | 'addons' | 'promotionalEntitlements' | 'b
255
259
  type CustomerPortalProps = {
256
260
  onManageSubscription?: OnManageSubscriptionFn;
257
261
  onBuyMore?: OnBuyMoreCallbackFn;
262
+ filterEntitlements?: FilterEntitlementsFn;
263
+ filterPackageEntitlements?: FilterPackageEntitlementsFn;
258
264
  onCancelScheduledUpdates?: (subscription: CustomerPortalSubscription) => Promise<void> | void;
259
265
  onContactSupport?: () => Promise<void> | void;
260
266
  paywallComponent?: React.ReactNode;
261
267
  hiddenSections?: CustomerPortalSection[];
262
268
  textOverrides?: DeepPartial<CustomerPortalLocalization>;
263
269
  theme?: DeepPartial<CustomerPortalTheme>;
264
- filterEntitlements?: FilterEntitlementsFn;
265
270
  resourceId?: string;
266
271
  productId?: string;
267
272
  };
@@ -289,8 +294,9 @@ type CustomerUsageDataProps = {
289
294
  onManageSubscription?: OnManageClick;
290
295
  onBuyMore?: OnBuyMoreCallbackFn;
291
296
  filterEntitlements?: FilterEntitlementsFn;
297
+ filterPackageEntitlements?: FilterPackageEntitlementsFn;
292
298
  };
293
- declare function CustomerUsageData({ onManageSubscription, onBuyMore, filterEntitlements }: CustomerUsageDataProps): JSX.Element | null;
299
+ declare function CustomerUsageData({ onManageSubscription, onBuyMore, filterEntitlements, filterPackageEntitlements, }: CustomerUsageDataProps): JSX.Element | null;
294
300
 
295
301
  declare function AddonsList(): JSX.Element | null;
296
302
 
@@ -304,6 +310,9 @@ declare function CustomerPortalProvider({ children, textOverrides, theme, resour
304
310
  productId?: string;
305
311
  }): JSX.Element;
306
312
 
313
+ declare function isFeatureEntitlement(entitlement: EntitlementUnionFragment): entitlement is FeatureEntitlementFragment;
314
+ declare function isCreditEntitlement(entitlement: EntitlementUnionFragment): entitlement is CreditEntitlementFragment;
315
+
307
316
  interface StiggContextValue {
308
317
  stigg: _stigg_js_client_sdk.StiggClient;
309
318
  isInitialized: boolean;
@@ -987,4 +996,4 @@ declare function StatusChip({ variant, label, className, size, ...props }: Statu
987
996
 
988
997
  declare const mapCreditGrantStatusToVariant: (status: CreditGrantStatus) => StatusChipVariant;
989
998
 
990
- export { AddonsList, AutoRechargeStatus, type AutoRechargeStatusLocalization, type AutoRechargeStatusProps, AutomaticRechargeConfig, AutomaticRechargeConfigForm, type AutomaticRechargeConfigFormProps, type AutomaticRechargeConfigLocalization, type AutomaticRechargeConfigProps, type AutomaticRechargeConfiguration, type AutomaticRechargeFormData, type AutomaticRechargeFormErrors, type BillingInformation, BooleanEntitlementGuard, Checkout, type CheckoutContainerProps, type CheckoutLocalization, type CheckoutMockProps, type CheckoutProps, type CheckoutProviderProps, type CheckoutResult, type CheckoutState, CheckoutStepKey, type CheckoutTheme, CreditBalance, type CreditBalanceData, type CreditBalanceProps, CreditGrants, type CreditGrantsLocalization, type CreditGrantsProps, CreditUsageChart, CreditUtilization, type CreditUtilizationLocalization, type CreditUtilizationProps, type CurrentPlanParams, type CurrentSubscriptionOverride, type CurrentSubscriptionOverrideFn, CustomerPortal, CustomerPortalIntentionType, type CustomerPortalLocalization, type CustomerPortalProps, CustomerPortalProvider, type CustomerPortalSection, type CustomerPortalTheme, CustomerUsageData, type CustomerUsageDataProps, EmptyState, EnumEntitlementGuard, ErrorState, type FontVariant, GenericTable, type GenericTableProps, type GetCreditBalanceParams, type GetCreditGrantsParams, type HeadCell, type HorizontalAlignment, InvoicesSection, MeteredEntitlementGuard, type MockCheckoutPreviewCallback, type MockCheckoutStateCallback, NumericEntitlementGuard, type OnAddCreditsCallbackFn, type OnAddonChangeCallback, type OnBeforeStepChangeCallback, type OnBillableFeatureChangeCallback, type OnBuyMoreCallbackFn, type OnCheckoutCompletedParams, type OnCheckoutParams, type OnManageSubscriptionFn, type OnPlanSelectedCallbackFn, PaymentDetailsSection, PaywallContainer as Paywall, type PaywallData, type PaywallLocalization, type PaywallPlan, type PaywallContainerProps as PaywallProps, type PixelWidth, type PlanPriceText, Promotions, ProvisionStatus, type SelectDefaultTierIndexFn, type ShouldHidePlanFn, StatusChip, type StatusChipColors, type StatusChipVariant, StiggContext, type StiggContextValue, StiggProvider, type StiggProviderProps, type StiggTheme, SubscribeIntentionType, SubscriptionsOverview, type SubscriptionsOverviewProps, type TableAlignment, type TaxDetailsInput, type TextAlignment, type CustomizedTheme as Theme, type UpdateAutomaticRechargeConfigParams, formatDateOnly, formatDateTime, mapCreditGrantStatusToVariant, useActiveSubscriptions, useAutomaticRechargeForm, useBooleanEntitlement, useCreditBalance, useCreditGrants, useCreditUsage, useCustomerPortal, useEnumEntitlement, useMeteredEntitlement, useNumericEntitlement, usePaywall, useStiggContext, useWaitForCheckoutCompleted, validateAutomaticRechargeForm };
999
+ export { AddonsList, AutoRechargeStatus, type AutoRechargeStatusLocalization, type AutoRechargeStatusProps, AutomaticRechargeConfig, AutomaticRechargeConfigForm, type AutomaticRechargeConfigFormProps, type AutomaticRechargeConfigLocalization, type AutomaticRechargeConfigProps, type AutomaticRechargeConfiguration, type AutomaticRechargeFormData, type AutomaticRechargeFormErrors, type BillingInformation, BooleanEntitlementGuard, Checkout, type CheckoutContainerProps, type CheckoutLocalization, type CheckoutMockProps, type CheckoutProps, type CheckoutProviderProps, type CheckoutResult, type CheckoutState, CheckoutStepKey, type CheckoutTheme, CreditBalance, type CreditBalanceData, type CreditBalanceProps, CreditGrants, type CreditGrantsLocalization, type CreditGrantsProps, CreditUsageChart, CreditUtilization, type CreditUtilizationLocalization, type CreditUtilizationProps, type CurrentPlanParams, type CurrentSubscriptionOverride, type CurrentSubscriptionOverrideFn, CustomerPortal, CustomerPortalIntentionType, type CustomerPortalLocalization, type CustomerPortalProps, CustomerPortalProvider, type CustomerPortalSection, type CustomerPortalTheme, CustomerUsageData, type CustomerUsageDataProps, EmptyState, EnumEntitlementGuard, ErrorState, type FilterEntitlementsFn, type FilterPackageEntitlementsFn, type FontVariant, GenericTable, type GenericTableProps, type GetCreditBalanceParams, type GetCreditGrantsParams, type HeadCell, type HorizontalAlignment, InvoicesSection, MeteredEntitlementGuard, type MockCheckoutPreviewCallback, type MockCheckoutStateCallback, NumericEntitlementGuard, type OnAddCreditsCallbackFn, type OnAddonChangeCallback, type OnBeforeStepChangeCallback, type OnBillableFeatureChangeCallback, type OnBuyMoreCallbackFn, type OnCheckoutCompletedParams, type OnCheckoutParams, type OnManageSubscriptionFn, type OnPlanSelectedCallbackFn, type PackageEntitlementsFilterPayload, PaymentDetailsSection, PaywallContainer as Paywall, type PaywallData, type PaywallLocalization, type PaywallPlan, type PaywallContainerProps as PaywallProps, type PixelWidth, type PlanPriceText, Promotions, ProvisionStatus, type SelectDefaultTierIndexFn, type ShouldHidePlanFn, StatusChip, type StatusChipColors, type StatusChipVariant, StiggContext, type StiggContextValue, StiggProvider, type StiggProviderProps, type StiggTheme, SubscribeIntentionType, SubscriptionsOverview, type SubscriptionsOverviewProps, type TableAlignment, type TaxDetailsInput, type TextAlignment, type CustomizedTheme as Theme, type UpdateAutomaticRechargeConfigParams, formatDateOnly, formatDateTime, isCreditEntitlement, isFeatureEntitlement, mapCreditGrantStatusToVariant, useActiveSubscriptions, useAutomaticRechargeForm, useBooleanEntitlement, useCreditBalance, useCreditGrants, useCreditUsage, useCustomerPortal, useEnumEntitlement, useMeteredEntitlement, useNumericEntitlement, usePaywall, useStiggContext, useWaitForCheckoutCompleted, validateAutomaticRechargeForm };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _stigg_js_client_sdk from '@stigg/js-client-sdk';
2
- import { Plan, Customer, Subscription, BillingPeriod, BillableFeature, CustomerPortalSubscriptionScheduledUpdateDataFragment, PaywallCurrency, PaywallCalculatedPricePoint, PriceTierFragment, Price, CustomerPortalSubscription, CustomerPortalEntitlement, EntitlementsFallback, SubscriptionAddon, Addon, BillingAddress, SubscriptionBillingInfo, GetCheckoutState, GetCheckoutStateResults, ApplySubscription, ApplySubscriptionResults, CheckoutStatePlan, PreviewSubscription, SubscriptionPreviewV2, SubscriptionPreviewDiscount, SubscriptionPreviewTaxDetails, GetBooleanEntitlement, BooleanEntitlement, GetNumericEntitlement, NumericEntitlement, GetMeteredEntitlement, MeteredEntitlement, GetEnumEntitlement, EnumEntitlement, GetActiveSubscriptions, GetPaywall, GetCustomerPortal, CreditUsageTimeRange, GetCreditUsageInput, CursorPaging, CreditGrantFragment, PageInfoFragment } from '@stigg/js-client-sdk';
2
+ import { Plan, Customer, Subscription, BillingPeriod, BillableFeature, CustomerPortalSubscriptionScheduledUpdateDataFragment, PaywallCurrency, PaywallCalculatedPricePoint, PriceTierFragment, Price, CustomerPortalSubscription, FeatureEntitlementFragment, EntitlementUnionFragment, CreditEntitlementFragment, EntitlementsFallback, SubscriptionAddon, Addon, BillingAddress, SubscriptionBillingInfo, GetCheckoutState, GetCheckoutStateResults, ApplySubscription, ApplySubscriptionResults, CheckoutStatePlan, PreviewSubscription, SubscriptionPreviewV2, SubscriptionPreviewDiscount, SubscriptionPreviewTaxDetails, GetBooleanEntitlement, BooleanEntitlement, GetNumericEntitlement, NumericEntitlement, GetMeteredEntitlement, MeteredEntitlement, GetEnumEntitlement, EnumEntitlement, GetActiveSubscriptions, GetPaywall, GetCustomerPortal, CreditUsageTimeRange, GetCreditUsageInput, CursorPaging, CreditGrantFragment, PageInfoFragment } from '@stigg/js-client-sdk';
3
3
  export * from '@stigg/js-client-sdk';
4
4
  import { FeatureFragment, BillingPeriod as BillingPeriod$1, BillableFeatureInput } from '@stigg/api-client-js/src/generated/sdk';
5
5
  import react, { PropsWithChildren, ChangeEvent, ReactNode } from 'react';
@@ -239,8 +239,12 @@ type CustomerPortalTheme = {
239
239
  iconsBackgroundColor?: string;
240
240
  };
241
241
 
242
- type OnBuyMoreCallbackFn = (feature: FeatureFragment, entitlement: CustomerPortalEntitlement) => void;
243
- type FilterEntitlementsFn = (entitlements: CustomerPortalEntitlement[]) => CustomerPortalEntitlement[];
242
+ type OnBuyMoreCallbackFn = (feature: FeatureFragment, entitlement: FeatureEntitlementFragment) => void;
243
+ type FilterEntitlementsFn = (entitlements: FeatureEntitlementFragment[]) => FeatureEntitlementFragment[];
244
+ type PackageEntitlementsFilterPayload = {
245
+ entitlements: EntitlementUnionFragment[];
246
+ };
247
+ type FilterPackageEntitlementsFn = (input: PackageEntitlementsFilterPayload) => PackageEntitlementsFilterPayload;
244
248
  declare enum CustomerPortalIntentionType {
245
249
  MANAGE_SUBSCRIPTION = "MANAGE_SUBSCRIPTION",
246
250
  UPGRADE_PLAN = "UPGRADE_PLAN",
@@ -255,13 +259,14 @@ type CustomerPortalSection = 'usage' | 'addons' | 'promotionalEntitlements' | 'b
255
259
  type CustomerPortalProps = {
256
260
  onManageSubscription?: OnManageSubscriptionFn;
257
261
  onBuyMore?: OnBuyMoreCallbackFn;
262
+ filterEntitlements?: FilterEntitlementsFn;
263
+ filterPackageEntitlements?: FilterPackageEntitlementsFn;
258
264
  onCancelScheduledUpdates?: (subscription: CustomerPortalSubscription) => Promise<void> | void;
259
265
  onContactSupport?: () => Promise<void> | void;
260
266
  paywallComponent?: React.ReactNode;
261
267
  hiddenSections?: CustomerPortalSection[];
262
268
  textOverrides?: DeepPartial<CustomerPortalLocalization>;
263
269
  theme?: DeepPartial<CustomerPortalTheme>;
264
- filterEntitlements?: FilterEntitlementsFn;
265
270
  resourceId?: string;
266
271
  productId?: string;
267
272
  };
@@ -289,8 +294,9 @@ type CustomerUsageDataProps = {
289
294
  onManageSubscription?: OnManageClick;
290
295
  onBuyMore?: OnBuyMoreCallbackFn;
291
296
  filterEntitlements?: FilterEntitlementsFn;
297
+ filterPackageEntitlements?: FilterPackageEntitlementsFn;
292
298
  };
293
- declare function CustomerUsageData({ onManageSubscription, onBuyMore, filterEntitlements }: CustomerUsageDataProps): JSX.Element | null;
299
+ declare function CustomerUsageData({ onManageSubscription, onBuyMore, filterEntitlements, filterPackageEntitlements, }: CustomerUsageDataProps): JSX.Element | null;
294
300
 
295
301
  declare function AddonsList(): JSX.Element | null;
296
302
 
@@ -304,6 +310,9 @@ declare function CustomerPortalProvider({ children, textOverrides, theme, resour
304
310
  productId?: string;
305
311
  }): JSX.Element;
306
312
 
313
+ declare function isFeatureEntitlement(entitlement: EntitlementUnionFragment): entitlement is FeatureEntitlementFragment;
314
+ declare function isCreditEntitlement(entitlement: EntitlementUnionFragment): entitlement is CreditEntitlementFragment;
315
+
307
316
  interface StiggContextValue {
308
317
  stigg: _stigg_js_client_sdk.StiggClient;
309
318
  isInitialized: boolean;
@@ -987,4 +996,4 @@ declare function StatusChip({ variant, label, className, size, ...props }: Statu
987
996
 
988
997
  declare const mapCreditGrantStatusToVariant: (status: CreditGrantStatus) => StatusChipVariant;
989
998
 
990
- export { AddonsList, AutoRechargeStatus, type AutoRechargeStatusLocalization, type AutoRechargeStatusProps, AutomaticRechargeConfig, AutomaticRechargeConfigForm, type AutomaticRechargeConfigFormProps, type AutomaticRechargeConfigLocalization, type AutomaticRechargeConfigProps, type AutomaticRechargeConfiguration, type AutomaticRechargeFormData, type AutomaticRechargeFormErrors, type BillingInformation, BooleanEntitlementGuard, Checkout, type CheckoutContainerProps, type CheckoutLocalization, type CheckoutMockProps, type CheckoutProps, type CheckoutProviderProps, type CheckoutResult, type CheckoutState, CheckoutStepKey, type CheckoutTheme, CreditBalance, type CreditBalanceData, type CreditBalanceProps, CreditGrants, type CreditGrantsLocalization, type CreditGrantsProps, CreditUsageChart, CreditUtilization, type CreditUtilizationLocalization, type CreditUtilizationProps, type CurrentPlanParams, type CurrentSubscriptionOverride, type CurrentSubscriptionOverrideFn, CustomerPortal, CustomerPortalIntentionType, type CustomerPortalLocalization, type CustomerPortalProps, CustomerPortalProvider, type CustomerPortalSection, type CustomerPortalTheme, CustomerUsageData, type CustomerUsageDataProps, EmptyState, EnumEntitlementGuard, ErrorState, type FontVariant, GenericTable, type GenericTableProps, type GetCreditBalanceParams, type GetCreditGrantsParams, type HeadCell, type HorizontalAlignment, InvoicesSection, MeteredEntitlementGuard, type MockCheckoutPreviewCallback, type MockCheckoutStateCallback, NumericEntitlementGuard, type OnAddCreditsCallbackFn, type OnAddonChangeCallback, type OnBeforeStepChangeCallback, type OnBillableFeatureChangeCallback, type OnBuyMoreCallbackFn, type OnCheckoutCompletedParams, type OnCheckoutParams, type OnManageSubscriptionFn, type OnPlanSelectedCallbackFn, PaymentDetailsSection, PaywallContainer as Paywall, type PaywallData, type PaywallLocalization, type PaywallPlan, type PaywallContainerProps as PaywallProps, type PixelWidth, type PlanPriceText, Promotions, ProvisionStatus, type SelectDefaultTierIndexFn, type ShouldHidePlanFn, StatusChip, type StatusChipColors, type StatusChipVariant, StiggContext, type StiggContextValue, StiggProvider, type StiggProviderProps, type StiggTheme, SubscribeIntentionType, SubscriptionsOverview, type SubscriptionsOverviewProps, type TableAlignment, type TaxDetailsInput, type TextAlignment, type CustomizedTheme as Theme, type UpdateAutomaticRechargeConfigParams, formatDateOnly, formatDateTime, mapCreditGrantStatusToVariant, useActiveSubscriptions, useAutomaticRechargeForm, useBooleanEntitlement, useCreditBalance, useCreditGrants, useCreditUsage, useCustomerPortal, useEnumEntitlement, useMeteredEntitlement, useNumericEntitlement, usePaywall, useStiggContext, useWaitForCheckoutCompleted, validateAutomaticRechargeForm };
999
+ export { AddonsList, AutoRechargeStatus, type AutoRechargeStatusLocalization, type AutoRechargeStatusProps, AutomaticRechargeConfig, AutomaticRechargeConfigForm, type AutomaticRechargeConfigFormProps, type AutomaticRechargeConfigLocalization, type AutomaticRechargeConfigProps, type AutomaticRechargeConfiguration, type AutomaticRechargeFormData, type AutomaticRechargeFormErrors, type BillingInformation, BooleanEntitlementGuard, Checkout, type CheckoutContainerProps, type CheckoutLocalization, type CheckoutMockProps, type CheckoutProps, type CheckoutProviderProps, type CheckoutResult, type CheckoutState, CheckoutStepKey, type CheckoutTheme, CreditBalance, type CreditBalanceData, type CreditBalanceProps, CreditGrants, type CreditGrantsLocalization, type CreditGrantsProps, CreditUsageChart, CreditUtilization, type CreditUtilizationLocalization, type CreditUtilizationProps, type CurrentPlanParams, type CurrentSubscriptionOverride, type CurrentSubscriptionOverrideFn, CustomerPortal, CustomerPortalIntentionType, type CustomerPortalLocalization, type CustomerPortalProps, CustomerPortalProvider, type CustomerPortalSection, type CustomerPortalTheme, CustomerUsageData, type CustomerUsageDataProps, EmptyState, EnumEntitlementGuard, ErrorState, type FilterEntitlementsFn, type FilterPackageEntitlementsFn, type FontVariant, GenericTable, type GenericTableProps, type GetCreditBalanceParams, type GetCreditGrantsParams, type HeadCell, type HorizontalAlignment, InvoicesSection, MeteredEntitlementGuard, type MockCheckoutPreviewCallback, type MockCheckoutStateCallback, NumericEntitlementGuard, type OnAddCreditsCallbackFn, type OnAddonChangeCallback, type OnBeforeStepChangeCallback, type OnBillableFeatureChangeCallback, type OnBuyMoreCallbackFn, type OnCheckoutCompletedParams, type OnCheckoutParams, type OnManageSubscriptionFn, type OnPlanSelectedCallbackFn, type PackageEntitlementsFilterPayload, PaymentDetailsSection, PaywallContainer as Paywall, type PaywallData, type PaywallLocalization, type PaywallPlan, type PaywallContainerProps as PaywallProps, type PixelWidth, type PlanPriceText, Promotions, ProvisionStatus, type SelectDefaultTierIndexFn, type ShouldHidePlanFn, StatusChip, type StatusChipColors, type StatusChipVariant, StiggContext, type StiggContextValue, StiggProvider, type StiggProviderProps, type StiggTheme, SubscribeIntentionType, SubscriptionsOverview, type SubscriptionsOverviewProps, type TableAlignment, type TaxDetailsInput, type TextAlignment, type CustomizedTheme as Theme, type UpdateAutomaticRechargeConfigParams, formatDateOnly, formatDateTime, isCreditEntitlement, isFeatureEntitlement, mapCreditGrantStatusToVariant, useActiveSubscriptions, useAutomaticRechargeForm, useBooleanEntitlement, useCreditBalance, useCreditGrants, useCreditUsage, useCustomerPortal, useEnumEntitlement, useMeteredEntitlement, useNumericEntitlement, usePaywall, useStiggContext, useWaitForCheckoutCompleted, validateAutomaticRechargeForm };