@agnosticui/a2ui-lit 0.0.0-stage → 2.0.0-alpha.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.
Files changed (64) hide show
  1. package/README.md +34 -2
  2. package/SKILL.md +52 -0
  3. package/agnosticui-catalog.json +2184 -0
  4. package/dist/catalog.d.ts +5 -0
  5. package/dist/catalog.js +36 -0
  6. package/dist/components/AgAccordion.d.ts +82 -0
  7. package/dist/components/AgAccordion.js +29 -0
  8. package/dist/components/AgAlert.d.ts +971 -0
  9. package/dist/components/AgAlert.js +46 -0
  10. package/dist/components/AgAvatar.d.ts +511 -0
  11. package/dist/components/AgAvatar.js +44 -0
  12. package/dist/components/AgBadge.d.ts +793 -0
  13. package/dist/components/AgBadge.js +49 -0
  14. package/dist/components/AgButton.d.ts +1568 -0
  15. package/dist/components/AgButton.js +61 -0
  16. package/dist/components/AgCard.d.ts +565 -0
  17. package/dist/components/AgCard.js +45 -0
  18. package/dist/components/AgCheckbox.d.ts +1497 -0
  19. package/dist/components/AgCheckbox.js +63 -0
  20. package/dist/components/AgCombobox.d.ts +2733 -0
  21. package/dist/components/AgCombobox.js +91 -0
  22. package/dist/components/AgDivider.d.ts +169 -0
  23. package/dist/components/AgDivider.js +38 -0
  24. package/dist/components/AgEmptyState.d.ts +607 -0
  25. package/dist/components/AgEmptyState.js +42 -0
  26. package/dist/components/AgFieldset.d.ts +433 -0
  27. package/dist/components/AgFieldset.js +39 -0
  28. package/dist/components/AgHeader.d.ts +205 -0
  29. package/dist/components/AgHeader.js +35 -0
  30. package/dist/components/AgInput.d.ts +2988 -0
  31. package/dist/components/AgInput.js +91 -0
  32. package/dist/components/AgMessageBubble.d.ts +670 -0
  33. package/dist/components/AgMessageBubble.js +45 -0
  34. package/dist/components/AgProgress.d.ts +433 -0
  35. package/dist/components/AgProgress.js +39 -0
  36. package/dist/components/AgProgressRing.d.ts +274 -0
  37. package/dist/components/AgProgressRing.js +38 -0
  38. package/dist/components/AgRadio.d.ts +1848 -0
  39. package/dist/components/AgRadio.js +71 -0
  40. package/dist/components/AgRating.d.ts +1433 -0
  41. package/dist/components/AgRating.js +67 -0
  42. package/dist/components/AgSelect.d.ts +1839 -0
  43. package/dist/components/AgSelect.js +69 -0
  44. package/dist/components/AgSpinner.d.ts +151 -0
  45. package/dist/components/AgSpinner.js +34 -0
  46. package/dist/components/AgTabs.d.ts +328 -0
  47. package/dist/components/AgTabs.js +39 -0
  48. package/dist/components/AgTag.d.ts +752 -0
  49. package/dist/components/AgTag.js +44 -0
  50. package/dist/components/AgTimeline.d.ts +274 -0
  51. package/dist/components/AgTimeline.js +38 -0
  52. package/dist/components/AgToggle.d.ts +1848 -0
  53. package/dist/components/AgToggle.js +71 -0
  54. package/dist/functions/validate-surface.d.ts +27 -0
  55. package/dist/functions/validate-surface.js +56 -0
  56. package/dist/harness/mock-stream.d.ts +8 -0
  57. package/dist/harness/mock-stream.js +5 -0
  58. package/dist/index.d.ts +30 -0
  59. package/dist/index.js +31 -0
  60. package/dist/primitives/AgText.d.ts +150 -0
  61. package/dist/primitives/AgText.js +44 -0
  62. package/dist/test-setup.d.ts +1 -0
  63. package/dist/test-setup.js +83 -0
  64. package/package.json +59 -4
@@ -0,0 +1,670 @@
1
+ import { z } from 'zod';
2
+ import { A2uiLitElement } from '@a2ui/web_core/v1_0';
3
+ import 'agnosticui-core/message-bubble';
4
+ export declare const AgMessageBubbleSchema: z.ZodObject<{
5
+ children: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
6
+ componentId: z.ZodString;
7
+ path: z.ZodString;
8
+ }, "strict", z.ZodTypeAny, {
9
+ path: string;
10
+ componentId: string;
11
+ }, {
12
+ path: string;
13
+ componentId: string;
14
+ }>]>>;
15
+ from: z.ZodOptional<z.ZodEnum<["me", "them"]>>;
16
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
17
+ '@path': z.ZodOptional<z.ZodString>;
18
+ path: z.ZodOptional<z.ZodString>;
19
+ }, "strip", z.ZodTypeAny, {
20
+ path?: string | undefined;
21
+ '@path'?: string | undefined;
22
+ }, {
23
+ path?: string | undefined;
24
+ '@path'?: string | undefined;
25
+ }>, {
26
+ path?: string | undefined;
27
+ '@path'?: string | undefined;
28
+ }, {
29
+ path?: string | undefined;
30
+ '@path'?: string | undefined;
31
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
32
+ '@call': z.ZodOptional<z.ZodString>;
33
+ call: z.ZodOptional<z.ZodString>;
34
+ catalogId: z.ZodOptional<z.ZodString>;
35
+ }, "strip", z.ZodTypeAny, {
36
+ call?: string | undefined;
37
+ '@call'?: string | undefined;
38
+ catalogId?: string | undefined;
39
+ }, {
40
+ call?: string | undefined;
41
+ '@call'?: string | undefined;
42
+ catalogId?: string | undefined;
43
+ }>, {
44
+ call?: string | undefined;
45
+ '@call'?: string | undefined;
46
+ catalogId?: string | undefined;
47
+ }, {
48
+ call?: string | undefined;
49
+ '@call'?: string | undefined;
50
+ catalogId?: string | undefined;
51
+ }>, z.ZodAny>>]>>;
52
+ time: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
53
+ '@path': z.ZodOptional<z.ZodString>;
54
+ path: z.ZodOptional<z.ZodString>;
55
+ }, "strip", z.ZodTypeAny, {
56
+ path?: string | undefined;
57
+ '@path'?: string | undefined;
58
+ }, {
59
+ path?: string | undefined;
60
+ '@path'?: string | undefined;
61
+ }>, {
62
+ path?: string | undefined;
63
+ '@path'?: string | undefined;
64
+ }, {
65
+ path?: string | undefined;
66
+ '@path'?: string | undefined;
67
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
68
+ '@call': z.ZodOptional<z.ZodString>;
69
+ call: z.ZodOptional<z.ZodString>;
70
+ catalogId: z.ZodOptional<z.ZodString>;
71
+ }, "strip", z.ZodTypeAny, {
72
+ call?: string | undefined;
73
+ '@call'?: string | undefined;
74
+ catalogId?: string | undefined;
75
+ }, {
76
+ call?: string | undefined;
77
+ '@call'?: string | undefined;
78
+ catalogId?: string | undefined;
79
+ }>, {
80
+ call?: string | undefined;
81
+ '@call'?: string | undefined;
82
+ catalogId?: string | undefined;
83
+ }, {
84
+ call?: string | undefined;
85
+ '@call'?: string | undefined;
86
+ catalogId?: string | undefined;
87
+ }>, z.ZodAny>>]>>;
88
+ author: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
89
+ '@path': z.ZodOptional<z.ZodString>;
90
+ path: z.ZodOptional<z.ZodString>;
91
+ }, "strip", z.ZodTypeAny, {
92
+ path?: string | undefined;
93
+ '@path'?: string | undefined;
94
+ }, {
95
+ path?: string | undefined;
96
+ '@path'?: string | undefined;
97
+ }>, {
98
+ path?: string | undefined;
99
+ '@path'?: string | undefined;
100
+ }, {
101
+ path?: string | undefined;
102
+ '@path'?: string | undefined;
103
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
104
+ '@call': z.ZodOptional<z.ZodString>;
105
+ call: z.ZodOptional<z.ZodString>;
106
+ catalogId: z.ZodOptional<z.ZodString>;
107
+ }, "strip", z.ZodTypeAny, {
108
+ call?: string | undefined;
109
+ '@call'?: string | undefined;
110
+ catalogId?: string | undefined;
111
+ }, {
112
+ call?: string | undefined;
113
+ '@call'?: string | undefined;
114
+ catalogId?: string | undefined;
115
+ }>, {
116
+ call?: string | undefined;
117
+ '@call'?: string | undefined;
118
+ catalogId?: string | undefined;
119
+ }, {
120
+ call?: string | undefined;
121
+ '@call'?: string | undefined;
122
+ catalogId?: string | undefined;
123
+ }>, z.ZodAny>>]>>;
124
+ avatarUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
125
+ '@path': z.ZodOptional<z.ZodString>;
126
+ path: z.ZodOptional<z.ZodString>;
127
+ }, "strip", z.ZodTypeAny, {
128
+ path?: string | undefined;
129
+ '@path'?: string | undefined;
130
+ }, {
131
+ path?: string | undefined;
132
+ '@path'?: string | undefined;
133
+ }>, {
134
+ path?: string | undefined;
135
+ '@path'?: string | undefined;
136
+ }, {
137
+ path?: string | undefined;
138
+ '@path'?: string | undefined;
139
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
140
+ '@call': z.ZodOptional<z.ZodString>;
141
+ call: z.ZodOptional<z.ZodString>;
142
+ catalogId: z.ZodOptional<z.ZodString>;
143
+ }, "strip", z.ZodTypeAny, {
144
+ call?: string | undefined;
145
+ '@call'?: string | undefined;
146
+ catalogId?: string | undefined;
147
+ }, {
148
+ call?: string | undefined;
149
+ '@call'?: string | undefined;
150
+ catalogId?: string | undefined;
151
+ }>, {
152
+ call?: string | undefined;
153
+ '@call'?: string | undefined;
154
+ catalogId?: string | undefined;
155
+ }, {
156
+ call?: string | undefined;
157
+ '@call'?: string | undefined;
158
+ catalogId?: string | undefined;
159
+ }>, z.ZodAny>>]>>;
160
+ footer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
161
+ '@path': z.ZodOptional<z.ZodString>;
162
+ path: z.ZodOptional<z.ZodString>;
163
+ }, "strip", z.ZodTypeAny, {
164
+ path?: string | undefined;
165
+ '@path'?: string | undefined;
166
+ }, {
167
+ path?: string | undefined;
168
+ '@path'?: string | undefined;
169
+ }>, {
170
+ path?: string | undefined;
171
+ '@path'?: string | undefined;
172
+ }, {
173
+ path?: string | undefined;
174
+ '@path'?: string | undefined;
175
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
176
+ '@call': z.ZodOptional<z.ZodString>;
177
+ call: z.ZodOptional<z.ZodString>;
178
+ catalogId: z.ZodOptional<z.ZodString>;
179
+ }, "strip", z.ZodTypeAny, {
180
+ call?: string | undefined;
181
+ '@call'?: string | undefined;
182
+ catalogId?: string | undefined;
183
+ }, {
184
+ call?: string | undefined;
185
+ '@call'?: string | undefined;
186
+ catalogId?: string | undefined;
187
+ }>, {
188
+ call?: string | undefined;
189
+ '@call'?: string | undefined;
190
+ catalogId?: string | undefined;
191
+ }, {
192
+ call?: string | undefined;
193
+ '@call'?: string | undefined;
194
+ catalogId?: string | undefined;
195
+ }>, z.ZodAny>>]>>;
196
+ variant: z.ZodOptional<z.ZodEnum<["warning", "info", "success", "danger", "default", "monochrome", "neutral"]>>;
197
+ }, "strict", z.ZodTypeAny, {
198
+ children?: string[] | {
199
+ path: string;
200
+ componentId: string;
201
+ } | undefined;
202
+ from?: "me" | "them" | undefined;
203
+ message?: any;
204
+ time?: any;
205
+ author?: any;
206
+ avatarUrl?: any;
207
+ footer?: any;
208
+ variant?: "danger" | "default" | "info" | "monochrome" | "neutral" | "success" | "warning" | undefined;
209
+ }, {
210
+ children?: string[] | {
211
+ path: string;
212
+ componentId: string;
213
+ } | undefined;
214
+ from?: "me" | "them" | undefined;
215
+ message?: any;
216
+ time?: any;
217
+ author?: any;
218
+ avatarUrl?: any;
219
+ footer?: any;
220
+ variant?: "danger" | "default" | "info" | "monochrome" | "neutral" | "success" | "warning" | undefined;
221
+ }>;
222
+ export declare const AgMessageBubbleApi: {
223
+ name: 'AgMessageBubble';
224
+ schema: z.ZodObject<{
225
+ children: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
226
+ componentId: z.ZodString;
227
+ path: z.ZodString;
228
+ }, "strict", z.ZodTypeAny, {
229
+ path: string;
230
+ componentId: string;
231
+ }, {
232
+ path: string;
233
+ componentId: string;
234
+ }>]>>;
235
+ from: z.ZodOptional<z.ZodEnum<["me", "them"]>>;
236
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
237
+ '@path': z.ZodOptional<z.ZodString>;
238
+ path: z.ZodOptional<z.ZodString>;
239
+ }, "strip", z.ZodTypeAny, {
240
+ path?: string | undefined;
241
+ '@path'?: string | undefined;
242
+ }, {
243
+ path?: string | undefined;
244
+ '@path'?: string | undefined;
245
+ }>, {
246
+ path?: string | undefined;
247
+ '@path'?: string | undefined;
248
+ }, {
249
+ path?: string | undefined;
250
+ '@path'?: string | undefined;
251
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
252
+ '@call': z.ZodOptional<z.ZodString>;
253
+ call: z.ZodOptional<z.ZodString>;
254
+ catalogId: z.ZodOptional<z.ZodString>;
255
+ }, "strip", z.ZodTypeAny, {
256
+ call?: string | undefined;
257
+ '@call'?: string | undefined;
258
+ catalogId?: string | undefined;
259
+ }, {
260
+ call?: string | undefined;
261
+ '@call'?: string | undefined;
262
+ catalogId?: string | undefined;
263
+ }>, {
264
+ call?: string | undefined;
265
+ '@call'?: string | undefined;
266
+ catalogId?: string | undefined;
267
+ }, {
268
+ call?: string | undefined;
269
+ '@call'?: string | undefined;
270
+ catalogId?: string | undefined;
271
+ }>, z.ZodAny>>]>>;
272
+ time: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
273
+ '@path': z.ZodOptional<z.ZodString>;
274
+ path: z.ZodOptional<z.ZodString>;
275
+ }, "strip", z.ZodTypeAny, {
276
+ path?: string | undefined;
277
+ '@path'?: string | undefined;
278
+ }, {
279
+ path?: string | undefined;
280
+ '@path'?: string | undefined;
281
+ }>, {
282
+ path?: string | undefined;
283
+ '@path'?: string | undefined;
284
+ }, {
285
+ path?: string | undefined;
286
+ '@path'?: string | undefined;
287
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
288
+ '@call': z.ZodOptional<z.ZodString>;
289
+ call: z.ZodOptional<z.ZodString>;
290
+ catalogId: z.ZodOptional<z.ZodString>;
291
+ }, "strip", z.ZodTypeAny, {
292
+ call?: string | undefined;
293
+ '@call'?: string | undefined;
294
+ catalogId?: string | undefined;
295
+ }, {
296
+ call?: string | undefined;
297
+ '@call'?: string | undefined;
298
+ catalogId?: string | undefined;
299
+ }>, {
300
+ call?: string | undefined;
301
+ '@call'?: string | undefined;
302
+ catalogId?: string | undefined;
303
+ }, {
304
+ call?: string | undefined;
305
+ '@call'?: string | undefined;
306
+ catalogId?: string | undefined;
307
+ }>, z.ZodAny>>]>>;
308
+ author: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
309
+ '@path': z.ZodOptional<z.ZodString>;
310
+ path: z.ZodOptional<z.ZodString>;
311
+ }, "strip", z.ZodTypeAny, {
312
+ path?: string | undefined;
313
+ '@path'?: string | undefined;
314
+ }, {
315
+ path?: string | undefined;
316
+ '@path'?: string | undefined;
317
+ }>, {
318
+ path?: string | undefined;
319
+ '@path'?: string | undefined;
320
+ }, {
321
+ path?: string | undefined;
322
+ '@path'?: string | undefined;
323
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
324
+ '@call': z.ZodOptional<z.ZodString>;
325
+ call: z.ZodOptional<z.ZodString>;
326
+ catalogId: z.ZodOptional<z.ZodString>;
327
+ }, "strip", z.ZodTypeAny, {
328
+ call?: string | undefined;
329
+ '@call'?: string | undefined;
330
+ catalogId?: string | undefined;
331
+ }, {
332
+ call?: string | undefined;
333
+ '@call'?: string | undefined;
334
+ catalogId?: string | undefined;
335
+ }>, {
336
+ call?: string | undefined;
337
+ '@call'?: string | undefined;
338
+ catalogId?: string | undefined;
339
+ }, {
340
+ call?: string | undefined;
341
+ '@call'?: string | undefined;
342
+ catalogId?: string | undefined;
343
+ }>, z.ZodAny>>]>>;
344
+ avatarUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
345
+ '@path': z.ZodOptional<z.ZodString>;
346
+ path: z.ZodOptional<z.ZodString>;
347
+ }, "strip", z.ZodTypeAny, {
348
+ path?: string | undefined;
349
+ '@path'?: string | undefined;
350
+ }, {
351
+ path?: string | undefined;
352
+ '@path'?: string | undefined;
353
+ }>, {
354
+ path?: string | undefined;
355
+ '@path'?: string | undefined;
356
+ }, {
357
+ path?: string | undefined;
358
+ '@path'?: string | undefined;
359
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
360
+ '@call': z.ZodOptional<z.ZodString>;
361
+ call: z.ZodOptional<z.ZodString>;
362
+ catalogId: z.ZodOptional<z.ZodString>;
363
+ }, "strip", z.ZodTypeAny, {
364
+ call?: string | undefined;
365
+ '@call'?: string | undefined;
366
+ catalogId?: string | undefined;
367
+ }, {
368
+ call?: string | undefined;
369
+ '@call'?: string | undefined;
370
+ catalogId?: string | undefined;
371
+ }>, {
372
+ call?: string | undefined;
373
+ '@call'?: string | undefined;
374
+ catalogId?: string | undefined;
375
+ }, {
376
+ call?: string | undefined;
377
+ '@call'?: string | undefined;
378
+ catalogId?: string | undefined;
379
+ }>, z.ZodAny>>]>>;
380
+ footer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
381
+ '@path': z.ZodOptional<z.ZodString>;
382
+ path: z.ZodOptional<z.ZodString>;
383
+ }, "strip", z.ZodTypeAny, {
384
+ path?: string | undefined;
385
+ '@path'?: string | undefined;
386
+ }, {
387
+ path?: string | undefined;
388
+ '@path'?: string | undefined;
389
+ }>, {
390
+ path?: string | undefined;
391
+ '@path'?: string | undefined;
392
+ }, {
393
+ path?: string | undefined;
394
+ '@path'?: string | undefined;
395
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
396
+ '@call': z.ZodOptional<z.ZodString>;
397
+ call: z.ZodOptional<z.ZodString>;
398
+ catalogId: z.ZodOptional<z.ZodString>;
399
+ }, "strip", z.ZodTypeAny, {
400
+ call?: string | undefined;
401
+ '@call'?: string | undefined;
402
+ catalogId?: string | undefined;
403
+ }, {
404
+ call?: string | undefined;
405
+ '@call'?: string | undefined;
406
+ catalogId?: string | undefined;
407
+ }>, {
408
+ call?: string | undefined;
409
+ '@call'?: string | undefined;
410
+ catalogId?: string | undefined;
411
+ }, {
412
+ call?: string | undefined;
413
+ '@call'?: string | undefined;
414
+ catalogId?: string | undefined;
415
+ }>, z.ZodAny>>]>>;
416
+ variant: z.ZodOptional<z.ZodEnum<["warning", "info", "success", "danger", "default", "monochrome", "neutral"]>>;
417
+ }, "strict", z.ZodTypeAny, {
418
+ children?: string[] | {
419
+ path: string;
420
+ componentId: string;
421
+ } | undefined;
422
+ from?: "me" | "them" | undefined;
423
+ message?: any;
424
+ time?: any;
425
+ author?: any;
426
+ avatarUrl?: any;
427
+ footer?: any;
428
+ variant?: "danger" | "default" | "info" | "monochrome" | "neutral" | "success" | "warning" | undefined;
429
+ }, {
430
+ children?: string[] | {
431
+ path: string;
432
+ componentId: string;
433
+ } | undefined;
434
+ from?: "me" | "them" | undefined;
435
+ message?: any;
436
+ time?: any;
437
+ author?: any;
438
+ avatarUrl?: any;
439
+ footer?: any;
440
+ variant?: "danger" | "default" | "info" | "monochrome" | "neutral" | "success" | "warning" | undefined;
441
+ }>;
442
+ };
443
+ export declare class AgA2uiMessageBubbleElement extends A2uiLitElement<typeof AgMessageBubbleApi> {
444
+ static readonly tagName = "ag-a2ui-message-bubble";
445
+ createRenderRoot(): this;
446
+ render(): import("lit-html").TemplateResult<1>;
447
+ }
448
+ export declare const AgMessageBubble: {
449
+ name: 'AgMessageBubble';
450
+ schema: z.ZodObject<{
451
+ children: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
452
+ componentId: z.ZodString;
453
+ path: z.ZodString;
454
+ }, "strict", z.ZodTypeAny, {
455
+ path: string;
456
+ componentId: string;
457
+ }, {
458
+ path: string;
459
+ componentId: string;
460
+ }>]>>;
461
+ from: z.ZodOptional<z.ZodEnum<["me", "them"]>>;
462
+ message: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
463
+ '@path': z.ZodOptional<z.ZodString>;
464
+ path: z.ZodOptional<z.ZodString>;
465
+ }, "strip", z.ZodTypeAny, {
466
+ path?: string | undefined;
467
+ '@path'?: string | undefined;
468
+ }, {
469
+ path?: string | undefined;
470
+ '@path'?: string | undefined;
471
+ }>, {
472
+ path?: string | undefined;
473
+ '@path'?: string | undefined;
474
+ }, {
475
+ path?: string | undefined;
476
+ '@path'?: string | undefined;
477
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
478
+ '@call': z.ZodOptional<z.ZodString>;
479
+ call: z.ZodOptional<z.ZodString>;
480
+ catalogId: z.ZodOptional<z.ZodString>;
481
+ }, "strip", z.ZodTypeAny, {
482
+ call?: string | undefined;
483
+ '@call'?: string | undefined;
484
+ catalogId?: string | undefined;
485
+ }, {
486
+ call?: string | undefined;
487
+ '@call'?: string | undefined;
488
+ catalogId?: string | undefined;
489
+ }>, {
490
+ call?: string | undefined;
491
+ '@call'?: string | undefined;
492
+ catalogId?: string | undefined;
493
+ }, {
494
+ call?: string | undefined;
495
+ '@call'?: string | undefined;
496
+ catalogId?: string | undefined;
497
+ }>, z.ZodAny>>]>>;
498
+ time: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
499
+ '@path': z.ZodOptional<z.ZodString>;
500
+ path: z.ZodOptional<z.ZodString>;
501
+ }, "strip", z.ZodTypeAny, {
502
+ path?: string | undefined;
503
+ '@path'?: string | undefined;
504
+ }, {
505
+ path?: string | undefined;
506
+ '@path'?: string | undefined;
507
+ }>, {
508
+ path?: string | undefined;
509
+ '@path'?: string | undefined;
510
+ }, {
511
+ path?: string | undefined;
512
+ '@path'?: string | undefined;
513
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
514
+ '@call': z.ZodOptional<z.ZodString>;
515
+ call: z.ZodOptional<z.ZodString>;
516
+ catalogId: z.ZodOptional<z.ZodString>;
517
+ }, "strip", z.ZodTypeAny, {
518
+ call?: string | undefined;
519
+ '@call'?: string | undefined;
520
+ catalogId?: string | undefined;
521
+ }, {
522
+ call?: string | undefined;
523
+ '@call'?: string | undefined;
524
+ catalogId?: string | undefined;
525
+ }>, {
526
+ call?: string | undefined;
527
+ '@call'?: string | undefined;
528
+ catalogId?: string | undefined;
529
+ }, {
530
+ call?: string | undefined;
531
+ '@call'?: string | undefined;
532
+ catalogId?: string | undefined;
533
+ }>, z.ZodAny>>]>>;
534
+ author: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
535
+ '@path': z.ZodOptional<z.ZodString>;
536
+ path: z.ZodOptional<z.ZodString>;
537
+ }, "strip", z.ZodTypeAny, {
538
+ path?: string | undefined;
539
+ '@path'?: string | undefined;
540
+ }, {
541
+ path?: string | undefined;
542
+ '@path'?: string | undefined;
543
+ }>, {
544
+ path?: string | undefined;
545
+ '@path'?: string | undefined;
546
+ }, {
547
+ path?: string | undefined;
548
+ '@path'?: string | undefined;
549
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
550
+ '@call': z.ZodOptional<z.ZodString>;
551
+ call: z.ZodOptional<z.ZodString>;
552
+ catalogId: z.ZodOptional<z.ZodString>;
553
+ }, "strip", z.ZodTypeAny, {
554
+ call?: string | undefined;
555
+ '@call'?: string | undefined;
556
+ catalogId?: string | undefined;
557
+ }, {
558
+ call?: string | undefined;
559
+ '@call'?: string | undefined;
560
+ catalogId?: string | undefined;
561
+ }>, {
562
+ call?: string | undefined;
563
+ '@call'?: string | undefined;
564
+ catalogId?: string | undefined;
565
+ }, {
566
+ call?: string | undefined;
567
+ '@call'?: string | undefined;
568
+ catalogId?: string | undefined;
569
+ }>, z.ZodAny>>]>>;
570
+ avatarUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
571
+ '@path': z.ZodOptional<z.ZodString>;
572
+ path: z.ZodOptional<z.ZodString>;
573
+ }, "strip", z.ZodTypeAny, {
574
+ path?: string | undefined;
575
+ '@path'?: string | undefined;
576
+ }, {
577
+ path?: string | undefined;
578
+ '@path'?: string | undefined;
579
+ }>, {
580
+ path?: string | undefined;
581
+ '@path'?: string | undefined;
582
+ }, {
583
+ path?: string | undefined;
584
+ '@path'?: string | undefined;
585
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
586
+ '@call': z.ZodOptional<z.ZodString>;
587
+ call: z.ZodOptional<z.ZodString>;
588
+ catalogId: z.ZodOptional<z.ZodString>;
589
+ }, "strip", z.ZodTypeAny, {
590
+ call?: string | undefined;
591
+ '@call'?: string | undefined;
592
+ catalogId?: string | undefined;
593
+ }, {
594
+ call?: string | undefined;
595
+ '@call'?: string | undefined;
596
+ catalogId?: string | undefined;
597
+ }>, {
598
+ call?: string | undefined;
599
+ '@call'?: string | undefined;
600
+ catalogId?: string | undefined;
601
+ }, {
602
+ call?: string | undefined;
603
+ '@call'?: string | undefined;
604
+ catalogId?: string | undefined;
605
+ }>, z.ZodAny>>]>>;
606
+ footer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
607
+ '@path': z.ZodOptional<z.ZodString>;
608
+ path: z.ZodOptional<z.ZodString>;
609
+ }, "strip", z.ZodTypeAny, {
610
+ path?: string | undefined;
611
+ '@path'?: string | undefined;
612
+ }, {
613
+ path?: string | undefined;
614
+ '@path'?: string | undefined;
615
+ }>, {
616
+ path?: string | undefined;
617
+ '@path'?: string | undefined;
618
+ }, {
619
+ path?: string | undefined;
620
+ '@path'?: string | undefined;
621
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
622
+ '@call': z.ZodOptional<z.ZodString>;
623
+ call: z.ZodOptional<z.ZodString>;
624
+ catalogId: z.ZodOptional<z.ZodString>;
625
+ }, "strip", z.ZodTypeAny, {
626
+ call?: string | undefined;
627
+ '@call'?: string | undefined;
628
+ catalogId?: string | undefined;
629
+ }, {
630
+ call?: string | undefined;
631
+ '@call'?: string | undefined;
632
+ catalogId?: string | undefined;
633
+ }>, {
634
+ call?: string | undefined;
635
+ '@call'?: string | undefined;
636
+ catalogId?: string | undefined;
637
+ }, {
638
+ call?: string | undefined;
639
+ '@call'?: string | undefined;
640
+ catalogId?: string | undefined;
641
+ }>, z.ZodAny>>]>>;
642
+ variant: z.ZodOptional<z.ZodEnum<["warning", "info", "success", "danger", "default", "monochrome", "neutral"]>>;
643
+ }, "strict", z.ZodTypeAny, {
644
+ children?: string[] | {
645
+ path: string;
646
+ componentId: string;
647
+ } | undefined;
648
+ from?: "me" | "them" | undefined;
649
+ message?: any;
650
+ time?: any;
651
+ author?: any;
652
+ avatarUrl?: any;
653
+ footer?: any;
654
+ variant?: "danger" | "default" | "info" | "monochrome" | "neutral" | "success" | "warning" | undefined;
655
+ }, {
656
+ children?: string[] | {
657
+ path: string;
658
+ componentId: string;
659
+ } | undefined;
660
+ from?: "me" | "them" | undefined;
661
+ message?: any;
662
+ time?: any;
663
+ author?: any;
664
+ avatarUrl?: any;
665
+ footer?: any;
666
+ variant?: "danger" | "default" | "info" | "monochrome" | "neutral" | "success" | "warning" | undefined;
667
+ }>;
668
+ element: typeof AgA2uiMessageBubbleElement;
669
+ tagName: string;
670
+ };