@gugacoder/agentic-sdk 0.2.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 (129) hide show
  1. package/dist/agent.d.ts +2 -0
  2. package/dist/agent.js +463 -0
  3. package/dist/context/compaction.d.ts +27 -0
  4. package/dist/context/compaction.js +219 -0
  5. package/dist/context/models.d.ts +6 -0
  6. package/dist/context/models.js +41 -0
  7. package/dist/context/tokenizer.d.ts +5 -0
  8. package/dist/context/tokenizer.js +11 -0
  9. package/dist/context/usage.d.ts +11 -0
  10. package/dist/context/usage.js +49 -0
  11. package/dist/display-schemas.d.ts +1865 -0
  12. package/dist/display-schemas.js +219 -0
  13. package/dist/index.d.ts +38 -0
  14. package/dist/index.js +28 -0
  15. package/dist/middleware/logging.d.ts +2 -0
  16. package/dist/middleware/logging.js +32 -0
  17. package/dist/prompts/assembly.d.ts +13 -0
  18. package/dist/prompts/assembly.js +229 -0
  19. package/dist/providers.d.ts +19 -0
  20. package/dist/providers.js +44 -0
  21. package/dist/proxy.d.ts +2 -0
  22. package/dist/proxy.js +103 -0
  23. package/dist/schemas.d.ts +228 -0
  24. package/dist/schemas.js +51 -0
  25. package/dist/session.d.ts +7 -0
  26. package/dist/session.js +102 -0
  27. package/dist/structured.d.ts +18 -0
  28. package/dist/structured.js +38 -0
  29. package/dist/tool-repair.d.ts +21 -0
  30. package/dist/tool-repair.js +72 -0
  31. package/dist/tools/api-spec.d.ts +4 -0
  32. package/dist/tools/api-spec.js +123 -0
  33. package/dist/tools/apply-patch.d.ts +484 -0
  34. package/dist/tools/apply-patch.js +157 -0
  35. package/dist/tools/ask-user.d.ts +14 -0
  36. package/dist/tools/ask-user.js +27 -0
  37. package/dist/tools/bash.d.ts +550 -0
  38. package/dist/tools/bash.js +43 -0
  39. package/dist/tools/batch.d.ts +13 -0
  40. package/dist/tools/batch.js +84 -0
  41. package/dist/tools/brave-search.d.ts +6 -0
  42. package/dist/tools/brave-search.js +19 -0
  43. package/dist/tools/code-search.d.ts +20 -0
  44. package/dist/tools/code-search.js +42 -0
  45. package/dist/tools/diagnostics.d.ts +4 -0
  46. package/dist/tools/diagnostics.js +69 -0
  47. package/dist/tools/display.d.ts +483 -0
  48. package/dist/tools/display.js +77 -0
  49. package/dist/tools/edit.d.ts +682 -0
  50. package/dist/tools/edit.js +47 -0
  51. package/dist/tools/glob.d.ts +4 -0
  52. package/dist/tools/glob.js +42 -0
  53. package/dist/tools/grep.d.ts +6 -0
  54. package/dist/tools/grep.js +69 -0
  55. package/dist/tools/http-request.d.ts +7 -0
  56. package/dist/tools/http-request.js +98 -0
  57. package/dist/tools/index.d.ts +1611 -0
  58. package/dist/tools/index.js +46 -0
  59. package/dist/tools/job-tools.d.ts +24 -0
  60. package/dist/tools/job-tools.js +67 -0
  61. package/dist/tools/list-dir.d.ts +5 -0
  62. package/dist/tools/list-dir.js +79 -0
  63. package/dist/tools/multi-edit.d.ts +814 -0
  64. package/dist/tools/multi-edit.js +57 -0
  65. package/dist/tools/read.d.ts +5 -0
  66. package/dist/tools/read.js +33 -0
  67. package/dist/tools/task.d.ts +21 -0
  68. package/dist/tools/task.js +51 -0
  69. package/dist/tools/todo.d.ts +14 -0
  70. package/dist/tools/todo.js +60 -0
  71. package/dist/tools/web-fetch.d.ts +4 -0
  72. package/dist/tools/web-fetch.js +126 -0
  73. package/dist/tools/web-search.d.ts +22 -0
  74. package/dist/tools/web-search.js +48 -0
  75. package/dist/tools/write.d.ts +550 -0
  76. package/dist/tools/write.js +30 -0
  77. package/dist/types.d.ts +201 -0
  78. package/dist/types.js +1 -0
  79. package/package.json +43 -0
  80. package/src/agent.ts +520 -0
  81. package/src/context/compaction.ts +265 -0
  82. package/src/context/models.ts +42 -0
  83. package/src/context/tokenizer.ts +12 -0
  84. package/src/context/usage.ts +65 -0
  85. package/src/display-schemas.ts +276 -0
  86. package/src/index.ts +43 -0
  87. package/src/middleware/logging.ts +37 -0
  88. package/src/prompts/assembly.ts +263 -0
  89. package/src/prompts/identity.md +10 -0
  90. package/src/prompts/patterns.md +7 -0
  91. package/src/prompts/safety.md +7 -0
  92. package/src/prompts/tool-guide.md +9 -0
  93. package/src/prompts/tools/bash.md +7 -0
  94. package/src/prompts/tools/edit.md +7 -0
  95. package/src/prompts/tools/glob.md +7 -0
  96. package/src/prompts/tools/grep.md +7 -0
  97. package/src/prompts/tools/read.md +7 -0
  98. package/src/prompts/tools/write.md +7 -0
  99. package/src/providers.ts +58 -0
  100. package/src/proxy.ts +101 -0
  101. package/src/schemas.ts +58 -0
  102. package/src/session.ts +110 -0
  103. package/src/structured.ts +65 -0
  104. package/src/tool-repair.ts +92 -0
  105. package/src/tools/api-spec.ts +158 -0
  106. package/src/tools/apply-patch.ts +188 -0
  107. package/src/tools/ask-user.ts +40 -0
  108. package/src/tools/bash.ts +51 -0
  109. package/src/tools/batch.ts +103 -0
  110. package/src/tools/brave-search.ts +24 -0
  111. package/src/tools/code-search.ts +69 -0
  112. package/src/tools/diagnostics.ts +93 -0
  113. package/src/tools/display.ts +105 -0
  114. package/src/tools/edit.ts +55 -0
  115. package/src/tools/glob.ts +46 -0
  116. package/src/tools/grep.ts +68 -0
  117. package/src/tools/http-request.ts +103 -0
  118. package/src/tools/index.ts +48 -0
  119. package/src/tools/job-tools.ts +84 -0
  120. package/src/tools/list-dir.ts +102 -0
  121. package/src/tools/multi-edit.ts +65 -0
  122. package/src/tools/read.ts +40 -0
  123. package/src/tools/task.ts +71 -0
  124. package/src/tools/todo.ts +82 -0
  125. package/src/tools/web-fetch.ts +155 -0
  126. package/src/tools/web-search.ts +75 -0
  127. package/src/tools/write.ts +34 -0
  128. package/src/types.ts +145 -0
  129. package/tsconfig.json +17 -0
@@ -0,0 +1,1865 @@
1
+ import { z } from "zod";
2
+ export declare const DisplayMetricSchema: z.ZodObject<{
3
+ label: z.ZodString;
4
+ value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
5
+ unit: z.ZodOptional<z.ZodString>;
6
+ trend: z.ZodOptional<z.ZodObject<{
7
+ direction: z.ZodEnum<["up", "down", "neutral"]>;
8
+ value: z.ZodString;
9
+ }, "strip", z.ZodTypeAny, {
10
+ value: string;
11
+ direction: "up" | "down" | "neutral";
12
+ }, {
13
+ value: string;
14
+ direction: "up" | "down" | "neutral";
15
+ }>>;
16
+ icon: z.ZodOptional<z.ZodString>;
17
+ }, "strip", z.ZodTypeAny, {
18
+ value: string | number;
19
+ label: string;
20
+ unit?: string | undefined;
21
+ trend?: {
22
+ value: string;
23
+ direction: "up" | "down" | "neutral";
24
+ } | undefined;
25
+ icon?: string | undefined;
26
+ }, {
27
+ value: string | number;
28
+ label: string;
29
+ unit?: string | undefined;
30
+ trend?: {
31
+ value: string;
32
+ direction: "up" | "down" | "neutral";
33
+ } | undefined;
34
+ icon?: string | undefined;
35
+ }>;
36
+ export declare const DisplayChartSchema: z.ZodObject<{
37
+ type: z.ZodEnum<["bar", "line", "pie", "area", "donut"]>;
38
+ title: z.ZodString;
39
+ data: z.ZodArray<z.ZodObject<{
40
+ label: z.ZodString;
41
+ value: z.ZodNumber;
42
+ color: z.ZodOptional<z.ZodString>;
43
+ }, "strip", z.ZodTypeAny, {
44
+ value: number;
45
+ label: string;
46
+ color?: string | undefined;
47
+ }, {
48
+ value: number;
49
+ label: string;
50
+ color?: string | undefined;
51
+ }>, "many">;
52
+ format: z.ZodOptional<z.ZodObject<{
53
+ prefix: z.ZodOptional<z.ZodString>;
54
+ suffix: z.ZodOptional<z.ZodString>;
55
+ locale: z.ZodDefault<z.ZodString>;
56
+ }, "strip", z.ZodTypeAny, {
57
+ locale: string;
58
+ prefix?: string | undefined;
59
+ suffix?: string | undefined;
60
+ }, {
61
+ prefix?: string | undefined;
62
+ suffix?: string | undefined;
63
+ locale?: string | undefined;
64
+ }>>;
65
+ }, "strip", z.ZodTypeAny, {
66
+ type: "bar" | "line" | "pie" | "area" | "donut";
67
+ title: string;
68
+ data: {
69
+ value: number;
70
+ label: string;
71
+ color?: string | undefined;
72
+ }[];
73
+ format?: {
74
+ locale: string;
75
+ prefix?: string | undefined;
76
+ suffix?: string | undefined;
77
+ } | undefined;
78
+ }, {
79
+ type: "bar" | "line" | "pie" | "area" | "donut";
80
+ title: string;
81
+ data: {
82
+ value: number;
83
+ label: string;
84
+ color?: string | undefined;
85
+ }[];
86
+ format?: {
87
+ prefix?: string | undefined;
88
+ suffix?: string | undefined;
89
+ locale?: string | undefined;
90
+ } | undefined;
91
+ }>;
92
+ export declare const DisplayTableSchema: z.ZodObject<{
93
+ title: z.ZodOptional<z.ZodString>;
94
+ columns: z.ZodArray<z.ZodObject<{
95
+ key: z.ZodString;
96
+ label: z.ZodString;
97
+ type: z.ZodDefault<z.ZodEnum<["text", "number", "money", "image", "link", "badge"]>>;
98
+ align: z.ZodDefault<z.ZodEnum<["left", "center", "right"]>>;
99
+ }, "strip", z.ZodTypeAny, {
100
+ type: "number" | "link" | "text" | "money" | "image" | "badge";
101
+ label: string;
102
+ key: string;
103
+ align: "left" | "center" | "right";
104
+ }, {
105
+ label: string;
106
+ key: string;
107
+ type?: "number" | "link" | "text" | "money" | "image" | "badge" | undefined;
108
+ align?: "left" | "center" | "right" | undefined;
109
+ }>, "many">;
110
+ rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
111
+ sortable: z.ZodDefault<z.ZodBoolean>;
112
+ }, "strip", z.ZodTypeAny, {
113
+ columns: {
114
+ type: "number" | "link" | "text" | "money" | "image" | "badge";
115
+ label: string;
116
+ key: string;
117
+ align: "left" | "center" | "right";
118
+ }[];
119
+ rows: Record<string, unknown>[];
120
+ sortable: boolean;
121
+ title?: string | undefined;
122
+ }, {
123
+ columns: {
124
+ label: string;
125
+ key: string;
126
+ type?: "number" | "link" | "text" | "money" | "image" | "badge" | undefined;
127
+ align?: "left" | "center" | "right" | undefined;
128
+ }[];
129
+ rows: Record<string, unknown>[];
130
+ title?: string | undefined;
131
+ sortable?: boolean | undefined;
132
+ }>;
133
+ export declare const DisplayProgressSchema: z.ZodObject<{
134
+ title: z.ZodOptional<z.ZodString>;
135
+ steps: z.ZodArray<z.ZodObject<{
136
+ label: z.ZodString;
137
+ status: z.ZodEnum<["completed", "current", "pending"]>;
138
+ description: z.ZodOptional<z.ZodString>;
139
+ }, "strip", z.ZodTypeAny, {
140
+ status: "pending" | "completed" | "current";
141
+ label: string;
142
+ description?: string | undefined;
143
+ }, {
144
+ status: "pending" | "completed" | "current";
145
+ label: string;
146
+ description?: string | undefined;
147
+ }>, "many">;
148
+ }, "strip", z.ZodTypeAny, {
149
+ steps: {
150
+ status: "pending" | "completed" | "current";
151
+ label: string;
152
+ description?: string | undefined;
153
+ }[];
154
+ title?: string | undefined;
155
+ }, {
156
+ steps: {
157
+ status: "pending" | "completed" | "current";
158
+ label: string;
159
+ description?: string | undefined;
160
+ }[];
161
+ title?: string | undefined;
162
+ }>;
163
+ export declare const DisplayProductSchema: z.ZodObject<{
164
+ title: z.ZodString;
165
+ image: z.ZodOptional<z.ZodString>;
166
+ price: z.ZodOptional<z.ZodObject<{
167
+ value: z.ZodNumber;
168
+ currency: z.ZodDefault<z.ZodString>;
169
+ }, "strip", z.ZodTypeAny, {
170
+ value: number;
171
+ currency: string;
172
+ }, {
173
+ value: number;
174
+ currency?: string | undefined;
175
+ }>>;
176
+ originalPrice: z.ZodOptional<z.ZodObject<{
177
+ value: z.ZodNumber;
178
+ currency: z.ZodDefault<z.ZodString>;
179
+ }, "strip", z.ZodTypeAny, {
180
+ value: number;
181
+ currency: string;
182
+ }, {
183
+ value: number;
184
+ currency?: string | undefined;
185
+ }>>;
186
+ rating: z.ZodOptional<z.ZodObject<{
187
+ score: z.ZodNumber;
188
+ count: z.ZodNumber;
189
+ }, "strip", z.ZodTypeAny, {
190
+ count: number;
191
+ score: number;
192
+ }, {
193
+ count: number;
194
+ score: number;
195
+ }>>;
196
+ source: z.ZodOptional<z.ZodObject<{
197
+ name: z.ZodString;
198
+ url: z.ZodString;
199
+ favicon: z.ZodOptional<z.ZodString>;
200
+ }, "strip", z.ZodTypeAny, {
201
+ name: string;
202
+ url: string;
203
+ favicon?: string | undefined;
204
+ }, {
205
+ name: string;
206
+ url: string;
207
+ favicon?: string | undefined;
208
+ }>>;
209
+ badges: z.ZodOptional<z.ZodArray<z.ZodObject<{
210
+ label: z.ZodString;
211
+ variant: z.ZodDefault<z.ZodEnum<["default", "success", "warning", "error", "info"]>>;
212
+ }, "strip", z.ZodTypeAny, {
213
+ label: string;
214
+ variant: "default" | "success" | "warning" | "error" | "info";
215
+ }, {
216
+ label: string;
217
+ variant?: "default" | "success" | "warning" | "error" | "info" | undefined;
218
+ }>, "many">>;
219
+ url: z.ZodOptional<z.ZodString>;
220
+ description: z.ZodOptional<z.ZodString>;
221
+ }, "strip", z.ZodTypeAny, {
222
+ title: string;
223
+ description?: string | undefined;
224
+ url?: string | undefined;
225
+ image?: string | undefined;
226
+ price?: {
227
+ value: number;
228
+ currency: string;
229
+ } | undefined;
230
+ originalPrice?: {
231
+ value: number;
232
+ currency: string;
233
+ } | undefined;
234
+ rating?: {
235
+ count: number;
236
+ score: number;
237
+ } | undefined;
238
+ source?: {
239
+ name: string;
240
+ url: string;
241
+ favicon?: string | undefined;
242
+ } | undefined;
243
+ badges?: {
244
+ label: string;
245
+ variant: "default" | "success" | "warning" | "error" | "info";
246
+ }[] | undefined;
247
+ }, {
248
+ title: string;
249
+ description?: string | undefined;
250
+ url?: string | undefined;
251
+ image?: string | undefined;
252
+ price?: {
253
+ value: number;
254
+ currency?: string | undefined;
255
+ } | undefined;
256
+ originalPrice?: {
257
+ value: number;
258
+ currency?: string | undefined;
259
+ } | undefined;
260
+ rating?: {
261
+ count: number;
262
+ score: number;
263
+ } | undefined;
264
+ source?: {
265
+ name: string;
266
+ url: string;
267
+ favicon?: string | undefined;
268
+ } | undefined;
269
+ badges?: {
270
+ label: string;
271
+ variant?: "default" | "success" | "warning" | "error" | "info" | undefined;
272
+ }[] | undefined;
273
+ }>;
274
+ export declare const DisplayComparisonSchema: z.ZodObject<{
275
+ title: z.ZodOptional<z.ZodString>;
276
+ items: z.ZodArray<z.ZodObject<{
277
+ title: z.ZodString;
278
+ image: z.ZodOptional<z.ZodString>;
279
+ price: z.ZodOptional<z.ZodObject<{
280
+ value: z.ZodNumber;
281
+ currency: z.ZodDefault<z.ZodString>;
282
+ }, "strip", z.ZodTypeAny, {
283
+ value: number;
284
+ currency: string;
285
+ }, {
286
+ value: number;
287
+ currency?: string | undefined;
288
+ }>>;
289
+ originalPrice: z.ZodOptional<z.ZodObject<{
290
+ value: z.ZodNumber;
291
+ currency: z.ZodDefault<z.ZodString>;
292
+ }, "strip", z.ZodTypeAny, {
293
+ value: number;
294
+ currency: string;
295
+ }, {
296
+ value: number;
297
+ currency?: string | undefined;
298
+ }>>;
299
+ rating: z.ZodOptional<z.ZodObject<{
300
+ score: z.ZodNumber;
301
+ count: z.ZodNumber;
302
+ }, "strip", z.ZodTypeAny, {
303
+ count: number;
304
+ score: number;
305
+ }, {
306
+ count: number;
307
+ score: number;
308
+ }>>;
309
+ source: z.ZodOptional<z.ZodObject<{
310
+ name: z.ZodString;
311
+ url: z.ZodString;
312
+ favicon: z.ZodOptional<z.ZodString>;
313
+ }, "strip", z.ZodTypeAny, {
314
+ name: string;
315
+ url: string;
316
+ favicon?: string | undefined;
317
+ }, {
318
+ name: string;
319
+ url: string;
320
+ favicon?: string | undefined;
321
+ }>>;
322
+ badges: z.ZodOptional<z.ZodArray<z.ZodObject<{
323
+ label: z.ZodString;
324
+ variant: z.ZodDefault<z.ZodEnum<["default", "success", "warning", "error", "info"]>>;
325
+ }, "strip", z.ZodTypeAny, {
326
+ label: string;
327
+ variant: "default" | "success" | "warning" | "error" | "info";
328
+ }, {
329
+ label: string;
330
+ variant?: "default" | "success" | "warning" | "error" | "info" | undefined;
331
+ }>, "many">>;
332
+ url: z.ZodOptional<z.ZodString>;
333
+ description: z.ZodOptional<z.ZodString>;
334
+ }, "strip", z.ZodTypeAny, {
335
+ title: string;
336
+ description?: string | undefined;
337
+ url?: string | undefined;
338
+ image?: string | undefined;
339
+ price?: {
340
+ value: number;
341
+ currency: string;
342
+ } | undefined;
343
+ originalPrice?: {
344
+ value: number;
345
+ currency: string;
346
+ } | undefined;
347
+ rating?: {
348
+ count: number;
349
+ score: number;
350
+ } | undefined;
351
+ source?: {
352
+ name: string;
353
+ url: string;
354
+ favicon?: string | undefined;
355
+ } | undefined;
356
+ badges?: {
357
+ label: string;
358
+ variant: "default" | "success" | "warning" | "error" | "info";
359
+ }[] | undefined;
360
+ }, {
361
+ title: string;
362
+ description?: string | undefined;
363
+ url?: string | undefined;
364
+ image?: string | undefined;
365
+ price?: {
366
+ value: number;
367
+ currency?: string | undefined;
368
+ } | undefined;
369
+ originalPrice?: {
370
+ value: number;
371
+ currency?: string | undefined;
372
+ } | undefined;
373
+ rating?: {
374
+ count: number;
375
+ score: number;
376
+ } | undefined;
377
+ source?: {
378
+ name: string;
379
+ url: string;
380
+ favicon?: string | undefined;
381
+ } | undefined;
382
+ badges?: {
383
+ label: string;
384
+ variant?: "default" | "success" | "warning" | "error" | "info" | undefined;
385
+ }[] | undefined;
386
+ }>, "many">;
387
+ attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
388
+ key: z.ZodString;
389
+ label: z.ZodString;
390
+ }, "strip", z.ZodTypeAny, {
391
+ label: string;
392
+ key: string;
393
+ }, {
394
+ label: string;
395
+ key: string;
396
+ }>, "many">>;
397
+ }, "strip", z.ZodTypeAny, {
398
+ items: {
399
+ title: string;
400
+ description?: string | undefined;
401
+ url?: string | undefined;
402
+ image?: string | undefined;
403
+ price?: {
404
+ value: number;
405
+ currency: string;
406
+ } | undefined;
407
+ originalPrice?: {
408
+ value: number;
409
+ currency: string;
410
+ } | undefined;
411
+ rating?: {
412
+ count: number;
413
+ score: number;
414
+ } | undefined;
415
+ source?: {
416
+ name: string;
417
+ url: string;
418
+ favicon?: string | undefined;
419
+ } | undefined;
420
+ badges?: {
421
+ label: string;
422
+ variant: "default" | "success" | "warning" | "error" | "info";
423
+ }[] | undefined;
424
+ }[];
425
+ title?: string | undefined;
426
+ attributes?: {
427
+ label: string;
428
+ key: string;
429
+ }[] | undefined;
430
+ }, {
431
+ items: {
432
+ title: string;
433
+ description?: string | undefined;
434
+ url?: string | undefined;
435
+ image?: string | undefined;
436
+ price?: {
437
+ value: number;
438
+ currency?: string | undefined;
439
+ } | undefined;
440
+ originalPrice?: {
441
+ value: number;
442
+ currency?: string | undefined;
443
+ } | undefined;
444
+ rating?: {
445
+ count: number;
446
+ score: number;
447
+ } | undefined;
448
+ source?: {
449
+ name: string;
450
+ url: string;
451
+ favicon?: string | undefined;
452
+ } | undefined;
453
+ badges?: {
454
+ label: string;
455
+ variant?: "default" | "success" | "warning" | "error" | "info" | undefined;
456
+ }[] | undefined;
457
+ }[];
458
+ title?: string | undefined;
459
+ attributes?: {
460
+ label: string;
461
+ key: string;
462
+ }[] | undefined;
463
+ }>;
464
+ export declare const DisplayPriceSchema: z.ZodObject<{
465
+ value: z.ZodObject<{
466
+ value: z.ZodNumber;
467
+ currency: z.ZodDefault<z.ZodString>;
468
+ }, "strip", z.ZodTypeAny, {
469
+ value: number;
470
+ currency: string;
471
+ }, {
472
+ value: number;
473
+ currency?: string | undefined;
474
+ }>;
475
+ label: z.ZodString;
476
+ context: z.ZodOptional<z.ZodString>;
477
+ source: z.ZodOptional<z.ZodObject<{
478
+ name: z.ZodString;
479
+ url: z.ZodString;
480
+ favicon: z.ZodOptional<z.ZodString>;
481
+ }, "strip", z.ZodTypeAny, {
482
+ name: string;
483
+ url: string;
484
+ favicon?: string | undefined;
485
+ }, {
486
+ name: string;
487
+ url: string;
488
+ favicon?: string | undefined;
489
+ }>>;
490
+ badge: z.ZodOptional<z.ZodObject<{
491
+ label: z.ZodString;
492
+ variant: z.ZodDefault<z.ZodEnum<["default", "success", "warning", "error", "info"]>>;
493
+ }, "strip", z.ZodTypeAny, {
494
+ label: string;
495
+ variant: "default" | "success" | "warning" | "error" | "info";
496
+ }, {
497
+ label: string;
498
+ variant?: "default" | "success" | "warning" | "error" | "info" | undefined;
499
+ }>>;
500
+ }, "strip", z.ZodTypeAny, {
501
+ value: {
502
+ value: number;
503
+ currency: string;
504
+ };
505
+ label: string;
506
+ badge?: {
507
+ label: string;
508
+ variant: "default" | "success" | "warning" | "error" | "info";
509
+ } | undefined;
510
+ source?: {
511
+ name: string;
512
+ url: string;
513
+ favicon?: string | undefined;
514
+ } | undefined;
515
+ context?: string | undefined;
516
+ }, {
517
+ value: {
518
+ value: number;
519
+ currency?: string | undefined;
520
+ };
521
+ label: string;
522
+ badge?: {
523
+ label: string;
524
+ variant?: "default" | "success" | "warning" | "error" | "info" | undefined;
525
+ } | undefined;
526
+ source?: {
527
+ name: string;
528
+ url: string;
529
+ favicon?: string | undefined;
530
+ } | undefined;
531
+ context?: string | undefined;
532
+ }>;
533
+ export declare const DisplayImageSchema: z.ZodObject<{
534
+ url: z.ZodString;
535
+ alt: z.ZodOptional<z.ZodString>;
536
+ caption: z.ZodOptional<z.ZodString>;
537
+ width: z.ZodOptional<z.ZodNumber>;
538
+ height: z.ZodOptional<z.ZodNumber>;
539
+ }, "strip", z.ZodTypeAny, {
540
+ url: string;
541
+ alt?: string | undefined;
542
+ caption?: string | undefined;
543
+ width?: number | undefined;
544
+ height?: number | undefined;
545
+ }, {
546
+ url: string;
547
+ alt?: string | undefined;
548
+ caption?: string | undefined;
549
+ width?: number | undefined;
550
+ height?: number | undefined;
551
+ }>;
552
+ export declare const DisplayGallerySchema: z.ZodObject<{
553
+ title: z.ZodOptional<z.ZodString>;
554
+ images: z.ZodArray<z.ZodObject<{
555
+ url: z.ZodString;
556
+ alt: z.ZodOptional<z.ZodString>;
557
+ caption: z.ZodOptional<z.ZodString>;
558
+ }, "strip", z.ZodTypeAny, {
559
+ url: string;
560
+ alt?: string | undefined;
561
+ caption?: string | undefined;
562
+ }, {
563
+ url: string;
564
+ alt?: string | undefined;
565
+ caption?: string | undefined;
566
+ }>, "many">;
567
+ layout: z.ZodDefault<z.ZodEnum<["grid", "masonry"]>>;
568
+ columns: z.ZodDefault<z.ZodNumber>;
569
+ }, "strip", z.ZodTypeAny, {
570
+ columns: number;
571
+ images: {
572
+ url: string;
573
+ alt?: string | undefined;
574
+ caption?: string | undefined;
575
+ }[];
576
+ layout: "grid" | "masonry";
577
+ title?: string | undefined;
578
+ }, {
579
+ images: {
580
+ url: string;
581
+ alt?: string | undefined;
582
+ caption?: string | undefined;
583
+ }[];
584
+ title?: string | undefined;
585
+ columns?: number | undefined;
586
+ layout?: "grid" | "masonry" | undefined;
587
+ }>;
588
+ export declare const DisplayCarouselSchema: z.ZodObject<{
589
+ title: z.ZodOptional<z.ZodString>;
590
+ items: z.ZodArray<z.ZodObject<{
591
+ image: z.ZodOptional<z.ZodString>;
592
+ title: z.ZodString;
593
+ subtitle: z.ZodOptional<z.ZodString>;
594
+ price: z.ZodOptional<z.ZodObject<{
595
+ value: z.ZodNumber;
596
+ currency: z.ZodDefault<z.ZodString>;
597
+ }, "strip", z.ZodTypeAny, {
598
+ value: number;
599
+ currency: string;
600
+ }, {
601
+ value: number;
602
+ currency?: string | undefined;
603
+ }>>;
604
+ url: z.ZodOptional<z.ZodString>;
605
+ badges: z.ZodOptional<z.ZodArray<z.ZodObject<{
606
+ label: z.ZodString;
607
+ variant: z.ZodDefault<z.ZodEnum<["default", "success", "warning", "error", "info"]>>;
608
+ }, "strip", z.ZodTypeAny, {
609
+ label: string;
610
+ variant: "default" | "success" | "warning" | "error" | "info";
611
+ }, {
612
+ label: string;
613
+ variant?: "default" | "success" | "warning" | "error" | "info" | undefined;
614
+ }>, "many">>;
615
+ }, "strip", z.ZodTypeAny, {
616
+ title: string;
617
+ url?: string | undefined;
618
+ image?: string | undefined;
619
+ price?: {
620
+ value: number;
621
+ currency: string;
622
+ } | undefined;
623
+ badges?: {
624
+ label: string;
625
+ variant: "default" | "success" | "warning" | "error" | "info";
626
+ }[] | undefined;
627
+ subtitle?: string | undefined;
628
+ }, {
629
+ title: string;
630
+ url?: string | undefined;
631
+ image?: string | undefined;
632
+ price?: {
633
+ value: number;
634
+ currency?: string | undefined;
635
+ } | undefined;
636
+ badges?: {
637
+ label: string;
638
+ variant?: "default" | "success" | "warning" | "error" | "info" | undefined;
639
+ }[] | undefined;
640
+ subtitle?: string | undefined;
641
+ }>, "many">;
642
+ }, "strip", z.ZodTypeAny, {
643
+ items: {
644
+ title: string;
645
+ url?: string | undefined;
646
+ image?: string | undefined;
647
+ price?: {
648
+ value: number;
649
+ currency: string;
650
+ } | undefined;
651
+ badges?: {
652
+ label: string;
653
+ variant: "default" | "success" | "warning" | "error" | "info";
654
+ }[] | undefined;
655
+ subtitle?: string | undefined;
656
+ }[];
657
+ title?: string | undefined;
658
+ }, {
659
+ items: {
660
+ title: string;
661
+ url?: string | undefined;
662
+ image?: string | undefined;
663
+ price?: {
664
+ value: number;
665
+ currency?: string | undefined;
666
+ } | undefined;
667
+ badges?: {
668
+ label: string;
669
+ variant?: "default" | "success" | "warning" | "error" | "info" | undefined;
670
+ }[] | undefined;
671
+ subtitle?: string | undefined;
672
+ }[];
673
+ title?: string | undefined;
674
+ }>;
675
+ export declare const DisplaySourcesSchema: z.ZodObject<{
676
+ label: z.ZodDefault<z.ZodString>;
677
+ sources: z.ZodArray<z.ZodObject<{
678
+ title: z.ZodString;
679
+ url: z.ZodString;
680
+ favicon: z.ZodOptional<z.ZodString>;
681
+ snippet: z.ZodOptional<z.ZodString>;
682
+ }, "strip", z.ZodTypeAny, {
683
+ title: string;
684
+ url: string;
685
+ favicon?: string | undefined;
686
+ snippet?: string | undefined;
687
+ }, {
688
+ title: string;
689
+ url: string;
690
+ favicon?: string | undefined;
691
+ snippet?: string | undefined;
692
+ }>, "many">;
693
+ }, "strip", z.ZodTypeAny, {
694
+ label: string;
695
+ sources: {
696
+ title: string;
697
+ url: string;
698
+ favicon?: string | undefined;
699
+ snippet?: string | undefined;
700
+ }[];
701
+ }, {
702
+ sources: {
703
+ title: string;
704
+ url: string;
705
+ favicon?: string | undefined;
706
+ snippet?: string | undefined;
707
+ }[];
708
+ label?: string | undefined;
709
+ }>;
710
+ export declare const DisplayLinkSchema: z.ZodObject<{
711
+ url: z.ZodString;
712
+ title: z.ZodString;
713
+ description: z.ZodOptional<z.ZodString>;
714
+ image: z.ZodOptional<z.ZodString>;
715
+ favicon: z.ZodOptional<z.ZodString>;
716
+ domain: z.ZodOptional<z.ZodString>;
717
+ }, "strip", z.ZodTypeAny, {
718
+ title: string;
719
+ url: string;
720
+ description?: string | undefined;
721
+ favicon?: string | undefined;
722
+ image?: string | undefined;
723
+ domain?: string | undefined;
724
+ }, {
725
+ title: string;
726
+ url: string;
727
+ description?: string | undefined;
728
+ favicon?: string | undefined;
729
+ image?: string | undefined;
730
+ domain?: string | undefined;
731
+ }>;
732
+ export declare const DisplayMapSchema: z.ZodObject<{
733
+ title: z.ZodOptional<z.ZodString>;
734
+ pins: z.ZodArray<z.ZodObject<{
735
+ lat: z.ZodNumber;
736
+ lng: z.ZodNumber;
737
+ label: z.ZodOptional<z.ZodString>;
738
+ address: z.ZodOptional<z.ZodString>;
739
+ }, "strip", z.ZodTypeAny, {
740
+ lat: number;
741
+ lng: number;
742
+ label?: string | undefined;
743
+ address?: string | undefined;
744
+ }, {
745
+ lat: number;
746
+ lng: number;
747
+ label?: string | undefined;
748
+ address?: string | undefined;
749
+ }>, "many">;
750
+ zoom: z.ZodDefault<z.ZodNumber>;
751
+ }, "strip", z.ZodTypeAny, {
752
+ pins: {
753
+ lat: number;
754
+ lng: number;
755
+ label?: string | undefined;
756
+ address?: string | undefined;
757
+ }[];
758
+ zoom: number;
759
+ title?: string | undefined;
760
+ }, {
761
+ pins: {
762
+ lat: number;
763
+ lng: number;
764
+ label?: string | undefined;
765
+ address?: string | undefined;
766
+ }[];
767
+ title?: string | undefined;
768
+ zoom?: number | undefined;
769
+ }>;
770
+ export declare const DisplayFileSchema: z.ZodObject<{
771
+ name: z.ZodString;
772
+ type: z.ZodString;
773
+ size: z.ZodOptional<z.ZodNumber>;
774
+ url: z.ZodOptional<z.ZodString>;
775
+ preview: z.ZodOptional<z.ZodString>;
776
+ }, "strip", z.ZodTypeAny, {
777
+ type: string;
778
+ name: string;
779
+ url?: string | undefined;
780
+ size?: number | undefined;
781
+ preview?: string | undefined;
782
+ }, {
783
+ type: string;
784
+ name: string;
785
+ url?: string | undefined;
786
+ size?: number | undefined;
787
+ preview?: string | undefined;
788
+ }>;
789
+ export declare const DisplayCodeSchema: z.ZodObject<{
790
+ language: z.ZodString;
791
+ code: z.ZodString;
792
+ title: z.ZodOptional<z.ZodString>;
793
+ lineNumbers: z.ZodDefault<z.ZodBoolean>;
794
+ }, "strip", z.ZodTypeAny, {
795
+ code: string;
796
+ language: string;
797
+ lineNumbers: boolean;
798
+ title?: string | undefined;
799
+ }, {
800
+ code: string;
801
+ language: string;
802
+ title?: string | undefined;
803
+ lineNumbers?: boolean | undefined;
804
+ }>;
805
+ export declare const DisplaySpreadsheetSchema: z.ZodObject<{
806
+ title: z.ZodOptional<z.ZodString>;
807
+ headers: z.ZodArray<z.ZodString, "many">;
808
+ rows: z.ZodArray<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>, "many">, "many">;
809
+ format: z.ZodOptional<z.ZodObject<{
810
+ moneyColumns: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
811
+ percentColumns: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
812
+ }, "strip", z.ZodTypeAny, {
813
+ moneyColumns?: number[] | undefined;
814
+ percentColumns?: number[] | undefined;
815
+ }, {
816
+ moneyColumns?: number[] | undefined;
817
+ percentColumns?: number[] | undefined;
818
+ }>>;
819
+ }, "strip", z.ZodTypeAny, {
820
+ headers: string[];
821
+ rows: (string | number | null)[][];
822
+ title?: string | undefined;
823
+ format?: {
824
+ moneyColumns?: number[] | undefined;
825
+ percentColumns?: number[] | undefined;
826
+ } | undefined;
827
+ }, {
828
+ headers: string[];
829
+ rows: (string | number | null)[][];
830
+ title?: string | undefined;
831
+ format?: {
832
+ moneyColumns?: number[] | undefined;
833
+ percentColumns?: number[] | undefined;
834
+ } | undefined;
835
+ }>;
836
+ export declare const DisplayStepsSchema: z.ZodObject<{
837
+ title: z.ZodOptional<z.ZodString>;
838
+ steps: z.ZodArray<z.ZodObject<{
839
+ title: z.ZodString;
840
+ description: z.ZodOptional<z.ZodString>;
841
+ status: z.ZodDefault<z.ZodEnum<["completed", "current", "pending"]>>;
842
+ }, "strip", z.ZodTypeAny, {
843
+ status: "pending" | "completed" | "current";
844
+ title: string;
845
+ description?: string | undefined;
846
+ }, {
847
+ title: string;
848
+ status?: "pending" | "completed" | "current" | undefined;
849
+ description?: string | undefined;
850
+ }>, "many">;
851
+ orientation: z.ZodDefault<z.ZodEnum<["vertical", "horizontal"]>>;
852
+ }, "strip", z.ZodTypeAny, {
853
+ steps: {
854
+ status: "pending" | "completed" | "current";
855
+ title: string;
856
+ description?: string | undefined;
857
+ }[];
858
+ orientation: "vertical" | "horizontal";
859
+ title?: string | undefined;
860
+ }, {
861
+ steps: {
862
+ title: string;
863
+ status?: "pending" | "completed" | "current" | undefined;
864
+ description?: string | undefined;
865
+ }[];
866
+ title?: string | undefined;
867
+ orientation?: "vertical" | "horizontal" | undefined;
868
+ }>;
869
+ export declare const DisplayAlertSchema: z.ZodObject<{
870
+ variant: z.ZodEnum<["info", "warning", "error", "success"]>;
871
+ title: z.ZodOptional<z.ZodString>;
872
+ message: z.ZodString;
873
+ icon: z.ZodOptional<z.ZodString>;
874
+ }, "strip", z.ZodTypeAny, {
875
+ message: string;
876
+ variant: "success" | "warning" | "error" | "info";
877
+ title?: string | undefined;
878
+ icon?: string | undefined;
879
+ }, {
880
+ message: string;
881
+ variant: "success" | "warning" | "error" | "info";
882
+ title?: string | undefined;
883
+ icon?: string | undefined;
884
+ }>;
885
+ export declare const DisplayChoicesSchema: z.ZodObject<{
886
+ question: z.ZodOptional<z.ZodString>;
887
+ choices: z.ZodArray<z.ZodObject<{
888
+ id: z.ZodString;
889
+ label: z.ZodString;
890
+ description: z.ZodOptional<z.ZodString>;
891
+ icon: z.ZodOptional<z.ZodString>;
892
+ }, "strip", z.ZodTypeAny, {
893
+ id: string;
894
+ label: string;
895
+ description?: string | undefined;
896
+ icon?: string | undefined;
897
+ }, {
898
+ id: string;
899
+ label: string;
900
+ description?: string | undefined;
901
+ icon?: string | undefined;
902
+ }>, "many">;
903
+ layout: z.ZodDefault<z.ZodEnum<["buttons", "cards", "list"]>>;
904
+ }, "strip", z.ZodTypeAny, {
905
+ layout: "buttons" | "cards" | "list";
906
+ choices: {
907
+ id: string;
908
+ label: string;
909
+ description?: string | undefined;
910
+ icon?: string | undefined;
911
+ }[];
912
+ question?: string | undefined;
913
+ }, {
914
+ choices: {
915
+ id: string;
916
+ label: string;
917
+ description?: string | undefined;
918
+ icon?: string | undefined;
919
+ }[];
920
+ question?: string | undefined;
921
+ layout?: "buttons" | "cards" | "list" | undefined;
922
+ }>;
923
+ export declare const DisplayToolRegistry: {
924
+ readonly display_metric: z.ZodObject<{
925
+ label: z.ZodString;
926
+ value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
927
+ unit: z.ZodOptional<z.ZodString>;
928
+ trend: z.ZodOptional<z.ZodObject<{
929
+ direction: z.ZodEnum<["up", "down", "neutral"]>;
930
+ value: z.ZodString;
931
+ }, "strip", z.ZodTypeAny, {
932
+ value: string;
933
+ direction: "up" | "down" | "neutral";
934
+ }, {
935
+ value: string;
936
+ direction: "up" | "down" | "neutral";
937
+ }>>;
938
+ icon: z.ZodOptional<z.ZodString>;
939
+ }, "strip", z.ZodTypeAny, {
940
+ value: string | number;
941
+ label: string;
942
+ unit?: string | undefined;
943
+ trend?: {
944
+ value: string;
945
+ direction: "up" | "down" | "neutral";
946
+ } | undefined;
947
+ icon?: string | undefined;
948
+ }, {
949
+ value: string | number;
950
+ label: string;
951
+ unit?: string | undefined;
952
+ trend?: {
953
+ value: string;
954
+ direction: "up" | "down" | "neutral";
955
+ } | undefined;
956
+ icon?: string | undefined;
957
+ }>;
958
+ readonly display_chart: z.ZodObject<{
959
+ type: z.ZodEnum<["bar", "line", "pie", "area", "donut"]>;
960
+ title: z.ZodString;
961
+ data: z.ZodArray<z.ZodObject<{
962
+ label: z.ZodString;
963
+ value: z.ZodNumber;
964
+ color: z.ZodOptional<z.ZodString>;
965
+ }, "strip", z.ZodTypeAny, {
966
+ value: number;
967
+ label: string;
968
+ color?: string | undefined;
969
+ }, {
970
+ value: number;
971
+ label: string;
972
+ color?: string | undefined;
973
+ }>, "many">;
974
+ format: z.ZodOptional<z.ZodObject<{
975
+ prefix: z.ZodOptional<z.ZodString>;
976
+ suffix: z.ZodOptional<z.ZodString>;
977
+ locale: z.ZodDefault<z.ZodString>;
978
+ }, "strip", z.ZodTypeAny, {
979
+ locale: string;
980
+ prefix?: string | undefined;
981
+ suffix?: string | undefined;
982
+ }, {
983
+ prefix?: string | undefined;
984
+ suffix?: string | undefined;
985
+ locale?: string | undefined;
986
+ }>>;
987
+ }, "strip", z.ZodTypeAny, {
988
+ type: "bar" | "line" | "pie" | "area" | "donut";
989
+ title: string;
990
+ data: {
991
+ value: number;
992
+ label: string;
993
+ color?: string | undefined;
994
+ }[];
995
+ format?: {
996
+ locale: string;
997
+ prefix?: string | undefined;
998
+ suffix?: string | undefined;
999
+ } | undefined;
1000
+ }, {
1001
+ type: "bar" | "line" | "pie" | "area" | "donut";
1002
+ title: string;
1003
+ data: {
1004
+ value: number;
1005
+ label: string;
1006
+ color?: string | undefined;
1007
+ }[];
1008
+ format?: {
1009
+ prefix?: string | undefined;
1010
+ suffix?: string | undefined;
1011
+ locale?: string | undefined;
1012
+ } | undefined;
1013
+ }>;
1014
+ readonly display_table: z.ZodObject<{
1015
+ title: z.ZodOptional<z.ZodString>;
1016
+ columns: z.ZodArray<z.ZodObject<{
1017
+ key: z.ZodString;
1018
+ label: z.ZodString;
1019
+ type: z.ZodDefault<z.ZodEnum<["text", "number", "money", "image", "link", "badge"]>>;
1020
+ align: z.ZodDefault<z.ZodEnum<["left", "center", "right"]>>;
1021
+ }, "strip", z.ZodTypeAny, {
1022
+ type: "number" | "link" | "text" | "money" | "image" | "badge";
1023
+ label: string;
1024
+ key: string;
1025
+ align: "left" | "center" | "right";
1026
+ }, {
1027
+ label: string;
1028
+ key: string;
1029
+ type?: "number" | "link" | "text" | "money" | "image" | "badge" | undefined;
1030
+ align?: "left" | "center" | "right" | undefined;
1031
+ }>, "many">;
1032
+ rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
1033
+ sortable: z.ZodDefault<z.ZodBoolean>;
1034
+ }, "strip", z.ZodTypeAny, {
1035
+ columns: {
1036
+ type: "number" | "link" | "text" | "money" | "image" | "badge";
1037
+ label: string;
1038
+ key: string;
1039
+ align: "left" | "center" | "right";
1040
+ }[];
1041
+ rows: Record<string, unknown>[];
1042
+ sortable: boolean;
1043
+ title?: string | undefined;
1044
+ }, {
1045
+ columns: {
1046
+ label: string;
1047
+ key: string;
1048
+ type?: "number" | "link" | "text" | "money" | "image" | "badge" | undefined;
1049
+ align?: "left" | "center" | "right" | undefined;
1050
+ }[];
1051
+ rows: Record<string, unknown>[];
1052
+ title?: string | undefined;
1053
+ sortable?: boolean | undefined;
1054
+ }>;
1055
+ readonly display_progress: z.ZodObject<{
1056
+ title: z.ZodOptional<z.ZodString>;
1057
+ steps: z.ZodArray<z.ZodObject<{
1058
+ label: z.ZodString;
1059
+ status: z.ZodEnum<["completed", "current", "pending"]>;
1060
+ description: z.ZodOptional<z.ZodString>;
1061
+ }, "strip", z.ZodTypeAny, {
1062
+ status: "pending" | "completed" | "current";
1063
+ label: string;
1064
+ description?: string | undefined;
1065
+ }, {
1066
+ status: "pending" | "completed" | "current";
1067
+ label: string;
1068
+ description?: string | undefined;
1069
+ }>, "many">;
1070
+ }, "strip", z.ZodTypeAny, {
1071
+ steps: {
1072
+ status: "pending" | "completed" | "current";
1073
+ label: string;
1074
+ description?: string | undefined;
1075
+ }[];
1076
+ title?: string | undefined;
1077
+ }, {
1078
+ steps: {
1079
+ status: "pending" | "completed" | "current";
1080
+ label: string;
1081
+ description?: string | undefined;
1082
+ }[];
1083
+ title?: string | undefined;
1084
+ }>;
1085
+ readonly display_product: z.ZodObject<{
1086
+ title: z.ZodString;
1087
+ image: z.ZodOptional<z.ZodString>;
1088
+ price: z.ZodOptional<z.ZodObject<{
1089
+ value: z.ZodNumber;
1090
+ currency: z.ZodDefault<z.ZodString>;
1091
+ }, "strip", z.ZodTypeAny, {
1092
+ value: number;
1093
+ currency: string;
1094
+ }, {
1095
+ value: number;
1096
+ currency?: string | undefined;
1097
+ }>>;
1098
+ originalPrice: z.ZodOptional<z.ZodObject<{
1099
+ value: z.ZodNumber;
1100
+ currency: z.ZodDefault<z.ZodString>;
1101
+ }, "strip", z.ZodTypeAny, {
1102
+ value: number;
1103
+ currency: string;
1104
+ }, {
1105
+ value: number;
1106
+ currency?: string | undefined;
1107
+ }>>;
1108
+ rating: z.ZodOptional<z.ZodObject<{
1109
+ score: z.ZodNumber;
1110
+ count: z.ZodNumber;
1111
+ }, "strip", z.ZodTypeAny, {
1112
+ count: number;
1113
+ score: number;
1114
+ }, {
1115
+ count: number;
1116
+ score: number;
1117
+ }>>;
1118
+ source: z.ZodOptional<z.ZodObject<{
1119
+ name: z.ZodString;
1120
+ url: z.ZodString;
1121
+ favicon: z.ZodOptional<z.ZodString>;
1122
+ }, "strip", z.ZodTypeAny, {
1123
+ name: string;
1124
+ url: string;
1125
+ favicon?: string | undefined;
1126
+ }, {
1127
+ name: string;
1128
+ url: string;
1129
+ favicon?: string | undefined;
1130
+ }>>;
1131
+ badges: z.ZodOptional<z.ZodArray<z.ZodObject<{
1132
+ label: z.ZodString;
1133
+ variant: z.ZodDefault<z.ZodEnum<["default", "success", "warning", "error", "info"]>>;
1134
+ }, "strip", z.ZodTypeAny, {
1135
+ label: string;
1136
+ variant: "default" | "success" | "warning" | "error" | "info";
1137
+ }, {
1138
+ label: string;
1139
+ variant?: "default" | "success" | "warning" | "error" | "info" | undefined;
1140
+ }>, "many">>;
1141
+ url: z.ZodOptional<z.ZodString>;
1142
+ description: z.ZodOptional<z.ZodString>;
1143
+ }, "strip", z.ZodTypeAny, {
1144
+ title: string;
1145
+ description?: string | undefined;
1146
+ url?: string | undefined;
1147
+ image?: string | undefined;
1148
+ price?: {
1149
+ value: number;
1150
+ currency: string;
1151
+ } | undefined;
1152
+ originalPrice?: {
1153
+ value: number;
1154
+ currency: string;
1155
+ } | undefined;
1156
+ rating?: {
1157
+ count: number;
1158
+ score: number;
1159
+ } | undefined;
1160
+ source?: {
1161
+ name: string;
1162
+ url: string;
1163
+ favicon?: string | undefined;
1164
+ } | undefined;
1165
+ badges?: {
1166
+ label: string;
1167
+ variant: "default" | "success" | "warning" | "error" | "info";
1168
+ }[] | undefined;
1169
+ }, {
1170
+ title: string;
1171
+ description?: string | undefined;
1172
+ url?: string | undefined;
1173
+ image?: string | undefined;
1174
+ price?: {
1175
+ value: number;
1176
+ currency?: string | undefined;
1177
+ } | undefined;
1178
+ originalPrice?: {
1179
+ value: number;
1180
+ currency?: string | undefined;
1181
+ } | undefined;
1182
+ rating?: {
1183
+ count: number;
1184
+ score: number;
1185
+ } | undefined;
1186
+ source?: {
1187
+ name: string;
1188
+ url: string;
1189
+ favicon?: string | undefined;
1190
+ } | undefined;
1191
+ badges?: {
1192
+ label: string;
1193
+ variant?: "default" | "success" | "warning" | "error" | "info" | undefined;
1194
+ }[] | undefined;
1195
+ }>;
1196
+ readonly display_comparison: z.ZodObject<{
1197
+ title: z.ZodOptional<z.ZodString>;
1198
+ items: z.ZodArray<z.ZodObject<{
1199
+ title: z.ZodString;
1200
+ image: z.ZodOptional<z.ZodString>;
1201
+ price: z.ZodOptional<z.ZodObject<{
1202
+ value: z.ZodNumber;
1203
+ currency: z.ZodDefault<z.ZodString>;
1204
+ }, "strip", z.ZodTypeAny, {
1205
+ value: number;
1206
+ currency: string;
1207
+ }, {
1208
+ value: number;
1209
+ currency?: string | undefined;
1210
+ }>>;
1211
+ originalPrice: z.ZodOptional<z.ZodObject<{
1212
+ value: z.ZodNumber;
1213
+ currency: z.ZodDefault<z.ZodString>;
1214
+ }, "strip", z.ZodTypeAny, {
1215
+ value: number;
1216
+ currency: string;
1217
+ }, {
1218
+ value: number;
1219
+ currency?: string | undefined;
1220
+ }>>;
1221
+ rating: z.ZodOptional<z.ZodObject<{
1222
+ score: z.ZodNumber;
1223
+ count: z.ZodNumber;
1224
+ }, "strip", z.ZodTypeAny, {
1225
+ count: number;
1226
+ score: number;
1227
+ }, {
1228
+ count: number;
1229
+ score: number;
1230
+ }>>;
1231
+ source: z.ZodOptional<z.ZodObject<{
1232
+ name: z.ZodString;
1233
+ url: z.ZodString;
1234
+ favicon: z.ZodOptional<z.ZodString>;
1235
+ }, "strip", z.ZodTypeAny, {
1236
+ name: string;
1237
+ url: string;
1238
+ favicon?: string | undefined;
1239
+ }, {
1240
+ name: string;
1241
+ url: string;
1242
+ favicon?: string | undefined;
1243
+ }>>;
1244
+ badges: z.ZodOptional<z.ZodArray<z.ZodObject<{
1245
+ label: z.ZodString;
1246
+ variant: z.ZodDefault<z.ZodEnum<["default", "success", "warning", "error", "info"]>>;
1247
+ }, "strip", z.ZodTypeAny, {
1248
+ label: string;
1249
+ variant: "default" | "success" | "warning" | "error" | "info";
1250
+ }, {
1251
+ label: string;
1252
+ variant?: "default" | "success" | "warning" | "error" | "info" | undefined;
1253
+ }>, "many">>;
1254
+ url: z.ZodOptional<z.ZodString>;
1255
+ description: z.ZodOptional<z.ZodString>;
1256
+ }, "strip", z.ZodTypeAny, {
1257
+ title: string;
1258
+ description?: string | undefined;
1259
+ url?: string | undefined;
1260
+ image?: string | undefined;
1261
+ price?: {
1262
+ value: number;
1263
+ currency: string;
1264
+ } | undefined;
1265
+ originalPrice?: {
1266
+ value: number;
1267
+ currency: string;
1268
+ } | undefined;
1269
+ rating?: {
1270
+ count: number;
1271
+ score: number;
1272
+ } | undefined;
1273
+ source?: {
1274
+ name: string;
1275
+ url: string;
1276
+ favicon?: string | undefined;
1277
+ } | undefined;
1278
+ badges?: {
1279
+ label: string;
1280
+ variant: "default" | "success" | "warning" | "error" | "info";
1281
+ }[] | undefined;
1282
+ }, {
1283
+ title: string;
1284
+ description?: string | undefined;
1285
+ url?: string | undefined;
1286
+ image?: string | undefined;
1287
+ price?: {
1288
+ value: number;
1289
+ currency?: string | undefined;
1290
+ } | undefined;
1291
+ originalPrice?: {
1292
+ value: number;
1293
+ currency?: string | undefined;
1294
+ } | undefined;
1295
+ rating?: {
1296
+ count: number;
1297
+ score: number;
1298
+ } | undefined;
1299
+ source?: {
1300
+ name: string;
1301
+ url: string;
1302
+ favicon?: string | undefined;
1303
+ } | undefined;
1304
+ badges?: {
1305
+ label: string;
1306
+ variant?: "default" | "success" | "warning" | "error" | "info" | undefined;
1307
+ }[] | undefined;
1308
+ }>, "many">;
1309
+ attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1310
+ key: z.ZodString;
1311
+ label: z.ZodString;
1312
+ }, "strip", z.ZodTypeAny, {
1313
+ label: string;
1314
+ key: string;
1315
+ }, {
1316
+ label: string;
1317
+ key: string;
1318
+ }>, "many">>;
1319
+ }, "strip", z.ZodTypeAny, {
1320
+ items: {
1321
+ title: string;
1322
+ description?: string | undefined;
1323
+ url?: string | undefined;
1324
+ image?: string | undefined;
1325
+ price?: {
1326
+ value: number;
1327
+ currency: string;
1328
+ } | undefined;
1329
+ originalPrice?: {
1330
+ value: number;
1331
+ currency: string;
1332
+ } | undefined;
1333
+ rating?: {
1334
+ count: number;
1335
+ score: number;
1336
+ } | undefined;
1337
+ source?: {
1338
+ name: string;
1339
+ url: string;
1340
+ favicon?: string | undefined;
1341
+ } | undefined;
1342
+ badges?: {
1343
+ label: string;
1344
+ variant: "default" | "success" | "warning" | "error" | "info";
1345
+ }[] | undefined;
1346
+ }[];
1347
+ title?: string | undefined;
1348
+ attributes?: {
1349
+ label: string;
1350
+ key: string;
1351
+ }[] | undefined;
1352
+ }, {
1353
+ items: {
1354
+ title: string;
1355
+ description?: string | undefined;
1356
+ url?: string | undefined;
1357
+ image?: string | undefined;
1358
+ price?: {
1359
+ value: number;
1360
+ currency?: string | undefined;
1361
+ } | undefined;
1362
+ originalPrice?: {
1363
+ value: number;
1364
+ currency?: string | undefined;
1365
+ } | undefined;
1366
+ rating?: {
1367
+ count: number;
1368
+ score: number;
1369
+ } | undefined;
1370
+ source?: {
1371
+ name: string;
1372
+ url: string;
1373
+ favicon?: string | undefined;
1374
+ } | undefined;
1375
+ badges?: {
1376
+ label: string;
1377
+ variant?: "default" | "success" | "warning" | "error" | "info" | undefined;
1378
+ }[] | undefined;
1379
+ }[];
1380
+ title?: string | undefined;
1381
+ attributes?: {
1382
+ label: string;
1383
+ key: string;
1384
+ }[] | undefined;
1385
+ }>;
1386
+ readonly display_price: z.ZodObject<{
1387
+ value: z.ZodObject<{
1388
+ value: z.ZodNumber;
1389
+ currency: z.ZodDefault<z.ZodString>;
1390
+ }, "strip", z.ZodTypeAny, {
1391
+ value: number;
1392
+ currency: string;
1393
+ }, {
1394
+ value: number;
1395
+ currency?: string | undefined;
1396
+ }>;
1397
+ label: z.ZodString;
1398
+ context: z.ZodOptional<z.ZodString>;
1399
+ source: z.ZodOptional<z.ZodObject<{
1400
+ name: z.ZodString;
1401
+ url: z.ZodString;
1402
+ favicon: z.ZodOptional<z.ZodString>;
1403
+ }, "strip", z.ZodTypeAny, {
1404
+ name: string;
1405
+ url: string;
1406
+ favicon?: string | undefined;
1407
+ }, {
1408
+ name: string;
1409
+ url: string;
1410
+ favicon?: string | undefined;
1411
+ }>>;
1412
+ badge: z.ZodOptional<z.ZodObject<{
1413
+ label: z.ZodString;
1414
+ variant: z.ZodDefault<z.ZodEnum<["default", "success", "warning", "error", "info"]>>;
1415
+ }, "strip", z.ZodTypeAny, {
1416
+ label: string;
1417
+ variant: "default" | "success" | "warning" | "error" | "info";
1418
+ }, {
1419
+ label: string;
1420
+ variant?: "default" | "success" | "warning" | "error" | "info" | undefined;
1421
+ }>>;
1422
+ }, "strip", z.ZodTypeAny, {
1423
+ value: {
1424
+ value: number;
1425
+ currency: string;
1426
+ };
1427
+ label: string;
1428
+ badge?: {
1429
+ label: string;
1430
+ variant: "default" | "success" | "warning" | "error" | "info";
1431
+ } | undefined;
1432
+ source?: {
1433
+ name: string;
1434
+ url: string;
1435
+ favicon?: string | undefined;
1436
+ } | undefined;
1437
+ context?: string | undefined;
1438
+ }, {
1439
+ value: {
1440
+ value: number;
1441
+ currency?: string | undefined;
1442
+ };
1443
+ label: string;
1444
+ badge?: {
1445
+ label: string;
1446
+ variant?: "default" | "success" | "warning" | "error" | "info" | undefined;
1447
+ } | undefined;
1448
+ source?: {
1449
+ name: string;
1450
+ url: string;
1451
+ favicon?: string | undefined;
1452
+ } | undefined;
1453
+ context?: string | undefined;
1454
+ }>;
1455
+ readonly display_image: z.ZodObject<{
1456
+ url: z.ZodString;
1457
+ alt: z.ZodOptional<z.ZodString>;
1458
+ caption: z.ZodOptional<z.ZodString>;
1459
+ width: z.ZodOptional<z.ZodNumber>;
1460
+ height: z.ZodOptional<z.ZodNumber>;
1461
+ }, "strip", z.ZodTypeAny, {
1462
+ url: string;
1463
+ alt?: string | undefined;
1464
+ caption?: string | undefined;
1465
+ width?: number | undefined;
1466
+ height?: number | undefined;
1467
+ }, {
1468
+ url: string;
1469
+ alt?: string | undefined;
1470
+ caption?: string | undefined;
1471
+ width?: number | undefined;
1472
+ height?: number | undefined;
1473
+ }>;
1474
+ readonly display_gallery: z.ZodObject<{
1475
+ title: z.ZodOptional<z.ZodString>;
1476
+ images: z.ZodArray<z.ZodObject<{
1477
+ url: z.ZodString;
1478
+ alt: z.ZodOptional<z.ZodString>;
1479
+ caption: z.ZodOptional<z.ZodString>;
1480
+ }, "strip", z.ZodTypeAny, {
1481
+ url: string;
1482
+ alt?: string | undefined;
1483
+ caption?: string | undefined;
1484
+ }, {
1485
+ url: string;
1486
+ alt?: string | undefined;
1487
+ caption?: string | undefined;
1488
+ }>, "many">;
1489
+ layout: z.ZodDefault<z.ZodEnum<["grid", "masonry"]>>;
1490
+ columns: z.ZodDefault<z.ZodNumber>;
1491
+ }, "strip", z.ZodTypeAny, {
1492
+ columns: number;
1493
+ images: {
1494
+ url: string;
1495
+ alt?: string | undefined;
1496
+ caption?: string | undefined;
1497
+ }[];
1498
+ layout: "grid" | "masonry";
1499
+ title?: string | undefined;
1500
+ }, {
1501
+ images: {
1502
+ url: string;
1503
+ alt?: string | undefined;
1504
+ caption?: string | undefined;
1505
+ }[];
1506
+ title?: string | undefined;
1507
+ columns?: number | undefined;
1508
+ layout?: "grid" | "masonry" | undefined;
1509
+ }>;
1510
+ readonly display_carousel: z.ZodObject<{
1511
+ title: z.ZodOptional<z.ZodString>;
1512
+ items: z.ZodArray<z.ZodObject<{
1513
+ image: z.ZodOptional<z.ZodString>;
1514
+ title: z.ZodString;
1515
+ subtitle: z.ZodOptional<z.ZodString>;
1516
+ price: z.ZodOptional<z.ZodObject<{
1517
+ value: z.ZodNumber;
1518
+ currency: z.ZodDefault<z.ZodString>;
1519
+ }, "strip", z.ZodTypeAny, {
1520
+ value: number;
1521
+ currency: string;
1522
+ }, {
1523
+ value: number;
1524
+ currency?: string | undefined;
1525
+ }>>;
1526
+ url: z.ZodOptional<z.ZodString>;
1527
+ badges: z.ZodOptional<z.ZodArray<z.ZodObject<{
1528
+ label: z.ZodString;
1529
+ variant: z.ZodDefault<z.ZodEnum<["default", "success", "warning", "error", "info"]>>;
1530
+ }, "strip", z.ZodTypeAny, {
1531
+ label: string;
1532
+ variant: "default" | "success" | "warning" | "error" | "info";
1533
+ }, {
1534
+ label: string;
1535
+ variant?: "default" | "success" | "warning" | "error" | "info" | undefined;
1536
+ }>, "many">>;
1537
+ }, "strip", z.ZodTypeAny, {
1538
+ title: string;
1539
+ url?: string | undefined;
1540
+ image?: string | undefined;
1541
+ price?: {
1542
+ value: number;
1543
+ currency: string;
1544
+ } | undefined;
1545
+ badges?: {
1546
+ label: string;
1547
+ variant: "default" | "success" | "warning" | "error" | "info";
1548
+ }[] | undefined;
1549
+ subtitle?: string | undefined;
1550
+ }, {
1551
+ title: string;
1552
+ url?: string | undefined;
1553
+ image?: string | undefined;
1554
+ price?: {
1555
+ value: number;
1556
+ currency?: string | undefined;
1557
+ } | undefined;
1558
+ badges?: {
1559
+ label: string;
1560
+ variant?: "default" | "success" | "warning" | "error" | "info" | undefined;
1561
+ }[] | undefined;
1562
+ subtitle?: string | undefined;
1563
+ }>, "many">;
1564
+ }, "strip", z.ZodTypeAny, {
1565
+ items: {
1566
+ title: string;
1567
+ url?: string | undefined;
1568
+ image?: string | undefined;
1569
+ price?: {
1570
+ value: number;
1571
+ currency: string;
1572
+ } | undefined;
1573
+ badges?: {
1574
+ label: string;
1575
+ variant: "default" | "success" | "warning" | "error" | "info";
1576
+ }[] | undefined;
1577
+ subtitle?: string | undefined;
1578
+ }[];
1579
+ title?: string | undefined;
1580
+ }, {
1581
+ items: {
1582
+ title: string;
1583
+ url?: string | undefined;
1584
+ image?: string | undefined;
1585
+ price?: {
1586
+ value: number;
1587
+ currency?: string | undefined;
1588
+ } | undefined;
1589
+ badges?: {
1590
+ label: string;
1591
+ variant?: "default" | "success" | "warning" | "error" | "info" | undefined;
1592
+ }[] | undefined;
1593
+ subtitle?: string | undefined;
1594
+ }[];
1595
+ title?: string | undefined;
1596
+ }>;
1597
+ readonly display_sources: z.ZodObject<{
1598
+ label: z.ZodDefault<z.ZodString>;
1599
+ sources: z.ZodArray<z.ZodObject<{
1600
+ title: z.ZodString;
1601
+ url: z.ZodString;
1602
+ favicon: z.ZodOptional<z.ZodString>;
1603
+ snippet: z.ZodOptional<z.ZodString>;
1604
+ }, "strip", z.ZodTypeAny, {
1605
+ title: string;
1606
+ url: string;
1607
+ favicon?: string | undefined;
1608
+ snippet?: string | undefined;
1609
+ }, {
1610
+ title: string;
1611
+ url: string;
1612
+ favicon?: string | undefined;
1613
+ snippet?: string | undefined;
1614
+ }>, "many">;
1615
+ }, "strip", z.ZodTypeAny, {
1616
+ label: string;
1617
+ sources: {
1618
+ title: string;
1619
+ url: string;
1620
+ favicon?: string | undefined;
1621
+ snippet?: string | undefined;
1622
+ }[];
1623
+ }, {
1624
+ sources: {
1625
+ title: string;
1626
+ url: string;
1627
+ favicon?: string | undefined;
1628
+ snippet?: string | undefined;
1629
+ }[];
1630
+ label?: string | undefined;
1631
+ }>;
1632
+ readonly display_link: z.ZodObject<{
1633
+ url: z.ZodString;
1634
+ title: z.ZodString;
1635
+ description: z.ZodOptional<z.ZodString>;
1636
+ image: z.ZodOptional<z.ZodString>;
1637
+ favicon: z.ZodOptional<z.ZodString>;
1638
+ domain: z.ZodOptional<z.ZodString>;
1639
+ }, "strip", z.ZodTypeAny, {
1640
+ title: string;
1641
+ url: string;
1642
+ description?: string | undefined;
1643
+ favicon?: string | undefined;
1644
+ image?: string | undefined;
1645
+ domain?: string | undefined;
1646
+ }, {
1647
+ title: string;
1648
+ url: string;
1649
+ description?: string | undefined;
1650
+ favicon?: string | undefined;
1651
+ image?: string | undefined;
1652
+ domain?: string | undefined;
1653
+ }>;
1654
+ readonly display_map: z.ZodObject<{
1655
+ title: z.ZodOptional<z.ZodString>;
1656
+ pins: z.ZodArray<z.ZodObject<{
1657
+ lat: z.ZodNumber;
1658
+ lng: z.ZodNumber;
1659
+ label: z.ZodOptional<z.ZodString>;
1660
+ address: z.ZodOptional<z.ZodString>;
1661
+ }, "strip", z.ZodTypeAny, {
1662
+ lat: number;
1663
+ lng: number;
1664
+ label?: string | undefined;
1665
+ address?: string | undefined;
1666
+ }, {
1667
+ lat: number;
1668
+ lng: number;
1669
+ label?: string | undefined;
1670
+ address?: string | undefined;
1671
+ }>, "many">;
1672
+ zoom: z.ZodDefault<z.ZodNumber>;
1673
+ }, "strip", z.ZodTypeAny, {
1674
+ pins: {
1675
+ lat: number;
1676
+ lng: number;
1677
+ label?: string | undefined;
1678
+ address?: string | undefined;
1679
+ }[];
1680
+ zoom: number;
1681
+ title?: string | undefined;
1682
+ }, {
1683
+ pins: {
1684
+ lat: number;
1685
+ lng: number;
1686
+ label?: string | undefined;
1687
+ address?: string | undefined;
1688
+ }[];
1689
+ title?: string | undefined;
1690
+ zoom?: number | undefined;
1691
+ }>;
1692
+ readonly display_file: z.ZodObject<{
1693
+ name: z.ZodString;
1694
+ type: z.ZodString;
1695
+ size: z.ZodOptional<z.ZodNumber>;
1696
+ url: z.ZodOptional<z.ZodString>;
1697
+ preview: z.ZodOptional<z.ZodString>;
1698
+ }, "strip", z.ZodTypeAny, {
1699
+ type: string;
1700
+ name: string;
1701
+ url?: string | undefined;
1702
+ size?: number | undefined;
1703
+ preview?: string | undefined;
1704
+ }, {
1705
+ type: string;
1706
+ name: string;
1707
+ url?: string | undefined;
1708
+ size?: number | undefined;
1709
+ preview?: string | undefined;
1710
+ }>;
1711
+ readonly display_code: z.ZodObject<{
1712
+ language: z.ZodString;
1713
+ code: z.ZodString;
1714
+ title: z.ZodOptional<z.ZodString>;
1715
+ lineNumbers: z.ZodDefault<z.ZodBoolean>;
1716
+ }, "strip", z.ZodTypeAny, {
1717
+ code: string;
1718
+ language: string;
1719
+ lineNumbers: boolean;
1720
+ title?: string | undefined;
1721
+ }, {
1722
+ code: string;
1723
+ language: string;
1724
+ title?: string | undefined;
1725
+ lineNumbers?: boolean | undefined;
1726
+ }>;
1727
+ readonly display_spreadsheet: z.ZodObject<{
1728
+ title: z.ZodOptional<z.ZodString>;
1729
+ headers: z.ZodArray<z.ZodString, "many">;
1730
+ rows: z.ZodArray<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodNull]>, "many">, "many">;
1731
+ format: z.ZodOptional<z.ZodObject<{
1732
+ moneyColumns: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1733
+ percentColumns: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1734
+ }, "strip", z.ZodTypeAny, {
1735
+ moneyColumns?: number[] | undefined;
1736
+ percentColumns?: number[] | undefined;
1737
+ }, {
1738
+ moneyColumns?: number[] | undefined;
1739
+ percentColumns?: number[] | undefined;
1740
+ }>>;
1741
+ }, "strip", z.ZodTypeAny, {
1742
+ headers: string[];
1743
+ rows: (string | number | null)[][];
1744
+ title?: string | undefined;
1745
+ format?: {
1746
+ moneyColumns?: number[] | undefined;
1747
+ percentColumns?: number[] | undefined;
1748
+ } | undefined;
1749
+ }, {
1750
+ headers: string[];
1751
+ rows: (string | number | null)[][];
1752
+ title?: string | undefined;
1753
+ format?: {
1754
+ moneyColumns?: number[] | undefined;
1755
+ percentColumns?: number[] | undefined;
1756
+ } | undefined;
1757
+ }>;
1758
+ readonly display_steps: z.ZodObject<{
1759
+ title: z.ZodOptional<z.ZodString>;
1760
+ steps: z.ZodArray<z.ZodObject<{
1761
+ title: z.ZodString;
1762
+ description: z.ZodOptional<z.ZodString>;
1763
+ status: z.ZodDefault<z.ZodEnum<["completed", "current", "pending"]>>;
1764
+ }, "strip", z.ZodTypeAny, {
1765
+ status: "pending" | "completed" | "current";
1766
+ title: string;
1767
+ description?: string | undefined;
1768
+ }, {
1769
+ title: string;
1770
+ status?: "pending" | "completed" | "current" | undefined;
1771
+ description?: string | undefined;
1772
+ }>, "many">;
1773
+ orientation: z.ZodDefault<z.ZodEnum<["vertical", "horizontal"]>>;
1774
+ }, "strip", z.ZodTypeAny, {
1775
+ steps: {
1776
+ status: "pending" | "completed" | "current";
1777
+ title: string;
1778
+ description?: string | undefined;
1779
+ }[];
1780
+ orientation: "vertical" | "horizontal";
1781
+ title?: string | undefined;
1782
+ }, {
1783
+ steps: {
1784
+ title: string;
1785
+ status?: "pending" | "completed" | "current" | undefined;
1786
+ description?: string | undefined;
1787
+ }[];
1788
+ title?: string | undefined;
1789
+ orientation?: "vertical" | "horizontal" | undefined;
1790
+ }>;
1791
+ readonly display_alert: z.ZodObject<{
1792
+ variant: z.ZodEnum<["info", "warning", "error", "success"]>;
1793
+ title: z.ZodOptional<z.ZodString>;
1794
+ message: z.ZodString;
1795
+ icon: z.ZodOptional<z.ZodString>;
1796
+ }, "strip", z.ZodTypeAny, {
1797
+ message: string;
1798
+ variant: "success" | "warning" | "error" | "info";
1799
+ title?: string | undefined;
1800
+ icon?: string | undefined;
1801
+ }, {
1802
+ message: string;
1803
+ variant: "success" | "warning" | "error" | "info";
1804
+ title?: string | undefined;
1805
+ icon?: string | undefined;
1806
+ }>;
1807
+ readonly display_choices: z.ZodObject<{
1808
+ question: z.ZodOptional<z.ZodString>;
1809
+ choices: z.ZodArray<z.ZodObject<{
1810
+ id: z.ZodString;
1811
+ label: z.ZodString;
1812
+ description: z.ZodOptional<z.ZodString>;
1813
+ icon: z.ZodOptional<z.ZodString>;
1814
+ }, "strip", z.ZodTypeAny, {
1815
+ id: string;
1816
+ label: string;
1817
+ description?: string | undefined;
1818
+ icon?: string | undefined;
1819
+ }, {
1820
+ id: string;
1821
+ label: string;
1822
+ description?: string | undefined;
1823
+ icon?: string | undefined;
1824
+ }>, "many">;
1825
+ layout: z.ZodDefault<z.ZodEnum<["buttons", "cards", "list"]>>;
1826
+ }, "strip", z.ZodTypeAny, {
1827
+ layout: "buttons" | "cards" | "list";
1828
+ choices: {
1829
+ id: string;
1830
+ label: string;
1831
+ description?: string | undefined;
1832
+ icon?: string | undefined;
1833
+ }[];
1834
+ question?: string | undefined;
1835
+ }, {
1836
+ choices: {
1837
+ id: string;
1838
+ label: string;
1839
+ description?: string | undefined;
1840
+ icon?: string | undefined;
1841
+ }[];
1842
+ question?: string | undefined;
1843
+ layout?: "buttons" | "cards" | "list" | undefined;
1844
+ }>;
1845
+ };
1846
+ export type DisplayToolName = keyof typeof DisplayToolRegistry;
1847
+ export type DisplayMetric = z.infer<typeof DisplayMetricSchema>;
1848
+ export type DisplayChart = z.infer<typeof DisplayChartSchema>;
1849
+ export type DisplayTable = z.infer<typeof DisplayTableSchema>;
1850
+ export type DisplayProgress = z.infer<typeof DisplayProgressSchema>;
1851
+ export type DisplayProduct = z.infer<typeof DisplayProductSchema>;
1852
+ export type DisplayComparison = z.infer<typeof DisplayComparisonSchema>;
1853
+ export type DisplayPrice = z.infer<typeof DisplayPriceSchema>;
1854
+ export type DisplayImage = z.infer<typeof DisplayImageSchema>;
1855
+ export type DisplayGallery = z.infer<typeof DisplayGallerySchema>;
1856
+ export type DisplayCarousel = z.infer<typeof DisplayCarouselSchema>;
1857
+ export type DisplaySources = z.infer<typeof DisplaySourcesSchema>;
1858
+ export type DisplayLink = z.infer<typeof DisplayLinkSchema>;
1859
+ export type DisplayMap = z.infer<typeof DisplayMapSchema>;
1860
+ export type DisplayFile = z.infer<typeof DisplayFileSchema>;
1861
+ export type DisplayCode = z.infer<typeof DisplayCodeSchema>;
1862
+ export type DisplaySpreadsheet = z.infer<typeof DisplaySpreadsheetSchema>;
1863
+ export type DisplaySteps = z.infer<typeof DisplayStepsSchema>;
1864
+ export type DisplayAlert = z.infer<typeof DisplayAlertSchema>;
1865
+ export type DisplayChoices = z.infer<typeof DisplayChoicesSchema>;