@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,1568 @@
1
+ import { z } from 'zod';
2
+ import { A2uiLitElement } from '@a2ui/web_core/v1_0';
3
+ import 'agnosticui-core/button';
4
+ export declare const AgButtonSchema: 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
+ label: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
16
+ '@path': z.ZodOptional<z.ZodString>;
17
+ path: z.ZodOptional<z.ZodString>;
18
+ }, "strip", z.ZodTypeAny, {
19
+ path?: string | undefined;
20
+ '@path'?: string | undefined;
21
+ }, {
22
+ path?: string | undefined;
23
+ '@path'?: string | undefined;
24
+ }>, {
25
+ path?: string | undefined;
26
+ '@path'?: string | undefined;
27
+ }, {
28
+ path?: string | undefined;
29
+ '@path'?: string | undefined;
30
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
31
+ '@call': z.ZodOptional<z.ZodString>;
32
+ call: z.ZodOptional<z.ZodString>;
33
+ catalogId: z.ZodOptional<z.ZodString>;
34
+ }, "strip", z.ZodTypeAny, {
35
+ call?: string | undefined;
36
+ '@call'?: string | undefined;
37
+ catalogId?: string | undefined;
38
+ }, {
39
+ call?: string | undefined;
40
+ '@call'?: string | undefined;
41
+ catalogId?: string | undefined;
42
+ }>, {
43
+ call?: string | undefined;
44
+ '@call'?: string | undefined;
45
+ catalogId?: string | undefined;
46
+ }, {
47
+ call?: string | undefined;
48
+ '@call'?: string | undefined;
49
+ catalogId?: string | undefined;
50
+ }>, z.ZodAny>>]>>;
51
+ variant: z.ZodOptional<z.ZodEnum<["warning", "success", "danger", "primary", "monochrome", "secondary"]>>;
52
+ size: z.ZodOptional<z.ZodEnum<["sm", "md", "lg", "xl", "x-sm"]>>;
53
+ shape: z.ZodOptional<z.ZodEnum<["circle", "square", "rounded", "capsule", "rounded-square"]>>;
54
+ bordered: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
55
+ '@path': z.ZodOptional<z.ZodString>;
56
+ path: z.ZodOptional<z.ZodString>;
57
+ }, "strip", z.ZodTypeAny, {
58
+ path?: string | undefined;
59
+ '@path'?: string | undefined;
60
+ }, {
61
+ path?: string | undefined;
62
+ '@path'?: string | undefined;
63
+ }>, {
64
+ path?: string | undefined;
65
+ '@path'?: string | undefined;
66
+ }, {
67
+ path?: string | undefined;
68
+ '@path'?: string | undefined;
69
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
70
+ '@call': z.ZodOptional<z.ZodString>;
71
+ call: z.ZodOptional<z.ZodString>;
72
+ catalogId: z.ZodOptional<z.ZodString>;
73
+ }, "strip", z.ZodTypeAny, {
74
+ call?: string | undefined;
75
+ '@call'?: string | undefined;
76
+ catalogId?: string | undefined;
77
+ }, {
78
+ call?: string | undefined;
79
+ '@call'?: string | undefined;
80
+ catalogId?: string | undefined;
81
+ }>, {
82
+ call?: string | undefined;
83
+ '@call'?: string | undefined;
84
+ catalogId?: string | undefined;
85
+ }, {
86
+ call?: string | undefined;
87
+ '@call'?: string | undefined;
88
+ catalogId?: string | undefined;
89
+ }>, z.ZodAny>>]>>;
90
+ ghost: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
91
+ '@path': z.ZodOptional<z.ZodString>;
92
+ path: z.ZodOptional<z.ZodString>;
93
+ }, "strip", z.ZodTypeAny, {
94
+ path?: string | undefined;
95
+ '@path'?: string | undefined;
96
+ }, {
97
+ path?: string | undefined;
98
+ '@path'?: string | undefined;
99
+ }>, {
100
+ path?: string | undefined;
101
+ '@path'?: string | undefined;
102
+ }, {
103
+ path?: string | undefined;
104
+ '@path'?: string | undefined;
105
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
106
+ '@call': z.ZodOptional<z.ZodString>;
107
+ call: z.ZodOptional<z.ZodString>;
108
+ catalogId: z.ZodOptional<z.ZodString>;
109
+ }, "strip", z.ZodTypeAny, {
110
+ call?: string | undefined;
111
+ '@call'?: string | undefined;
112
+ catalogId?: string | undefined;
113
+ }, {
114
+ call?: string | undefined;
115
+ '@call'?: string | undefined;
116
+ catalogId?: string | undefined;
117
+ }>, {
118
+ call?: string | undefined;
119
+ '@call'?: string | undefined;
120
+ catalogId?: string | undefined;
121
+ }, {
122
+ call?: string | undefined;
123
+ '@call'?: string | undefined;
124
+ catalogId?: string | undefined;
125
+ }>, z.ZodAny>>]>>;
126
+ link: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
127
+ '@path': z.ZodOptional<z.ZodString>;
128
+ path: z.ZodOptional<z.ZodString>;
129
+ }, "strip", z.ZodTypeAny, {
130
+ path?: string | undefined;
131
+ '@path'?: string | undefined;
132
+ }, {
133
+ path?: string | undefined;
134
+ '@path'?: string | undefined;
135
+ }>, {
136
+ path?: string | undefined;
137
+ '@path'?: string | undefined;
138
+ }, {
139
+ path?: string | undefined;
140
+ '@path'?: string | undefined;
141
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
142
+ '@call': z.ZodOptional<z.ZodString>;
143
+ call: z.ZodOptional<z.ZodString>;
144
+ catalogId: z.ZodOptional<z.ZodString>;
145
+ }, "strip", z.ZodTypeAny, {
146
+ call?: string | undefined;
147
+ '@call'?: string | undefined;
148
+ catalogId?: string | undefined;
149
+ }, {
150
+ call?: string | undefined;
151
+ '@call'?: string | undefined;
152
+ catalogId?: string | undefined;
153
+ }>, {
154
+ call?: string | undefined;
155
+ '@call'?: string | undefined;
156
+ catalogId?: string | undefined;
157
+ }, {
158
+ call?: string | undefined;
159
+ '@call'?: string | undefined;
160
+ catalogId?: string | undefined;
161
+ }>, z.ZodAny>>]>>;
162
+ grouped: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
163
+ '@path': z.ZodOptional<z.ZodString>;
164
+ path: z.ZodOptional<z.ZodString>;
165
+ }, "strip", z.ZodTypeAny, {
166
+ path?: string | undefined;
167
+ '@path'?: string | undefined;
168
+ }, {
169
+ path?: string | undefined;
170
+ '@path'?: string | undefined;
171
+ }>, {
172
+ path?: string | undefined;
173
+ '@path'?: string | undefined;
174
+ }, {
175
+ path?: string | undefined;
176
+ '@path'?: string | undefined;
177
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
178
+ '@call': z.ZodOptional<z.ZodString>;
179
+ call: z.ZodOptional<z.ZodString>;
180
+ catalogId: z.ZodOptional<z.ZodString>;
181
+ }, "strip", z.ZodTypeAny, {
182
+ call?: string | undefined;
183
+ '@call'?: string | undefined;
184
+ catalogId?: string | undefined;
185
+ }, {
186
+ call?: string | undefined;
187
+ '@call'?: string | undefined;
188
+ catalogId?: string | undefined;
189
+ }>, {
190
+ call?: string | undefined;
191
+ '@call'?: string | undefined;
192
+ catalogId?: string | undefined;
193
+ }, {
194
+ call?: string | undefined;
195
+ '@call'?: string | undefined;
196
+ catalogId?: string | undefined;
197
+ }>, z.ZodAny>>]>>;
198
+ fullWidth: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
199
+ '@path': z.ZodOptional<z.ZodString>;
200
+ path: z.ZodOptional<z.ZodString>;
201
+ }, "strip", z.ZodTypeAny, {
202
+ path?: string | undefined;
203
+ '@path'?: string | undefined;
204
+ }, {
205
+ path?: string | undefined;
206
+ '@path'?: string | undefined;
207
+ }>, {
208
+ path?: string | undefined;
209
+ '@path'?: string | undefined;
210
+ }, {
211
+ path?: string | undefined;
212
+ '@path'?: string | undefined;
213
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
214
+ '@call': z.ZodOptional<z.ZodString>;
215
+ call: z.ZodOptional<z.ZodString>;
216
+ catalogId: z.ZodOptional<z.ZodString>;
217
+ }, "strip", z.ZodTypeAny, {
218
+ call?: string | undefined;
219
+ '@call'?: string | undefined;
220
+ catalogId?: string | undefined;
221
+ }, {
222
+ call?: string | undefined;
223
+ '@call'?: string | undefined;
224
+ catalogId?: string | undefined;
225
+ }>, {
226
+ call?: string | undefined;
227
+ '@call'?: string | undefined;
228
+ catalogId?: string | undefined;
229
+ }, {
230
+ call?: string | undefined;
231
+ '@call'?: string | undefined;
232
+ catalogId?: string | undefined;
233
+ }>, z.ZodAny>>]>>;
234
+ type: z.ZodOptional<z.ZodEnum<["button", "submit", "reset"]>>;
235
+ disabled: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
236
+ '@path': z.ZodOptional<z.ZodString>;
237
+ path: z.ZodOptional<z.ZodString>;
238
+ }, "strip", z.ZodTypeAny, {
239
+ path?: string | undefined;
240
+ '@path'?: string | undefined;
241
+ }, {
242
+ path?: string | undefined;
243
+ '@path'?: string | undefined;
244
+ }>, {
245
+ path?: string | undefined;
246
+ '@path'?: string | undefined;
247
+ }, {
248
+ path?: string | undefined;
249
+ '@path'?: string | undefined;
250
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
251
+ '@call': z.ZodOptional<z.ZodString>;
252
+ call: z.ZodOptional<z.ZodString>;
253
+ catalogId: z.ZodOptional<z.ZodString>;
254
+ }, "strip", z.ZodTypeAny, {
255
+ call?: string | undefined;
256
+ '@call'?: string | undefined;
257
+ catalogId?: string | undefined;
258
+ }, {
259
+ call?: string | undefined;
260
+ '@call'?: string | undefined;
261
+ catalogId?: string | undefined;
262
+ }>, {
263
+ call?: string | undefined;
264
+ '@call'?: string | undefined;
265
+ catalogId?: string | undefined;
266
+ }, {
267
+ call?: string | undefined;
268
+ '@call'?: string | undefined;
269
+ catalogId?: string | undefined;
270
+ }>, z.ZodAny>>]>>;
271
+ loading: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
272
+ '@path': z.ZodOptional<z.ZodString>;
273
+ path: z.ZodOptional<z.ZodString>;
274
+ }, "strip", z.ZodTypeAny, {
275
+ path?: string | undefined;
276
+ '@path'?: string | undefined;
277
+ }, {
278
+ path?: string | undefined;
279
+ '@path'?: string | undefined;
280
+ }>, {
281
+ path?: string | undefined;
282
+ '@path'?: string | undefined;
283
+ }, {
284
+ path?: string | undefined;
285
+ '@path'?: string | undefined;
286
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
287
+ '@call': z.ZodOptional<z.ZodString>;
288
+ call: z.ZodOptional<z.ZodString>;
289
+ catalogId: z.ZodOptional<z.ZodString>;
290
+ }, "strip", z.ZodTypeAny, {
291
+ call?: string | undefined;
292
+ '@call'?: string | undefined;
293
+ catalogId?: string | undefined;
294
+ }, {
295
+ call?: string | undefined;
296
+ '@call'?: string | undefined;
297
+ catalogId?: string | undefined;
298
+ }>, {
299
+ call?: string | undefined;
300
+ '@call'?: string | undefined;
301
+ catalogId?: string | undefined;
302
+ }, {
303
+ call?: string | undefined;
304
+ '@call'?: string | undefined;
305
+ catalogId?: string | undefined;
306
+ }>, z.ZodAny>>]>>;
307
+ ariaLabel: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
308
+ '@path': z.ZodOptional<z.ZodString>;
309
+ path: z.ZodOptional<z.ZodString>;
310
+ }, "strip", z.ZodTypeAny, {
311
+ path?: string | undefined;
312
+ '@path'?: string | undefined;
313
+ }, {
314
+ path?: string | undefined;
315
+ '@path'?: string | undefined;
316
+ }>, {
317
+ path?: string | undefined;
318
+ '@path'?: string | undefined;
319
+ }, {
320
+ path?: string | undefined;
321
+ '@path'?: string | undefined;
322
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
323
+ '@call': z.ZodOptional<z.ZodString>;
324
+ call: z.ZodOptional<z.ZodString>;
325
+ catalogId: z.ZodOptional<z.ZodString>;
326
+ }, "strip", z.ZodTypeAny, {
327
+ call?: string | undefined;
328
+ '@call'?: string | undefined;
329
+ catalogId?: string | undefined;
330
+ }, {
331
+ call?: string | undefined;
332
+ '@call'?: string | undefined;
333
+ catalogId?: string | undefined;
334
+ }>, {
335
+ call?: string | undefined;
336
+ '@call'?: string | undefined;
337
+ catalogId?: string | undefined;
338
+ }, {
339
+ call?: string | undefined;
340
+ '@call'?: string | undefined;
341
+ catalogId?: string | undefined;
342
+ }>, z.ZodAny>>]>>;
343
+ action: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
344
+ event: z.ZodObject<{
345
+ name: z.ZodString;
346
+ userMessage: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
347
+ '@path': z.ZodOptional<z.ZodString>;
348
+ path: z.ZodOptional<z.ZodString>;
349
+ }, "strip", z.ZodTypeAny, {
350
+ path?: string | undefined;
351
+ '@path'?: string | undefined;
352
+ }, {
353
+ path?: string | undefined;
354
+ '@path'?: string | undefined;
355
+ }>, {
356
+ path?: string | undefined;
357
+ '@path'?: string | undefined;
358
+ }, {
359
+ path?: string | undefined;
360
+ '@path'?: string | undefined;
361
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
362
+ '@call': z.ZodOptional<z.ZodString>;
363
+ call: z.ZodOptional<z.ZodString>;
364
+ catalogId: z.ZodOptional<z.ZodString>;
365
+ }, "strip", z.ZodTypeAny, {
366
+ call?: string | undefined;
367
+ '@call'?: string | undefined;
368
+ catalogId?: string | undefined;
369
+ }, {
370
+ call?: string | undefined;
371
+ '@call'?: string | undefined;
372
+ catalogId?: string | undefined;
373
+ }>, {
374
+ call?: string | undefined;
375
+ '@call'?: string | undefined;
376
+ catalogId?: string | undefined;
377
+ }, {
378
+ call?: string | undefined;
379
+ '@call'?: string | undefined;
380
+ catalogId?: string | undefined;
381
+ }>, z.ZodAny>>]>>;
382
+ context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodAny, "many">, z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>, z.ZodEffects<z.ZodObject<{
383
+ '@path': z.ZodOptional<z.ZodString>;
384
+ path: z.ZodOptional<z.ZodString>;
385
+ }, "strip", z.ZodTypeAny, {
386
+ path?: string | undefined;
387
+ '@path'?: string | undefined;
388
+ }, {
389
+ path?: string | undefined;
390
+ '@path'?: string | undefined;
391
+ }>, {
392
+ path?: string | undefined;
393
+ '@path'?: string | undefined;
394
+ }, {
395
+ path?: string | undefined;
396
+ '@path'?: string | undefined;
397
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
398
+ '@call': z.ZodOptional<z.ZodString>;
399
+ call: z.ZodOptional<z.ZodString>;
400
+ catalogId: z.ZodOptional<z.ZodString>;
401
+ }, "strip", z.ZodTypeAny, {
402
+ call?: string | undefined;
403
+ '@call'?: string | undefined;
404
+ catalogId?: string | undefined;
405
+ }, {
406
+ call?: string | undefined;
407
+ '@call'?: string | undefined;
408
+ catalogId?: string | undefined;
409
+ }>, {
410
+ call?: string | undefined;
411
+ '@call'?: string | undefined;
412
+ catalogId?: string | undefined;
413
+ }, {
414
+ call?: string | undefined;
415
+ '@call'?: string | undefined;
416
+ catalogId?: string | undefined;
417
+ }>, z.ZodAny>>]>>>;
418
+ }, "strict", z.ZodTypeAny, {
419
+ name: string;
420
+ context?: Record<string, any> | undefined;
421
+ userMessage?: any;
422
+ }, {
423
+ name: string;
424
+ context?: Record<string, any> | undefined;
425
+ userMessage?: any;
426
+ }>;
427
+ }, "strict", z.ZodTypeAny, {
428
+ event: {
429
+ name: string;
430
+ context?: Record<string, any> | undefined;
431
+ userMessage?: any;
432
+ };
433
+ }, {
434
+ event: {
435
+ name: string;
436
+ context?: Record<string, any> | undefined;
437
+ userMessage?: any;
438
+ };
439
+ }>, z.ZodObject<{
440
+ functionCall: z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
441
+ '@call': z.ZodOptional<z.ZodString>;
442
+ call: z.ZodOptional<z.ZodString>;
443
+ catalogId: z.ZodOptional<z.ZodString>;
444
+ }, "strip", z.ZodTypeAny, {
445
+ call?: string | undefined;
446
+ '@call'?: string | undefined;
447
+ catalogId?: string | undefined;
448
+ }, {
449
+ call?: string | undefined;
450
+ '@call'?: string | undefined;
451
+ catalogId?: string | undefined;
452
+ }>, {
453
+ call?: string | undefined;
454
+ '@call'?: string | undefined;
455
+ catalogId?: string | undefined;
456
+ }, {
457
+ call?: string | undefined;
458
+ '@call'?: string | undefined;
459
+ catalogId?: string | undefined;
460
+ }>, z.ZodAny>>;
461
+ }, "strict", z.ZodTypeAny, {
462
+ functionCall?: any;
463
+ }, {
464
+ functionCall?: any;
465
+ }>]>>;
466
+ }, "strict", z.ZodTypeAny, {
467
+ children?: string[] | {
468
+ path: string;
469
+ componentId: string;
470
+ } | undefined;
471
+ label?: any;
472
+ variant?: "danger" | "monochrome" | "primary" | "secondary" | "success" | "warning" | undefined;
473
+ size?: "lg" | "md" | "sm" | "x-sm" | "xl" | undefined;
474
+ shape?: "capsule" | "circle" | "rounded" | "rounded-square" | "square" | undefined;
475
+ bordered?: any;
476
+ ghost?: any;
477
+ link?: any;
478
+ grouped?: any;
479
+ fullWidth?: any;
480
+ type?: "button" | "reset" | "submit" | undefined;
481
+ disabled?: any;
482
+ loading?: any;
483
+ ariaLabel?: any;
484
+ action?: {
485
+ event: {
486
+ name: string;
487
+ context?: Record<string, any> | undefined;
488
+ userMessage?: any;
489
+ };
490
+ } | {
491
+ functionCall?: any;
492
+ } | undefined;
493
+ }, {
494
+ children?: string[] | {
495
+ path: string;
496
+ componentId: string;
497
+ } | undefined;
498
+ label?: any;
499
+ variant?: "danger" | "monochrome" | "primary" | "secondary" | "success" | "warning" | undefined;
500
+ size?: "lg" | "md" | "sm" | "x-sm" | "xl" | undefined;
501
+ shape?: "capsule" | "circle" | "rounded" | "rounded-square" | "square" | undefined;
502
+ bordered?: any;
503
+ ghost?: any;
504
+ link?: any;
505
+ grouped?: any;
506
+ fullWidth?: any;
507
+ type?: "button" | "reset" | "submit" | undefined;
508
+ disabled?: any;
509
+ loading?: any;
510
+ ariaLabel?: any;
511
+ action?: {
512
+ event: {
513
+ name: string;
514
+ context?: Record<string, any> | undefined;
515
+ userMessage?: any;
516
+ };
517
+ } | {
518
+ functionCall?: any;
519
+ } | undefined;
520
+ }>;
521
+ export declare const AgButtonApi: {
522
+ name: 'AgButton';
523
+ schema: z.ZodObject<{
524
+ children: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
525
+ componentId: z.ZodString;
526
+ path: z.ZodString;
527
+ }, "strict", z.ZodTypeAny, {
528
+ path: string;
529
+ componentId: string;
530
+ }, {
531
+ path: string;
532
+ componentId: string;
533
+ }>]>>;
534
+ label: 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
+ variant: z.ZodOptional<z.ZodEnum<["warning", "success", "danger", "primary", "monochrome", "secondary"]>>;
571
+ size: z.ZodOptional<z.ZodEnum<["sm", "md", "lg", "xl", "x-sm"]>>;
572
+ shape: z.ZodOptional<z.ZodEnum<["circle", "square", "rounded", "capsule", "rounded-square"]>>;
573
+ bordered: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
574
+ '@path': z.ZodOptional<z.ZodString>;
575
+ path: z.ZodOptional<z.ZodString>;
576
+ }, "strip", z.ZodTypeAny, {
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
+ }, {
586
+ path?: string | undefined;
587
+ '@path'?: string | undefined;
588
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
589
+ '@call': z.ZodOptional<z.ZodString>;
590
+ call: z.ZodOptional<z.ZodString>;
591
+ catalogId: z.ZodOptional<z.ZodString>;
592
+ }, "strip", z.ZodTypeAny, {
593
+ call?: string | undefined;
594
+ '@call'?: string | undefined;
595
+ catalogId?: string | undefined;
596
+ }, {
597
+ call?: string | undefined;
598
+ '@call'?: string | undefined;
599
+ catalogId?: string | undefined;
600
+ }>, {
601
+ call?: string | undefined;
602
+ '@call'?: string | undefined;
603
+ catalogId?: string | undefined;
604
+ }, {
605
+ call?: string | undefined;
606
+ '@call'?: string | undefined;
607
+ catalogId?: string | undefined;
608
+ }>, z.ZodAny>>]>>;
609
+ ghost: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
610
+ '@path': z.ZodOptional<z.ZodString>;
611
+ path: z.ZodOptional<z.ZodString>;
612
+ }, "strip", z.ZodTypeAny, {
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
+ }, {
622
+ path?: string | undefined;
623
+ '@path'?: string | undefined;
624
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
625
+ '@call': z.ZodOptional<z.ZodString>;
626
+ call: z.ZodOptional<z.ZodString>;
627
+ catalogId: z.ZodOptional<z.ZodString>;
628
+ }, "strip", z.ZodTypeAny, {
629
+ call?: string | undefined;
630
+ '@call'?: string | undefined;
631
+ catalogId?: string | undefined;
632
+ }, {
633
+ call?: string | undefined;
634
+ '@call'?: string | undefined;
635
+ catalogId?: string | undefined;
636
+ }>, {
637
+ call?: string | undefined;
638
+ '@call'?: string | undefined;
639
+ catalogId?: string | undefined;
640
+ }, {
641
+ call?: string | undefined;
642
+ '@call'?: string | undefined;
643
+ catalogId?: string | undefined;
644
+ }>, z.ZodAny>>]>>;
645
+ link: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
646
+ '@path': z.ZodOptional<z.ZodString>;
647
+ path: z.ZodOptional<z.ZodString>;
648
+ }, "strip", z.ZodTypeAny, {
649
+ path?: string | undefined;
650
+ '@path'?: string | undefined;
651
+ }, {
652
+ path?: string | undefined;
653
+ '@path'?: string | undefined;
654
+ }>, {
655
+ path?: string | undefined;
656
+ '@path'?: string | undefined;
657
+ }, {
658
+ path?: string | undefined;
659
+ '@path'?: string | undefined;
660
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
661
+ '@call': z.ZodOptional<z.ZodString>;
662
+ call: z.ZodOptional<z.ZodString>;
663
+ catalogId: z.ZodOptional<z.ZodString>;
664
+ }, "strip", z.ZodTypeAny, {
665
+ call?: string | undefined;
666
+ '@call'?: string | undefined;
667
+ catalogId?: string | undefined;
668
+ }, {
669
+ call?: string | undefined;
670
+ '@call'?: string | undefined;
671
+ catalogId?: string | undefined;
672
+ }>, {
673
+ call?: string | undefined;
674
+ '@call'?: string | undefined;
675
+ catalogId?: string | undefined;
676
+ }, {
677
+ call?: string | undefined;
678
+ '@call'?: string | undefined;
679
+ catalogId?: string | undefined;
680
+ }>, z.ZodAny>>]>>;
681
+ grouped: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
682
+ '@path': z.ZodOptional<z.ZodString>;
683
+ path: z.ZodOptional<z.ZodString>;
684
+ }, "strip", z.ZodTypeAny, {
685
+ path?: string | undefined;
686
+ '@path'?: string | undefined;
687
+ }, {
688
+ path?: string | undefined;
689
+ '@path'?: string | undefined;
690
+ }>, {
691
+ path?: string | undefined;
692
+ '@path'?: string | undefined;
693
+ }, {
694
+ path?: string | undefined;
695
+ '@path'?: string | undefined;
696
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
697
+ '@call': z.ZodOptional<z.ZodString>;
698
+ call: z.ZodOptional<z.ZodString>;
699
+ catalogId: z.ZodOptional<z.ZodString>;
700
+ }, "strip", z.ZodTypeAny, {
701
+ call?: string | undefined;
702
+ '@call'?: string | undefined;
703
+ catalogId?: string | undefined;
704
+ }, {
705
+ call?: string | undefined;
706
+ '@call'?: string | undefined;
707
+ catalogId?: string | undefined;
708
+ }>, {
709
+ call?: string | undefined;
710
+ '@call'?: string | undefined;
711
+ catalogId?: string | undefined;
712
+ }, {
713
+ call?: string | undefined;
714
+ '@call'?: string | undefined;
715
+ catalogId?: string | undefined;
716
+ }>, z.ZodAny>>]>>;
717
+ fullWidth: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
718
+ '@path': z.ZodOptional<z.ZodString>;
719
+ path: z.ZodOptional<z.ZodString>;
720
+ }, "strip", z.ZodTypeAny, {
721
+ path?: string | undefined;
722
+ '@path'?: string | undefined;
723
+ }, {
724
+ path?: string | undefined;
725
+ '@path'?: string | undefined;
726
+ }>, {
727
+ path?: string | undefined;
728
+ '@path'?: string | undefined;
729
+ }, {
730
+ path?: string | undefined;
731
+ '@path'?: string | undefined;
732
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
733
+ '@call': z.ZodOptional<z.ZodString>;
734
+ call: z.ZodOptional<z.ZodString>;
735
+ catalogId: z.ZodOptional<z.ZodString>;
736
+ }, "strip", z.ZodTypeAny, {
737
+ call?: string | undefined;
738
+ '@call'?: string | undefined;
739
+ catalogId?: string | undefined;
740
+ }, {
741
+ call?: string | undefined;
742
+ '@call'?: string | undefined;
743
+ catalogId?: string | undefined;
744
+ }>, {
745
+ call?: string | undefined;
746
+ '@call'?: string | undefined;
747
+ catalogId?: string | undefined;
748
+ }, {
749
+ call?: string | undefined;
750
+ '@call'?: string | undefined;
751
+ catalogId?: string | undefined;
752
+ }>, z.ZodAny>>]>>;
753
+ type: z.ZodOptional<z.ZodEnum<["button", "submit", "reset"]>>;
754
+ disabled: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
755
+ '@path': z.ZodOptional<z.ZodString>;
756
+ path: z.ZodOptional<z.ZodString>;
757
+ }, "strip", z.ZodTypeAny, {
758
+ path?: string | undefined;
759
+ '@path'?: string | undefined;
760
+ }, {
761
+ path?: string | undefined;
762
+ '@path'?: string | undefined;
763
+ }>, {
764
+ path?: string | undefined;
765
+ '@path'?: string | undefined;
766
+ }, {
767
+ path?: string | undefined;
768
+ '@path'?: string | undefined;
769
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
770
+ '@call': z.ZodOptional<z.ZodString>;
771
+ call: z.ZodOptional<z.ZodString>;
772
+ catalogId: z.ZodOptional<z.ZodString>;
773
+ }, "strip", z.ZodTypeAny, {
774
+ call?: string | undefined;
775
+ '@call'?: string | undefined;
776
+ catalogId?: string | undefined;
777
+ }, {
778
+ call?: string | undefined;
779
+ '@call'?: string | undefined;
780
+ catalogId?: string | undefined;
781
+ }>, {
782
+ call?: string | undefined;
783
+ '@call'?: string | undefined;
784
+ catalogId?: string | undefined;
785
+ }, {
786
+ call?: string | undefined;
787
+ '@call'?: string | undefined;
788
+ catalogId?: string | undefined;
789
+ }>, z.ZodAny>>]>>;
790
+ loading: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
791
+ '@path': z.ZodOptional<z.ZodString>;
792
+ path: z.ZodOptional<z.ZodString>;
793
+ }, "strip", z.ZodTypeAny, {
794
+ path?: string | undefined;
795
+ '@path'?: string | undefined;
796
+ }, {
797
+ path?: string | undefined;
798
+ '@path'?: string | undefined;
799
+ }>, {
800
+ path?: string | undefined;
801
+ '@path'?: string | undefined;
802
+ }, {
803
+ path?: string | undefined;
804
+ '@path'?: string | undefined;
805
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
806
+ '@call': z.ZodOptional<z.ZodString>;
807
+ call: z.ZodOptional<z.ZodString>;
808
+ catalogId: z.ZodOptional<z.ZodString>;
809
+ }, "strip", z.ZodTypeAny, {
810
+ call?: string | undefined;
811
+ '@call'?: string | undefined;
812
+ catalogId?: string | undefined;
813
+ }, {
814
+ call?: string | undefined;
815
+ '@call'?: string | undefined;
816
+ catalogId?: string | undefined;
817
+ }>, {
818
+ call?: string | undefined;
819
+ '@call'?: string | undefined;
820
+ catalogId?: string | undefined;
821
+ }, {
822
+ call?: string | undefined;
823
+ '@call'?: string | undefined;
824
+ catalogId?: string | undefined;
825
+ }>, z.ZodAny>>]>>;
826
+ ariaLabel: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
827
+ '@path': z.ZodOptional<z.ZodString>;
828
+ path: z.ZodOptional<z.ZodString>;
829
+ }, "strip", z.ZodTypeAny, {
830
+ path?: string | undefined;
831
+ '@path'?: string | undefined;
832
+ }, {
833
+ path?: string | undefined;
834
+ '@path'?: string | undefined;
835
+ }>, {
836
+ path?: string | undefined;
837
+ '@path'?: string | undefined;
838
+ }, {
839
+ path?: string | undefined;
840
+ '@path'?: string | undefined;
841
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
842
+ '@call': z.ZodOptional<z.ZodString>;
843
+ call: z.ZodOptional<z.ZodString>;
844
+ catalogId: z.ZodOptional<z.ZodString>;
845
+ }, "strip", z.ZodTypeAny, {
846
+ call?: string | undefined;
847
+ '@call'?: string | undefined;
848
+ catalogId?: string | undefined;
849
+ }, {
850
+ call?: string | undefined;
851
+ '@call'?: string | undefined;
852
+ catalogId?: string | undefined;
853
+ }>, {
854
+ call?: string | undefined;
855
+ '@call'?: string | undefined;
856
+ catalogId?: string | undefined;
857
+ }, {
858
+ call?: string | undefined;
859
+ '@call'?: string | undefined;
860
+ catalogId?: string | undefined;
861
+ }>, z.ZodAny>>]>>;
862
+ action: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
863
+ event: z.ZodObject<{
864
+ name: z.ZodString;
865
+ userMessage: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
866
+ '@path': z.ZodOptional<z.ZodString>;
867
+ path: z.ZodOptional<z.ZodString>;
868
+ }, "strip", z.ZodTypeAny, {
869
+ path?: string | undefined;
870
+ '@path'?: string | undefined;
871
+ }, {
872
+ path?: string | undefined;
873
+ '@path'?: string | undefined;
874
+ }>, {
875
+ path?: string | undefined;
876
+ '@path'?: string | undefined;
877
+ }, {
878
+ path?: string | undefined;
879
+ '@path'?: string | undefined;
880
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
881
+ '@call': z.ZodOptional<z.ZodString>;
882
+ call: z.ZodOptional<z.ZodString>;
883
+ catalogId: z.ZodOptional<z.ZodString>;
884
+ }, "strip", z.ZodTypeAny, {
885
+ call?: string | undefined;
886
+ '@call'?: string | undefined;
887
+ catalogId?: string | undefined;
888
+ }, {
889
+ call?: string | undefined;
890
+ '@call'?: string | undefined;
891
+ catalogId?: string | undefined;
892
+ }>, {
893
+ call?: string | undefined;
894
+ '@call'?: string | undefined;
895
+ catalogId?: string | undefined;
896
+ }, {
897
+ call?: string | undefined;
898
+ '@call'?: string | undefined;
899
+ catalogId?: string | undefined;
900
+ }>, z.ZodAny>>]>>;
901
+ context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodAny, "many">, z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>, z.ZodEffects<z.ZodObject<{
902
+ '@path': z.ZodOptional<z.ZodString>;
903
+ path: z.ZodOptional<z.ZodString>;
904
+ }, "strip", z.ZodTypeAny, {
905
+ path?: string | undefined;
906
+ '@path'?: string | undefined;
907
+ }, {
908
+ path?: string | undefined;
909
+ '@path'?: string | undefined;
910
+ }>, {
911
+ path?: string | undefined;
912
+ '@path'?: string | undefined;
913
+ }, {
914
+ path?: string | undefined;
915
+ '@path'?: string | undefined;
916
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
917
+ '@call': z.ZodOptional<z.ZodString>;
918
+ call: z.ZodOptional<z.ZodString>;
919
+ catalogId: z.ZodOptional<z.ZodString>;
920
+ }, "strip", z.ZodTypeAny, {
921
+ call?: string | undefined;
922
+ '@call'?: string | undefined;
923
+ catalogId?: string | undefined;
924
+ }, {
925
+ call?: string | undefined;
926
+ '@call'?: string | undefined;
927
+ catalogId?: string | undefined;
928
+ }>, {
929
+ call?: string | undefined;
930
+ '@call'?: string | undefined;
931
+ catalogId?: string | undefined;
932
+ }, {
933
+ call?: string | undefined;
934
+ '@call'?: string | undefined;
935
+ catalogId?: string | undefined;
936
+ }>, z.ZodAny>>]>>>;
937
+ }, "strict", z.ZodTypeAny, {
938
+ name: string;
939
+ context?: Record<string, any> | undefined;
940
+ userMessage?: any;
941
+ }, {
942
+ name: string;
943
+ context?: Record<string, any> | undefined;
944
+ userMessage?: any;
945
+ }>;
946
+ }, "strict", z.ZodTypeAny, {
947
+ event: {
948
+ name: string;
949
+ context?: Record<string, any> | undefined;
950
+ userMessage?: any;
951
+ };
952
+ }, {
953
+ event: {
954
+ name: string;
955
+ context?: Record<string, any> | undefined;
956
+ userMessage?: any;
957
+ };
958
+ }>, z.ZodObject<{
959
+ functionCall: z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
960
+ '@call': z.ZodOptional<z.ZodString>;
961
+ call: z.ZodOptional<z.ZodString>;
962
+ catalogId: z.ZodOptional<z.ZodString>;
963
+ }, "strip", z.ZodTypeAny, {
964
+ call?: string | undefined;
965
+ '@call'?: string | undefined;
966
+ catalogId?: string | undefined;
967
+ }, {
968
+ call?: string | undefined;
969
+ '@call'?: string | undefined;
970
+ catalogId?: string | undefined;
971
+ }>, {
972
+ call?: string | undefined;
973
+ '@call'?: string | undefined;
974
+ catalogId?: string | undefined;
975
+ }, {
976
+ call?: string | undefined;
977
+ '@call'?: string | undefined;
978
+ catalogId?: string | undefined;
979
+ }>, z.ZodAny>>;
980
+ }, "strict", z.ZodTypeAny, {
981
+ functionCall?: any;
982
+ }, {
983
+ functionCall?: any;
984
+ }>]>>;
985
+ }, "strict", z.ZodTypeAny, {
986
+ children?: string[] | {
987
+ path: string;
988
+ componentId: string;
989
+ } | undefined;
990
+ label?: any;
991
+ variant?: "danger" | "monochrome" | "primary" | "secondary" | "success" | "warning" | undefined;
992
+ size?: "lg" | "md" | "sm" | "x-sm" | "xl" | undefined;
993
+ shape?: "capsule" | "circle" | "rounded" | "rounded-square" | "square" | undefined;
994
+ bordered?: any;
995
+ ghost?: any;
996
+ link?: any;
997
+ grouped?: any;
998
+ fullWidth?: any;
999
+ type?: "button" | "reset" | "submit" | undefined;
1000
+ disabled?: any;
1001
+ loading?: any;
1002
+ ariaLabel?: any;
1003
+ action?: {
1004
+ event: {
1005
+ name: string;
1006
+ context?: Record<string, any> | undefined;
1007
+ userMessage?: any;
1008
+ };
1009
+ } | {
1010
+ functionCall?: any;
1011
+ } | undefined;
1012
+ }, {
1013
+ children?: string[] | {
1014
+ path: string;
1015
+ componentId: string;
1016
+ } | undefined;
1017
+ label?: any;
1018
+ variant?: "danger" | "monochrome" | "primary" | "secondary" | "success" | "warning" | undefined;
1019
+ size?: "lg" | "md" | "sm" | "x-sm" | "xl" | undefined;
1020
+ shape?: "capsule" | "circle" | "rounded" | "rounded-square" | "square" | undefined;
1021
+ bordered?: any;
1022
+ ghost?: any;
1023
+ link?: any;
1024
+ grouped?: any;
1025
+ fullWidth?: any;
1026
+ type?: "button" | "reset" | "submit" | undefined;
1027
+ disabled?: any;
1028
+ loading?: any;
1029
+ ariaLabel?: any;
1030
+ action?: {
1031
+ event: {
1032
+ name: string;
1033
+ context?: Record<string, any> | undefined;
1034
+ userMessage?: any;
1035
+ };
1036
+ } | {
1037
+ functionCall?: any;
1038
+ } | undefined;
1039
+ }>;
1040
+ };
1041
+ export declare class AgA2uiButtonElement extends A2uiLitElement<typeof AgButtonApi> {
1042
+ static readonly tagName = "ag-a2ui-button";
1043
+ createRenderRoot(): this;
1044
+ private handleAction;
1045
+ render(): import("lit-html").TemplateResult<1>;
1046
+ }
1047
+ export declare const AgButton: {
1048
+ name: 'AgButton';
1049
+ schema: z.ZodObject<{
1050
+ children: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodObject<{
1051
+ componentId: z.ZodString;
1052
+ path: z.ZodString;
1053
+ }, "strict", z.ZodTypeAny, {
1054
+ path: string;
1055
+ componentId: string;
1056
+ }, {
1057
+ path: string;
1058
+ componentId: string;
1059
+ }>]>>;
1060
+ label: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
1061
+ '@path': z.ZodOptional<z.ZodString>;
1062
+ path: z.ZodOptional<z.ZodString>;
1063
+ }, "strip", z.ZodTypeAny, {
1064
+ path?: string | undefined;
1065
+ '@path'?: string | undefined;
1066
+ }, {
1067
+ path?: string | undefined;
1068
+ '@path'?: string | undefined;
1069
+ }>, {
1070
+ path?: string | undefined;
1071
+ '@path'?: string | undefined;
1072
+ }, {
1073
+ path?: string | undefined;
1074
+ '@path'?: string | undefined;
1075
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
1076
+ '@call': z.ZodOptional<z.ZodString>;
1077
+ call: z.ZodOptional<z.ZodString>;
1078
+ catalogId: z.ZodOptional<z.ZodString>;
1079
+ }, "strip", z.ZodTypeAny, {
1080
+ call?: string | undefined;
1081
+ '@call'?: string | undefined;
1082
+ catalogId?: string | undefined;
1083
+ }, {
1084
+ call?: string | undefined;
1085
+ '@call'?: string | undefined;
1086
+ catalogId?: string | undefined;
1087
+ }>, {
1088
+ call?: string | undefined;
1089
+ '@call'?: string | undefined;
1090
+ catalogId?: string | undefined;
1091
+ }, {
1092
+ call?: string | undefined;
1093
+ '@call'?: string | undefined;
1094
+ catalogId?: string | undefined;
1095
+ }>, z.ZodAny>>]>>;
1096
+ variant: z.ZodOptional<z.ZodEnum<["warning", "success", "danger", "primary", "monochrome", "secondary"]>>;
1097
+ size: z.ZodOptional<z.ZodEnum<["sm", "md", "lg", "xl", "x-sm"]>>;
1098
+ shape: z.ZodOptional<z.ZodEnum<["circle", "square", "rounded", "capsule", "rounded-square"]>>;
1099
+ bordered: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
1100
+ '@path': z.ZodOptional<z.ZodString>;
1101
+ path: z.ZodOptional<z.ZodString>;
1102
+ }, "strip", z.ZodTypeAny, {
1103
+ path?: string | undefined;
1104
+ '@path'?: string | undefined;
1105
+ }, {
1106
+ path?: string | undefined;
1107
+ '@path'?: string | undefined;
1108
+ }>, {
1109
+ path?: string | undefined;
1110
+ '@path'?: string | undefined;
1111
+ }, {
1112
+ path?: string | undefined;
1113
+ '@path'?: string | undefined;
1114
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
1115
+ '@call': z.ZodOptional<z.ZodString>;
1116
+ call: z.ZodOptional<z.ZodString>;
1117
+ catalogId: z.ZodOptional<z.ZodString>;
1118
+ }, "strip", z.ZodTypeAny, {
1119
+ call?: string | undefined;
1120
+ '@call'?: string | undefined;
1121
+ catalogId?: string | undefined;
1122
+ }, {
1123
+ call?: string | undefined;
1124
+ '@call'?: string | undefined;
1125
+ catalogId?: string | undefined;
1126
+ }>, {
1127
+ call?: string | undefined;
1128
+ '@call'?: string | undefined;
1129
+ catalogId?: string | undefined;
1130
+ }, {
1131
+ call?: string | undefined;
1132
+ '@call'?: string | undefined;
1133
+ catalogId?: string | undefined;
1134
+ }>, z.ZodAny>>]>>;
1135
+ ghost: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
1136
+ '@path': z.ZodOptional<z.ZodString>;
1137
+ path: z.ZodOptional<z.ZodString>;
1138
+ }, "strip", z.ZodTypeAny, {
1139
+ path?: string | undefined;
1140
+ '@path'?: string | undefined;
1141
+ }, {
1142
+ path?: string | undefined;
1143
+ '@path'?: string | undefined;
1144
+ }>, {
1145
+ path?: string | undefined;
1146
+ '@path'?: string | undefined;
1147
+ }, {
1148
+ path?: string | undefined;
1149
+ '@path'?: string | undefined;
1150
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
1151
+ '@call': z.ZodOptional<z.ZodString>;
1152
+ call: z.ZodOptional<z.ZodString>;
1153
+ catalogId: z.ZodOptional<z.ZodString>;
1154
+ }, "strip", z.ZodTypeAny, {
1155
+ call?: string | undefined;
1156
+ '@call'?: string | undefined;
1157
+ catalogId?: string | undefined;
1158
+ }, {
1159
+ call?: string | undefined;
1160
+ '@call'?: string | undefined;
1161
+ catalogId?: string | undefined;
1162
+ }>, {
1163
+ call?: string | undefined;
1164
+ '@call'?: string | undefined;
1165
+ catalogId?: string | undefined;
1166
+ }, {
1167
+ call?: string | undefined;
1168
+ '@call'?: string | undefined;
1169
+ catalogId?: string | undefined;
1170
+ }>, z.ZodAny>>]>>;
1171
+ link: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
1172
+ '@path': z.ZodOptional<z.ZodString>;
1173
+ path: z.ZodOptional<z.ZodString>;
1174
+ }, "strip", z.ZodTypeAny, {
1175
+ path?: string | undefined;
1176
+ '@path'?: string | undefined;
1177
+ }, {
1178
+ path?: string | undefined;
1179
+ '@path'?: string | undefined;
1180
+ }>, {
1181
+ path?: string | undefined;
1182
+ '@path'?: string | undefined;
1183
+ }, {
1184
+ path?: string | undefined;
1185
+ '@path'?: string | undefined;
1186
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
1187
+ '@call': z.ZodOptional<z.ZodString>;
1188
+ call: z.ZodOptional<z.ZodString>;
1189
+ catalogId: z.ZodOptional<z.ZodString>;
1190
+ }, "strip", z.ZodTypeAny, {
1191
+ call?: string | undefined;
1192
+ '@call'?: string | undefined;
1193
+ catalogId?: string | undefined;
1194
+ }, {
1195
+ call?: string | undefined;
1196
+ '@call'?: string | undefined;
1197
+ catalogId?: string | undefined;
1198
+ }>, {
1199
+ call?: string | undefined;
1200
+ '@call'?: string | undefined;
1201
+ catalogId?: string | undefined;
1202
+ }, {
1203
+ call?: string | undefined;
1204
+ '@call'?: string | undefined;
1205
+ catalogId?: string | undefined;
1206
+ }>, z.ZodAny>>]>>;
1207
+ grouped: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
1208
+ '@path': z.ZodOptional<z.ZodString>;
1209
+ path: z.ZodOptional<z.ZodString>;
1210
+ }, "strip", z.ZodTypeAny, {
1211
+ path?: string | undefined;
1212
+ '@path'?: string | undefined;
1213
+ }, {
1214
+ path?: string | undefined;
1215
+ '@path'?: string | undefined;
1216
+ }>, {
1217
+ path?: string | undefined;
1218
+ '@path'?: string | undefined;
1219
+ }, {
1220
+ path?: string | undefined;
1221
+ '@path'?: string | undefined;
1222
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
1223
+ '@call': z.ZodOptional<z.ZodString>;
1224
+ call: z.ZodOptional<z.ZodString>;
1225
+ catalogId: z.ZodOptional<z.ZodString>;
1226
+ }, "strip", z.ZodTypeAny, {
1227
+ call?: string | undefined;
1228
+ '@call'?: string | undefined;
1229
+ catalogId?: string | undefined;
1230
+ }, {
1231
+ call?: string | undefined;
1232
+ '@call'?: string | undefined;
1233
+ catalogId?: string | undefined;
1234
+ }>, {
1235
+ call?: string | undefined;
1236
+ '@call'?: string | undefined;
1237
+ catalogId?: string | undefined;
1238
+ }, {
1239
+ call?: string | undefined;
1240
+ '@call'?: string | undefined;
1241
+ catalogId?: string | undefined;
1242
+ }>, z.ZodAny>>]>>;
1243
+ fullWidth: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
1244
+ '@path': z.ZodOptional<z.ZodString>;
1245
+ path: z.ZodOptional<z.ZodString>;
1246
+ }, "strip", z.ZodTypeAny, {
1247
+ path?: string | undefined;
1248
+ '@path'?: string | undefined;
1249
+ }, {
1250
+ path?: string | undefined;
1251
+ '@path'?: string | undefined;
1252
+ }>, {
1253
+ path?: string | undefined;
1254
+ '@path'?: string | undefined;
1255
+ }, {
1256
+ path?: string | undefined;
1257
+ '@path'?: string | undefined;
1258
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
1259
+ '@call': z.ZodOptional<z.ZodString>;
1260
+ call: z.ZodOptional<z.ZodString>;
1261
+ catalogId: z.ZodOptional<z.ZodString>;
1262
+ }, "strip", z.ZodTypeAny, {
1263
+ call?: string | undefined;
1264
+ '@call'?: string | undefined;
1265
+ catalogId?: string | undefined;
1266
+ }, {
1267
+ call?: string | undefined;
1268
+ '@call'?: string | undefined;
1269
+ catalogId?: string | undefined;
1270
+ }>, {
1271
+ call?: string | undefined;
1272
+ '@call'?: string | undefined;
1273
+ catalogId?: string | undefined;
1274
+ }, {
1275
+ call?: string | undefined;
1276
+ '@call'?: string | undefined;
1277
+ catalogId?: string | undefined;
1278
+ }>, z.ZodAny>>]>>;
1279
+ type: z.ZodOptional<z.ZodEnum<["button", "submit", "reset"]>>;
1280
+ disabled: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
1281
+ '@path': z.ZodOptional<z.ZodString>;
1282
+ path: z.ZodOptional<z.ZodString>;
1283
+ }, "strip", z.ZodTypeAny, {
1284
+ path?: string | undefined;
1285
+ '@path'?: string | undefined;
1286
+ }, {
1287
+ path?: string | undefined;
1288
+ '@path'?: string | undefined;
1289
+ }>, {
1290
+ path?: string | undefined;
1291
+ '@path'?: string | undefined;
1292
+ }, {
1293
+ path?: string | undefined;
1294
+ '@path'?: string | undefined;
1295
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
1296
+ '@call': z.ZodOptional<z.ZodString>;
1297
+ call: z.ZodOptional<z.ZodString>;
1298
+ catalogId: z.ZodOptional<z.ZodString>;
1299
+ }, "strip", z.ZodTypeAny, {
1300
+ call?: string | undefined;
1301
+ '@call'?: string | undefined;
1302
+ catalogId?: string | undefined;
1303
+ }, {
1304
+ call?: string | undefined;
1305
+ '@call'?: string | undefined;
1306
+ catalogId?: string | undefined;
1307
+ }>, {
1308
+ call?: string | undefined;
1309
+ '@call'?: string | undefined;
1310
+ catalogId?: string | undefined;
1311
+ }, {
1312
+ call?: string | undefined;
1313
+ '@call'?: string | undefined;
1314
+ catalogId?: string | undefined;
1315
+ }>, z.ZodAny>>]>>;
1316
+ loading: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodObject<{
1317
+ '@path': z.ZodOptional<z.ZodString>;
1318
+ path: z.ZodOptional<z.ZodString>;
1319
+ }, "strip", z.ZodTypeAny, {
1320
+ path?: string | undefined;
1321
+ '@path'?: string | undefined;
1322
+ }, {
1323
+ path?: string | undefined;
1324
+ '@path'?: string | undefined;
1325
+ }>, {
1326
+ path?: string | undefined;
1327
+ '@path'?: string | undefined;
1328
+ }, {
1329
+ path?: string | undefined;
1330
+ '@path'?: string | undefined;
1331
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
1332
+ '@call': z.ZodOptional<z.ZodString>;
1333
+ call: z.ZodOptional<z.ZodString>;
1334
+ catalogId: z.ZodOptional<z.ZodString>;
1335
+ }, "strip", z.ZodTypeAny, {
1336
+ call?: string | undefined;
1337
+ '@call'?: string | undefined;
1338
+ catalogId?: string | undefined;
1339
+ }, {
1340
+ call?: string | undefined;
1341
+ '@call'?: string | undefined;
1342
+ catalogId?: string | undefined;
1343
+ }>, {
1344
+ call?: string | undefined;
1345
+ '@call'?: string | undefined;
1346
+ catalogId?: string | undefined;
1347
+ }, {
1348
+ call?: string | undefined;
1349
+ '@call'?: string | undefined;
1350
+ catalogId?: string | undefined;
1351
+ }>, z.ZodAny>>]>>;
1352
+ ariaLabel: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
1353
+ '@path': z.ZodOptional<z.ZodString>;
1354
+ path: z.ZodOptional<z.ZodString>;
1355
+ }, "strip", z.ZodTypeAny, {
1356
+ path?: string | undefined;
1357
+ '@path'?: string | undefined;
1358
+ }, {
1359
+ path?: string | undefined;
1360
+ '@path'?: string | undefined;
1361
+ }>, {
1362
+ path?: string | undefined;
1363
+ '@path'?: string | undefined;
1364
+ }, {
1365
+ path?: string | undefined;
1366
+ '@path'?: string | undefined;
1367
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
1368
+ '@call': z.ZodOptional<z.ZodString>;
1369
+ call: z.ZodOptional<z.ZodString>;
1370
+ catalogId: z.ZodOptional<z.ZodString>;
1371
+ }, "strip", z.ZodTypeAny, {
1372
+ call?: string | undefined;
1373
+ '@call'?: string | undefined;
1374
+ catalogId?: string | undefined;
1375
+ }, {
1376
+ call?: string | undefined;
1377
+ '@call'?: string | undefined;
1378
+ catalogId?: string | undefined;
1379
+ }>, {
1380
+ call?: string | undefined;
1381
+ '@call'?: string | undefined;
1382
+ catalogId?: string | undefined;
1383
+ }, {
1384
+ call?: string | undefined;
1385
+ '@call'?: string | undefined;
1386
+ catalogId?: string | undefined;
1387
+ }>, z.ZodAny>>]>>;
1388
+ action: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1389
+ event: z.ZodObject<{
1390
+ name: z.ZodString;
1391
+ userMessage: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodObject<{
1392
+ '@path': z.ZodOptional<z.ZodString>;
1393
+ path: z.ZodOptional<z.ZodString>;
1394
+ }, "strip", z.ZodTypeAny, {
1395
+ path?: string | undefined;
1396
+ '@path'?: string | undefined;
1397
+ }, {
1398
+ path?: string | undefined;
1399
+ '@path'?: string | undefined;
1400
+ }>, {
1401
+ path?: string | undefined;
1402
+ '@path'?: string | undefined;
1403
+ }, {
1404
+ path?: string | undefined;
1405
+ '@path'?: string | undefined;
1406
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
1407
+ '@call': z.ZodOptional<z.ZodString>;
1408
+ call: z.ZodOptional<z.ZodString>;
1409
+ catalogId: z.ZodOptional<z.ZodString>;
1410
+ }, "strip", z.ZodTypeAny, {
1411
+ call?: string | undefined;
1412
+ '@call'?: string | undefined;
1413
+ catalogId?: string | undefined;
1414
+ }, {
1415
+ call?: string | undefined;
1416
+ '@call'?: string | undefined;
1417
+ catalogId?: string | undefined;
1418
+ }>, {
1419
+ call?: string | undefined;
1420
+ '@call'?: string | undefined;
1421
+ catalogId?: string | undefined;
1422
+ }, {
1423
+ call?: string | undefined;
1424
+ '@call'?: string | undefined;
1425
+ catalogId?: string | undefined;
1426
+ }>, z.ZodAny>>]>>;
1427
+ context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodAny, "many">, z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>, z.ZodEffects<z.ZodObject<{
1428
+ '@path': z.ZodOptional<z.ZodString>;
1429
+ path: z.ZodOptional<z.ZodString>;
1430
+ }, "strip", z.ZodTypeAny, {
1431
+ path?: string | undefined;
1432
+ '@path'?: string | undefined;
1433
+ }, {
1434
+ path?: string | undefined;
1435
+ '@path'?: string | undefined;
1436
+ }>, {
1437
+ path?: string | undefined;
1438
+ '@path'?: string | undefined;
1439
+ }, {
1440
+ path?: string | undefined;
1441
+ '@path'?: string | undefined;
1442
+ }>, z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
1443
+ '@call': z.ZodOptional<z.ZodString>;
1444
+ call: z.ZodOptional<z.ZodString>;
1445
+ catalogId: z.ZodOptional<z.ZodString>;
1446
+ }, "strip", z.ZodTypeAny, {
1447
+ call?: string | undefined;
1448
+ '@call'?: string | undefined;
1449
+ catalogId?: string | undefined;
1450
+ }, {
1451
+ call?: string | undefined;
1452
+ '@call'?: string | undefined;
1453
+ catalogId?: string | undefined;
1454
+ }>, {
1455
+ call?: string | undefined;
1456
+ '@call'?: string | undefined;
1457
+ catalogId?: string | undefined;
1458
+ }, {
1459
+ call?: string | undefined;
1460
+ '@call'?: string | undefined;
1461
+ catalogId?: string | undefined;
1462
+ }>, z.ZodAny>>]>>>;
1463
+ }, "strict", z.ZodTypeAny, {
1464
+ name: string;
1465
+ context?: Record<string, any> | undefined;
1466
+ userMessage?: any;
1467
+ }, {
1468
+ name: string;
1469
+ context?: Record<string, any> | undefined;
1470
+ userMessage?: any;
1471
+ }>;
1472
+ }, "strict", z.ZodTypeAny, {
1473
+ event: {
1474
+ name: string;
1475
+ context?: Record<string, any> | undefined;
1476
+ userMessage?: any;
1477
+ };
1478
+ }, {
1479
+ event: {
1480
+ name: string;
1481
+ context?: Record<string, any> | undefined;
1482
+ userMessage?: any;
1483
+ };
1484
+ }>, z.ZodObject<{
1485
+ functionCall: z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
1486
+ '@call': z.ZodOptional<z.ZodString>;
1487
+ call: z.ZodOptional<z.ZodString>;
1488
+ catalogId: z.ZodOptional<z.ZodString>;
1489
+ }, "strip", z.ZodTypeAny, {
1490
+ call?: string | undefined;
1491
+ '@call'?: string | undefined;
1492
+ catalogId?: string | undefined;
1493
+ }, {
1494
+ call?: string | undefined;
1495
+ '@call'?: string | undefined;
1496
+ catalogId?: string | undefined;
1497
+ }>, {
1498
+ call?: string | undefined;
1499
+ '@call'?: string | undefined;
1500
+ catalogId?: string | undefined;
1501
+ }, {
1502
+ call?: string | undefined;
1503
+ '@call'?: string | undefined;
1504
+ catalogId?: string | undefined;
1505
+ }>, z.ZodAny>>;
1506
+ }, "strict", z.ZodTypeAny, {
1507
+ functionCall?: any;
1508
+ }, {
1509
+ functionCall?: any;
1510
+ }>]>>;
1511
+ }, "strict", z.ZodTypeAny, {
1512
+ children?: string[] | {
1513
+ path: string;
1514
+ componentId: string;
1515
+ } | undefined;
1516
+ label?: any;
1517
+ variant?: "danger" | "monochrome" | "primary" | "secondary" | "success" | "warning" | undefined;
1518
+ size?: "lg" | "md" | "sm" | "x-sm" | "xl" | undefined;
1519
+ shape?: "capsule" | "circle" | "rounded" | "rounded-square" | "square" | undefined;
1520
+ bordered?: any;
1521
+ ghost?: any;
1522
+ link?: any;
1523
+ grouped?: any;
1524
+ fullWidth?: any;
1525
+ type?: "button" | "reset" | "submit" | undefined;
1526
+ disabled?: any;
1527
+ loading?: any;
1528
+ ariaLabel?: any;
1529
+ action?: {
1530
+ event: {
1531
+ name: string;
1532
+ context?: Record<string, any> | undefined;
1533
+ userMessage?: any;
1534
+ };
1535
+ } | {
1536
+ functionCall?: any;
1537
+ } | undefined;
1538
+ }, {
1539
+ children?: string[] | {
1540
+ path: string;
1541
+ componentId: string;
1542
+ } | undefined;
1543
+ label?: any;
1544
+ variant?: "danger" | "monochrome" | "primary" | "secondary" | "success" | "warning" | undefined;
1545
+ size?: "lg" | "md" | "sm" | "x-sm" | "xl" | undefined;
1546
+ shape?: "capsule" | "circle" | "rounded" | "rounded-square" | "square" | undefined;
1547
+ bordered?: any;
1548
+ ghost?: any;
1549
+ link?: any;
1550
+ grouped?: any;
1551
+ fullWidth?: any;
1552
+ type?: "button" | "reset" | "submit" | undefined;
1553
+ disabled?: any;
1554
+ loading?: any;
1555
+ ariaLabel?: any;
1556
+ action?: {
1557
+ event: {
1558
+ name: string;
1559
+ context?: Record<string, any> | undefined;
1560
+ userMessage?: any;
1561
+ };
1562
+ } | {
1563
+ functionCall?: any;
1564
+ } | undefined;
1565
+ }>;
1566
+ element: typeof AgA2uiButtonElement;
1567
+ tagName: string;
1568
+ };