@retrivora-ai/rag-engine 2.5.2 → 2.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,9 +1,8 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { C as ChatWidgetProps, a as ChatWindowProps, D as DocumentUploadProps, M as MessageBubbleProps, S as SourceCardProps, b as ConfigProviderProps, c as ClientConfig, P as ProductCardProps, d as ProductCarouselProps, e as ChatViewportSize, R as RemoteConfig } from './BatchProcessor-OVOIlNfK.mjs';
3
- export { A as AuthenticationException, B as BatchOptions, f as BatchProcessor, g as BatchResult, h as ChartType, i as Chunk, j as ChunkOptions, k as CircuitBreaker, l as CircuitBreakerOptions, m as ConfigFetcher, n as ConfigurationException, o as DecisionContext, E as EmbeddingFailedException, I as IRenderRule, p as IRendererStrategy, q as IntentCategory, L as LicenseTierConfig, r as LicenseValidationError, s as LicenseValidationRequest, t as LicenseValidationResponse, u as LicenseValidator, v as ProviderCredentials, w as ProviderNotFoundException, x as RateLimitException, y as RemoteEmbeddingConfig, z as RemoteLLMConfig, F as RemoteVectorConfig, G as RenderDecision, H as RenderType, J as RetrievalException, K as Retrivora, N as RetrivoraError, O as RetrivoraErrorCode, Q as SDKVersionUnsupportedError, T as SDK_VERSION, U as isTransientError } from './BatchProcessor-OVOIlNfK.mjs';
4
- import { O as ObservabilityTrace, P as Product, U as UITransformationResponse, a as UseRagChatOptions, b as UseRagChatReturn, c as ProjectChatSettings } from './ILLMProvider-BynaFBpy.mjs';
5
- export { A as AuthMode, C as ChatMessage, d as ChatOptions, e as ChatResponse, E as EmbedOptions, f as EmbeddingConfig, g as EmbeddingProvider, I as ILLMProvider, h as IngestDocument, L as LLMConfig, i as LLMProvider, j as LatencyBreakdown, k as ProjectAiSettings, l as ProjectAuthSettings, m as ProjectBrandingSettings, n as ProjectTelemetrySettings, o as ProjectWidgetSettings, R as RAGConfig, p as RagConfig, q as RagMessage, r as RetrievalConfig, s as RetrievedChunk, T as ThemeMode, t as TokenUsage, u as UIConfig, v as UniversalRagConfig, w as UpsertDocument, V as VectorDBConfig, x as VectorDBProvider, y as VectorMatch, W as WidgetPosition, z as WorkflowConfig, B as createDefaultProjectSettings, D as normalizeProjectSettings, F as projectSettingsToUiConfig } from './ILLMProvider-BynaFBpy.mjs';
6
1
  import React from 'react';
2
+ import { C as ChatWidgetProps, a as ChatWindowProps, D as DocumentUploadProps, M as MessageBubbleProps, S as SourceCardProps, b as ConfigProviderProps, c as ClientConfig, P as ProductCardProps, d as ProductCarouselProps, e as ChatViewportSize, R as RemoteConfig } from './index-Dex_gQ3P.mjs';
3
+ export { A as AuthenticationException, B as BatchOptions, f as BatchProcessor, g as BatchResult, h as ChartType, i as Chunk, j as ChunkOptions, k as CircuitBreaker, l as CircuitBreakerOptions, m as ConfigFetcher, n as ConfigurationException, o as DecisionContext, E as EmbeddingFailedException, I as IRenderRule, p as IRendererStrategy, q as IntentCategory, L as LicenseTierConfig, r as LicenseValidationError, s as LicenseValidationRequest, t as LicenseValidationResponse, u as LicenseValidator, v as ProviderCredentials, w as ProviderNotFoundException, x as RateLimitException, y as RemoteEmbeddingConfig, z as RemoteLLMConfig, F as RemoteVectorConfig, G as RenderDecision, H as RenderType, J as RetrievalException, K as Retrivora, N as RetrivoraError, O as RetrivoraErrorCode, Q as SDKVersionUnsupportedError, T as SDK_VERSION, U as isTransientError } from './index-Dex_gQ3P.mjs';
4
+ import { O as ObservabilityTrace, P as Product, U as UITransformationResponse, a as UseRagChatOptions, b as UseRagChatReturn, c as ProjectChatSettings } from './ILLMProvider-DO5gj-e5.mjs';
5
+ export { A as AuthMode, C as ChatMessage, d as ChatOptions, e as ChatResponse, E as EmbedOptions, f as EmbeddingConfig, g as EmbeddingProvider, I as ILLMProvider, h as IngestDocument, L as LLMConfig, i as LLMProvider, j as LatencyBreakdown, k as ProjectAiSettings, l as ProjectAuthSettings, m as ProjectBrandingSettings, n as ProjectTelemetrySettings, o as ProjectWidgetSettings, R as RAGConfig, p as RagConfig, q as RagMessage, r as RetrievalConfig, s as RetrievedChunk, T as ThemeMode, t as TokenUsage, u as UIConfig, v as UniversalRagConfig, w as UpsertDocument, V as VectorDBConfig, x as VectorDBProvider, y as VectorMatch, W as WidgetPosition, z as WorkflowConfig, B as createDefaultProjectSettings, D as normalizeProjectSettings, F as projectSettingsToUiConfig } from './ILLMProvider-DO5gj-e5.mjs';
7
6
 
8
7
  /**
9
8
  * ChatWidget — Floating Action Button (FAB) that toggles the chat window.
@@ -23,7 +22,20 @@ import React from 'react';
23
22
  *
24
23
  * @param props - Widget position, callbacks, API overrides, and license overrides
25
24
  */
26
- declare function ChatWidget({ position, onAddToCart, apiUrl, retrivoraApiBase, licenseKey: licenseKeyProp, headers }: ChatWidgetProps): react_jsx_runtime.JSX.Element | null;
25
+ declare function ChatWidget({ position, onAddToCart, apiUrl, retrivoraApiBase, licenseKey: licenseKeyProp, headers }: ChatWidgetProps): React.JSX.Element | null;
26
+
27
+ /**
28
+ * ChatWindow — The primary chat interface container component.
29
+ *
30
+ * Renders a fully functional chat experience including:
31
+ * - Header with branding, online indicator, and window controls (clear/resize/maximize/close)
32
+ * - Scrollable message area with SSE-streamed assistant replies, sources, and welcome state
33
+ * - Input area with textarea, voice input, document upload, auto-suggestions, and send controls
34
+ * - Mandatory license validation on mount (shows a blocking error overlay if invalid / terminated)
35
+ *
36
+ * All chat-send-side inputs (textarea, voice, upload, suggestion chips, send button) are
37
+ * automatically disabled when the license validation fails or SDK version is unsupported.
38
+ */
27
39
 
28
40
  /**
29
41
  * ChatWindow component.
@@ -43,21 +55,28 @@ declare function ChatWidget({ position, onAddToCart, apiUrl, retrivoraApiBase, l
43
55
  * @param licenseKey - Override license key (highest priority; falls back to headers/env).
44
56
  * @param headers - Custom headers forwarded with every network request.
45
57
  */
46
- declare function ChatWindow({ className, style, onClose, showClose, onResizeStart, onResetResize, isResized, onMaximize, isMaximized, onAddToCart, apiUrl, retrivoraApiBase, licenseKey: licenseKeyProp, headers, sessionId: sessionIdProp, showHistory, }: ChatWindowProps): react_jsx_runtime.JSX.Element;
58
+ declare function ChatWindow({ className, style, onClose, showClose, onResizeStart, onResetResize, isResized, onMaximize, isMaximized, onAddToCart, apiUrl, retrivoraApiBase, licenseKey: licenseKeyProp, headers, sessionId: sessionIdProp, showHistory, }: ChatWindowProps): React.JSX.Element;
47
59
 
48
- declare function DocumentUpload({ namespace, uploadUrl, retrivoraApiBase, onUploadComplete, className }: DocumentUploadProps): react_jsx_runtime.JSX.Element;
60
+ declare function DocumentUpload({ namespace, uploadUrl, retrivoraApiBase, onUploadComplete, className }: DocumentUploadProps): React.JSX.Element;
49
61
 
50
- declare function MessageBubble({ message, sources, isStreaming, primaryColor, accentColor, onAddToCart, viewportSize, showSources: showSourcesProp, onFeedback, }: MessageBubbleProps): react_jsx_runtime.JSX.Element;
62
+ declare function MessageBubble({ message, sources, isStreaming, primaryColor, accentColor, onAddToCart, viewportSize, showSources: showSourcesProp, onFeedback, }: MessageBubbleProps): React.JSX.Element;
51
63
 
52
- declare function SourceCard({ source, index }: SourceCardProps): react_jsx_runtime.JSX.Element;
64
+ declare function SourceCard({ source, index }: SourceCardProps): React.JSX.Element;
53
65
 
54
66
  interface ObservabilityPanelProps {
55
67
  trace: ObservabilityTrace;
56
68
  primaryColor?: string;
57
69
  }
58
- declare function ObservabilityPanel({ trace, primaryColor }: ObservabilityPanelProps): react_jsx_runtime.JSX.Element;
70
+ declare function ObservabilityPanel({ trace, primaryColor }: ObservabilityPanelProps): React.JSX.Element;
71
+
72
+ /**
73
+ * ConfigProvider — React Context that makes RagConfig (UI subset) available
74
+ * to all child components without prop drilling.
75
+ *
76
+ * Only the UI-safe portions of RagConfig are exposed to the client.
77
+ */
59
78
 
60
- declare function ConfigProvider({ config, children, }: ConfigProviderProps): react_jsx_runtime.JSX.Element;
79
+ declare function ConfigProvider({ config, children, }: ConfigProviderProps): React.JSX.Element;
61
80
  declare function useConfig(): ClientConfig;
62
81
 
63
82
  interface Snippet {
@@ -70,11 +89,11 @@ interface Snippet {
70
89
 
71
90
  declare function CodeViewer({ snippet }: {
72
91
  snippet: Snippet;
73
- }): react_jsx_runtime.JSX.Element;
92
+ }): React.JSX.Element;
74
93
 
75
- declare function ProductCard({ product, primaryColor, onAddToCart }: ProductCardProps): react_jsx_runtime.JSX.Element;
94
+ declare function ProductCard({ product, primaryColor, onAddToCart }: ProductCardProps): React.JSX.Element;
76
95
 
77
- declare function ProductCarousel({ products, primaryColor, onAddToCart }: ProductCarouselProps): react_jsx_runtime.JSX.Element | null;
96
+ declare function ProductCarousel({ products, primaryColor, onAddToCart }: ProductCarouselProps): React.JSX.Element | null;
78
97
 
79
98
  declare function UIDispatcher({ rawContent, primaryColor, accentColor, isStreaming, onAddToCart, viewportSize }: {
80
99
  rawContent: string;
@@ -83,7 +102,7 @@ declare function UIDispatcher({ rawContent, primaryColor, accentColor, isStreami
83
102
  isStreaming?: boolean;
84
103
  onAddToCart?: (product: Product) => void;
85
104
  viewportSize?: ChatViewportSize;
86
- }): react_jsx_runtime.JSX.Element | null;
105
+ }): React.JSX.Element | null;
87
106
 
88
107
  interface VisualizationRendererProps {
89
108
  data: UITransformationResponse;
@@ -105,7 +124,7 @@ interface VisualizationRendererProps {
105
124
  * const transformation = await UITransformer.analyzeAndDecide(query, sources, llm);
106
125
  * return <VisualizationRenderer data={transformation} />;
107
126
  */
108
- declare function VisualizationRenderer({ data, className, primaryColor, onAddToCart, isStreaming, }: VisualizationRendererProps): react_jsx_runtime.JSX.Element;
127
+ declare function VisualizationRenderer({ data, className, primaryColor, onAddToCart, isStreaming, }: VisualizationRendererProps): React.JSX.Element;
109
128
 
110
129
  interface UIBlock {
111
130
  view: 'carousel' | 'table' | 'chart' | 'form' | 'actions' | string;
@@ -142,7 +161,7 @@ interface UIBlockRendererProps {
142
161
  onFormSubmit?: (formData: Record<string, any>) => void | Promise<void>;
143
162
  isStreaming?: boolean;
144
163
  }
145
- declare function UIBlockRenderer({ block, customRenderers, primaryColor, accentColor, onAddToCart, onActionTriggered, onFormSubmit, isStreaming, }: UIBlockRendererProps): react_jsx_runtime.JSX.Element | null;
164
+ declare function UIBlockRenderer({ block, customRenderers, primaryColor, accentColor, onAddToCart, onActionTriggered, onFormSubmit, isStreaming, }: UIBlockRendererProps): React.JSX.Element | null;
146
165
 
147
166
  declare function useRagChat(projectId: string, options?: UseRagChatOptions): UseRagChatReturn;
148
167
 
package/dist/index.d.ts CHANGED
@@ -1,9 +1,8 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { C as ChatWidgetProps, a as ChatWindowProps, D as DocumentUploadProps, M as MessageBubbleProps, S as SourceCardProps, b as ConfigProviderProps, c as ClientConfig, P as ProductCardProps, d as ProductCarouselProps, e as ChatViewportSize, R as RemoteConfig } from './BatchProcessor-B8OLSahY.js';
3
- export { A as AuthenticationException, B as BatchOptions, f as BatchProcessor, g as BatchResult, h as ChartType, i as Chunk, j as ChunkOptions, k as CircuitBreaker, l as CircuitBreakerOptions, m as ConfigFetcher, n as ConfigurationException, o as DecisionContext, E as EmbeddingFailedException, I as IRenderRule, p as IRendererStrategy, q as IntentCategory, L as LicenseTierConfig, r as LicenseValidationError, s as LicenseValidationRequest, t as LicenseValidationResponse, u as LicenseValidator, v as ProviderCredentials, w as ProviderNotFoundException, x as RateLimitException, y as RemoteEmbeddingConfig, z as RemoteLLMConfig, F as RemoteVectorConfig, G as RenderDecision, H as RenderType, J as RetrievalException, K as Retrivora, N as RetrivoraError, O as RetrivoraErrorCode, Q as SDKVersionUnsupportedError, T as SDK_VERSION, U as isTransientError } from './BatchProcessor-B8OLSahY.js';
4
- import { O as ObservabilityTrace, P as Product, U as UITransformationResponse, a as UseRagChatOptions, b as UseRagChatReturn, c as ProjectChatSettings } from './ILLMProvider-BynaFBpy.js';
5
- export { A as AuthMode, C as ChatMessage, d as ChatOptions, e as ChatResponse, E as EmbedOptions, f as EmbeddingConfig, g as EmbeddingProvider, I as ILLMProvider, h as IngestDocument, L as LLMConfig, i as LLMProvider, j as LatencyBreakdown, k as ProjectAiSettings, l as ProjectAuthSettings, m as ProjectBrandingSettings, n as ProjectTelemetrySettings, o as ProjectWidgetSettings, R as RAGConfig, p as RagConfig, q as RagMessage, r as RetrievalConfig, s as RetrievedChunk, T as ThemeMode, t as TokenUsage, u as UIConfig, v as UniversalRagConfig, w as UpsertDocument, V as VectorDBConfig, x as VectorDBProvider, y as VectorMatch, W as WidgetPosition, z as WorkflowConfig, B as createDefaultProjectSettings, D as normalizeProjectSettings, F as projectSettingsToUiConfig } from './ILLMProvider-BynaFBpy.js';
6
1
  import React from 'react';
2
+ import { C as ChatWidgetProps, a as ChatWindowProps, D as DocumentUploadProps, M as MessageBubbleProps, S as SourceCardProps, b as ConfigProviderProps, c as ClientConfig, P as ProductCardProps, d as ProductCarouselProps, e as ChatViewportSize, R as RemoteConfig } from './index--RhMcXrt.js';
3
+ export { A as AuthenticationException, B as BatchOptions, f as BatchProcessor, g as BatchResult, h as ChartType, i as Chunk, j as ChunkOptions, k as CircuitBreaker, l as CircuitBreakerOptions, m as ConfigFetcher, n as ConfigurationException, o as DecisionContext, E as EmbeddingFailedException, I as IRenderRule, p as IRendererStrategy, q as IntentCategory, L as LicenseTierConfig, r as LicenseValidationError, s as LicenseValidationRequest, t as LicenseValidationResponse, u as LicenseValidator, v as ProviderCredentials, w as ProviderNotFoundException, x as RateLimitException, y as RemoteEmbeddingConfig, z as RemoteLLMConfig, F as RemoteVectorConfig, G as RenderDecision, H as RenderType, J as RetrievalException, K as Retrivora, N as RetrivoraError, O as RetrivoraErrorCode, Q as SDKVersionUnsupportedError, T as SDK_VERSION, U as isTransientError } from './index--RhMcXrt.js';
4
+ import { O as ObservabilityTrace, P as Product, U as UITransformationResponse, a as UseRagChatOptions, b as UseRagChatReturn, c as ProjectChatSettings } from './ILLMProvider-DO5gj-e5.js';
5
+ export { A as AuthMode, C as ChatMessage, d as ChatOptions, e as ChatResponse, E as EmbedOptions, f as EmbeddingConfig, g as EmbeddingProvider, I as ILLMProvider, h as IngestDocument, L as LLMConfig, i as LLMProvider, j as LatencyBreakdown, k as ProjectAiSettings, l as ProjectAuthSettings, m as ProjectBrandingSettings, n as ProjectTelemetrySettings, o as ProjectWidgetSettings, R as RAGConfig, p as RagConfig, q as RagMessage, r as RetrievalConfig, s as RetrievedChunk, T as ThemeMode, t as TokenUsage, u as UIConfig, v as UniversalRagConfig, w as UpsertDocument, V as VectorDBConfig, x as VectorDBProvider, y as VectorMatch, W as WidgetPosition, z as WorkflowConfig, B as createDefaultProjectSettings, D as normalizeProjectSettings, F as projectSettingsToUiConfig } from './ILLMProvider-DO5gj-e5.js';
7
6
 
8
7
  /**
9
8
  * ChatWidget — Floating Action Button (FAB) that toggles the chat window.
@@ -23,7 +22,20 @@ import React from 'react';
23
22
  *
24
23
  * @param props - Widget position, callbacks, API overrides, and license overrides
25
24
  */
26
- declare function ChatWidget({ position, onAddToCart, apiUrl, retrivoraApiBase, licenseKey: licenseKeyProp, headers }: ChatWidgetProps): react_jsx_runtime.JSX.Element | null;
25
+ declare function ChatWidget({ position, onAddToCart, apiUrl, retrivoraApiBase, licenseKey: licenseKeyProp, headers }: ChatWidgetProps): React.JSX.Element | null;
26
+
27
+ /**
28
+ * ChatWindow — The primary chat interface container component.
29
+ *
30
+ * Renders a fully functional chat experience including:
31
+ * - Header with branding, online indicator, and window controls (clear/resize/maximize/close)
32
+ * - Scrollable message area with SSE-streamed assistant replies, sources, and welcome state
33
+ * - Input area with textarea, voice input, document upload, auto-suggestions, and send controls
34
+ * - Mandatory license validation on mount (shows a blocking error overlay if invalid / terminated)
35
+ *
36
+ * All chat-send-side inputs (textarea, voice, upload, suggestion chips, send button) are
37
+ * automatically disabled when the license validation fails or SDK version is unsupported.
38
+ */
27
39
 
28
40
  /**
29
41
  * ChatWindow component.
@@ -43,21 +55,28 @@ declare function ChatWidget({ position, onAddToCart, apiUrl, retrivoraApiBase, l
43
55
  * @param licenseKey - Override license key (highest priority; falls back to headers/env).
44
56
  * @param headers - Custom headers forwarded with every network request.
45
57
  */
46
- declare function ChatWindow({ className, style, onClose, showClose, onResizeStart, onResetResize, isResized, onMaximize, isMaximized, onAddToCart, apiUrl, retrivoraApiBase, licenseKey: licenseKeyProp, headers, sessionId: sessionIdProp, showHistory, }: ChatWindowProps): react_jsx_runtime.JSX.Element;
58
+ declare function ChatWindow({ className, style, onClose, showClose, onResizeStart, onResetResize, isResized, onMaximize, isMaximized, onAddToCart, apiUrl, retrivoraApiBase, licenseKey: licenseKeyProp, headers, sessionId: sessionIdProp, showHistory, }: ChatWindowProps): React.JSX.Element;
47
59
 
48
- declare function DocumentUpload({ namespace, uploadUrl, retrivoraApiBase, onUploadComplete, className }: DocumentUploadProps): react_jsx_runtime.JSX.Element;
60
+ declare function DocumentUpload({ namespace, uploadUrl, retrivoraApiBase, onUploadComplete, className }: DocumentUploadProps): React.JSX.Element;
49
61
 
50
- declare function MessageBubble({ message, sources, isStreaming, primaryColor, accentColor, onAddToCart, viewportSize, showSources: showSourcesProp, onFeedback, }: MessageBubbleProps): react_jsx_runtime.JSX.Element;
62
+ declare function MessageBubble({ message, sources, isStreaming, primaryColor, accentColor, onAddToCart, viewportSize, showSources: showSourcesProp, onFeedback, }: MessageBubbleProps): React.JSX.Element;
51
63
 
52
- declare function SourceCard({ source, index }: SourceCardProps): react_jsx_runtime.JSX.Element;
64
+ declare function SourceCard({ source, index }: SourceCardProps): React.JSX.Element;
53
65
 
54
66
  interface ObservabilityPanelProps {
55
67
  trace: ObservabilityTrace;
56
68
  primaryColor?: string;
57
69
  }
58
- declare function ObservabilityPanel({ trace, primaryColor }: ObservabilityPanelProps): react_jsx_runtime.JSX.Element;
70
+ declare function ObservabilityPanel({ trace, primaryColor }: ObservabilityPanelProps): React.JSX.Element;
71
+
72
+ /**
73
+ * ConfigProvider — React Context that makes RagConfig (UI subset) available
74
+ * to all child components without prop drilling.
75
+ *
76
+ * Only the UI-safe portions of RagConfig are exposed to the client.
77
+ */
59
78
 
60
- declare function ConfigProvider({ config, children, }: ConfigProviderProps): react_jsx_runtime.JSX.Element;
79
+ declare function ConfigProvider({ config, children, }: ConfigProviderProps): React.JSX.Element;
61
80
  declare function useConfig(): ClientConfig;
62
81
 
63
82
  interface Snippet {
@@ -70,11 +89,11 @@ interface Snippet {
70
89
 
71
90
  declare function CodeViewer({ snippet }: {
72
91
  snippet: Snippet;
73
- }): react_jsx_runtime.JSX.Element;
92
+ }): React.JSX.Element;
74
93
 
75
- declare function ProductCard({ product, primaryColor, onAddToCart }: ProductCardProps): react_jsx_runtime.JSX.Element;
94
+ declare function ProductCard({ product, primaryColor, onAddToCart }: ProductCardProps): React.JSX.Element;
76
95
 
77
- declare function ProductCarousel({ products, primaryColor, onAddToCart }: ProductCarouselProps): react_jsx_runtime.JSX.Element | null;
96
+ declare function ProductCarousel({ products, primaryColor, onAddToCart }: ProductCarouselProps): React.JSX.Element | null;
78
97
 
79
98
  declare function UIDispatcher({ rawContent, primaryColor, accentColor, isStreaming, onAddToCart, viewportSize }: {
80
99
  rawContent: string;
@@ -83,7 +102,7 @@ declare function UIDispatcher({ rawContent, primaryColor, accentColor, isStreami
83
102
  isStreaming?: boolean;
84
103
  onAddToCart?: (product: Product) => void;
85
104
  viewportSize?: ChatViewportSize;
86
- }): react_jsx_runtime.JSX.Element | null;
105
+ }): React.JSX.Element | null;
87
106
 
88
107
  interface VisualizationRendererProps {
89
108
  data: UITransformationResponse;
@@ -105,7 +124,7 @@ interface VisualizationRendererProps {
105
124
  * const transformation = await UITransformer.analyzeAndDecide(query, sources, llm);
106
125
  * return <VisualizationRenderer data={transformation} />;
107
126
  */
108
- declare function VisualizationRenderer({ data, className, primaryColor, onAddToCart, isStreaming, }: VisualizationRendererProps): react_jsx_runtime.JSX.Element;
127
+ declare function VisualizationRenderer({ data, className, primaryColor, onAddToCart, isStreaming, }: VisualizationRendererProps): React.JSX.Element;
109
128
 
110
129
  interface UIBlock {
111
130
  view: 'carousel' | 'table' | 'chart' | 'form' | 'actions' | string;
@@ -142,7 +161,7 @@ interface UIBlockRendererProps {
142
161
  onFormSubmit?: (formData: Record<string, any>) => void | Promise<void>;
143
162
  isStreaming?: boolean;
144
163
  }
145
- declare function UIBlockRenderer({ block, customRenderers, primaryColor, accentColor, onAddToCart, onActionTriggered, onFormSubmit, isStreaming, }: UIBlockRendererProps): react_jsx_runtime.JSX.Element | null;
164
+ declare function UIBlockRenderer({ block, customRenderers, primaryColor, accentColor, onAddToCart, onActionTriggered, onFormSubmit, isStreaming, }: UIBlockRendererProps): React.JSX.Element | null;
146
165
 
147
166
  declare function useRagChat(projectId: string, options?: UseRagChatOptions): UseRagChatReturn;
148
167