@cimplify/sdk 0.98.0 → 0.99.1

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/react.d.mts CHANGED
@@ -3901,60 +3901,6 @@ interface CurrencySelectorProps {
3901
3901
  */
3902
3902
  declare function CurrencySelector({ currencies, currentCurrency, onCurrencyChange, showRate, baseCurrency, renderCurrency, className, classNames, }: CurrencySelectorProps): React__default.ReactElement | null;
3903
3903
 
3904
- interface ChatWidgetClassNames {
3905
- root?: string;
3906
- bubble?: string;
3907
- panel?: string;
3908
- header?: string;
3909
- messages?: string;
3910
- input?: string;
3911
- welcome?: string;
3912
- }
3913
- interface ChatWidgetProps {
3914
- client?: CimplifyClient;
3915
- /** Business display name shown in the header */
3916
- businessName?: string;
3917
- /** Greeting text on the welcome screen */
3918
- greeting?: string;
3919
- /** Subtitle on the welcome screen */
3920
- subtitle?: string;
3921
- /** Conversation starters */
3922
- starters?: ChatWidgetStarter[];
3923
- /** Input placeholder */
3924
- placeholder?: string;
3925
- /** Position of the bubble */
3926
- position?: "bottom-right" | "bottom-left";
3927
- /** Start with the panel open */
3928
- defaultOpen?: boolean;
3929
- /** Poll interval in ms (default: 3000) */
3930
- pollInterval?: number;
3931
- className?: string;
3932
- classNames?: ChatWidgetClassNames;
3933
- }
3934
- declare function ChatWidget({ client: clientProp, businessName, greeting, subtitle, starters, placeholder, position, defaultOpen, pollInterval, className, classNames, }: ChatWidgetProps): react_jsx_runtime.JSX.Element;
3935
-
3936
- interface ChatMarkdownProps {
3937
- text: string;
3938
- className?: string;
3939
- /** True while this message is still receiving tokens — engages streamdown's
3940
- * incomplete-markdown smoothing on capable browsers. */
3941
- streaming?: boolean;
3942
- }
3943
- declare const ChatMarkdown: React__default.MemoExoticComponent<({ text, className, streaming, }: ChatMarkdownProps) => react_jsx_runtime.JSX.Element>;
3944
-
3945
- declare function optimisticId(clientId: string): string;
3946
- declare function isOptimistic(message: Pick<ChatMessage, "id">): boolean;
3947
- interface PartitionedMessages {
3948
- bubbles: ChatMessage[];
3949
- reactionsByTarget: Map<string, ChatMessage[]>;
3950
- }
3951
- /**
3952
- * Reaction rows are references, not bubbles: group each onto its target via
3953
- * the server-resolved `reply_to`, and drop any whose target isn't loaded —
3954
- * an emoji must never render as a standalone message.
3955
- */
3956
- declare function partitionMessages(messages: ChatMessage[]): PartitionedMessages;
3957
-
3958
3904
  /** Where this bubble sits in a run of consecutive same-sender messages. */
3959
3905
  type GroupPosition = "single" | "first" | "middle" | "last";
3960
3906
  /** The customer message's journey, rendered as ticks inside the bubble. */
@@ -4282,6 +4228,133 @@ interface ParseResult {
4282
4228
  mutationStatements: MutationStatementInfo[];
4283
4229
  }
4284
4230
 
4231
+ /** Fired when a Button carries a plain "action:name" string. */
4232
+ interface GenUIActionEvent {
4233
+ action: string;
4234
+ label: string;
4235
+ }
4236
+ interface GenUIRenderContext {
4237
+ /** Render any prop value (child element, array of children, or nothing). */
4238
+ render: (value: unknown) => ReactNode;
4239
+ onAction: (event: GenUIActionEvent) => void;
4240
+ isStreaming: boolean;
4241
+ }
4242
+ type GenUIComponentRenderer = (props: {
4243
+ node: ElementNode;
4244
+ ctx: GenUIRenderContext;
4245
+ }) => ReactNode;
4246
+ /** Per-surface visual implementations, keyed by vocabulary component name. */
4247
+ type GenUIComponentMap = Record<string, GenUIComponentRenderer>;
4248
+ interface GenUITelemetryEvent {
4249
+ kind: "unknown-component" | "dropped-node";
4250
+ typeName: string;
4251
+ }
4252
+ interface GenUIViewProps {
4253
+ root: ElementNode | null;
4254
+ components: GenUIComponentMap;
4255
+ onAction?: (event: GenUIActionEvent) => void;
4256
+ isStreaming?: boolean;
4257
+ onTelemetry?: (event: GenUITelemetryEvent) => void;
4258
+ /** Shown while streaming before the first complete root arrives. */
4259
+ placeholder?: ReactNode;
4260
+ }
4261
+ /**
4262
+ * Headless GenUI renderer: walks a parsed program tree and delegates every
4263
+ * node to the surface's component map (the same split as iOS, where the
4264
+ * registry vocabulary is shared and each surface owns its views).
4265
+ */
4266
+ declare function GenUIView({ root, components, onAction, isStreaming, onTelemetry, placeholder, }: GenUIViewProps): ReactNode;
4267
+
4268
+ /**
4269
+ * Host-neutral register for the support GenUI dialect: the same vocabulary
4270
+ * lite and desk render, styled with standard theme tokens only. Colors that
4271
+ * exist solely in lite's theme (pending, the wash tints) resolve through
4272
+ * var chains so any shadcn-tokened host degrades gracefully.
4273
+ */
4274
+ declare const CHAT_ACTION_VIEW_PRODUCT = "view_product";
4275
+ declare const CHAT_ACTION_VIEW_ORDER = "view_order";
4276
+ /** `chat:view_product:prd_1` → `{ verb: "view_product", id: "prd_1" }`. */
4277
+ declare function parseChatAction(action: string): {
4278
+ verb: string;
4279
+ id: string;
4280
+ } | null;
4281
+ declare const CHAT_GENUI_COMPONENTS: GenUIComponentMap;
4282
+ interface ChatKitProgramProps {
4283
+ source: string;
4284
+ onAction?: (event: GenUIActionEvent) => void;
4285
+ }
4286
+ /** Renders one fenced program from a bot reply in the host-neutral register. */
4287
+ declare function ChatKitProgram({ source, onAction }: ChatKitProgramProps): react_jsx_runtime.JSX.Element | null;
4288
+ interface ChatReplyCardsProps {
4289
+ message: ChatMessage;
4290
+ currency?: string | null;
4291
+ onAction?: (event: GenUIActionEvent) => void;
4292
+ }
4293
+ /** Structured cards from `metadata.cards`, tappable when the host wires actions. */
4294
+ declare function ChatReplyCards({ message, currency, onAction }: ChatReplyCardsProps): react_jsx_runtime.JSX.Element | null;
4295
+
4296
+ interface ChatWidgetClassNames {
4297
+ root?: string;
4298
+ bubble?: string;
4299
+ panel?: string;
4300
+ header?: string;
4301
+ messages?: string;
4302
+ input?: string;
4303
+ welcome?: string;
4304
+ }
4305
+ interface ChatWidgetProps {
4306
+ client?: CimplifyClient;
4307
+ /** Business display name shown in the header */
4308
+ businessName?: string;
4309
+ /** Greeting text on the welcome screen */
4310
+ greeting?: string;
4311
+ /** Subtitle on the welcome screen */
4312
+ subtitle?: string;
4313
+ /** Conversation starters */
4314
+ starters?: ChatWidgetStarter[];
4315
+ /** Input placeholder */
4316
+ placeholder?: string;
4317
+ /** Position of the bubble */
4318
+ position?: "bottom-right" | "bottom-left";
4319
+ /** Start with the panel open */
4320
+ defaultOpen?: boolean;
4321
+ /** Poll interval in ms (default: 3000) */
4322
+ pollInterval?: number;
4323
+ /** Currency for structured product cards (e.g. "GHS"). */
4324
+ currency?: string;
4325
+ /**
4326
+ * Receives taps on GenUI buttons and structured cards
4327
+ * (`chat:view_product:{id}`, `chat:view_order:{id}`). Without it, cards
4328
+ * render read-only and program buttons no-op.
4329
+ */
4330
+ onGenUIAction?: (event: GenUIActionEvent) => void;
4331
+ className?: string;
4332
+ classNames?: ChatWidgetClassNames;
4333
+ }
4334
+ declare function ChatWidget({ client: clientProp, businessName: businessNameProp, greeting, subtitle, starters, placeholder, position, defaultOpen, pollInterval, currency: currencyProp, onGenUIAction, className, classNames, }: ChatWidgetProps): react_jsx_runtime.JSX.Element;
4335
+
4336
+ interface ChatMarkdownProps {
4337
+ text: string;
4338
+ className?: string;
4339
+ /** True while this message is still receiving tokens — engages streamdown's
4340
+ * incomplete-markdown smoothing on capable browsers. */
4341
+ streaming?: boolean;
4342
+ }
4343
+ declare const ChatMarkdown: React__default.MemoExoticComponent<({ text, className, streaming, }: ChatMarkdownProps) => react_jsx_runtime.JSX.Element>;
4344
+
4345
+ declare function optimisticId(clientId: string): string;
4346
+ declare function isOptimistic(message: Pick<ChatMessage, "id">): boolean;
4347
+ interface PartitionedMessages {
4348
+ bubbles: ChatMessage[];
4349
+ reactionsByTarget: Map<string, ChatMessage[]>;
4350
+ }
4351
+ /**
4352
+ * Reaction rows are references, not bubbles: group each onto its target via
4353
+ * the server-resolved `reply_to`, and drop any whose target isn't loaded —
4354
+ * an emoji must never render as a standalone message.
4355
+ */
4356
+ declare function partitionMessages(messages: ChatMessage[]): PartitionedMessages;
4357
+
4285
4358
  /**
4286
4359
  * The Cimplify GenUI vocabulary — the component names, ordered params, and
4287
4360
  * descriptions the model is allowed to emit. This MUST stay in lockstep with
@@ -4355,43 +4428,6 @@ interface GenUIProgramState {
4355
4428
  */
4356
4429
  declare function useGenUIProgram(text: string, catalog: ParamMap): GenUIProgramState;
4357
4430
 
4358
- /** Fired when a Button carries a plain "action:name" string. */
4359
- interface GenUIActionEvent {
4360
- action: string;
4361
- label: string;
4362
- }
4363
- interface GenUIRenderContext {
4364
- /** Render any prop value (child element, array of children, or nothing). */
4365
- render: (value: unknown) => ReactNode;
4366
- onAction: (event: GenUIActionEvent) => void;
4367
- isStreaming: boolean;
4368
- }
4369
- type GenUIComponentRenderer = (props: {
4370
- node: ElementNode;
4371
- ctx: GenUIRenderContext;
4372
- }) => ReactNode;
4373
- /** Per-surface visual implementations, keyed by vocabulary component name. */
4374
- type GenUIComponentMap = Record<string, GenUIComponentRenderer>;
4375
- interface GenUITelemetryEvent {
4376
- kind: "unknown-component" | "dropped-node";
4377
- typeName: string;
4378
- }
4379
- interface GenUIViewProps {
4380
- root: ElementNode | null;
4381
- components: GenUIComponentMap;
4382
- onAction?: (event: GenUIActionEvent) => void;
4383
- isStreaming?: boolean;
4384
- onTelemetry?: (event: GenUITelemetryEvent) => void;
4385
- /** Shown while streaming before the first complete root arrives. */
4386
- placeholder?: ReactNode;
4387
- }
4388
- /**
4389
- * Headless GenUI renderer: walks a parsed program tree and delegates every
4390
- * node to the surface's component map (the same split as iOS, where the
4391
- * registry vocabulary is shared and each surface owns its views).
4392
- */
4393
- declare function GenUIView({ root, components, onAction, isStreaming, onTelemetry, placeholder, }: GenUIViewProps): ReactNode;
4394
-
4395
4431
  /**
4396
4432
  * Capability manifest + fingerprint — the cross-surface vocabulary contract.
4397
4433
  * The wire bytes must match the Swift side (GenUIPrompt.swift) exactly:
@@ -4419,4 +4455,4 @@ declare function genUIManifestJson(manifest: GenUICapabilityManifest): string;
4419
4455
  /** First 16 hex chars of SHA-256 over the canonical manifest bytes. */
4420
4456
  declare function genUIFingerprint(manifest: GenUICapabilityManifest): Promise<string>;
4421
4457
 
4422
- export { AccommodationCard, AccountContent, type AccountContentProps, AccountDashboardPage, type AccountDashboardPageProps, AccountHero, type AccountHeroProps, AccountIdentityStrip, type AccountIdentityStripProps, AccountLineItem, type AccountLineItemData, type AccountLineItemProps, AccountLineItems, type AccountLineItemsProps, AccountNav, type AccountNavProps, AccountOrderDetailPage, type AccountOrderDetailPageProps, AccountOrderView, type AccountOrderViewProps, AccountOrdersPage, type AccountOrdersPageProps, type AccountPageBaseProps, AccountShell, type AccountShellProps, AccountSidebar, type AccountSidebarProps, AccountSignedOutPrompt, type AccountSignedOutPromptProps, AccountSubscriptionDetailPage, type AccountSubscriptionDetailPageProps, AccountSubscriptionsPage, type AccountSubscriptionsPageProps, Ad, AdPosition, type AdProps, AdProvider, AdSlot, AddOnSelector, type AddOnSelectorClassNames, type AddOnSelectorProps, type AddToCartOptions, AddressAutocomplete, type AddressAutocompleteClassNames, type AddressAutocompleteProps, AddressElement, AuthElement, AvailabilityBadge, type AvailabilityBadgeClassNames, type AvailabilityBadgeProps, BackLink, type BackLinkProps, BillingPlanSelector, type BillingPlanSelectorClassNames, type BillingPlanSelectorProps, BookingCard, type BookingCardClassNames, type BookingCardProps, BookingList, type BookingListClassNames, type BookingListProps, BookingPage, type BookingPageClassNames, type BookingPageProps, BookingSummary, type BookingSummaryClassNames, type BookingSummaryProps, BookingsPage, type BookingsPageClassNames, type BookingsPageProps, type BoundaryLabels, BoxIcon24, BubbleTail, BundleProductCard, BundleProductLayout, BundleSelector, type BundleSelectorClassNames, type BundleSelectorProps, Button, type ButtonProps, CIMPLIFY_GENUI_REGISTRY, CardImage, type CardLayoutProps, CardShell, CardVariant, type CartAddOnOptionSelection, CartDrawer, type CartDrawerProps, CartDrawerProvider, type CartLayoutProps, CartPage, type CartPageClassNames, type CartPageProps, CartSummary, type CartSummaryClassNames, type CartSummaryProps, CartTemplate, type CartVariantSelection, CatalogueCollectionLayout, type CatalogueLayoutProps, CataloguePage, type CataloguePageClassNames, type CataloguePageProps, CatalogueTemplate, CategoryFilter, type CategoryFilterClassNames, type CategoryFilterProps, CategoryGrid, type CategoryGridClassNames, type CategoryGridProps, ChatMarkdown, type ChatMarkdownProps, type ChatTimeline, type ChatTimelineOptions, ChatWidget, type ChatWidgetClassNames, type ChatWidgetProps, CheckIcon, CheckoutPage, type CheckoutPageClassNames, type CheckoutPageProps, CimplifyCheckout, type CimplifyCheckoutProps, type CimplifyClientContextValue, type CimplifyClientSession, type CimplifyContextValue, type CimplifyLinkComponent, type CimplifyLinkProps, CimplifyProvider, type CimplifyProviderProps, CimplifySignInButton, type CimplifySignInButtonProps, CimplifyUserButton, type CimplifyUserButtonProps, type CollectionLayoutProps, CollectionPage, type CollectionPageClassNames, type CollectionPageProps, CollectionTemplate, CompactCartLayout, CompactCatalogueLayout, CompactSearchLayout, CompactServiceCard, CompositeProductCard, CompositeProductLayout, CompositeSelector, type CompositeSelectorClassNames, type CompositeSelectorProps, ContextCard, type ContextCardProps, type ContextRow, ContinuityCard, type ContinuityCardProps, CurrencySelector, type CurrencySelectorClassNames, type CurrencySelectorProps, CustomAttributesTable, type CustomerInput, CustomerInputFields, type CustomerInputFieldsClassNames, type CustomerInputFieldsProps, type CustomerInputType, DashboardIcon, DashboardIcon20, DatePicker, type DatePickerClassNames, type DatePickerProps, DateSlotPicker, type DateSlotPickerClassNames, type DateSlotPickerProps, DealBanner, type DealBannerClassNames, type DealBannerProps, DealsPage, type DealsPageClassNames, type DealsPageProps, DefaultCartLayout, DefaultCatalogueLayout, DefaultCollectionLayout, DefaultProductLayout, DefaultSearchLayout, DeliveryEstimate, type DeliveryEstimateClassNames, type DeliveryEstimateProps, type DeliveryLive, type DeliveryRider, type DeliveryState, DeliveryTracker, type DeliveryTrackerProps, DeliveryTruckIcon, type DigitalFulfillment, DigitalProductCard, DigitalProductLayout, DiscountInput, type DiscountInputClassNames, type DiscountInputProps, ElementsProvider, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, FeaturedCollectionLayout, type FilterTabItem, FilterTabs, type FilterTabsProps, FoodProductCard, FoodProductLayout, type GenUIActionEvent, type GenUICapabilityManifest, type GenUIComponentDef, type GenUIComponentMap, type GenUIComponentRenderer, type ElementNode as GenUIElementNode, type GenUIParamDef, type ParseResult as GenUIParseResult, type GenUIProgramState, type GenUIRegistry, type GenUIRenderContext, type GenUISegment, type GenUITelemetryEvent, GenUIView, type GroupPosition, HappeningCard, type HappeningCardProps, type HappeningPaneData, IdentityIcon, IdentityOfframp, type IdentityOfframpProps, type IdentitySummary, InventoryBadge, ItemsCard, type ItemsCardProps, LeaseServiceCard, LineItemDetails, type LineItemSemanticKind, type LineScheduling, type LineSelection, type LineStateTone, LocationPicker, type LocationPickerClassNames, type LocationPickerProps, MediaGallery, type MediaGalleryProps, type MediaItem, MessageBubble, type MessageBubbleProps, MetadataStringList, MobileAccountShell, type MobileAccountShellProps, MobileBackButton, MobileMoreButton, MobileTabBar, type MobileTabBarProps, type NavItem, NextDeliveryCard, type NextDeliveryCardProps, OrderDetailHeader, type OrderDetailHeaderProps, OrderDetailMetaPipe, OrderDetailPage, type OrderDetailPageClassNames, type OrderDetailPageProps, OrderHistory, type OrderHistoryClassNames, OrderHistoryPage, type OrderHistoryPageClassNames, type OrderHistoryPageProps, type OrderHistoryProps, type OrderItemData, OrderList, type OrderListProps, OrderRow, type OrderRowData, type OrderRowProps, type OrderRowStatus, type OrderStatusTone, OrderSummary, type OrderSummaryClassNames, type OrderSummaryProps, OrderTimeline, type OrderTimelineProps, OrderTotals, type OrderTotalsProps, type OrderViewDelivery, type OrderViewPayment, type OrderViewPaymentRow, OrdersIcon, OrdersIcon20, OvenIcon, PackageIcon, type PartitionedMessages, PaymentElement, type PrefetchMode, type PrefetchOptions, Price, type PriceProps, PriceRange, type PriceRangeProps, ProductCard, type ProductCardClassNames, type ProductCardProps, ProductCustomizer, type ProductCustomizerClassNames, type ProductCustomizerProps, ProductGrid, type ProductGridClassNames, type ProductGridProps, ProductImageGallery, type ProductImageGalleryProps, type ProductLayoutProps, ProductModel3D, type ProductModel3DProps, ProductPage, type ProductPageClassNames, type ProductPageProps, ProductSheet, type ProductSheetClassNames, type ProductSheetProps, ProductTemplate, PropertiesTable, QuantitySelector, type QuantitySelectorClassNames, type QuantitySelectorProps, QuickAddButton, QuoteBlock, RecentlyViewed, type RecentlyViewedClassNames, type RecentlyViewedProps, RecommendationCarousel, type RecommendationCarouselClassNames, type RecommendationCarouselProps, RelatedProductsSection, RentalServiceCard, type Resource, ResourcePicker, type ResourcePickerClassNames, type ResourcePickerProps, RetailProductCard, RichText, type RichTextProps, SWIPE_COMMIT_PX, SaleBadge, type SaleBadgeClassNames, type SaleBadgeProps, SalePrice, type SalePriceClassNames, type SalePriceProps, SaleTeaser, type SaleTeaserProps, ScheduleServiceCard, Seam, SearchInput, type SearchInputClassNames, type SearchInputProps, type SearchLayoutProps, SearchPage, type SearchPageClassNames, type SearchPageProps, SearchTemplate, Section, SectionMore, type SectionMoreProps, type SectionProps, type ServiceCardLayoutProps, ServiceProductLayout, SessionMessageBanner, type SessionMessageBannerClassNames, type SessionMessageBannerProps, SignOutIcon, Skeleton, type SkeletonProps, SlotPicker, type SlotPickerClassNames, type SlotPickerProps, SoldOutOverlay, StaffPicker, type StaffPickerClassNames, type StaffPickerProps, StandardServiceCard, Status, type StatusProps, StoreNav, type StoreNavClassNames, type StoreNavProps, StoreVideo, type StoreVideoProps, SubscriptionCard, SubscriptionList, type SubscriptionListProps, SubscriptionRow, type SubscriptionRowData, type SubscriptionRowProps, SubscriptionsIcon, SubscriptionsIcon20, TagPills, TimePicker, type TimePickerClassNames, type TimePickerProps, type TimelineStep, type ToAccountOrderViewOptions, Toast, type ToastProps, type TotalsData, TwoColumnGrid, type UseActivityStateOptions, type UseActivityStateResult, type UseAttributeDefinitionsOptions, type UseAttributeDefinitionsResult, type UseAvailableSlotsOptions, type UseAvailableSlotsResult, type UseBillingPlansOptions, type UseBillingPlansResult, type UseBookingsOptions, type UseBookingsResult, type UseBootstrapOptions, type UseBootstrapResult, type UseBundlesOptions, type UseBundlesResult, type UseCartItem, type UseCartOptions, type UseCartResult, type UseCategoriesOptions, type UseCategoriesResult, type UseChatOptions, type UseChatResult, type UseCimplifySessionOptions, type UseCimplifySessionResult, type UseCollectionOptions, type UseCollectionResult, type UseCollectionsOptions, type UseCollectionsResult, type UseDealsOptions, type UseDealsResult, type UseDeliveryFeeOptions, type UseDeliveryFeeResult, type UseFxRateOptions, type UseFxRateResult, type UseLocationsOptions, type UseLocationsResult, type UseOrderOptions, type UseOrderResult, type UseOrdersOptions, type UseOrdersResult, type UseProductAvailabilityOptions, type UseProductAvailabilityResult, type UseProductDealsOptions, type UseProductDealsResult, type UseProductOptions, type UseProductPriceInput, type UseProductPriceResult, type UseProductResult, type UseProductSchedulesOptions, type UseProductSchedulesResult, type UseProductsOnSaleOptions, type UseProductsOnSaleResult, type UseProductsOptions, type UseProductsResult, type UsePropertyFacetsOptions, type UsePropertyFacetsResult, type UseQuoteInput, type UseQuoteOptions, type UseQuoteResult, type UseRecommendationsOptions, type UseRecommendationsResult, type UseSearchOptions, type UseSearchResult, type UseServiceAvailabilityOptions, type UseServiceAvailabilityResult, type UseServicesOptions, type UseServicesResult, type UseStoreCreditOptions, type UseStoreCreditResult, type UseTaxonomiesOptions, type UseTaxonomiesResult, type UseTaxonomyOptions, type UseTaxonomyPathOptions, type UseTaxonomyPathResult, type UseTaxonomyResult, type UseValidateDiscountOptions, type UseValidateDiscountResult, type UseVariantSelectorOptions, type UseVariantSelectorResult, type UserButtonLink, VariantSelector, type VariantSelectorClassNames, type VariantSelectorProps, VolumePricing, type VolumePricingClassNames, type VolumePricingProps, WelcomeCard, type WelcomeCardProps, WholesaleProductCard, WholesaleProductLayout, WishlistButton, chatTimeline, clearOrdersCache, cn, createPlacesSessionToken, dayLabel, defaultBoundaryKind, deliveryState, genUICatalog, genUIFingerprint, genUIManifest, genUIManifestJson, getBoundaryLabels, groupPosition, isImageAttachment, isOptimistic, isTerminalOrderStatus, messagePreview, optimisticId, parse as parseGenUIProgram, partitionMessages, prefersReducedMotion, prefetchProduct, prefetchProducts, proseOf, resolveBoundaryKind, roomToResource, safeAttachmentUrl, sameDay, sanitizeRichTextHtml, scrollBehavior, splitGenUIContent, stripHtmlToText, swipeCommitted, swipeProgress, swipeTravel, toAccountLineItem, toAccountLineItems, toAccountOrderView, useActivityState, useAds, useAttributeDefinitions, useAvailableSlots, useBillingPlans, useBookings, useBootstrap, useBundles, useCart, useCartDrawer, useCategories, useChat, useCheckout, useCimplify, useCimplifyClient, useCimplifySession, useCollection, useCollections, useDeals, useDeliveryFee, useDeliveryOptions, useElements, useElementsReady, useFxRate, useGenUIProgram, useLocations, useOptionalCimplify, useOrder, useOrders, useProduct, useProductAvailability, useProductDeals, useProductPrice, useProductSchedules, useProducts, useProductsOnSale, usePropertyFacets, useQuote, useRecommendations, useSearch, useServiceAvailability, useServices, useStoreCredit, useSubscription, useSubscriptions, useSwipeReply, useTaxonomies, useTaxonomy, useTaxonomyPath, useValidateDiscount, useVariantSelector };
4458
+ export { AccommodationCard, AccountContent, type AccountContentProps, AccountDashboardPage, type AccountDashboardPageProps, AccountHero, type AccountHeroProps, AccountIdentityStrip, type AccountIdentityStripProps, AccountLineItem, type AccountLineItemData, type AccountLineItemProps, AccountLineItems, type AccountLineItemsProps, AccountNav, type AccountNavProps, AccountOrderDetailPage, type AccountOrderDetailPageProps, AccountOrderView, type AccountOrderViewProps, AccountOrdersPage, type AccountOrdersPageProps, type AccountPageBaseProps, AccountShell, type AccountShellProps, AccountSidebar, type AccountSidebarProps, AccountSignedOutPrompt, type AccountSignedOutPromptProps, AccountSubscriptionDetailPage, type AccountSubscriptionDetailPageProps, AccountSubscriptionsPage, type AccountSubscriptionsPageProps, Ad, AdPosition, type AdProps, AdProvider, AdSlot, AddOnSelector, type AddOnSelectorClassNames, type AddOnSelectorProps, type AddToCartOptions, AddressAutocomplete, type AddressAutocompleteClassNames, type AddressAutocompleteProps, AddressElement, AuthElement, AvailabilityBadge, type AvailabilityBadgeClassNames, type AvailabilityBadgeProps, BackLink, type BackLinkProps, BillingPlanSelector, type BillingPlanSelectorClassNames, type BillingPlanSelectorProps, BookingCard, type BookingCardClassNames, type BookingCardProps, BookingList, type BookingListClassNames, type BookingListProps, BookingPage, type BookingPageClassNames, type BookingPageProps, BookingSummary, type BookingSummaryClassNames, type BookingSummaryProps, BookingsPage, type BookingsPageClassNames, type BookingsPageProps, type BoundaryLabels, BoxIcon24, BubbleTail, BundleProductCard, BundleProductLayout, BundleSelector, type BundleSelectorClassNames, type BundleSelectorProps, Button, type ButtonProps, CHAT_ACTION_VIEW_ORDER, CHAT_ACTION_VIEW_PRODUCT, CHAT_GENUI_COMPONENTS, CIMPLIFY_GENUI_REGISTRY, CardImage, type CardLayoutProps, CardShell, CardVariant, type CartAddOnOptionSelection, CartDrawer, type CartDrawerProps, CartDrawerProvider, type CartLayoutProps, CartPage, type CartPageClassNames, type CartPageProps, CartSummary, type CartSummaryClassNames, type CartSummaryProps, CartTemplate, type CartVariantSelection, CatalogueCollectionLayout, type CatalogueLayoutProps, CataloguePage, type CataloguePageClassNames, type CataloguePageProps, CatalogueTemplate, CategoryFilter, type CategoryFilterClassNames, type CategoryFilterProps, CategoryGrid, type CategoryGridClassNames, type CategoryGridProps, ChatKitProgram, type ChatKitProgramProps, ChatMarkdown, type ChatMarkdownProps, ChatReplyCards, type ChatReplyCardsProps, type ChatTimeline, type ChatTimelineOptions, ChatWidget, type ChatWidgetClassNames, type ChatWidgetProps, CheckIcon, CheckoutPage, type CheckoutPageClassNames, type CheckoutPageProps, CimplifyCheckout, type CimplifyCheckoutProps, type CimplifyClientContextValue, type CimplifyClientSession, type CimplifyContextValue, type CimplifyLinkComponent, type CimplifyLinkProps, CimplifyProvider, type CimplifyProviderProps, CimplifySignInButton, type CimplifySignInButtonProps, CimplifyUserButton, type CimplifyUserButtonProps, type CollectionLayoutProps, CollectionPage, type CollectionPageClassNames, type CollectionPageProps, CollectionTemplate, CompactCartLayout, CompactCatalogueLayout, CompactSearchLayout, CompactServiceCard, CompositeProductCard, CompositeProductLayout, CompositeSelector, type CompositeSelectorClassNames, type CompositeSelectorProps, ContextCard, type ContextCardProps, type ContextRow, ContinuityCard, type ContinuityCardProps, CurrencySelector, type CurrencySelectorClassNames, type CurrencySelectorProps, CustomAttributesTable, type CustomerInput, CustomerInputFields, type CustomerInputFieldsClassNames, type CustomerInputFieldsProps, type CustomerInputType, DashboardIcon, DashboardIcon20, DatePicker, type DatePickerClassNames, type DatePickerProps, DateSlotPicker, type DateSlotPickerClassNames, type DateSlotPickerProps, DealBanner, type DealBannerClassNames, type DealBannerProps, DealsPage, type DealsPageClassNames, type DealsPageProps, DefaultCartLayout, DefaultCatalogueLayout, DefaultCollectionLayout, DefaultProductLayout, DefaultSearchLayout, DeliveryEstimate, type DeliveryEstimateClassNames, type DeliveryEstimateProps, type DeliveryLive, type DeliveryRider, type DeliveryState, DeliveryTracker, type DeliveryTrackerProps, DeliveryTruckIcon, type DigitalFulfillment, DigitalProductCard, DigitalProductLayout, DiscountInput, type DiscountInputClassNames, type DiscountInputProps, ElementsProvider, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, FeaturedCollectionLayout, type FilterTabItem, FilterTabs, type FilterTabsProps, FoodProductCard, FoodProductLayout, type GenUIActionEvent, type GenUICapabilityManifest, type GenUIComponentDef, type GenUIComponentMap, type GenUIComponentRenderer, type ElementNode as GenUIElementNode, type GenUIParamDef, type ParseResult as GenUIParseResult, type GenUIProgramState, type GenUIRegistry, type GenUIRenderContext, type GenUISegment, type GenUITelemetryEvent, GenUIView, type GroupPosition, HappeningCard, type HappeningCardProps, type HappeningPaneData, IdentityIcon, IdentityOfframp, type IdentityOfframpProps, type IdentitySummary, InventoryBadge, ItemsCard, type ItemsCardProps, LeaseServiceCard, LineItemDetails, type LineItemSemanticKind, type LineScheduling, type LineSelection, type LineStateTone, LocationPicker, type LocationPickerClassNames, type LocationPickerProps, MediaGallery, type MediaGalleryProps, type MediaItem, MessageBubble, type MessageBubbleProps, MetadataStringList, MobileAccountShell, type MobileAccountShellProps, MobileBackButton, MobileMoreButton, MobileTabBar, type MobileTabBarProps, type NavItem, NextDeliveryCard, type NextDeliveryCardProps, OrderDetailHeader, type OrderDetailHeaderProps, OrderDetailMetaPipe, OrderDetailPage, type OrderDetailPageClassNames, type OrderDetailPageProps, OrderHistory, type OrderHistoryClassNames, OrderHistoryPage, type OrderHistoryPageClassNames, type OrderHistoryPageProps, type OrderHistoryProps, type OrderItemData, OrderList, type OrderListProps, OrderRow, type OrderRowData, type OrderRowProps, type OrderRowStatus, type OrderStatusTone, OrderSummary, type OrderSummaryClassNames, type OrderSummaryProps, OrderTimeline, type OrderTimelineProps, OrderTotals, type OrderTotalsProps, type OrderViewDelivery, type OrderViewPayment, type OrderViewPaymentRow, OrdersIcon, OrdersIcon20, OvenIcon, PackageIcon, type PartitionedMessages, PaymentElement, type PrefetchMode, type PrefetchOptions, Price, type PriceProps, PriceRange, type PriceRangeProps, ProductCard, type ProductCardClassNames, type ProductCardProps, ProductCustomizer, type ProductCustomizerClassNames, type ProductCustomizerProps, ProductGrid, type ProductGridClassNames, type ProductGridProps, ProductImageGallery, type ProductImageGalleryProps, type ProductLayoutProps, ProductModel3D, type ProductModel3DProps, ProductPage, type ProductPageClassNames, type ProductPageProps, ProductSheet, type ProductSheetClassNames, type ProductSheetProps, ProductTemplate, PropertiesTable, QuantitySelector, type QuantitySelectorClassNames, type QuantitySelectorProps, QuickAddButton, QuoteBlock, RecentlyViewed, type RecentlyViewedClassNames, type RecentlyViewedProps, RecommendationCarousel, type RecommendationCarouselClassNames, type RecommendationCarouselProps, RelatedProductsSection, RentalServiceCard, type Resource, ResourcePicker, type ResourcePickerClassNames, type ResourcePickerProps, RetailProductCard, RichText, type RichTextProps, SWIPE_COMMIT_PX, SaleBadge, type SaleBadgeClassNames, type SaleBadgeProps, SalePrice, type SalePriceClassNames, type SalePriceProps, SaleTeaser, type SaleTeaserProps, ScheduleServiceCard, Seam, SearchInput, type SearchInputClassNames, type SearchInputProps, type SearchLayoutProps, SearchPage, type SearchPageClassNames, type SearchPageProps, SearchTemplate, Section, SectionMore, type SectionMoreProps, type SectionProps, type ServiceCardLayoutProps, ServiceProductLayout, SessionMessageBanner, type SessionMessageBannerClassNames, type SessionMessageBannerProps, SignOutIcon, Skeleton, type SkeletonProps, SlotPicker, type SlotPickerClassNames, type SlotPickerProps, SoldOutOverlay, StaffPicker, type StaffPickerClassNames, type StaffPickerProps, StandardServiceCard, Status, type StatusProps, StoreNav, type StoreNavClassNames, type StoreNavProps, StoreVideo, type StoreVideoProps, SubscriptionCard, SubscriptionList, type SubscriptionListProps, SubscriptionRow, type SubscriptionRowData, type SubscriptionRowProps, SubscriptionsIcon, SubscriptionsIcon20, TagPills, TimePicker, type TimePickerClassNames, type TimePickerProps, type TimelineStep, type ToAccountOrderViewOptions, Toast, type ToastProps, type TotalsData, TwoColumnGrid, type UseActivityStateOptions, type UseActivityStateResult, type UseAttributeDefinitionsOptions, type UseAttributeDefinitionsResult, type UseAvailableSlotsOptions, type UseAvailableSlotsResult, type UseBillingPlansOptions, type UseBillingPlansResult, type UseBookingsOptions, type UseBookingsResult, type UseBootstrapOptions, type UseBootstrapResult, type UseBundlesOptions, type UseBundlesResult, type UseCartItem, type UseCartOptions, type UseCartResult, type UseCategoriesOptions, type UseCategoriesResult, type UseChatOptions, type UseChatResult, type UseCimplifySessionOptions, type UseCimplifySessionResult, type UseCollectionOptions, type UseCollectionResult, type UseCollectionsOptions, type UseCollectionsResult, type UseDealsOptions, type UseDealsResult, type UseDeliveryFeeOptions, type UseDeliveryFeeResult, type UseFxRateOptions, type UseFxRateResult, type UseLocationsOptions, type UseLocationsResult, type UseOrderOptions, type UseOrderResult, type UseOrdersOptions, type UseOrdersResult, type UseProductAvailabilityOptions, type UseProductAvailabilityResult, type UseProductDealsOptions, type UseProductDealsResult, type UseProductOptions, type UseProductPriceInput, type UseProductPriceResult, type UseProductResult, type UseProductSchedulesOptions, type UseProductSchedulesResult, type UseProductsOnSaleOptions, type UseProductsOnSaleResult, type UseProductsOptions, type UseProductsResult, type UsePropertyFacetsOptions, type UsePropertyFacetsResult, type UseQuoteInput, type UseQuoteOptions, type UseQuoteResult, type UseRecommendationsOptions, type UseRecommendationsResult, type UseSearchOptions, type UseSearchResult, type UseServiceAvailabilityOptions, type UseServiceAvailabilityResult, type UseServicesOptions, type UseServicesResult, type UseStoreCreditOptions, type UseStoreCreditResult, type UseTaxonomiesOptions, type UseTaxonomiesResult, type UseTaxonomyOptions, type UseTaxonomyPathOptions, type UseTaxonomyPathResult, type UseTaxonomyResult, type UseValidateDiscountOptions, type UseValidateDiscountResult, type UseVariantSelectorOptions, type UseVariantSelectorResult, type UserButtonLink, VariantSelector, type VariantSelectorClassNames, type VariantSelectorProps, VolumePricing, type VolumePricingClassNames, type VolumePricingProps, WelcomeCard, type WelcomeCardProps, WholesaleProductCard, WholesaleProductLayout, WishlistButton, chatTimeline, clearOrdersCache, cn, createPlacesSessionToken, dayLabel, defaultBoundaryKind, deliveryState, genUICatalog, genUIFingerprint, genUIManifest, genUIManifestJson, getBoundaryLabels, groupPosition, isImageAttachment, isOptimistic, isTerminalOrderStatus, messagePreview, optimisticId, parseChatAction, parse as parseGenUIProgram, partitionMessages, prefersReducedMotion, prefetchProduct, prefetchProducts, proseOf, resolveBoundaryKind, roomToResource, safeAttachmentUrl, sameDay, sanitizeRichTextHtml, scrollBehavior, splitGenUIContent, stripHtmlToText, swipeCommitted, swipeProgress, swipeTravel, toAccountLineItem, toAccountLineItems, toAccountOrderView, useActivityState, useAds, useAttributeDefinitions, useAvailableSlots, useBillingPlans, useBookings, useBootstrap, useBundles, useCart, useCartDrawer, useCategories, useChat, useCheckout, useCimplify, useCimplifyClient, useCimplifySession, useCollection, useCollections, useDeals, useDeliveryFee, useDeliveryOptions, useElements, useElementsReady, useFxRate, useGenUIProgram, useLocations, useOptionalCimplify, useOrder, useOrders, useProduct, useProductAvailability, useProductDeals, useProductPrice, useProductSchedules, useProducts, useProductsOnSale, usePropertyFacets, useQuote, useRecommendations, useSearch, useServiceAvailability, useServices, useStoreCredit, useSubscription, useSubscriptions, useSwipeReply, useTaxonomies, useTaxonomy, useTaxonomyPath, useValidateDiscount, useVariantSelector };
package/dist/react.d.ts CHANGED
@@ -3901,60 +3901,6 @@ interface CurrencySelectorProps {
3901
3901
  */
3902
3902
  declare function CurrencySelector({ currencies, currentCurrency, onCurrencyChange, showRate, baseCurrency, renderCurrency, className, classNames, }: CurrencySelectorProps): React__default.ReactElement | null;
3903
3903
 
3904
- interface ChatWidgetClassNames {
3905
- root?: string;
3906
- bubble?: string;
3907
- panel?: string;
3908
- header?: string;
3909
- messages?: string;
3910
- input?: string;
3911
- welcome?: string;
3912
- }
3913
- interface ChatWidgetProps {
3914
- client?: CimplifyClient;
3915
- /** Business display name shown in the header */
3916
- businessName?: string;
3917
- /** Greeting text on the welcome screen */
3918
- greeting?: string;
3919
- /** Subtitle on the welcome screen */
3920
- subtitle?: string;
3921
- /** Conversation starters */
3922
- starters?: ChatWidgetStarter[];
3923
- /** Input placeholder */
3924
- placeholder?: string;
3925
- /** Position of the bubble */
3926
- position?: "bottom-right" | "bottom-left";
3927
- /** Start with the panel open */
3928
- defaultOpen?: boolean;
3929
- /** Poll interval in ms (default: 3000) */
3930
- pollInterval?: number;
3931
- className?: string;
3932
- classNames?: ChatWidgetClassNames;
3933
- }
3934
- declare function ChatWidget({ client: clientProp, businessName, greeting, subtitle, starters, placeholder, position, defaultOpen, pollInterval, className, classNames, }: ChatWidgetProps): react_jsx_runtime.JSX.Element;
3935
-
3936
- interface ChatMarkdownProps {
3937
- text: string;
3938
- className?: string;
3939
- /** True while this message is still receiving tokens — engages streamdown's
3940
- * incomplete-markdown smoothing on capable browsers. */
3941
- streaming?: boolean;
3942
- }
3943
- declare const ChatMarkdown: React__default.MemoExoticComponent<({ text, className, streaming, }: ChatMarkdownProps) => react_jsx_runtime.JSX.Element>;
3944
-
3945
- declare function optimisticId(clientId: string): string;
3946
- declare function isOptimistic(message: Pick<ChatMessage, "id">): boolean;
3947
- interface PartitionedMessages {
3948
- bubbles: ChatMessage[];
3949
- reactionsByTarget: Map<string, ChatMessage[]>;
3950
- }
3951
- /**
3952
- * Reaction rows are references, not bubbles: group each onto its target via
3953
- * the server-resolved `reply_to`, and drop any whose target isn't loaded —
3954
- * an emoji must never render as a standalone message.
3955
- */
3956
- declare function partitionMessages(messages: ChatMessage[]): PartitionedMessages;
3957
-
3958
3904
  /** Where this bubble sits in a run of consecutive same-sender messages. */
3959
3905
  type GroupPosition = "single" | "first" | "middle" | "last";
3960
3906
  /** The customer message's journey, rendered as ticks inside the bubble. */
@@ -4282,6 +4228,133 @@ interface ParseResult {
4282
4228
  mutationStatements: MutationStatementInfo[];
4283
4229
  }
4284
4230
 
4231
+ /** Fired when a Button carries a plain "action:name" string. */
4232
+ interface GenUIActionEvent {
4233
+ action: string;
4234
+ label: string;
4235
+ }
4236
+ interface GenUIRenderContext {
4237
+ /** Render any prop value (child element, array of children, or nothing). */
4238
+ render: (value: unknown) => ReactNode;
4239
+ onAction: (event: GenUIActionEvent) => void;
4240
+ isStreaming: boolean;
4241
+ }
4242
+ type GenUIComponentRenderer = (props: {
4243
+ node: ElementNode;
4244
+ ctx: GenUIRenderContext;
4245
+ }) => ReactNode;
4246
+ /** Per-surface visual implementations, keyed by vocabulary component name. */
4247
+ type GenUIComponentMap = Record<string, GenUIComponentRenderer>;
4248
+ interface GenUITelemetryEvent {
4249
+ kind: "unknown-component" | "dropped-node";
4250
+ typeName: string;
4251
+ }
4252
+ interface GenUIViewProps {
4253
+ root: ElementNode | null;
4254
+ components: GenUIComponentMap;
4255
+ onAction?: (event: GenUIActionEvent) => void;
4256
+ isStreaming?: boolean;
4257
+ onTelemetry?: (event: GenUITelemetryEvent) => void;
4258
+ /** Shown while streaming before the first complete root arrives. */
4259
+ placeholder?: ReactNode;
4260
+ }
4261
+ /**
4262
+ * Headless GenUI renderer: walks a parsed program tree and delegates every
4263
+ * node to the surface's component map (the same split as iOS, where the
4264
+ * registry vocabulary is shared and each surface owns its views).
4265
+ */
4266
+ declare function GenUIView({ root, components, onAction, isStreaming, onTelemetry, placeholder, }: GenUIViewProps): ReactNode;
4267
+
4268
+ /**
4269
+ * Host-neutral register for the support GenUI dialect: the same vocabulary
4270
+ * lite and desk render, styled with standard theme tokens only. Colors that
4271
+ * exist solely in lite's theme (pending, the wash tints) resolve through
4272
+ * var chains so any shadcn-tokened host degrades gracefully.
4273
+ */
4274
+ declare const CHAT_ACTION_VIEW_PRODUCT = "view_product";
4275
+ declare const CHAT_ACTION_VIEW_ORDER = "view_order";
4276
+ /** `chat:view_product:prd_1` → `{ verb: "view_product", id: "prd_1" }`. */
4277
+ declare function parseChatAction(action: string): {
4278
+ verb: string;
4279
+ id: string;
4280
+ } | null;
4281
+ declare const CHAT_GENUI_COMPONENTS: GenUIComponentMap;
4282
+ interface ChatKitProgramProps {
4283
+ source: string;
4284
+ onAction?: (event: GenUIActionEvent) => void;
4285
+ }
4286
+ /** Renders one fenced program from a bot reply in the host-neutral register. */
4287
+ declare function ChatKitProgram({ source, onAction }: ChatKitProgramProps): react_jsx_runtime.JSX.Element | null;
4288
+ interface ChatReplyCardsProps {
4289
+ message: ChatMessage;
4290
+ currency?: string | null;
4291
+ onAction?: (event: GenUIActionEvent) => void;
4292
+ }
4293
+ /** Structured cards from `metadata.cards`, tappable when the host wires actions. */
4294
+ declare function ChatReplyCards({ message, currency, onAction }: ChatReplyCardsProps): react_jsx_runtime.JSX.Element | null;
4295
+
4296
+ interface ChatWidgetClassNames {
4297
+ root?: string;
4298
+ bubble?: string;
4299
+ panel?: string;
4300
+ header?: string;
4301
+ messages?: string;
4302
+ input?: string;
4303
+ welcome?: string;
4304
+ }
4305
+ interface ChatWidgetProps {
4306
+ client?: CimplifyClient;
4307
+ /** Business display name shown in the header */
4308
+ businessName?: string;
4309
+ /** Greeting text on the welcome screen */
4310
+ greeting?: string;
4311
+ /** Subtitle on the welcome screen */
4312
+ subtitle?: string;
4313
+ /** Conversation starters */
4314
+ starters?: ChatWidgetStarter[];
4315
+ /** Input placeholder */
4316
+ placeholder?: string;
4317
+ /** Position of the bubble */
4318
+ position?: "bottom-right" | "bottom-left";
4319
+ /** Start with the panel open */
4320
+ defaultOpen?: boolean;
4321
+ /** Poll interval in ms (default: 3000) */
4322
+ pollInterval?: number;
4323
+ /** Currency for structured product cards (e.g. "GHS"). */
4324
+ currency?: string;
4325
+ /**
4326
+ * Receives taps on GenUI buttons and structured cards
4327
+ * (`chat:view_product:{id}`, `chat:view_order:{id}`). Without it, cards
4328
+ * render read-only and program buttons no-op.
4329
+ */
4330
+ onGenUIAction?: (event: GenUIActionEvent) => void;
4331
+ className?: string;
4332
+ classNames?: ChatWidgetClassNames;
4333
+ }
4334
+ declare function ChatWidget({ client: clientProp, businessName: businessNameProp, greeting, subtitle, starters, placeholder, position, defaultOpen, pollInterval, currency: currencyProp, onGenUIAction, className, classNames, }: ChatWidgetProps): react_jsx_runtime.JSX.Element;
4335
+
4336
+ interface ChatMarkdownProps {
4337
+ text: string;
4338
+ className?: string;
4339
+ /** True while this message is still receiving tokens — engages streamdown's
4340
+ * incomplete-markdown smoothing on capable browsers. */
4341
+ streaming?: boolean;
4342
+ }
4343
+ declare const ChatMarkdown: React__default.MemoExoticComponent<({ text, className, streaming, }: ChatMarkdownProps) => react_jsx_runtime.JSX.Element>;
4344
+
4345
+ declare function optimisticId(clientId: string): string;
4346
+ declare function isOptimistic(message: Pick<ChatMessage, "id">): boolean;
4347
+ interface PartitionedMessages {
4348
+ bubbles: ChatMessage[];
4349
+ reactionsByTarget: Map<string, ChatMessage[]>;
4350
+ }
4351
+ /**
4352
+ * Reaction rows are references, not bubbles: group each onto its target via
4353
+ * the server-resolved `reply_to`, and drop any whose target isn't loaded —
4354
+ * an emoji must never render as a standalone message.
4355
+ */
4356
+ declare function partitionMessages(messages: ChatMessage[]): PartitionedMessages;
4357
+
4285
4358
  /**
4286
4359
  * The Cimplify GenUI vocabulary — the component names, ordered params, and
4287
4360
  * descriptions the model is allowed to emit. This MUST stay in lockstep with
@@ -4355,43 +4428,6 @@ interface GenUIProgramState {
4355
4428
  */
4356
4429
  declare function useGenUIProgram(text: string, catalog: ParamMap): GenUIProgramState;
4357
4430
 
4358
- /** Fired when a Button carries a plain "action:name" string. */
4359
- interface GenUIActionEvent {
4360
- action: string;
4361
- label: string;
4362
- }
4363
- interface GenUIRenderContext {
4364
- /** Render any prop value (child element, array of children, or nothing). */
4365
- render: (value: unknown) => ReactNode;
4366
- onAction: (event: GenUIActionEvent) => void;
4367
- isStreaming: boolean;
4368
- }
4369
- type GenUIComponentRenderer = (props: {
4370
- node: ElementNode;
4371
- ctx: GenUIRenderContext;
4372
- }) => ReactNode;
4373
- /** Per-surface visual implementations, keyed by vocabulary component name. */
4374
- type GenUIComponentMap = Record<string, GenUIComponentRenderer>;
4375
- interface GenUITelemetryEvent {
4376
- kind: "unknown-component" | "dropped-node";
4377
- typeName: string;
4378
- }
4379
- interface GenUIViewProps {
4380
- root: ElementNode | null;
4381
- components: GenUIComponentMap;
4382
- onAction?: (event: GenUIActionEvent) => void;
4383
- isStreaming?: boolean;
4384
- onTelemetry?: (event: GenUITelemetryEvent) => void;
4385
- /** Shown while streaming before the first complete root arrives. */
4386
- placeholder?: ReactNode;
4387
- }
4388
- /**
4389
- * Headless GenUI renderer: walks a parsed program tree and delegates every
4390
- * node to the surface's component map (the same split as iOS, where the
4391
- * registry vocabulary is shared and each surface owns its views).
4392
- */
4393
- declare function GenUIView({ root, components, onAction, isStreaming, onTelemetry, placeholder, }: GenUIViewProps): ReactNode;
4394
-
4395
4431
  /**
4396
4432
  * Capability manifest + fingerprint — the cross-surface vocabulary contract.
4397
4433
  * The wire bytes must match the Swift side (GenUIPrompt.swift) exactly:
@@ -4419,4 +4455,4 @@ declare function genUIManifestJson(manifest: GenUICapabilityManifest): string;
4419
4455
  /** First 16 hex chars of SHA-256 over the canonical manifest bytes. */
4420
4456
  declare function genUIFingerprint(manifest: GenUICapabilityManifest): Promise<string>;
4421
4457
 
4422
- export { AccommodationCard, AccountContent, type AccountContentProps, AccountDashboardPage, type AccountDashboardPageProps, AccountHero, type AccountHeroProps, AccountIdentityStrip, type AccountIdentityStripProps, AccountLineItem, type AccountLineItemData, type AccountLineItemProps, AccountLineItems, type AccountLineItemsProps, AccountNav, type AccountNavProps, AccountOrderDetailPage, type AccountOrderDetailPageProps, AccountOrderView, type AccountOrderViewProps, AccountOrdersPage, type AccountOrdersPageProps, type AccountPageBaseProps, AccountShell, type AccountShellProps, AccountSidebar, type AccountSidebarProps, AccountSignedOutPrompt, type AccountSignedOutPromptProps, AccountSubscriptionDetailPage, type AccountSubscriptionDetailPageProps, AccountSubscriptionsPage, type AccountSubscriptionsPageProps, Ad, AdPosition, type AdProps, AdProvider, AdSlot, AddOnSelector, type AddOnSelectorClassNames, type AddOnSelectorProps, type AddToCartOptions, AddressAutocomplete, type AddressAutocompleteClassNames, type AddressAutocompleteProps, AddressElement, AuthElement, AvailabilityBadge, type AvailabilityBadgeClassNames, type AvailabilityBadgeProps, BackLink, type BackLinkProps, BillingPlanSelector, type BillingPlanSelectorClassNames, type BillingPlanSelectorProps, BookingCard, type BookingCardClassNames, type BookingCardProps, BookingList, type BookingListClassNames, type BookingListProps, BookingPage, type BookingPageClassNames, type BookingPageProps, BookingSummary, type BookingSummaryClassNames, type BookingSummaryProps, BookingsPage, type BookingsPageClassNames, type BookingsPageProps, type BoundaryLabels, BoxIcon24, BubbleTail, BundleProductCard, BundleProductLayout, BundleSelector, type BundleSelectorClassNames, type BundleSelectorProps, Button, type ButtonProps, CIMPLIFY_GENUI_REGISTRY, CardImage, type CardLayoutProps, CardShell, CardVariant, type CartAddOnOptionSelection, CartDrawer, type CartDrawerProps, CartDrawerProvider, type CartLayoutProps, CartPage, type CartPageClassNames, type CartPageProps, CartSummary, type CartSummaryClassNames, type CartSummaryProps, CartTemplate, type CartVariantSelection, CatalogueCollectionLayout, type CatalogueLayoutProps, CataloguePage, type CataloguePageClassNames, type CataloguePageProps, CatalogueTemplate, CategoryFilter, type CategoryFilterClassNames, type CategoryFilterProps, CategoryGrid, type CategoryGridClassNames, type CategoryGridProps, ChatMarkdown, type ChatMarkdownProps, type ChatTimeline, type ChatTimelineOptions, ChatWidget, type ChatWidgetClassNames, type ChatWidgetProps, CheckIcon, CheckoutPage, type CheckoutPageClassNames, type CheckoutPageProps, CimplifyCheckout, type CimplifyCheckoutProps, type CimplifyClientContextValue, type CimplifyClientSession, type CimplifyContextValue, type CimplifyLinkComponent, type CimplifyLinkProps, CimplifyProvider, type CimplifyProviderProps, CimplifySignInButton, type CimplifySignInButtonProps, CimplifyUserButton, type CimplifyUserButtonProps, type CollectionLayoutProps, CollectionPage, type CollectionPageClassNames, type CollectionPageProps, CollectionTemplate, CompactCartLayout, CompactCatalogueLayout, CompactSearchLayout, CompactServiceCard, CompositeProductCard, CompositeProductLayout, CompositeSelector, type CompositeSelectorClassNames, type CompositeSelectorProps, ContextCard, type ContextCardProps, type ContextRow, ContinuityCard, type ContinuityCardProps, CurrencySelector, type CurrencySelectorClassNames, type CurrencySelectorProps, CustomAttributesTable, type CustomerInput, CustomerInputFields, type CustomerInputFieldsClassNames, type CustomerInputFieldsProps, type CustomerInputType, DashboardIcon, DashboardIcon20, DatePicker, type DatePickerClassNames, type DatePickerProps, DateSlotPicker, type DateSlotPickerClassNames, type DateSlotPickerProps, DealBanner, type DealBannerClassNames, type DealBannerProps, DealsPage, type DealsPageClassNames, type DealsPageProps, DefaultCartLayout, DefaultCatalogueLayout, DefaultCollectionLayout, DefaultProductLayout, DefaultSearchLayout, DeliveryEstimate, type DeliveryEstimateClassNames, type DeliveryEstimateProps, type DeliveryLive, type DeliveryRider, type DeliveryState, DeliveryTracker, type DeliveryTrackerProps, DeliveryTruckIcon, type DigitalFulfillment, DigitalProductCard, DigitalProductLayout, DiscountInput, type DiscountInputClassNames, type DiscountInputProps, ElementsProvider, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, FeaturedCollectionLayout, type FilterTabItem, FilterTabs, type FilterTabsProps, FoodProductCard, FoodProductLayout, type GenUIActionEvent, type GenUICapabilityManifest, type GenUIComponentDef, type GenUIComponentMap, type GenUIComponentRenderer, type ElementNode as GenUIElementNode, type GenUIParamDef, type ParseResult as GenUIParseResult, type GenUIProgramState, type GenUIRegistry, type GenUIRenderContext, type GenUISegment, type GenUITelemetryEvent, GenUIView, type GroupPosition, HappeningCard, type HappeningCardProps, type HappeningPaneData, IdentityIcon, IdentityOfframp, type IdentityOfframpProps, type IdentitySummary, InventoryBadge, ItemsCard, type ItemsCardProps, LeaseServiceCard, LineItemDetails, type LineItemSemanticKind, type LineScheduling, type LineSelection, type LineStateTone, LocationPicker, type LocationPickerClassNames, type LocationPickerProps, MediaGallery, type MediaGalleryProps, type MediaItem, MessageBubble, type MessageBubbleProps, MetadataStringList, MobileAccountShell, type MobileAccountShellProps, MobileBackButton, MobileMoreButton, MobileTabBar, type MobileTabBarProps, type NavItem, NextDeliveryCard, type NextDeliveryCardProps, OrderDetailHeader, type OrderDetailHeaderProps, OrderDetailMetaPipe, OrderDetailPage, type OrderDetailPageClassNames, type OrderDetailPageProps, OrderHistory, type OrderHistoryClassNames, OrderHistoryPage, type OrderHistoryPageClassNames, type OrderHistoryPageProps, type OrderHistoryProps, type OrderItemData, OrderList, type OrderListProps, OrderRow, type OrderRowData, type OrderRowProps, type OrderRowStatus, type OrderStatusTone, OrderSummary, type OrderSummaryClassNames, type OrderSummaryProps, OrderTimeline, type OrderTimelineProps, OrderTotals, type OrderTotalsProps, type OrderViewDelivery, type OrderViewPayment, type OrderViewPaymentRow, OrdersIcon, OrdersIcon20, OvenIcon, PackageIcon, type PartitionedMessages, PaymentElement, type PrefetchMode, type PrefetchOptions, Price, type PriceProps, PriceRange, type PriceRangeProps, ProductCard, type ProductCardClassNames, type ProductCardProps, ProductCustomizer, type ProductCustomizerClassNames, type ProductCustomizerProps, ProductGrid, type ProductGridClassNames, type ProductGridProps, ProductImageGallery, type ProductImageGalleryProps, type ProductLayoutProps, ProductModel3D, type ProductModel3DProps, ProductPage, type ProductPageClassNames, type ProductPageProps, ProductSheet, type ProductSheetClassNames, type ProductSheetProps, ProductTemplate, PropertiesTable, QuantitySelector, type QuantitySelectorClassNames, type QuantitySelectorProps, QuickAddButton, QuoteBlock, RecentlyViewed, type RecentlyViewedClassNames, type RecentlyViewedProps, RecommendationCarousel, type RecommendationCarouselClassNames, type RecommendationCarouselProps, RelatedProductsSection, RentalServiceCard, type Resource, ResourcePicker, type ResourcePickerClassNames, type ResourcePickerProps, RetailProductCard, RichText, type RichTextProps, SWIPE_COMMIT_PX, SaleBadge, type SaleBadgeClassNames, type SaleBadgeProps, SalePrice, type SalePriceClassNames, type SalePriceProps, SaleTeaser, type SaleTeaserProps, ScheduleServiceCard, Seam, SearchInput, type SearchInputClassNames, type SearchInputProps, type SearchLayoutProps, SearchPage, type SearchPageClassNames, type SearchPageProps, SearchTemplate, Section, SectionMore, type SectionMoreProps, type SectionProps, type ServiceCardLayoutProps, ServiceProductLayout, SessionMessageBanner, type SessionMessageBannerClassNames, type SessionMessageBannerProps, SignOutIcon, Skeleton, type SkeletonProps, SlotPicker, type SlotPickerClassNames, type SlotPickerProps, SoldOutOverlay, StaffPicker, type StaffPickerClassNames, type StaffPickerProps, StandardServiceCard, Status, type StatusProps, StoreNav, type StoreNavClassNames, type StoreNavProps, StoreVideo, type StoreVideoProps, SubscriptionCard, SubscriptionList, type SubscriptionListProps, SubscriptionRow, type SubscriptionRowData, type SubscriptionRowProps, SubscriptionsIcon, SubscriptionsIcon20, TagPills, TimePicker, type TimePickerClassNames, type TimePickerProps, type TimelineStep, type ToAccountOrderViewOptions, Toast, type ToastProps, type TotalsData, TwoColumnGrid, type UseActivityStateOptions, type UseActivityStateResult, type UseAttributeDefinitionsOptions, type UseAttributeDefinitionsResult, type UseAvailableSlotsOptions, type UseAvailableSlotsResult, type UseBillingPlansOptions, type UseBillingPlansResult, type UseBookingsOptions, type UseBookingsResult, type UseBootstrapOptions, type UseBootstrapResult, type UseBundlesOptions, type UseBundlesResult, type UseCartItem, type UseCartOptions, type UseCartResult, type UseCategoriesOptions, type UseCategoriesResult, type UseChatOptions, type UseChatResult, type UseCimplifySessionOptions, type UseCimplifySessionResult, type UseCollectionOptions, type UseCollectionResult, type UseCollectionsOptions, type UseCollectionsResult, type UseDealsOptions, type UseDealsResult, type UseDeliveryFeeOptions, type UseDeliveryFeeResult, type UseFxRateOptions, type UseFxRateResult, type UseLocationsOptions, type UseLocationsResult, type UseOrderOptions, type UseOrderResult, type UseOrdersOptions, type UseOrdersResult, type UseProductAvailabilityOptions, type UseProductAvailabilityResult, type UseProductDealsOptions, type UseProductDealsResult, type UseProductOptions, type UseProductPriceInput, type UseProductPriceResult, type UseProductResult, type UseProductSchedulesOptions, type UseProductSchedulesResult, type UseProductsOnSaleOptions, type UseProductsOnSaleResult, type UseProductsOptions, type UseProductsResult, type UsePropertyFacetsOptions, type UsePropertyFacetsResult, type UseQuoteInput, type UseQuoteOptions, type UseQuoteResult, type UseRecommendationsOptions, type UseRecommendationsResult, type UseSearchOptions, type UseSearchResult, type UseServiceAvailabilityOptions, type UseServiceAvailabilityResult, type UseServicesOptions, type UseServicesResult, type UseStoreCreditOptions, type UseStoreCreditResult, type UseTaxonomiesOptions, type UseTaxonomiesResult, type UseTaxonomyOptions, type UseTaxonomyPathOptions, type UseTaxonomyPathResult, type UseTaxonomyResult, type UseValidateDiscountOptions, type UseValidateDiscountResult, type UseVariantSelectorOptions, type UseVariantSelectorResult, type UserButtonLink, VariantSelector, type VariantSelectorClassNames, type VariantSelectorProps, VolumePricing, type VolumePricingClassNames, type VolumePricingProps, WelcomeCard, type WelcomeCardProps, WholesaleProductCard, WholesaleProductLayout, WishlistButton, chatTimeline, clearOrdersCache, cn, createPlacesSessionToken, dayLabel, defaultBoundaryKind, deliveryState, genUICatalog, genUIFingerprint, genUIManifest, genUIManifestJson, getBoundaryLabels, groupPosition, isImageAttachment, isOptimistic, isTerminalOrderStatus, messagePreview, optimisticId, parse as parseGenUIProgram, partitionMessages, prefersReducedMotion, prefetchProduct, prefetchProducts, proseOf, resolveBoundaryKind, roomToResource, safeAttachmentUrl, sameDay, sanitizeRichTextHtml, scrollBehavior, splitGenUIContent, stripHtmlToText, swipeCommitted, swipeProgress, swipeTravel, toAccountLineItem, toAccountLineItems, toAccountOrderView, useActivityState, useAds, useAttributeDefinitions, useAvailableSlots, useBillingPlans, useBookings, useBootstrap, useBundles, useCart, useCartDrawer, useCategories, useChat, useCheckout, useCimplify, useCimplifyClient, useCimplifySession, useCollection, useCollections, useDeals, useDeliveryFee, useDeliveryOptions, useElements, useElementsReady, useFxRate, useGenUIProgram, useLocations, useOptionalCimplify, useOrder, useOrders, useProduct, useProductAvailability, useProductDeals, useProductPrice, useProductSchedules, useProducts, useProductsOnSale, usePropertyFacets, useQuote, useRecommendations, useSearch, useServiceAvailability, useServices, useStoreCredit, useSubscription, useSubscriptions, useSwipeReply, useTaxonomies, useTaxonomy, useTaxonomyPath, useValidateDiscount, useVariantSelector };
4458
+ export { AccommodationCard, AccountContent, type AccountContentProps, AccountDashboardPage, type AccountDashboardPageProps, AccountHero, type AccountHeroProps, AccountIdentityStrip, type AccountIdentityStripProps, AccountLineItem, type AccountLineItemData, type AccountLineItemProps, AccountLineItems, type AccountLineItemsProps, AccountNav, type AccountNavProps, AccountOrderDetailPage, type AccountOrderDetailPageProps, AccountOrderView, type AccountOrderViewProps, AccountOrdersPage, type AccountOrdersPageProps, type AccountPageBaseProps, AccountShell, type AccountShellProps, AccountSidebar, type AccountSidebarProps, AccountSignedOutPrompt, type AccountSignedOutPromptProps, AccountSubscriptionDetailPage, type AccountSubscriptionDetailPageProps, AccountSubscriptionsPage, type AccountSubscriptionsPageProps, Ad, AdPosition, type AdProps, AdProvider, AdSlot, AddOnSelector, type AddOnSelectorClassNames, type AddOnSelectorProps, type AddToCartOptions, AddressAutocomplete, type AddressAutocompleteClassNames, type AddressAutocompleteProps, AddressElement, AuthElement, AvailabilityBadge, type AvailabilityBadgeClassNames, type AvailabilityBadgeProps, BackLink, type BackLinkProps, BillingPlanSelector, type BillingPlanSelectorClassNames, type BillingPlanSelectorProps, BookingCard, type BookingCardClassNames, type BookingCardProps, BookingList, type BookingListClassNames, type BookingListProps, BookingPage, type BookingPageClassNames, type BookingPageProps, BookingSummary, type BookingSummaryClassNames, type BookingSummaryProps, BookingsPage, type BookingsPageClassNames, type BookingsPageProps, type BoundaryLabels, BoxIcon24, BubbleTail, BundleProductCard, BundleProductLayout, BundleSelector, type BundleSelectorClassNames, type BundleSelectorProps, Button, type ButtonProps, CHAT_ACTION_VIEW_ORDER, CHAT_ACTION_VIEW_PRODUCT, CHAT_GENUI_COMPONENTS, CIMPLIFY_GENUI_REGISTRY, CardImage, type CardLayoutProps, CardShell, CardVariant, type CartAddOnOptionSelection, CartDrawer, type CartDrawerProps, CartDrawerProvider, type CartLayoutProps, CartPage, type CartPageClassNames, type CartPageProps, CartSummary, type CartSummaryClassNames, type CartSummaryProps, CartTemplate, type CartVariantSelection, CatalogueCollectionLayout, type CatalogueLayoutProps, CataloguePage, type CataloguePageClassNames, type CataloguePageProps, CatalogueTemplate, CategoryFilter, type CategoryFilterClassNames, type CategoryFilterProps, CategoryGrid, type CategoryGridClassNames, type CategoryGridProps, ChatKitProgram, type ChatKitProgramProps, ChatMarkdown, type ChatMarkdownProps, ChatReplyCards, type ChatReplyCardsProps, type ChatTimeline, type ChatTimelineOptions, ChatWidget, type ChatWidgetClassNames, type ChatWidgetProps, CheckIcon, CheckoutPage, type CheckoutPageClassNames, type CheckoutPageProps, CimplifyCheckout, type CimplifyCheckoutProps, type CimplifyClientContextValue, type CimplifyClientSession, type CimplifyContextValue, type CimplifyLinkComponent, type CimplifyLinkProps, CimplifyProvider, type CimplifyProviderProps, CimplifySignInButton, type CimplifySignInButtonProps, CimplifyUserButton, type CimplifyUserButtonProps, type CollectionLayoutProps, CollectionPage, type CollectionPageClassNames, type CollectionPageProps, CollectionTemplate, CompactCartLayout, CompactCatalogueLayout, CompactSearchLayout, CompactServiceCard, CompositeProductCard, CompositeProductLayout, CompositeSelector, type CompositeSelectorClassNames, type CompositeSelectorProps, ContextCard, type ContextCardProps, type ContextRow, ContinuityCard, type ContinuityCardProps, CurrencySelector, type CurrencySelectorClassNames, type CurrencySelectorProps, CustomAttributesTable, type CustomerInput, CustomerInputFields, type CustomerInputFieldsClassNames, type CustomerInputFieldsProps, type CustomerInputType, DashboardIcon, DashboardIcon20, DatePicker, type DatePickerClassNames, type DatePickerProps, DateSlotPicker, type DateSlotPickerClassNames, type DateSlotPickerProps, DealBanner, type DealBannerClassNames, type DealBannerProps, DealsPage, type DealsPageClassNames, type DealsPageProps, DefaultCartLayout, DefaultCatalogueLayout, DefaultCollectionLayout, DefaultProductLayout, DefaultSearchLayout, DeliveryEstimate, type DeliveryEstimateClassNames, type DeliveryEstimateProps, type DeliveryLive, type DeliveryRider, type DeliveryState, DeliveryTracker, type DeliveryTrackerProps, DeliveryTruckIcon, type DigitalFulfillment, DigitalProductCard, DigitalProductLayout, DiscountInput, type DiscountInputClassNames, type DiscountInputProps, ElementsProvider, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, FeaturedCollectionLayout, type FilterTabItem, FilterTabs, type FilterTabsProps, FoodProductCard, FoodProductLayout, type GenUIActionEvent, type GenUICapabilityManifest, type GenUIComponentDef, type GenUIComponentMap, type GenUIComponentRenderer, type ElementNode as GenUIElementNode, type GenUIParamDef, type ParseResult as GenUIParseResult, type GenUIProgramState, type GenUIRegistry, type GenUIRenderContext, type GenUISegment, type GenUITelemetryEvent, GenUIView, type GroupPosition, HappeningCard, type HappeningCardProps, type HappeningPaneData, IdentityIcon, IdentityOfframp, type IdentityOfframpProps, type IdentitySummary, InventoryBadge, ItemsCard, type ItemsCardProps, LeaseServiceCard, LineItemDetails, type LineItemSemanticKind, type LineScheduling, type LineSelection, type LineStateTone, LocationPicker, type LocationPickerClassNames, type LocationPickerProps, MediaGallery, type MediaGalleryProps, type MediaItem, MessageBubble, type MessageBubbleProps, MetadataStringList, MobileAccountShell, type MobileAccountShellProps, MobileBackButton, MobileMoreButton, MobileTabBar, type MobileTabBarProps, type NavItem, NextDeliveryCard, type NextDeliveryCardProps, OrderDetailHeader, type OrderDetailHeaderProps, OrderDetailMetaPipe, OrderDetailPage, type OrderDetailPageClassNames, type OrderDetailPageProps, OrderHistory, type OrderHistoryClassNames, OrderHistoryPage, type OrderHistoryPageClassNames, type OrderHistoryPageProps, type OrderHistoryProps, type OrderItemData, OrderList, type OrderListProps, OrderRow, type OrderRowData, type OrderRowProps, type OrderRowStatus, type OrderStatusTone, OrderSummary, type OrderSummaryClassNames, type OrderSummaryProps, OrderTimeline, type OrderTimelineProps, OrderTotals, type OrderTotalsProps, type OrderViewDelivery, type OrderViewPayment, type OrderViewPaymentRow, OrdersIcon, OrdersIcon20, OvenIcon, PackageIcon, type PartitionedMessages, PaymentElement, type PrefetchMode, type PrefetchOptions, Price, type PriceProps, PriceRange, type PriceRangeProps, ProductCard, type ProductCardClassNames, type ProductCardProps, ProductCustomizer, type ProductCustomizerClassNames, type ProductCustomizerProps, ProductGrid, type ProductGridClassNames, type ProductGridProps, ProductImageGallery, type ProductImageGalleryProps, type ProductLayoutProps, ProductModel3D, type ProductModel3DProps, ProductPage, type ProductPageClassNames, type ProductPageProps, ProductSheet, type ProductSheetClassNames, type ProductSheetProps, ProductTemplate, PropertiesTable, QuantitySelector, type QuantitySelectorClassNames, type QuantitySelectorProps, QuickAddButton, QuoteBlock, RecentlyViewed, type RecentlyViewedClassNames, type RecentlyViewedProps, RecommendationCarousel, type RecommendationCarouselClassNames, type RecommendationCarouselProps, RelatedProductsSection, RentalServiceCard, type Resource, ResourcePicker, type ResourcePickerClassNames, type ResourcePickerProps, RetailProductCard, RichText, type RichTextProps, SWIPE_COMMIT_PX, SaleBadge, type SaleBadgeClassNames, type SaleBadgeProps, SalePrice, type SalePriceClassNames, type SalePriceProps, SaleTeaser, type SaleTeaserProps, ScheduleServiceCard, Seam, SearchInput, type SearchInputClassNames, type SearchInputProps, type SearchLayoutProps, SearchPage, type SearchPageClassNames, type SearchPageProps, SearchTemplate, Section, SectionMore, type SectionMoreProps, type SectionProps, type ServiceCardLayoutProps, ServiceProductLayout, SessionMessageBanner, type SessionMessageBannerClassNames, type SessionMessageBannerProps, SignOutIcon, Skeleton, type SkeletonProps, SlotPicker, type SlotPickerClassNames, type SlotPickerProps, SoldOutOverlay, StaffPicker, type StaffPickerClassNames, type StaffPickerProps, StandardServiceCard, Status, type StatusProps, StoreNav, type StoreNavClassNames, type StoreNavProps, StoreVideo, type StoreVideoProps, SubscriptionCard, SubscriptionList, type SubscriptionListProps, SubscriptionRow, type SubscriptionRowData, type SubscriptionRowProps, SubscriptionsIcon, SubscriptionsIcon20, TagPills, TimePicker, type TimePickerClassNames, type TimePickerProps, type TimelineStep, type ToAccountOrderViewOptions, Toast, type ToastProps, type TotalsData, TwoColumnGrid, type UseActivityStateOptions, type UseActivityStateResult, type UseAttributeDefinitionsOptions, type UseAttributeDefinitionsResult, type UseAvailableSlotsOptions, type UseAvailableSlotsResult, type UseBillingPlansOptions, type UseBillingPlansResult, type UseBookingsOptions, type UseBookingsResult, type UseBootstrapOptions, type UseBootstrapResult, type UseBundlesOptions, type UseBundlesResult, type UseCartItem, type UseCartOptions, type UseCartResult, type UseCategoriesOptions, type UseCategoriesResult, type UseChatOptions, type UseChatResult, type UseCimplifySessionOptions, type UseCimplifySessionResult, type UseCollectionOptions, type UseCollectionResult, type UseCollectionsOptions, type UseCollectionsResult, type UseDealsOptions, type UseDealsResult, type UseDeliveryFeeOptions, type UseDeliveryFeeResult, type UseFxRateOptions, type UseFxRateResult, type UseLocationsOptions, type UseLocationsResult, type UseOrderOptions, type UseOrderResult, type UseOrdersOptions, type UseOrdersResult, type UseProductAvailabilityOptions, type UseProductAvailabilityResult, type UseProductDealsOptions, type UseProductDealsResult, type UseProductOptions, type UseProductPriceInput, type UseProductPriceResult, type UseProductResult, type UseProductSchedulesOptions, type UseProductSchedulesResult, type UseProductsOnSaleOptions, type UseProductsOnSaleResult, type UseProductsOptions, type UseProductsResult, type UsePropertyFacetsOptions, type UsePropertyFacetsResult, type UseQuoteInput, type UseQuoteOptions, type UseQuoteResult, type UseRecommendationsOptions, type UseRecommendationsResult, type UseSearchOptions, type UseSearchResult, type UseServiceAvailabilityOptions, type UseServiceAvailabilityResult, type UseServicesOptions, type UseServicesResult, type UseStoreCreditOptions, type UseStoreCreditResult, type UseTaxonomiesOptions, type UseTaxonomiesResult, type UseTaxonomyOptions, type UseTaxonomyPathOptions, type UseTaxonomyPathResult, type UseTaxonomyResult, type UseValidateDiscountOptions, type UseValidateDiscountResult, type UseVariantSelectorOptions, type UseVariantSelectorResult, type UserButtonLink, VariantSelector, type VariantSelectorClassNames, type VariantSelectorProps, VolumePricing, type VolumePricingClassNames, type VolumePricingProps, WelcomeCard, type WelcomeCardProps, WholesaleProductCard, WholesaleProductLayout, WishlistButton, chatTimeline, clearOrdersCache, cn, createPlacesSessionToken, dayLabel, defaultBoundaryKind, deliveryState, genUICatalog, genUIFingerprint, genUIManifest, genUIManifestJson, getBoundaryLabels, groupPosition, isImageAttachment, isOptimistic, isTerminalOrderStatus, messagePreview, optimisticId, parseChatAction, parse as parseGenUIProgram, partitionMessages, prefersReducedMotion, prefetchProduct, prefetchProducts, proseOf, resolveBoundaryKind, roomToResource, safeAttachmentUrl, sameDay, sanitizeRichTextHtml, scrollBehavior, splitGenUIContent, stripHtmlToText, swipeCommitted, swipeProgress, swipeTravel, toAccountLineItem, toAccountLineItems, toAccountOrderView, useActivityState, useAds, useAttributeDefinitions, useAvailableSlots, useBillingPlans, useBookings, useBootstrap, useBundles, useCart, useCartDrawer, useCategories, useChat, useCheckout, useCimplify, useCimplifyClient, useCimplifySession, useCollection, useCollections, useDeals, useDeliveryFee, useDeliveryOptions, useElements, useElementsReady, useFxRate, useGenUIProgram, useLocations, useOptionalCimplify, useOrder, useOrders, useProduct, useProductAvailability, useProductDeals, useProductPrice, useProductSchedules, useProducts, useProductsOnSale, usePropertyFacets, useQuote, useRecommendations, useSearch, useServiceAvailability, useServices, useStoreCredit, useSubscription, useSubscriptions, useSwipeReply, useTaxonomies, useTaxonomy, useTaxonomyPath, useValidateDiscount, useVariantSelector };