@usecrow/ui 0.1.75 → 0.1.77

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.cts CHANGED
@@ -215,6 +215,14 @@ interface WidgetConfigResponse {
215
215
  name: string;
216
216
  provider: "OpenAI" | "Anthropic";
217
217
  }>;
218
+ /** Whether onboarding agent is enabled for this product */
219
+ onboardingEnabled?: boolean;
220
+ /** Custom name for the onboarding agent */
221
+ onboardingAgentName?: string;
222
+ /** Welcome message shown during onboarding */
223
+ onboardingWelcomeMessage?: string;
224
+ /** Intro sequence lines shown before onboarding chat */
225
+ onboardingIntroSequence?: string[];
218
226
  }
219
227
 
220
228
  /**
@@ -417,8 +425,17 @@ interface CrowWidgetProps {
417
425
  * is aware of. Prop takes priority over window.crow('setContextLabel', ...).
418
426
  */
419
427
  contextLabel?: string;
428
+ /**
429
+ * Force onboarding overlay regardless of resolve-agent result.
430
+ * Useful for testing.
431
+ */
432
+ forceOnboarding?: boolean;
433
+ /**
434
+ * Pixel offset from top for the onboarding fullscreen overlay (e.g., for nav bars).
435
+ */
436
+ fullscreenTopOffset?: number;
420
437
  }
421
- declare function CrowWidget({ productId, apiUrl, subdomain, variant, styles: propStyles, previewMode, showThinking: showThinkingProp, agentName: agentNameProp, welcomeMessage: welcomeMessageProp, onReady, onIdentify, tools, navigate, onToolResult, getIdentityToken, context, toolRenderers, language, customCss, contextLabel: contextLabelProp, }: CrowWidgetProps): react_jsx_runtime.JSX.Element;
438
+ declare function CrowWidget({ productId, apiUrl, subdomain, variant, styles: propStyles, previewMode, showThinking: showThinkingProp, agentName: agentNameProp, welcomeMessage: welcomeMessageProp, onReady, onIdentify, tools, navigate, onToolResult, getIdentityToken, context, toolRenderers, language, customCss, contextLabel: contextLabelProp, forceOnboarding, fullscreenTopOffset: _fullscreenTopOffset, }: CrowWidgetProps): react_jsx_runtime.JSX.Element;
422
439
 
423
440
  interface CrowCopilotProps {
424
441
  /** Product ID for this copilot */
@@ -505,8 +522,46 @@ interface CrowCopilotProps {
505
522
  * is aware of. Prop takes priority over window.crow('setContextLabel', ...).
506
523
  */
507
524
  contextLabel?: string;
525
+ /**
526
+ * Force onboarding overlay regardless of resolve-agent result.
527
+ */
528
+ forceOnboarding?: boolean;
529
+ /**
530
+ * Pixel offset from top for the onboarding fullscreen overlay.
531
+ */
532
+ fullscreenTopOffset?: number;
533
+ /**
534
+ * Display mode override (sidebar or fullscreen).
535
+ */
536
+ mode?: "sidebar" | "fullscreen";
537
+ }
538
+ declare function CrowCopilot({ productId, apiUrl, subdomain, variant, title, agentName: agentNameProp, welcomeMessage: welcomeMessageProp, position, width, defaultOpen, showClose, onClose, styles: propStyles, previewMode, className, onReady, navigate, onToolResult, toolRenderers, getIdentityToken, context, language, contextLabel: contextLabelProp, forceOnboarding, fullscreenTopOffset: _fullscreenTopOffset, mode: _mode, }: CrowCopilotProps): react_jsx_runtime.JSX.Element;
539
+
540
+ interface CrowOnboardingProps {
541
+ /** Product ID */
542
+ productId: string;
543
+ /** API URL */
544
+ apiUrl: string;
545
+ /** Subdomain for multi-endpoint routing */
546
+ subdomain?: string;
547
+ /** Onboarding agent display name */
548
+ agentName: string;
549
+ /** Welcome message for the onboarding chat */
550
+ welcomeMessage?: string;
551
+ /** Lines shown with typewriter animation before chat begins */
552
+ introSequence?: string[];
553
+ /** Pixel offset from top (for customer nav bars) */
554
+ topOffset?: number;
555
+ /** Called when onboarding completes */
556
+ onComplete: () => void;
557
+ /** ISO 639-1 language code */
558
+ language?: string;
559
+ /** Pre-resolved styles to reuse from parent */
560
+ styles?: ResolvedWidgetStyles;
561
+ /** Identity token fetcher */
562
+ getIdentityToken?: () => Promise<string>;
508
563
  }
509
- declare function CrowCopilot({ productId, apiUrl, subdomain, variant, title, agentName: agentNameProp, welcomeMessage: welcomeMessageProp, position, width, defaultOpen, showClose, onClose, styles: propStyles, previewMode, className, onReady, navigate, onToolResult, toolRenderers, getIdentityToken, context, language, contextLabel: contextLabelProp, }: CrowCopilotProps): react_jsx_runtime.JSX.Element;
564
+ declare function CrowOnboarding({ productId, apiUrl, subdomain, agentName, welcomeMessage, introSequence, topOffset, onComplete, language, styles: preResolvedStyles, getIdentityToken, }: CrowOnboardingProps): react_jsx_runtime.JSX.Element;
510
565
 
511
566
  interface CrowProviderProps extends CrowClientConfig {
512
567
  children: React.ReactNode;
@@ -708,6 +763,10 @@ interface UseChatOptions {
708
763
  }>;
709
764
  /** ISO 639-1 language code (e.g., "es", "fr") — AI will respond in this language */
710
765
  language?: string;
766
+ /** Agent mode to send with chat requests (e.g., "onboarding") */
767
+ agentMode?: string;
768
+ /** Called when the onboarding_complete SSE event is received */
769
+ onOnboardingComplete?: (summary: string) => void;
711
770
  onVerificationStatus?: (isVerified: boolean) => void;
712
771
  onConversationId?: (id: string) => void;
713
772
  onWorkflowEvent?: (event: WorkflowEvent) => void;
@@ -715,7 +774,7 @@ interface UseChatOptions {
715
774
  onToolResult?: (toolName: string, result: Record<string, unknown>) => void;
716
775
  onRestoredConversation?: (conversationId: string) => void;
717
776
  }
718
- declare function useChat({ productId, apiUrl, persistAnonymousConversations, welcomeMessage, selectedModel: initialSelectedModel, subdomain, toolConsentSettings, language, onVerificationStatus, onConversationId, onWorkflowEvent, onToolCall, onToolResult, onRestoredConversation, }: UseChatOptions): {
777
+ declare function useChat({ productId, apiUrl, persistAnonymousConversations, welcomeMessage, selectedModel: initialSelectedModel, subdomain, toolConsentSettings, language, agentMode, onOnboardingComplete, onVerificationStatus, onConversationId, onWorkflowEvent, onToolCall, onToolResult, onRestoredConversation, }: UseChatOptions): {
719
778
  messages: Message[];
720
779
  isLoading: boolean;
721
780
  activeToolCalls: ToolCall[];
@@ -886,6 +945,14 @@ interface UseWidgetStylesResult {
886
945
  name: string;
887
946
  provider: "OpenAI" | "Anthropic";
888
947
  }>;
948
+ /** Whether onboarding is enabled for this product */
949
+ onboardingEnabled: boolean;
950
+ /** Onboarding agent name */
951
+ onboardingAgentName: string | undefined;
952
+ /** Onboarding welcome message */
953
+ onboardingWelcomeMessage: string | undefined;
954
+ /** Onboarding intro sequence lines */
955
+ onboardingIntroSequence: string[] | undefined;
889
956
  /** Refetch styles from API */
890
957
  refetch: () => Promise<void>;
891
958
  }
@@ -946,6 +1013,14 @@ interface UseCopilotStylesResult {
946
1013
  label: string;
947
1014
  message: string;
948
1015
  }>;
1016
+ /** Whether onboarding is enabled for this product */
1017
+ onboardingEnabled: boolean;
1018
+ /** Onboarding agent name */
1019
+ onboardingAgentName: string | undefined;
1020
+ /** Onboarding welcome message */
1021
+ onboardingWelcomeMessage: string | undefined;
1022
+ /** Onboarding intro sequence lines */
1023
+ onboardingIntroSequence: string[] | undefined;
949
1024
  /** Refetch styles from API */
950
1025
  refetch: () => Promise<void>;
951
1026
  }
@@ -1269,4 +1344,4 @@ interface CopilotContainerProps {
1269
1344
  }
1270
1345
  declare function CopilotContainer({ position, width: initialWidth, defaultOpen, children, }: CopilotContainerProps): react_jsx_runtime.JSX.Element;
1271
1346
 
1272
- export { AVAILABLE_MODELS, type ActiveWorkflow, type AnimationsConfig, CSS_VAR_NAMES, ChatBubble, type Citation, type ClientToolHandler, type CodeExecution, type ColorsConfig, type Conversation, ConversationList, type CopilotBrandingConfig, CopilotContainer, type CopilotDimensionsConfig, type CopilotPositionConfig, type CopilotStyleConfig, CopilotStyleProvider, CopilotToggleButton, CrowCopilot, type CrowCopilotProps, CrowProvider, CrowWidget, type CrowWidgetProps, DEFAULT_COPILOT_STYLES, DEFAULT_MODEL, DEFAULT_WELCOME_MESSAGE, DEFAULT_WIDGET_STYLES, type IdentifyData, type IdentifyFunction, type JourneyEvent, LoadingHistory, MESSAGES_CONTAINER_ID, type Message, MessageBubble, MessageList, MessagesContainer, type Model, ModelSelector, PoweredByBadge, PromptInputBox, ReasoningTrace, type ResolvedCopilotStyles, type ResolvedWidgetStyles, ShadowContainer, StreamingText, ThinkingIndicator, type ToolCall, type ToolHandler, type ToolRenderers, type ToolsMap, type TypographyConfig, WIDGET_CSS, type WidgetBrandingConfig, type WidgetBubbleConfig, type WidgetConfigResponse, type WidgetDimensionsConfig, WidgetHeader, type WidgetPositionConfig, type WidgetProps, type WidgetShadowsConfig, WidgetShell, type WidgetStyleConfig, WidgetStyleProvider, WorkflowPanel, type WorkflowTodo, clearStyleCache, getCssVar, injectStyles, mergeCopilotStyles, mergeWidgetStyles, stylesToCSSVariables, stylesToCssVars, useChat, useConversations, useCopilotStyleContext, useCopilotStyles$1 as useCopilotStyles, useCopilotStyles as useCopilotStylesContext, useCrowAPI, usePreviewCopilotStyles, usePreviewWidgetStyles, useVoiceInput, useWidgetStyleContext, useWidgetStyles$1 as useWidgetStyles, useWidgetStyles as useWidgetStylesContext, useWorkflow };
1347
+ export { AVAILABLE_MODELS, type ActiveWorkflow, type AnimationsConfig, CSS_VAR_NAMES, ChatBubble, type Citation, type ClientToolHandler, type CodeExecution, type ColorsConfig, type Conversation, ConversationList, type CopilotBrandingConfig, CopilotContainer, type CopilotDimensionsConfig, type CopilotPositionConfig, type CopilotStyleConfig, CopilotStyleProvider, CopilotToggleButton, CrowCopilot, type CrowCopilotProps, CrowOnboarding, type CrowOnboardingProps, CrowProvider, CrowWidget, type CrowWidgetProps, DEFAULT_COPILOT_STYLES, DEFAULT_MODEL, DEFAULT_WELCOME_MESSAGE, DEFAULT_WIDGET_STYLES, type IdentifyData, type IdentifyFunction, type JourneyEvent, LoadingHistory, MESSAGES_CONTAINER_ID, type Message, MessageBubble, MessageList, MessagesContainer, type Model, ModelSelector, PoweredByBadge, PromptInputBox, ReasoningTrace, type ResolvedCopilotStyles, type ResolvedWidgetStyles, ShadowContainer, StreamingText, ThinkingIndicator, type ToolCall, type ToolHandler, type ToolRenderers, type ToolsMap, type TypographyConfig, WIDGET_CSS, type WidgetBrandingConfig, type WidgetBubbleConfig, type WidgetConfigResponse, type WidgetDimensionsConfig, WidgetHeader, type WidgetPositionConfig, type WidgetProps, type WidgetShadowsConfig, WidgetShell, type WidgetStyleConfig, WidgetStyleProvider, WorkflowPanel, type WorkflowTodo, clearStyleCache, getCssVar, injectStyles, mergeCopilotStyles, mergeWidgetStyles, stylesToCSSVariables, stylesToCssVars, useChat, useConversations, useCopilotStyleContext, useCopilotStyles$1 as useCopilotStyles, useCopilotStyles as useCopilotStylesContext, useCrowAPI, usePreviewCopilotStyles, usePreviewWidgetStyles, useVoiceInput, useWidgetStyleContext, useWidgetStyles$1 as useWidgetStyles, useWidgetStyles as useWidgetStylesContext, useWorkflow };
package/dist/index.d.ts CHANGED
@@ -215,6 +215,14 @@ interface WidgetConfigResponse {
215
215
  name: string;
216
216
  provider: "OpenAI" | "Anthropic";
217
217
  }>;
218
+ /** Whether onboarding agent is enabled for this product */
219
+ onboardingEnabled?: boolean;
220
+ /** Custom name for the onboarding agent */
221
+ onboardingAgentName?: string;
222
+ /** Welcome message shown during onboarding */
223
+ onboardingWelcomeMessage?: string;
224
+ /** Intro sequence lines shown before onboarding chat */
225
+ onboardingIntroSequence?: string[];
218
226
  }
219
227
 
220
228
  /**
@@ -417,8 +425,17 @@ interface CrowWidgetProps {
417
425
  * is aware of. Prop takes priority over window.crow('setContextLabel', ...).
418
426
  */
419
427
  contextLabel?: string;
428
+ /**
429
+ * Force onboarding overlay regardless of resolve-agent result.
430
+ * Useful for testing.
431
+ */
432
+ forceOnboarding?: boolean;
433
+ /**
434
+ * Pixel offset from top for the onboarding fullscreen overlay (e.g., for nav bars).
435
+ */
436
+ fullscreenTopOffset?: number;
420
437
  }
421
- declare function CrowWidget({ productId, apiUrl, subdomain, variant, styles: propStyles, previewMode, showThinking: showThinkingProp, agentName: agentNameProp, welcomeMessage: welcomeMessageProp, onReady, onIdentify, tools, navigate, onToolResult, getIdentityToken, context, toolRenderers, language, customCss, contextLabel: contextLabelProp, }: CrowWidgetProps): react_jsx_runtime.JSX.Element;
438
+ declare function CrowWidget({ productId, apiUrl, subdomain, variant, styles: propStyles, previewMode, showThinking: showThinkingProp, agentName: agentNameProp, welcomeMessage: welcomeMessageProp, onReady, onIdentify, tools, navigate, onToolResult, getIdentityToken, context, toolRenderers, language, customCss, contextLabel: contextLabelProp, forceOnboarding, fullscreenTopOffset: _fullscreenTopOffset, }: CrowWidgetProps): react_jsx_runtime.JSX.Element;
422
439
 
423
440
  interface CrowCopilotProps {
424
441
  /** Product ID for this copilot */
@@ -505,8 +522,46 @@ interface CrowCopilotProps {
505
522
  * is aware of. Prop takes priority over window.crow('setContextLabel', ...).
506
523
  */
507
524
  contextLabel?: string;
525
+ /**
526
+ * Force onboarding overlay regardless of resolve-agent result.
527
+ */
528
+ forceOnboarding?: boolean;
529
+ /**
530
+ * Pixel offset from top for the onboarding fullscreen overlay.
531
+ */
532
+ fullscreenTopOffset?: number;
533
+ /**
534
+ * Display mode override (sidebar or fullscreen).
535
+ */
536
+ mode?: "sidebar" | "fullscreen";
537
+ }
538
+ declare function CrowCopilot({ productId, apiUrl, subdomain, variant, title, agentName: agentNameProp, welcomeMessage: welcomeMessageProp, position, width, defaultOpen, showClose, onClose, styles: propStyles, previewMode, className, onReady, navigate, onToolResult, toolRenderers, getIdentityToken, context, language, contextLabel: contextLabelProp, forceOnboarding, fullscreenTopOffset: _fullscreenTopOffset, mode: _mode, }: CrowCopilotProps): react_jsx_runtime.JSX.Element;
539
+
540
+ interface CrowOnboardingProps {
541
+ /** Product ID */
542
+ productId: string;
543
+ /** API URL */
544
+ apiUrl: string;
545
+ /** Subdomain for multi-endpoint routing */
546
+ subdomain?: string;
547
+ /** Onboarding agent display name */
548
+ agentName: string;
549
+ /** Welcome message for the onboarding chat */
550
+ welcomeMessage?: string;
551
+ /** Lines shown with typewriter animation before chat begins */
552
+ introSequence?: string[];
553
+ /** Pixel offset from top (for customer nav bars) */
554
+ topOffset?: number;
555
+ /** Called when onboarding completes */
556
+ onComplete: () => void;
557
+ /** ISO 639-1 language code */
558
+ language?: string;
559
+ /** Pre-resolved styles to reuse from parent */
560
+ styles?: ResolvedWidgetStyles;
561
+ /** Identity token fetcher */
562
+ getIdentityToken?: () => Promise<string>;
508
563
  }
509
- declare function CrowCopilot({ productId, apiUrl, subdomain, variant, title, agentName: agentNameProp, welcomeMessage: welcomeMessageProp, position, width, defaultOpen, showClose, onClose, styles: propStyles, previewMode, className, onReady, navigate, onToolResult, toolRenderers, getIdentityToken, context, language, contextLabel: contextLabelProp, }: CrowCopilotProps): react_jsx_runtime.JSX.Element;
564
+ declare function CrowOnboarding({ productId, apiUrl, subdomain, agentName, welcomeMessage, introSequence, topOffset, onComplete, language, styles: preResolvedStyles, getIdentityToken, }: CrowOnboardingProps): react_jsx_runtime.JSX.Element;
510
565
 
511
566
  interface CrowProviderProps extends CrowClientConfig {
512
567
  children: React.ReactNode;
@@ -708,6 +763,10 @@ interface UseChatOptions {
708
763
  }>;
709
764
  /** ISO 639-1 language code (e.g., "es", "fr") — AI will respond in this language */
710
765
  language?: string;
766
+ /** Agent mode to send with chat requests (e.g., "onboarding") */
767
+ agentMode?: string;
768
+ /** Called when the onboarding_complete SSE event is received */
769
+ onOnboardingComplete?: (summary: string) => void;
711
770
  onVerificationStatus?: (isVerified: boolean) => void;
712
771
  onConversationId?: (id: string) => void;
713
772
  onWorkflowEvent?: (event: WorkflowEvent) => void;
@@ -715,7 +774,7 @@ interface UseChatOptions {
715
774
  onToolResult?: (toolName: string, result: Record<string, unknown>) => void;
716
775
  onRestoredConversation?: (conversationId: string) => void;
717
776
  }
718
- declare function useChat({ productId, apiUrl, persistAnonymousConversations, welcomeMessage, selectedModel: initialSelectedModel, subdomain, toolConsentSettings, language, onVerificationStatus, onConversationId, onWorkflowEvent, onToolCall, onToolResult, onRestoredConversation, }: UseChatOptions): {
777
+ declare function useChat({ productId, apiUrl, persistAnonymousConversations, welcomeMessage, selectedModel: initialSelectedModel, subdomain, toolConsentSettings, language, agentMode, onOnboardingComplete, onVerificationStatus, onConversationId, onWorkflowEvent, onToolCall, onToolResult, onRestoredConversation, }: UseChatOptions): {
719
778
  messages: Message[];
720
779
  isLoading: boolean;
721
780
  activeToolCalls: ToolCall[];
@@ -886,6 +945,14 @@ interface UseWidgetStylesResult {
886
945
  name: string;
887
946
  provider: "OpenAI" | "Anthropic";
888
947
  }>;
948
+ /** Whether onboarding is enabled for this product */
949
+ onboardingEnabled: boolean;
950
+ /** Onboarding agent name */
951
+ onboardingAgentName: string | undefined;
952
+ /** Onboarding welcome message */
953
+ onboardingWelcomeMessage: string | undefined;
954
+ /** Onboarding intro sequence lines */
955
+ onboardingIntroSequence: string[] | undefined;
889
956
  /** Refetch styles from API */
890
957
  refetch: () => Promise<void>;
891
958
  }
@@ -946,6 +1013,14 @@ interface UseCopilotStylesResult {
946
1013
  label: string;
947
1014
  message: string;
948
1015
  }>;
1016
+ /** Whether onboarding is enabled for this product */
1017
+ onboardingEnabled: boolean;
1018
+ /** Onboarding agent name */
1019
+ onboardingAgentName: string | undefined;
1020
+ /** Onboarding welcome message */
1021
+ onboardingWelcomeMessage: string | undefined;
1022
+ /** Onboarding intro sequence lines */
1023
+ onboardingIntroSequence: string[] | undefined;
949
1024
  /** Refetch styles from API */
950
1025
  refetch: () => Promise<void>;
951
1026
  }
@@ -1269,4 +1344,4 @@ interface CopilotContainerProps {
1269
1344
  }
1270
1345
  declare function CopilotContainer({ position, width: initialWidth, defaultOpen, children, }: CopilotContainerProps): react_jsx_runtime.JSX.Element;
1271
1346
 
1272
- export { AVAILABLE_MODELS, type ActiveWorkflow, type AnimationsConfig, CSS_VAR_NAMES, ChatBubble, type Citation, type ClientToolHandler, type CodeExecution, type ColorsConfig, type Conversation, ConversationList, type CopilotBrandingConfig, CopilotContainer, type CopilotDimensionsConfig, type CopilotPositionConfig, type CopilotStyleConfig, CopilotStyleProvider, CopilotToggleButton, CrowCopilot, type CrowCopilotProps, CrowProvider, CrowWidget, type CrowWidgetProps, DEFAULT_COPILOT_STYLES, DEFAULT_MODEL, DEFAULT_WELCOME_MESSAGE, DEFAULT_WIDGET_STYLES, type IdentifyData, type IdentifyFunction, type JourneyEvent, LoadingHistory, MESSAGES_CONTAINER_ID, type Message, MessageBubble, MessageList, MessagesContainer, type Model, ModelSelector, PoweredByBadge, PromptInputBox, ReasoningTrace, type ResolvedCopilotStyles, type ResolvedWidgetStyles, ShadowContainer, StreamingText, ThinkingIndicator, type ToolCall, type ToolHandler, type ToolRenderers, type ToolsMap, type TypographyConfig, WIDGET_CSS, type WidgetBrandingConfig, type WidgetBubbleConfig, type WidgetConfigResponse, type WidgetDimensionsConfig, WidgetHeader, type WidgetPositionConfig, type WidgetProps, type WidgetShadowsConfig, WidgetShell, type WidgetStyleConfig, WidgetStyleProvider, WorkflowPanel, type WorkflowTodo, clearStyleCache, getCssVar, injectStyles, mergeCopilotStyles, mergeWidgetStyles, stylesToCSSVariables, stylesToCssVars, useChat, useConversations, useCopilotStyleContext, useCopilotStyles$1 as useCopilotStyles, useCopilotStyles as useCopilotStylesContext, useCrowAPI, usePreviewCopilotStyles, usePreviewWidgetStyles, useVoiceInput, useWidgetStyleContext, useWidgetStyles$1 as useWidgetStyles, useWidgetStyles as useWidgetStylesContext, useWorkflow };
1347
+ export { AVAILABLE_MODELS, type ActiveWorkflow, type AnimationsConfig, CSS_VAR_NAMES, ChatBubble, type Citation, type ClientToolHandler, type CodeExecution, type ColorsConfig, type Conversation, ConversationList, type CopilotBrandingConfig, CopilotContainer, type CopilotDimensionsConfig, type CopilotPositionConfig, type CopilotStyleConfig, CopilotStyleProvider, CopilotToggleButton, CrowCopilot, type CrowCopilotProps, CrowOnboarding, type CrowOnboardingProps, CrowProvider, CrowWidget, type CrowWidgetProps, DEFAULT_COPILOT_STYLES, DEFAULT_MODEL, DEFAULT_WELCOME_MESSAGE, DEFAULT_WIDGET_STYLES, type IdentifyData, type IdentifyFunction, type JourneyEvent, LoadingHistory, MESSAGES_CONTAINER_ID, type Message, MessageBubble, MessageList, MessagesContainer, type Model, ModelSelector, PoweredByBadge, PromptInputBox, ReasoningTrace, type ResolvedCopilotStyles, type ResolvedWidgetStyles, ShadowContainer, StreamingText, ThinkingIndicator, type ToolCall, type ToolHandler, type ToolRenderers, type ToolsMap, type TypographyConfig, WIDGET_CSS, type WidgetBrandingConfig, type WidgetBubbleConfig, type WidgetConfigResponse, type WidgetDimensionsConfig, WidgetHeader, type WidgetPositionConfig, type WidgetProps, type WidgetShadowsConfig, WidgetShell, type WidgetStyleConfig, WidgetStyleProvider, WorkflowPanel, type WorkflowTodo, clearStyleCache, getCssVar, injectStyles, mergeCopilotStyles, mergeWidgetStyles, stylesToCSSVariables, stylesToCssVars, useChat, useConversations, useCopilotStyleContext, useCopilotStyles$1 as useCopilotStyles, useCopilotStyles as useCopilotStylesContext, useCrowAPI, usePreviewCopilotStyles, usePreviewWidgetStyles, useVoiceInput, useWidgetStyleContext, useWidgetStyles$1 as useWidgetStyles, useWidgetStyles as useWidgetStylesContext, useWorkflow };