import * as react from 'react'; import './index.js'; import { ToolActivityLabels, ShopAssistantContext, PromptRailsShopAssistantElement } from './types.js'; import '../browser/index.js'; import '../types-CHPP16pW.js'; import '../ui/index.js'; interface ShopAssistantProps { apiUrl?: string; apiKey?: string; agentId?: string; catalogUrl?: string; productSource?: "catalog" | "response"; productCardMode?: "commerce" | "summary"; brand?: string; assistantName?: string; assistantMark?: string; launcherTitle?: string; launcherSubtitle?: string; launcherIcon?: "arrow" | "message"; showLauncherMark?: boolean; showLauncherSubtitle?: boolean; greeting?: string; greetingMode?: "welcome" | "message"; placeholder?: string; locale?: string; accentColor?: string; themeCss?: string; persistSession?: boolean; sessionMaxAge?: number; visitorTracking?: boolean; visitorMaxAge?: number; /** Infer a cart action from a valid response variant when the agent omits it. Defaults to false. */ implicitCartAction?: boolean; showToolActivity?: boolean; showActivityDuration?: boolean; showQuantity?: boolean; colorPicker?: "select" | "swatches"; toolLabels?: ToolActivityLabels; allowedActionOrigins?: string[]; closeOnProductView?: boolean; legalNotice?: string; legalUrl?: string; legalLinkLabel?: string; legalAcceptLabel?: string; legalConsentRequired?: boolean; legalConsentVersion?: string; legalConsentMaxAge?: number; aiDisclaimer?: string; quickPrompts?: string[]; translations?: Record; context?: ShopAssistantContext; contextProvider?: () => ShopAssistantContext | Promise; className?: string; } /** React adapter for the framework-neutral ecommerce custom element. */ declare const ShopAssistant: react.ForwardRefExoticComponent>; export { ShopAssistant, type ShopAssistantProps, ShopAssistant as default };