@gengage/assistant-fe 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. package/LICENSE +61 -0
  2. package/README.md +232 -0
  3. package/dist/assistant-fe.css +1 -0
  4. package/dist/chat/api.d.ts +87 -0
  5. package/dist/chat/api.d.ts.map +1 -0
  6. package/dist/chat/attachment-utils.d.ts +10 -0
  7. package/dist/chat/attachment-utils.d.ts.map +1 -0
  8. package/dist/chat/catalog.d.ts +1114 -0
  9. package/dist/chat/catalog.d.ts.map +1 -0
  10. package/dist/chat/components/AIGroupingCards.d.ts +4 -0
  11. package/dist/chat/components/AIGroupingCards.d.ts.map +1 -0
  12. package/dist/chat/components/AISuggestedSearchCards.d.ts +4 -0
  13. package/dist/chat/components/AISuggestedSearchCards.d.ts.map +1 -0
  14. package/dist/chat/components/AITopPicks.d.ts +4 -0
  15. package/dist/chat/components/AITopPicks.d.ts.map +1 -0
  16. package/dist/chat/components/CategoriesContainer.d.ts +4 -0
  17. package/dist/chat/components/CategoriesContainer.d.ts.map +1 -0
  18. package/dist/chat/components/ChatDrawer.d.ts +140 -0
  19. package/dist/chat/components/ChatDrawer.d.ts.map +1 -0
  20. package/dist/chat/components/ChoicePrompter.d.ts +16 -0
  21. package/dist/chat/components/ChoicePrompter.d.ts.map +1 -0
  22. package/dist/chat/components/ComparisonTable.d.ts +47 -0
  23. package/dist/chat/components/ComparisonTable.d.ts.map +1 -0
  24. package/dist/chat/components/FloatingComparisonButton.d.ts +11 -0
  25. package/dist/chat/components/FloatingComparisonButton.d.ts.map +1 -0
  26. package/dist/chat/components/GroundingReviewCard.d.ts +4 -0
  27. package/dist/chat/components/GroundingReviewCard.d.ts.map +1 -0
  28. package/dist/chat/components/KvkkBanner.d.ts +6 -0
  29. package/dist/chat/components/KvkkBanner.d.ts.map +1 -0
  30. package/dist/chat/components/Launcher.d.ts +25 -0
  31. package/dist/chat/components/Launcher.d.ts.map +1 -0
  32. package/dist/chat/components/PanelTopBar.d.ts +20 -0
  33. package/dist/chat/components/PanelTopBar.d.ts.map +1 -0
  34. package/dist/chat/components/ProactivePopup.d.ts +11 -0
  35. package/dist/chat/components/ProactivePopup.d.ts.map +1 -0
  36. package/dist/chat/components/ProsAndCons.d.ts +9 -0
  37. package/dist/chat/components/ProsAndCons.d.ts.map +1 -0
  38. package/dist/chat/components/ReviewHighlights.d.ts +3 -0
  39. package/dist/chat/components/ReviewHighlights.d.ts.map +1 -0
  40. package/dist/chat/components/ThumbnailsColumn.d.ts +23 -0
  41. package/dist/chat/components/ThumbnailsColumn.d.ts.map +1 -0
  42. package/dist/chat/components/actionClassifier.d.ts +13 -0
  43. package/dist/chat/components/actionClassifier.d.ts.map +1 -0
  44. package/dist/chat/components/productMentionLinker.d.ts +26 -0
  45. package/dist/chat/components/productMentionLinker.d.ts.map +1 -0
  46. package/dist/chat/components/renderUISpec.d.ts +15 -0
  47. package/dist/chat/components/renderUISpec.d.ts.map +1 -0
  48. package/dist/chat/components/typewriter.d.ts +25 -0
  49. package/dist/chat/components/typewriter.d.ts.map +1 -0
  50. package/dist/chat/extendedModeManager.d.ts +33 -0
  51. package/dist/chat/extendedModeManager.d.ts.map +1 -0
  52. package/dist/chat/index.d.ts +192 -0
  53. package/dist/chat/index.d.ts.map +1 -0
  54. package/dist/chat/locales/en.d.ts +3 -0
  55. package/dist/chat/locales/en.d.ts.map +1 -0
  56. package/dist/chat/locales/index.d.ts +6 -0
  57. package/dist/chat/locales/index.d.ts.map +1 -0
  58. package/dist/chat/locales/tr.d.ts +3 -0
  59. package/dist/chat/locales/tr.d.ts.map +1 -0
  60. package/dist/chat/types.d.ts +212 -0
  61. package/dist/chat/types.d.ts.map +1 -0
  62. package/dist/chat.cjs +2 -0
  63. package/dist/chat.cjs.map +1 -0
  64. package/dist/chat.iife.js +59 -0
  65. package/dist/chat.iife.js.map +1 -0
  66. package/dist/chat.js +11 -0
  67. package/dist/chat.js.map +1 -0
  68. package/dist/common/action-router.d.ts +30 -0
  69. package/dist/common/action-router.d.ts.map +1 -0
  70. package/dist/common/activity-tracker.d.ts +38 -0
  71. package/dist/common/activity-tracker.d.ts.map +1 -0
  72. package/dist/common/analytics-events.d.ts +90 -0
  73. package/dist/common/analytics-events.d.ts.map +1 -0
  74. package/dist/common/analytics.d.ts +58 -0
  75. package/dist/common/analytics.d.ts.map +1 -0
  76. package/dist/common/api-paths.d.ts +14 -0
  77. package/dist/common/api-paths.d.ts.map +1 -0
  78. package/dist/common/client.d.ts +20 -0
  79. package/dist/common/client.d.ts.map +1 -0
  80. package/dist/common/communication-bridge.d.ts +51 -0
  81. package/dist/common/communication-bridge.d.ts.map +1 -0
  82. package/dist/common/config-schema.d.ts +241 -0
  83. package/dist/common/config-schema.d.ts.map +1 -0
  84. package/dist/common/context.d.ts +28 -0
  85. package/dist/common/context.d.ts.map +1 -0
  86. package/dist/common/customization-factories.d.ts +63 -0
  87. package/dist/common/customization-factories.d.ts.map +1 -0
  88. package/dist/common/events.d.ts +47 -0
  89. package/dist/common/events.d.ts.map +1 -0
  90. package/dist/common/global-error-toast.d.ts +6 -0
  91. package/dist/common/global-error-toast.d.ts.map +1 -0
  92. package/dist/common/index.d.ts +36 -0
  93. package/dist/common/index.d.ts.map +1 -0
  94. package/dist/common/indexed-db.d.ts +74 -0
  95. package/dist/common/indexed-db.d.ts.map +1 -0
  96. package/dist/common/overlay.d.ts +64 -0
  97. package/dist/common/overlay.d.ts.map +1 -0
  98. package/dist/common/preflight.d.ts +12 -0
  99. package/dist/common/preflight.d.ts.map +1 -0
  100. package/dist/common/renderer/dom.d.ts +4 -0
  101. package/dist/common/renderer/dom.d.ts.map +1 -0
  102. package/dist/common/renderer/index.d.ts +5 -0
  103. package/dist/common/renderer/index.d.ts.map +1 -0
  104. package/dist/common/renderer/overrides.d.ts +24 -0
  105. package/dist/common/renderer/overrides.d.ts.map +1 -0
  106. package/dist/common/renderer/registry.d.ts +3 -0
  107. package/dist/common/renderer/registry.d.ts.map +1 -0
  108. package/dist/common/renderer/types.d.ts +20 -0
  109. package/dist/common/renderer/types.d.ts.map +1 -0
  110. package/dist/common/safe-html.d.ts +19 -0
  111. package/dist/common/safe-html.d.ts.map +1 -0
  112. package/dist/common/streaming.d.ts +32 -0
  113. package/dist/common/streaming.d.ts.map +1 -0
  114. package/dist/common/theme-utils.d.ts +16 -0
  115. package/dist/common/theme-utils.d.ts.map +1 -0
  116. package/dist/common/types.d.ts +298 -0
  117. package/dist/common/types.d.ts.map +1 -0
  118. package/dist/common/ui-theme.d.ts +10 -0
  119. package/dist/common/ui-theme.d.ts.map +1 -0
  120. package/dist/common/uuidv7.d.ts +8 -0
  121. package/dist/common/uuidv7.d.ts.map +1 -0
  122. package/dist/common/v1-protocol-adapter.d.ts +66 -0
  123. package/dist/common/v1-protocol-adapter.d.ts.map +1 -0
  124. package/dist/common/widget-base.d.ts +75 -0
  125. package/dist/common/widget-base.d.ts.map +1 -0
  126. package/dist/common.cjs +2 -0
  127. package/dist/common.cjs.map +1 -0
  128. package/dist/common.js +584 -0
  129. package/dist/common.js.map +1 -0
  130. package/dist/index-CFA70IGF.js +3626 -0
  131. package/dist/index-CFA70IGF.js.map +1 -0
  132. package/dist/index-Dfl89zpe.cjs +13 -0
  133. package/dist/index-Dfl89zpe.cjs.map +1 -0
  134. package/dist/index.cjs +2 -0
  135. package/dist/index.cjs.map +1 -0
  136. package/dist/index.d.ts +24 -0
  137. package/dist/index.d.ts.map +1 -0
  138. package/dist/index.js +59 -0
  139. package/dist/index.js.map +1 -0
  140. package/dist/qna/api.d.ts +22 -0
  141. package/dist/qna/api.d.ts.map +1 -0
  142. package/dist/qna/catalog.d.ts +140 -0
  143. package/dist/qna/catalog.d.ts.map +1 -0
  144. package/dist/qna/components/ButtonRow.d.ts +16 -0
  145. package/dist/qna/components/ButtonRow.d.ts.map +1 -0
  146. package/dist/qna/components/TextInput.d.ts +12 -0
  147. package/dist/qna/components/TextInput.d.ts.map +1 -0
  148. package/dist/qna/components/renderUISpec.d.ts +8 -0
  149. package/dist/qna/components/renderUISpec.d.ts.map +1 -0
  150. package/dist/qna/index.d.ts +34 -0
  151. package/dist/qna/index.d.ts.map +1 -0
  152. package/dist/qna/locales/en.d.ts +3 -0
  153. package/dist/qna/locales/en.d.ts.map +1 -0
  154. package/dist/qna/locales/index.d.ts +6 -0
  155. package/dist/qna/locales/index.d.ts.map +1 -0
  156. package/dist/qna/locales/tr.d.ts +3 -0
  157. package/dist/qna/locales/tr.d.ts.map +1 -0
  158. package/dist/qna/types.d.ts +62 -0
  159. package/dist/qna/types.d.ts.map +1 -0
  160. package/dist/qna.cjs +2 -0
  161. package/dist/qna.cjs.map +1 -0
  162. package/dist/qna.css +1 -0
  163. package/dist/qna.iife.js +48 -0
  164. package/dist/qna.iife.js.map +1 -0
  165. package/dist/qna.js +435 -0
  166. package/dist/qna.js.map +1 -0
  167. package/dist/simrel/api.d.ts +26 -0
  168. package/dist/simrel/api.d.ts.map +1 -0
  169. package/dist/simrel/catalog.d.ts +319 -0
  170. package/dist/simrel/catalog.d.ts.map +1 -0
  171. package/dist/simrel/components/GroupTabs.d.ts +17 -0
  172. package/dist/simrel/components/GroupTabs.d.ts.map +1 -0
  173. package/dist/simrel/components/ProductCard.d.ts +17 -0
  174. package/dist/simrel/components/ProductCard.d.ts.map +1 -0
  175. package/dist/simrel/components/ProductGrid.d.ts +17 -0
  176. package/dist/simrel/components/ProductGrid.d.ts.map +1 -0
  177. package/dist/simrel/components/renderUISpec.d.ts +8 -0
  178. package/dist/simrel/components/renderUISpec.d.ts.map +1 -0
  179. package/dist/simrel/index.d.ts +36 -0
  180. package/dist/simrel/index.d.ts.map +1 -0
  181. package/dist/simrel/locales/en.d.ts +3 -0
  182. package/dist/simrel/locales/en.d.ts.map +1 -0
  183. package/dist/simrel/locales/index.d.ts +6 -0
  184. package/dist/simrel/locales/index.d.ts.map +1 -0
  185. package/dist/simrel/locales/tr.d.ts +3 -0
  186. package/dist/simrel/locales/tr.d.ts.map +1 -0
  187. package/dist/simrel/types.d.ts +111 -0
  188. package/dist/simrel/types.d.ts.map +1 -0
  189. package/dist/simrel.cjs +2 -0
  190. package/dist/simrel.cjs.map +1 -0
  191. package/dist/simrel.css +1 -0
  192. package/dist/simrel.iife.js +48 -0
  193. package/dist/simrel.iife.js.map +1 -0
  194. package/dist/simrel.js +620 -0
  195. package/dist/simrel.js.map +1 -0
  196. package/dist/types-CeON7iBO.cjs +48 -0
  197. package/dist/types-CeON7iBO.cjs.map +1 -0
  198. package/dist/types-yxW8WA7u.js +4132 -0
  199. package/dist/types-yxW8WA7u.js.map +1 -0
  200. package/package.json +100 -0
@@ -0,0 +1,1114 @@
1
+ import { z } from 'zod';
2
+ export declare const MessageBubbleSchema: z.ZodObject<{
3
+ role: z.ZodEnum<["user", "assistant"]>;
4
+ content: z.ZodString;
5
+ timestamp: z.ZodOptional<z.ZodNumber>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ role: "user" | "assistant";
8
+ content: string;
9
+ timestamp?: number | undefined;
10
+ }, {
11
+ role: "user" | "assistant";
12
+ content: string;
13
+ timestamp?: number | undefined;
14
+ }>;
15
+ export declare const ProductCardSchema: z.ZodObject<{
16
+ sku: z.ZodString;
17
+ name: z.ZodString;
18
+ imageUrl: z.ZodOptional<z.ZodString>;
19
+ price: z.ZodOptional<z.ZodString>;
20
+ originalPrice: z.ZodOptional<z.ZodString>;
21
+ url: z.ZodString;
22
+ /** Override CTA label (default: "View product") */
23
+ ctaLabel: z.ZodOptional<z.ZodString>;
24
+ }, "strip", z.ZodTypeAny, {
25
+ sku: string;
26
+ url: string;
27
+ name: string;
28
+ price?: string | undefined;
29
+ imageUrl?: string | undefined;
30
+ ctaLabel?: string | undefined;
31
+ originalPrice?: string | undefined;
32
+ }, {
33
+ sku: string;
34
+ url: string;
35
+ name: string;
36
+ price?: string | undefined;
37
+ imageUrl?: string | undefined;
38
+ ctaLabel?: string | undefined;
39
+ originalPrice?: string | undefined;
40
+ }>;
41
+ export declare const ActionButtonsSchema: z.ZodObject<{
42
+ buttons: z.ZodArray<z.ZodObject<{
43
+ label: z.ZodString;
44
+ /** Opaque action payload forwarded to the backend when clicked. */
45
+ action: z.ZodObject<{
46
+ title: z.ZodString;
47
+ type: z.ZodString;
48
+ payload: z.ZodOptional<z.ZodUnknown>;
49
+ }, "strip", z.ZodTypeAny, {
50
+ type: string;
51
+ title: string;
52
+ payload?: unknown;
53
+ }, {
54
+ type: string;
55
+ title: string;
56
+ payload?: unknown;
57
+ }>;
58
+ }, "strip", z.ZodTypeAny, {
59
+ label: string;
60
+ action: {
61
+ type: string;
62
+ title: string;
63
+ payload?: unknown;
64
+ };
65
+ }, {
66
+ label: string;
67
+ action: {
68
+ type: string;
69
+ title: string;
70
+ payload?: unknown;
71
+ };
72
+ }>, "many">;
73
+ }, "strip", z.ZodTypeAny, {
74
+ buttons: {
75
+ label: string;
76
+ action: {
77
+ type: string;
78
+ title: string;
79
+ payload?: unknown;
80
+ };
81
+ }[];
82
+ }, {
83
+ buttons: {
84
+ label: string;
85
+ action: {
86
+ type: string;
87
+ title: string;
88
+ payload?: unknown;
89
+ };
90
+ }[];
91
+ }>;
92
+ export declare const TypingIndicatorSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
93
+ export declare const DividerSchema: z.ZodObject<{
94
+ label: z.ZodOptional<z.ZodString>;
95
+ }, "strip", z.ZodTypeAny, {
96
+ label?: string | undefined;
97
+ }, {
98
+ label?: string | undefined;
99
+ }>;
100
+ export declare const ComparisonTableSchema: z.ZodObject<{
101
+ recommended: z.ZodObject<{
102
+ sku: z.ZodString;
103
+ name: z.ZodString;
104
+ price: z.ZodString;
105
+ imageUrl: z.ZodOptional<z.ZodString>;
106
+ rating: z.ZodOptional<z.ZodNumber>;
107
+ reviewCount: z.ZodOptional<z.ZodNumber>;
108
+ }, "strip", z.ZodTypeAny, {
109
+ sku: string;
110
+ price: string;
111
+ name: string;
112
+ reviewCount?: number | undefined;
113
+ imageUrl?: string | undefined;
114
+ rating?: number | undefined;
115
+ }, {
116
+ sku: string;
117
+ price: string;
118
+ name: string;
119
+ reviewCount?: number | undefined;
120
+ imageUrl?: string | undefined;
121
+ rating?: number | undefined;
122
+ }>;
123
+ products: z.ZodArray<z.ZodObject<{
124
+ sku: z.ZodString;
125
+ name: z.ZodString;
126
+ price: z.ZodString;
127
+ imageUrl: z.ZodOptional<z.ZodString>;
128
+ rating: z.ZodOptional<z.ZodNumber>;
129
+ reviewCount: z.ZodOptional<z.ZodNumber>;
130
+ }, "strip", z.ZodTypeAny, {
131
+ sku: string;
132
+ price: string;
133
+ name: string;
134
+ reviewCount?: number | undefined;
135
+ imageUrl?: string | undefined;
136
+ rating?: number | undefined;
137
+ }, {
138
+ sku: string;
139
+ price: string;
140
+ name: string;
141
+ reviewCount?: number | undefined;
142
+ imageUrl?: string | undefined;
143
+ rating?: number | undefined;
144
+ }>, "many">;
145
+ attributes: z.ZodArray<z.ZodObject<{
146
+ label: z.ZodString;
147
+ values: z.ZodArray<z.ZodString, "many">;
148
+ }, "strip", z.ZodTypeAny, {
149
+ values: string[];
150
+ label: string;
151
+ }, {
152
+ values: string[];
153
+ label: string;
154
+ }>, "many">;
155
+ highlights: z.ZodArray<z.ZodString, "many">;
156
+ specialCases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
157
+ recommendedText: z.ZodOptional<z.ZodString>;
158
+ winnerHits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
159
+ positive: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
160
+ negative: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
161
+ }, "strip", z.ZodTypeAny, {
162
+ positive?: string[] | undefined;
163
+ negative?: string[] | undefined;
164
+ }, {
165
+ positive?: string[] | undefined;
166
+ negative?: string[] | undefined;
167
+ }>>>;
168
+ productActions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
169
+ title: z.ZodString;
170
+ type: z.ZodString;
171
+ payload: z.ZodOptional<z.ZodUnknown>;
172
+ }, "strip", z.ZodTypeAny, {
173
+ type: string;
174
+ title: string;
175
+ payload?: unknown;
176
+ }, {
177
+ type: string;
178
+ title: string;
179
+ payload?: unknown;
180
+ }>>>;
181
+ }, "strip", z.ZodTypeAny, {
182
+ products: {
183
+ sku: string;
184
+ price: string;
185
+ name: string;
186
+ reviewCount?: number | undefined;
187
+ imageUrl?: string | undefined;
188
+ rating?: number | undefined;
189
+ }[];
190
+ attributes: {
191
+ values: string[];
192
+ label: string;
193
+ }[];
194
+ highlights: string[];
195
+ recommended: {
196
+ sku: string;
197
+ price: string;
198
+ name: string;
199
+ reviewCount?: number | undefined;
200
+ imageUrl?: string | undefined;
201
+ rating?: number | undefined;
202
+ };
203
+ productActions?: Record<string, {
204
+ type: string;
205
+ title: string;
206
+ payload?: unknown;
207
+ }> | undefined;
208
+ specialCases?: string[] | undefined;
209
+ recommendedText?: string | undefined;
210
+ winnerHits?: Record<string, {
211
+ positive?: string[] | undefined;
212
+ negative?: string[] | undefined;
213
+ }> | undefined;
214
+ }, {
215
+ products: {
216
+ sku: string;
217
+ price: string;
218
+ name: string;
219
+ reviewCount?: number | undefined;
220
+ imageUrl?: string | undefined;
221
+ rating?: number | undefined;
222
+ }[];
223
+ attributes: {
224
+ values: string[];
225
+ label: string;
226
+ }[];
227
+ highlights: string[];
228
+ recommended: {
229
+ sku: string;
230
+ price: string;
231
+ name: string;
232
+ reviewCount?: number | undefined;
233
+ imageUrl?: string | undefined;
234
+ rating?: number | undefined;
235
+ };
236
+ productActions?: Record<string, {
237
+ type: string;
238
+ title: string;
239
+ payload?: unknown;
240
+ }> | undefined;
241
+ specialCases?: string[] | undefined;
242
+ recommendedText?: string | undefined;
243
+ winnerHits?: Record<string, {
244
+ positive?: string[] | undefined;
245
+ negative?: string[] | undefined;
246
+ }> | undefined;
247
+ }>;
248
+ export declare const SentimentLabelSchema: z.ZodObject<{
249
+ label: z.ZodString;
250
+ sentiment: z.ZodOptional<z.ZodEnum<["positive", "negative", "neutral"]>>;
251
+ }, "strip", z.ZodTypeAny, {
252
+ label: string;
253
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
254
+ }, {
255
+ label: string;
256
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
257
+ }>;
258
+ export declare const AITopPickItemSchema: z.ZodObject<{
259
+ product: z.ZodRecord<z.ZodString, z.ZodUnknown>;
260
+ role: z.ZodOptional<z.ZodString>;
261
+ reason: z.ZodOptional<z.ZodString>;
262
+ labels: z.ZodOptional<z.ZodArray<z.ZodObject<{
263
+ label: z.ZodString;
264
+ sentiment: z.ZodOptional<z.ZodEnum<["positive", "negative", "neutral"]>>;
265
+ }, "strip", z.ZodTypeAny, {
266
+ label: string;
267
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
268
+ }, {
269
+ label: string;
270
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
271
+ }>, "many">>;
272
+ expertQualityScore: z.ZodOptional<z.ZodNumber>;
273
+ reviewHighlight: z.ZodOptional<z.ZodString>;
274
+ action: z.ZodOptional<z.ZodObject<{
275
+ title: z.ZodString;
276
+ type: z.ZodString;
277
+ payload: z.ZodOptional<z.ZodUnknown>;
278
+ }, "strip", z.ZodTypeAny, {
279
+ type: string;
280
+ title: string;
281
+ payload?: unknown;
282
+ }, {
283
+ type: string;
284
+ title: string;
285
+ payload?: unknown;
286
+ }>>;
287
+ }, "strip", z.ZodTypeAny, {
288
+ product: Record<string, unknown>;
289
+ role?: string | undefined;
290
+ action?: {
291
+ type: string;
292
+ title: string;
293
+ payload?: unknown;
294
+ } | undefined;
295
+ labels?: {
296
+ label: string;
297
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
298
+ }[] | undefined;
299
+ reason?: string | undefined;
300
+ reviewHighlight?: string | undefined;
301
+ expertQualityScore?: number | undefined;
302
+ }, {
303
+ product: Record<string, unknown>;
304
+ role?: string | undefined;
305
+ action?: {
306
+ type: string;
307
+ title: string;
308
+ payload?: unknown;
309
+ } | undefined;
310
+ labels?: {
311
+ label: string;
312
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
313
+ }[] | undefined;
314
+ reason?: string | undefined;
315
+ reviewHighlight?: string | undefined;
316
+ expertQualityScore?: number | undefined;
317
+ }>;
318
+ export declare const AITopPicksSchema: z.ZodObject<{
319
+ suggestions: z.ZodArray<z.ZodObject<{
320
+ product: z.ZodRecord<z.ZodString, z.ZodUnknown>;
321
+ role: z.ZodOptional<z.ZodString>;
322
+ reason: z.ZodOptional<z.ZodString>;
323
+ labels: z.ZodOptional<z.ZodArray<z.ZodObject<{
324
+ label: z.ZodString;
325
+ sentiment: z.ZodOptional<z.ZodEnum<["positive", "negative", "neutral"]>>;
326
+ }, "strip", z.ZodTypeAny, {
327
+ label: string;
328
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
329
+ }, {
330
+ label: string;
331
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
332
+ }>, "many">>;
333
+ expertQualityScore: z.ZodOptional<z.ZodNumber>;
334
+ reviewHighlight: z.ZodOptional<z.ZodString>;
335
+ action: z.ZodOptional<z.ZodObject<{
336
+ title: z.ZodString;
337
+ type: z.ZodString;
338
+ payload: z.ZodOptional<z.ZodUnknown>;
339
+ }, "strip", z.ZodTypeAny, {
340
+ type: string;
341
+ title: string;
342
+ payload?: unknown;
343
+ }, {
344
+ type: string;
345
+ title: string;
346
+ payload?: unknown;
347
+ }>>;
348
+ }, "strip", z.ZodTypeAny, {
349
+ product: Record<string, unknown>;
350
+ role?: string | undefined;
351
+ action?: {
352
+ type: string;
353
+ title: string;
354
+ payload?: unknown;
355
+ } | undefined;
356
+ labels?: {
357
+ label: string;
358
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
359
+ }[] | undefined;
360
+ reason?: string | undefined;
361
+ reviewHighlight?: string | undefined;
362
+ expertQualityScore?: number | undefined;
363
+ }, {
364
+ product: Record<string, unknown>;
365
+ role?: string | undefined;
366
+ action?: {
367
+ type: string;
368
+ title: string;
369
+ payload?: unknown;
370
+ } | undefined;
371
+ labels?: {
372
+ label: string;
373
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
374
+ }[] | undefined;
375
+ reason?: string | undefined;
376
+ reviewHighlight?: string | undefined;
377
+ expertQualityScore?: number | undefined;
378
+ }>, "many">;
379
+ }, "strip", z.ZodTypeAny, {
380
+ suggestions: {
381
+ product: Record<string, unknown>;
382
+ role?: string | undefined;
383
+ action?: {
384
+ type: string;
385
+ title: string;
386
+ payload?: unknown;
387
+ } | undefined;
388
+ labels?: {
389
+ label: string;
390
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
391
+ }[] | undefined;
392
+ reason?: string | undefined;
393
+ reviewHighlight?: string | undefined;
394
+ expertQualityScore?: number | undefined;
395
+ }[];
396
+ }, {
397
+ suggestions: {
398
+ product: Record<string, unknown>;
399
+ role?: string | undefined;
400
+ action?: {
401
+ type: string;
402
+ title: string;
403
+ payload?: unknown;
404
+ } | undefined;
405
+ labels?: {
406
+ label: string;
407
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
408
+ }[] | undefined;
409
+ reason?: string | undefined;
410
+ reviewHighlight?: string | undefined;
411
+ expertQualityScore?: number | undefined;
412
+ }[];
413
+ }>;
414
+ export declare const GroundingReviewCardSchema: z.ZodObject<{
415
+ title: z.ZodOptional<z.ZodString>;
416
+ text: z.ZodOptional<z.ZodString>;
417
+ reviewCount: z.ZodOptional<z.ZodString>;
418
+ action: z.ZodObject<{
419
+ title: z.ZodString;
420
+ type: z.ZodString;
421
+ payload: z.ZodOptional<z.ZodUnknown>;
422
+ }, "strip", z.ZodTypeAny, {
423
+ type: string;
424
+ title: string;
425
+ payload?: unknown;
426
+ }, {
427
+ type: string;
428
+ title: string;
429
+ payload?: unknown;
430
+ }>;
431
+ }, "strip", z.ZodTypeAny, {
432
+ action: {
433
+ type: string;
434
+ title: string;
435
+ payload?: unknown;
436
+ };
437
+ title?: string | undefined;
438
+ text?: string | undefined;
439
+ reviewCount?: string | undefined;
440
+ }, {
441
+ action: {
442
+ type: string;
443
+ title: string;
444
+ payload?: unknown;
445
+ };
446
+ title?: string | undefined;
447
+ text?: string | undefined;
448
+ reviewCount?: string | undefined;
449
+ }>;
450
+ export declare const AIGroupingCardsSchema: z.ZodObject<{
451
+ entries: z.ZodArray<z.ZodObject<{
452
+ name: z.ZodString;
453
+ image: z.ZodOptional<z.ZodString>;
454
+ description: z.ZodOptional<z.ZodString>;
455
+ action: z.ZodObject<{
456
+ title: z.ZodString;
457
+ type: z.ZodString;
458
+ payload: z.ZodOptional<z.ZodUnknown>;
459
+ }, "strip", z.ZodTypeAny, {
460
+ type: string;
461
+ title: string;
462
+ payload?: unknown;
463
+ }, {
464
+ type: string;
465
+ title: string;
466
+ payload?: unknown;
467
+ }>;
468
+ }, "strip", z.ZodTypeAny, {
469
+ action: {
470
+ type: string;
471
+ title: string;
472
+ payload?: unknown;
473
+ };
474
+ name: string;
475
+ image?: string | undefined;
476
+ description?: string | undefined;
477
+ }, {
478
+ action: {
479
+ type: string;
480
+ title: string;
481
+ payload?: unknown;
482
+ };
483
+ name: string;
484
+ image?: string | undefined;
485
+ description?: string | undefined;
486
+ }>, "many">;
487
+ }, "strip", z.ZodTypeAny, {
488
+ entries: {
489
+ action: {
490
+ type: string;
491
+ title: string;
492
+ payload?: unknown;
493
+ };
494
+ name: string;
495
+ image?: string | undefined;
496
+ description?: string | undefined;
497
+ }[];
498
+ }, {
499
+ entries: {
500
+ action: {
501
+ type: string;
502
+ title: string;
503
+ payload?: unknown;
504
+ };
505
+ name: string;
506
+ image?: string | undefined;
507
+ description?: string | undefined;
508
+ }[];
509
+ }>;
510
+ export declare const AISuggestedSearchCardsSchema: z.ZodObject<{
511
+ entries: z.ZodArray<z.ZodObject<{
512
+ shortName: z.ZodString;
513
+ detailedMessage: z.ZodOptional<z.ZodString>;
514
+ whyDifferent: z.ZodOptional<z.ZodString>;
515
+ image: z.ZodOptional<z.ZodString>;
516
+ action: z.ZodObject<{
517
+ title: z.ZodString;
518
+ type: z.ZodString;
519
+ payload: z.ZodOptional<z.ZodUnknown>;
520
+ }, "strip", z.ZodTypeAny, {
521
+ type: string;
522
+ title: string;
523
+ payload?: unknown;
524
+ }, {
525
+ type: string;
526
+ title: string;
527
+ payload?: unknown;
528
+ }>;
529
+ }, "strip", z.ZodTypeAny, {
530
+ action: {
531
+ type: string;
532
+ title: string;
533
+ payload?: unknown;
534
+ };
535
+ shortName: string;
536
+ image?: string | undefined;
537
+ detailedMessage?: string | undefined;
538
+ whyDifferent?: string | undefined;
539
+ }, {
540
+ action: {
541
+ type: string;
542
+ title: string;
543
+ payload?: unknown;
544
+ };
545
+ shortName: string;
546
+ image?: string | undefined;
547
+ detailedMessage?: string | undefined;
548
+ whyDifferent?: string | undefined;
549
+ }>, "many">;
550
+ }, "strip", z.ZodTypeAny, {
551
+ entries: {
552
+ action: {
553
+ type: string;
554
+ title: string;
555
+ payload?: unknown;
556
+ };
557
+ shortName: string;
558
+ image?: string | undefined;
559
+ detailedMessage?: string | undefined;
560
+ whyDifferent?: string | undefined;
561
+ }[];
562
+ }, {
563
+ entries: {
564
+ action: {
565
+ type: string;
566
+ title: string;
567
+ payload?: unknown;
568
+ };
569
+ shortName: string;
570
+ image?: string | undefined;
571
+ detailedMessage?: string | undefined;
572
+ whyDifferent?: string | undefined;
573
+ }[];
574
+ }>;
575
+ export declare const chatCatalog: {
576
+ readonly components: {
577
+ readonly MessageBubble: {
578
+ readonly schema: z.ZodObject<{
579
+ role: z.ZodEnum<["user", "assistant"]>;
580
+ content: z.ZodString;
581
+ timestamp: z.ZodOptional<z.ZodNumber>;
582
+ }, "strip", z.ZodTypeAny, {
583
+ role: "user" | "assistant";
584
+ content: string;
585
+ timestamp?: number | undefined;
586
+ }, {
587
+ role: "user" | "assistant";
588
+ content: string;
589
+ timestamp?: number | undefined;
590
+ }>;
591
+ readonly description: "A single chat message bubble for user or assistant turns.";
592
+ };
593
+ readonly ProductCard: {
594
+ readonly schema: z.ZodObject<{
595
+ sku: z.ZodString;
596
+ name: z.ZodString;
597
+ imageUrl: z.ZodOptional<z.ZodString>;
598
+ price: z.ZodOptional<z.ZodString>;
599
+ originalPrice: z.ZodOptional<z.ZodString>;
600
+ url: z.ZodString;
601
+ /** Override CTA label (default: "View product") */
602
+ ctaLabel: z.ZodOptional<z.ZodString>;
603
+ }, "strip", z.ZodTypeAny, {
604
+ sku: string;
605
+ url: string;
606
+ name: string;
607
+ price?: string | undefined;
608
+ imageUrl?: string | undefined;
609
+ ctaLabel?: string | undefined;
610
+ originalPrice?: string | undefined;
611
+ }, {
612
+ sku: string;
613
+ url: string;
614
+ name: string;
615
+ price?: string | undefined;
616
+ imageUrl?: string | undefined;
617
+ ctaLabel?: string | undefined;
618
+ originalPrice?: string | undefined;
619
+ }>;
620
+ readonly description: "A product card rendered inline in the chat stream.";
621
+ };
622
+ readonly ActionButtons: {
623
+ readonly schema: z.ZodObject<{
624
+ buttons: z.ZodArray<z.ZodObject<{
625
+ label: z.ZodString;
626
+ /** Opaque action payload forwarded to the backend when clicked. */
627
+ action: z.ZodObject<{
628
+ title: z.ZodString;
629
+ type: z.ZodString;
630
+ payload: z.ZodOptional<z.ZodUnknown>;
631
+ }, "strip", z.ZodTypeAny, {
632
+ type: string;
633
+ title: string;
634
+ payload?: unknown;
635
+ }, {
636
+ type: string;
637
+ title: string;
638
+ payload?: unknown;
639
+ }>;
640
+ }, "strip", z.ZodTypeAny, {
641
+ label: string;
642
+ action: {
643
+ type: string;
644
+ title: string;
645
+ payload?: unknown;
646
+ };
647
+ }, {
648
+ label: string;
649
+ action: {
650
+ type: string;
651
+ title: string;
652
+ payload?: unknown;
653
+ };
654
+ }>, "many">;
655
+ }, "strip", z.ZodTypeAny, {
656
+ buttons: {
657
+ label: string;
658
+ action: {
659
+ type: string;
660
+ title: string;
661
+ payload?: unknown;
662
+ };
663
+ }[];
664
+ }, {
665
+ buttons: {
666
+ label: string;
667
+ action: {
668
+ type: string;
669
+ title: string;
670
+ payload?: unknown;
671
+ };
672
+ }[];
673
+ }>;
674
+ readonly description: "A horizontal row of quick-reply action buttons.";
675
+ };
676
+ readonly TypingIndicator: {
677
+ readonly schema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
678
+ readonly description: "An animated indicator shown while the assistant is typing.";
679
+ };
680
+ readonly Divider: {
681
+ readonly schema: z.ZodObject<{
682
+ label: z.ZodOptional<z.ZodString>;
683
+ }, "strip", z.ZodTypeAny, {
684
+ label?: string | undefined;
685
+ }, {
686
+ label?: string | undefined;
687
+ }>;
688
+ readonly description: "A horizontal rule with an optional label.";
689
+ };
690
+ readonly ComparisonTable: {
691
+ readonly schema: z.ZodObject<{
692
+ recommended: z.ZodObject<{
693
+ sku: z.ZodString;
694
+ name: z.ZodString;
695
+ price: z.ZodString;
696
+ imageUrl: z.ZodOptional<z.ZodString>;
697
+ rating: z.ZodOptional<z.ZodNumber>;
698
+ reviewCount: z.ZodOptional<z.ZodNumber>;
699
+ }, "strip", z.ZodTypeAny, {
700
+ sku: string;
701
+ price: string;
702
+ name: string;
703
+ reviewCount?: number | undefined;
704
+ imageUrl?: string | undefined;
705
+ rating?: number | undefined;
706
+ }, {
707
+ sku: string;
708
+ price: string;
709
+ name: string;
710
+ reviewCount?: number | undefined;
711
+ imageUrl?: string | undefined;
712
+ rating?: number | undefined;
713
+ }>;
714
+ products: z.ZodArray<z.ZodObject<{
715
+ sku: z.ZodString;
716
+ name: z.ZodString;
717
+ price: z.ZodString;
718
+ imageUrl: z.ZodOptional<z.ZodString>;
719
+ rating: z.ZodOptional<z.ZodNumber>;
720
+ reviewCount: z.ZodOptional<z.ZodNumber>;
721
+ }, "strip", z.ZodTypeAny, {
722
+ sku: string;
723
+ price: string;
724
+ name: string;
725
+ reviewCount?: number | undefined;
726
+ imageUrl?: string | undefined;
727
+ rating?: number | undefined;
728
+ }, {
729
+ sku: string;
730
+ price: string;
731
+ name: string;
732
+ reviewCount?: number | undefined;
733
+ imageUrl?: string | undefined;
734
+ rating?: number | undefined;
735
+ }>, "many">;
736
+ attributes: z.ZodArray<z.ZodObject<{
737
+ label: z.ZodString;
738
+ values: z.ZodArray<z.ZodString, "many">;
739
+ }, "strip", z.ZodTypeAny, {
740
+ values: string[];
741
+ label: string;
742
+ }, {
743
+ values: string[];
744
+ label: string;
745
+ }>, "many">;
746
+ highlights: z.ZodArray<z.ZodString, "many">;
747
+ specialCases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
748
+ recommendedText: z.ZodOptional<z.ZodString>;
749
+ winnerHits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
750
+ positive: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
751
+ negative: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
752
+ }, "strip", z.ZodTypeAny, {
753
+ positive?: string[] | undefined;
754
+ negative?: string[] | undefined;
755
+ }, {
756
+ positive?: string[] | undefined;
757
+ negative?: string[] | undefined;
758
+ }>>>;
759
+ productActions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
760
+ title: z.ZodString;
761
+ type: z.ZodString;
762
+ payload: z.ZodOptional<z.ZodUnknown>;
763
+ }, "strip", z.ZodTypeAny, {
764
+ type: string;
765
+ title: string;
766
+ payload?: unknown;
767
+ }, {
768
+ type: string;
769
+ title: string;
770
+ payload?: unknown;
771
+ }>>>;
772
+ }, "strip", z.ZodTypeAny, {
773
+ products: {
774
+ sku: string;
775
+ price: string;
776
+ name: string;
777
+ reviewCount?: number | undefined;
778
+ imageUrl?: string | undefined;
779
+ rating?: number | undefined;
780
+ }[];
781
+ attributes: {
782
+ values: string[];
783
+ label: string;
784
+ }[];
785
+ highlights: string[];
786
+ recommended: {
787
+ sku: string;
788
+ price: string;
789
+ name: string;
790
+ reviewCount?: number | undefined;
791
+ imageUrl?: string | undefined;
792
+ rating?: number | undefined;
793
+ };
794
+ productActions?: Record<string, {
795
+ type: string;
796
+ title: string;
797
+ payload?: unknown;
798
+ }> | undefined;
799
+ specialCases?: string[] | undefined;
800
+ recommendedText?: string | undefined;
801
+ winnerHits?: Record<string, {
802
+ positive?: string[] | undefined;
803
+ negative?: string[] | undefined;
804
+ }> | undefined;
805
+ }, {
806
+ products: {
807
+ sku: string;
808
+ price: string;
809
+ name: string;
810
+ reviewCount?: number | undefined;
811
+ imageUrl?: string | undefined;
812
+ rating?: number | undefined;
813
+ }[];
814
+ attributes: {
815
+ values: string[];
816
+ label: string;
817
+ }[];
818
+ highlights: string[];
819
+ recommended: {
820
+ sku: string;
821
+ price: string;
822
+ name: string;
823
+ reviewCount?: number | undefined;
824
+ imageUrl?: string | undefined;
825
+ rating?: number | undefined;
826
+ };
827
+ productActions?: Record<string, {
828
+ type: string;
829
+ title: string;
830
+ payload?: unknown;
831
+ }> | undefined;
832
+ specialCases?: string[] | undefined;
833
+ recommendedText?: string | undefined;
834
+ winnerHits?: Record<string, {
835
+ positive?: string[] | undefined;
836
+ negative?: string[] | undefined;
837
+ }> | undefined;
838
+ }>;
839
+ readonly description: "A product comparison table with recommended pick, attribute rows, and highlights.";
840
+ };
841
+ readonly AITopPicks: {
842
+ readonly schema: z.ZodObject<{
843
+ suggestions: z.ZodArray<z.ZodObject<{
844
+ product: z.ZodRecord<z.ZodString, z.ZodUnknown>;
845
+ role: z.ZodOptional<z.ZodString>;
846
+ reason: z.ZodOptional<z.ZodString>;
847
+ labels: z.ZodOptional<z.ZodArray<z.ZodObject<{
848
+ label: z.ZodString;
849
+ sentiment: z.ZodOptional<z.ZodEnum<["positive", "negative", "neutral"]>>;
850
+ }, "strip", z.ZodTypeAny, {
851
+ label: string;
852
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
853
+ }, {
854
+ label: string;
855
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
856
+ }>, "many">>;
857
+ expertQualityScore: z.ZodOptional<z.ZodNumber>;
858
+ reviewHighlight: z.ZodOptional<z.ZodString>;
859
+ action: z.ZodOptional<z.ZodObject<{
860
+ title: z.ZodString;
861
+ type: z.ZodString;
862
+ payload: z.ZodOptional<z.ZodUnknown>;
863
+ }, "strip", z.ZodTypeAny, {
864
+ type: string;
865
+ title: string;
866
+ payload?: unknown;
867
+ }, {
868
+ type: string;
869
+ title: string;
870
+ payload?: unknown;
871
+ }>>;
872
+ }, "strip", z.ZodTypeAny, {
873
+ product: Record<string, unknown>;
874
+ role?: string | undefined;
875
+ action?: {
876
+ type: string;
877
+ title: string;
878
+ payload?: unknown;
879
+ } | undefined;
880
+ labels?: {
881
+ label: string;
882
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
883
+ }[] | undefined;
884
+ reason?: string | undefined;
885
+ reviewHighlight?: string | undefined;
886
+ expertQualityScore?: number | undefined;
887
+ }, {
888
+ product: Record<string, unknown>;
889
+ role?: string | undefined;
890
+ action?: {
891
+ type: string;
892
+ title: string;
893
+ payload?: unknown;
894
+ } | undefined;
895
+ labels?: {
896
+ label: string;
897
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
898
+ }[] | undefined;
899
+ reason?: string | undefined;
900
+ reviewHighlight?: string | undefined;
901
+ expertQualityScore?: number | undefined;
902
+ }>, "many">;
903
+ }, "strip", z.ZodTypeAny, {
904
+ suggestions: {
905
+ product: Record<string, unknown>;
906
+ role?: string | undefined;
907
+ action?: {
908
+ type: string;
909
+ title: string;
910
+ payload?: unknown;
911
+ } | undefined;
912
+ labels?: {
913
+ label: string;
914
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
915
+ }[] | undefined;
916
+ reason?: string | undefined;
917
+ reviewHighlight?: string | undefined;
918
+ expertQualityScore?: number | undefined;
919
+ }[];
920
+ }, {
921
+ suggestions: {
922
+ product: Record<string, unknown>;
923
+ role?: string | undefined;
924
+ action?: {
925
+ type: string;
926
+ title: string;
927
+ payload?: unknown;
928
+ } | undefined;
929
+ labels?: {
930
+ label: string;
931
+ sentiment?: "positive" | "negative" | "neutral" | undefined;
932
+ }[] | undefined;
933
+ reason?: string | undefined;
934
+ reviewHighlight?: string | undefined;
935
+ expertQualityScore?: number | undefined;
936
+ }[];
937
+ }>;
938
+ readonly description: "Rich AI-curated product suggestion cards with roles, sentiment labels, scores, and review quotes.";
939
+ };
940
+ readonly GroundingReviewCard: {
941
+ readonly schema: z.ZodObject<{
942
+ title: z.ZodOptional<z.ZodString>;
943
+ text: z.ZodOptional<z.ZodString>;
944
+ reviewCount: z.ZodOptional<z.ZodString>;
945
+ action: z.ZodObject<{
946
+ title: z.ZodString;
947
+ type: z.ZodString;
948
+ payload: z.ZodOptional<z.ZodUnknown>;
949
+ }, "strip", z.ZodTypeAny, {
950
+ type: string;
951
+ title: string;
952
+ payload?: unknown;
953
+ }, {
954
+ type: string;
955
+ title: string;
956
+ payload?: unknown;
957
+ }>;
958
+ }, "strip", z.ZodTypeAny, {
959
+ action: {
960
+ type: string;
961
+ title: string;
962
+ payload?: unknown;
963
+ };
964
+ title?: string | undefined;
965
+ text?: string | undefined;
966
+ reviewCount?: string | undefined;
967
+ }, {
968
+ action: {
969
+ type: string;
970
+ title: string;
971
+ payload?: unknown;
972
+ };
973
+ title?: string | undefined;
974
+ text?: string | undefined;
975
+ reviewCount?: string | undefined;
976
+ }>;
977
+ readonly description: "A card showing review grounding data with review count and CTA.";
978
+ };
979
+ readonly AIGroupingCards: {
980
+ readonly schema: z.ZodObject<{
981
+ entries: z.ZodArray<z.ZodObject<{
982
+ name: z.ZodString;
983
+ image: z.ZodOptional<z.ZodString>;
984
+ description: z.ZodOptional<z.ZodString>;
985
+ action: z.ZodObject<{
986
+ title: z.ZodString;
987
+ type: z.ZodString;
988
+ payload: z.ZodOptional<z.ZodUnknown>;
989
+ }, "strip", z.ZodTypeAny, {
990
+ type: string;
991
+ title: string;
992
+ payload?: unknown;
993
+ }, {
994
+ type: string;
995
+ title: string;
996
+ payload?: unknown;
997
+ }>;
998
+ }, "strip", z.ZodTypeAny, {
999
+ action: {
1000
+ type: string;
1001
+ title: string;
1002
+ payload?: unknown;
1003
+ };
1004
+ name: string;
1005
+ image?: string | undefined;
1006
+ description?: string | undefined;
1007
+ }, {
1008
+ action: {
1009
+ type: string;
1010
+ title: string;
1011
+ payload?: unknown;
1012
+ };
1013
+ name: string;
1014
+ image?: string | undefined;
1015
+ description?: string | undefined;
1016
+ }>, "many">;
1017
+ }, "strip", z.ZodTypeAny, {
1018
+ entries: {
1019
+ action: {
1020
+ type: string;
1021
+ title: string;
1022
+ payload?: unknown;
1023
+ };
1024
+ name: string;
1025
+ image?: string | undefined;
1026
+ description?: string | undefined;
1027
+ }[];
1028
+ }, {
1029
+ entries: {
1030
+ action: {
1031
+ type: string;
1032
+ title: string;
1033
+ payload?: unknown;
1034
+ };
1035
+ name: string;
1036
+ image?: string | undefined;
1037
+ description?: string | undefined;
1038
+ }[];
1039
+ }>;
1040
+ readonly description: "Category grouping cards with images and labels for product discovery.";
1041
+ };
1042
+ readonly AISuggestedSearchCards: {
1043
+ readonly schema: z.ZodObject<{
1044
+ entries: z.ZodArray<z.ZodObject<{
1045
+ shortName: z.ZodString;
1046
+ detailedMessage: z.ZodOptional<z.ZodString>;
1047
+ whyDifferent: z.ZodOptional<z.ZodString>;
1048
+ image: z.ZodOptional<z.ZodString>;
1049
+ action: z.ZodObject<{
1050
+ title: z.ZodString;
1051
+ type: z.ZodString;
1052
+ payload: z.ZodOptional<z.ZodUnknown>;
1053
+ }, "strip", z.ZodTypeAny, {
1054
+ type: string;
1055
+ title: string;
1056
+ payload?: unknown;
1057
+ }, {
1058
+ type: string;
1059
+ title: string;
1060
+ payload?: unknown;
1061
+ }>;
1062
+ }, "strip", z.ZodTypeAny, {
1063
+ action: {
1064
+ type: string;
1065
+ title: string;
1066
+ payload?: unknown;
1067
+ };
1068
+ shortName: string;
1069
+ image?: string | undefined;
1070
+ detailedMessage?: string | undefined;
1071
+ whyDifferent?: string | undefined;
1072
+ }, {
1073
+ action: {
1074
+ type: string;
1075
+ title: string;
1076
+ payload?: unknown;
1077
+ };
1078
+ shortName: string;
1079
+ image?: string | undefined;
1080
+ detailedMessage?: string | undefined;
1081
+ whyDifferent?: string | undefined;
1082
+ }>, "many">;
1083
+ }, "strip", z.ZodTypeAny, {
1084
+ entries: {
1085
+ action: {
1086
+ type: string;
1087
+ title: string;
1088
+ payload?: unknown;
1089
+ };
1090
+ shortName: string;
1091
+ image?: string | undefined;
1092
+ detailedMessage?: string | undefined;
1093
+ whyDifferent?: string | undefined;
1094
+ }[];
1095
+ }, {
1096
+ entries: {
1097
+ action: {
1098
+ type: string;
1099
+ title: string;
1100
+ payload?: unknown;
1101
+ };
1102
+ shortName: string;
1103
+ image?: string | undefined;
1104
+ detailedMessage?: string | undefined;
1105
+ whyDifferent?: string | undefined;
1106
+ }[];
1107
+ }>;
1108
+ readonly description: "Suggested search cards with images, descriptions, and differentiation.";
1109
+ };
1110
+ };
1111
+ };
1112
+ export type ChatCatalog = typeof chatCatalog;
1113
+ export type ChatComponentName = keyof ChatCatalog['components'];
1114
+ //# sourceMappingURL=catalog.d.ts.map