@seed-ship/mcp-ui-spec 5.0.1 → 5.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/schemas.d.ts CHANGED
@@ -1,76 +1,2191 @@
1
+ /**
2
+ * Zod validation schemas for component registry
3
+ */
1
4
  import { z } from 'zod';
2
-
3
5
  export declare const GridPositionSchema: z.ZodObject<{
4
- colStart: z.ZodNumber;
5
- colSpan: z.ZodNumber;
6
- rowStart: z.ZodOptional<z.ZodNumber>;
7
- rowSpan: z.ZodOptional<z.ZodNumber>;
8
- }>;
9
-
10
- export declare const ComponentTypeSchema: z.ZodEnum<['chart', 'table', 'metric', 'text', 'composite']>;
11
- export declare const SandboxFlagSchema: z.ZodEnum<['allow-scripts', 'allow-same-origin', 'allow-forms', 'allow-popups', 'allow-modals']>;
12
-
6
+ colStart: z.ZodNumber;
7
+ colSpan: z.ZodNumber;
8
+ rowStart: z.ZodOptional<z.ZodNumber>;
9
+ rowSpan: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ colStart: number;
12
+ colSpan: number;
13
+ rowStart?: number | undefined;
14
+ rowSpan?: number | undefined;
15
+ }, {
16
+ colStart: number;
17
+ colSpan: number;
18
+ rowStart?: number | undefined;
19
+ rowSpan?: number | undefined;
20
+ }>;
21
+ export declare const ComponentTypeSchema: z.ZodEnum<["chart", "table", "metric", "text", "composite", "grid", "iframe", "image", "link", "action", "footer", "carousel", "artifact", "form", "modal", "action-group", "image-gallery", "video", "code", "map"]>;
22
+ export declare const FormFieldOptionSchema: z.ZodObject<{
23
+ label: z.ZodString;
24
+ value: z.ZodString;
25
+ disabled: z.ZodOptional<z.ZodBoolean>;
26
+ }, "strip", z.ZodTypeAny, {
27
+ value: string;
28
+ label: string;
29
+ disabled?: boolean | undefined;
30
+ }, {
31
+ value: string;
32
+ label: string;
33
+ disabled?: boolean | undefined;
34
+ }>;
35
+ export declare const FormFieldTypeSchema: z.ZodEnum<["text", "email", "password", "number", "date", "textarea", "select", "checkbox", "radio", "autocomplete", "range", "tags", "toggle", "fieldset"]>;
36
+ export declare const ShowWhenOperatorSchema: z.ZodEnum<["equals", "notEquals", "in", "notIn", "contains", "startsWith", "endsWith", "greaterThan", "lessThan", "isEmpty", "isNotEmpty", "isTrue", "isFalse"]>;
37
+ export declare const ShowWhenConditionSchema: z.ZodObject<{
38
+ field: z.ZodString;
39
+ operator: z.ZodEnum<["equals", "notEquals", "in", "notIn", "contains", "startsWith", "endsWith", "greaterThan", "lessThan", "isEmpty", "isNotEmpty", "isTrue", "isFalse"]>;
40
+ value: z.ZodOptional<z.ZodAny>;
41
+ }, "strip", z.ZodTypeAny, {
42
+ field: string;
43
+ operator: "equals" | "notEquals" | "in" | "notIn" | "contains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "isEmpty" | "isNotEmpty" | "isTrue" | "isFalse";
44
+ value?: any;
45
+ }, {
46
+ field: string;
47
+ operator: "equals" | "notEquals" | "in" | "notIn" | "contains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "isEmpty" | "isNotEmpty" | "isTrue" | "isFalse";
48
+ value?: any;
49
+ }>;
50
+ export declare const PrefillSourceSchema: z.ZodEnum<["user", "detected", "inferred", "default"]>;
51
+ export declare const FormFieldSchema: z.ZodObject<{
52
+ name: z.ZodString;
53
+ type: z.ZodEnum<["text", "email", "password", "number", "date", "textarea", "select", "checkbox", "radio", "autocomplete", "range", "tags", "toggle", "fieldset"]>;
54
+ label: z.ZodOptional<z.ZodString>;
55
+ placeholder: z.ZodOptional<z.ZodString>;
56
+ helpText: z.ZodOptional<z.ZodString>;
57
+ required: z.ZodOptional<z.ZodBoolean>;
58
+ disabled: z.ZodOptional<z.ZodBoolean>;
59
+ defaultValue: z.ZodOptional<z.ZodAny>;
60
+ prefill: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
61
+ displayHint: z.ZodOptional<z.ZodString>;
62
+ source: z.ZodOptional<z.ZodEnum<["user", "detected", "inferred", "default"]>>;
63
+ muted: z.ZodOptional<z.ZodBoolean>;
64
+ prefillMode: z.ZodOptional<z.ZodEnum<["exact", "resolve"]>>;
65
+ valueFormat: z.ZodOptional<z.ZodString>;
66
+ valueFormatHint: z.ZodOptional<z.ZodString>;
67
+ minLength: z.ZodOptional<z.ZodNumber>;
68
+ maxLength: z.ZodOptional<z.ZodNumber>;
69
+ pattern: z.ZodOptional<z.ZodString>;
70
+ min: z.ZodOptional<z.ZodNumber>;
71
+ max: z.ZodOptional<z.ZodNumber>;
72
+ step: z.ZodOptional<z.ZodNumber>;
73
+ minDate: z.ZodOptional<z.ZodString>;
74
+ maxDate: z.ZodOptional<z.ZodString>;
75
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
76
+ label: z.ZodString;
77
+ value: z.ZodString;
78
+ disabled: z.ZodOptional<z.ZodBoolean>;
79
+ }, "strip", z.ZodTypeAny, {
80
+ value: string;
81
+ label: string;
82
+ disabled?: boolean | undefined;
83
+ }, {
84
+ value: string;
85
+ label: string;
86
+ disabled?: boolean | undefined;
87
+ }>, "many">>;
88
+ multiple: z.ZodOptional<z.ZodBoolean>;
89
+ apiUrl: z.ZodOptional<z.ZodString>;
90
+ searchParam: z.ZodOptional<z.ZodString>;
91
+ labelField: z.ZodOptional<z.ZodString>;
92
+ valueField: z.ZodOptional<z.ZodString>;
93
+ extraParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
94
+ minChars: z.ZodOptional<z.ZodNumber>;
95
+ debounceMs: z.ZodOptional<z.ZodNumber>;
96
+ dependsOn: z.ZodOptional<z.ZodObject<{
97
+ field: z.ZodString;
98
+ apiUrl: z.ZodString;
99
+ labelField: z.ZodString;
100
+ valueField: z.ZodString;
101
+ extraParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
102
+ }, "strip", z.ZodTypeAny, {
103
+ field: string;
104
+ apiUrl: string;
105
+ labelField: string;
106
+ valueField: string;
107
+ extraParams?: Record<string, string> | undefined;
108
+ }, {
109
+ field: string;
110
+ apiUrl: string;
111
+ labelField: string;
112
+ valueField: string;
113
+ extraParams?: Record<string, string> | undefined;
114
+ }>>;
115
+ fieldStatus: z.ZodOptional<z.ZodEnum<["required", "optional", "unsupported", "unknown"]>>;
116
+ statusReason: z.ZodOptional<z.ZodString>;
117
+ checkboxLabel: z.ZodOptional<z.ZodString>;
118
+ rows: z.ZodOptional<z.ZodNumber>;
119
+ showWhen: z.ZodOptional<z.ZodObject<{
120
+ field: z.ZodString;
121
+ operator: z.ZodEnum<["equals", "notEquals", "in", "notIn", "contains", "startsWith", "endsWith", "greaterThan", "lessThan", "isEmpty", "isNotEmpty", "isTrue", "isFalse"]>;
122
+ value: z.ZodOptional<z.ZodAny>;
123
+ }, "strip", z.ZodTypeAny, {
124
+ field: string;
125
+ operator: "equals" | "notEquals" | "in" | "notIn" | "contains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "isEmpty" | "isNotEmpty" | "isTrue" | "isFalse";
126
+ value?: any;
127
+ }, {
128
+ field: string;
129
+ operator: "equals" | "notEquals" | "in" | "notIn" | "contains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "isEmpty" | "isNotEmpty" | "isTrue" | "isFalse";
130
+ value?: any;
131
+ }>>;
132
+ }, "strip", z.ZodTypeAny, {
133
+ type: "number" | "text" | "email" | "password" | "date" | "textarea" | "select" | "checkbox" | "radio" | "autocomplete" | "range" | "tags" | "toggle" | "fieldset";
134
+ name: string;
135
+ options?: {
136
+ value: string;
137
+ label: string;
138
+ disabled?: boolean | undefined;
139
+ }[] | undefined;
140
+ label?: string | undefined;
141
+ disabled?: boolean | undefined;
142
+ placeholder?: string | undefined;
143
+ helpText?: string | undefined;
144
+ required?: boolean | undefined;
145
+ defaultValue?: any;
146
+ prefill?: string | string[] | undefined;
147
+ displayHint?: string | undefined;
148
+ source?: "user" | "detected" | "inferred" | "default" | undefined;
149
+ muted?: boolean | undefined;
150
+ prefillMode?: "exact" | "resolve" | undefined;
151
+ valueFormat?: string | undefined;
152
+ valueFormatHint?: string | undefined;
153
+ minLength?: number | undefined;
154
+ maxLength?: number | undefined;
155
+ pattern?: string | undefined;
156
+ min?: number | undefined;
157
+ max?: number | undefined;
158
+ step?: number | undefined;
159
+ minDate?: string | undefined;
160
+ maxDate?: string | undefined;
161
+ multiple?: boolean | undefined;
162
+ apiUrl?: string | undefined;
163
+ searchParam?: string | undefined;
164
+ labelField?: string | undefined;
165
+ valueField?: string | undefined;
166
+ extraParams?: Record<string, string> | undefined;
167
+ minChars?: number | undefined;
168
+ debounceMs?: number | undefined;
169
+ dependsOn?: {
170
+ field: string;
171
+ apiUrl: string;
172
+ labelField: string;
173
+ valueField: string;
174
+ extraParams?: Record<string, string> | undefined;
175
+ } | undefined;
176
+ fieldStatus?: "required" | "unknown" | "optional" | "unsupported" | undefined;
177
+ statusReason?: string | undefined;
178
+ checkboxLabel?: string | undefined;
179
+ rows?: number | undefined;
180
+ showWhen?: {
181
+ field: string;
182
+ operator: "equals" | "notEquals" | "in" | "notIn" | "contains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "isEmpty" | "isNotEmpty" | "isTrue" | "isFalse";
183
+ value?: any;
184
+ } | undefined;
185
+ }, {
186
+ type: "number" | "text" | "email" | "password" | "date" | "textarea" | "select" | "checkbox" | "radio" | "autocomplete" | "range" | "tags" | "toggle" | "fieldset";
187
+ name: string;
188
+ options?: {
189
+ value: string;
190
+ label: string;
191
+ disabled?: boolean | undefined;
192
+ }[] | undefined;
193
+ label?: string | undefined;
194
+ disabled?: boolean | undefined;
195
+ placeholder?: string | undefined;
196
+ helpText?: string | undefined;
197
+ required?: boolean | undefined;
198
+ defaultValue?: any;
199
+ prefill?: string | string[] | undefined;
200
+ displayHint?: string | undefined;
201
+ source?: "user" | "detected" | "inferred" | "default" | undefined;
202
+ muted?: boolean | undefined;
203
+ prefillMode?: "exact" | "resolve" | undefined;
204
+ valueFormat?: string | undefined;
205
+ valueFormatHint?: string | undefined;
206
+ minLength?: number | undefined;
207
+ maxLength?: number | undefined;
208
+ pattern?: string | undefined;
209
+ min?: number | undefined;
210
+ max?: number | undefined;
211
+ step?: number | undefined;
212
+ minDate?: string | undefined;
213
+ maxDate?: string | undefined;
214
+ multiple?: boolean | undefined;
215
+ apiUrl?: string | undefined;
216
+ searchParam?: string | undefined;
217
+ labelField?: string | undefined;
218
+ valueField?: string | undefined;
219
+ extraParams?: Record<string, string> | undefined;
220
+ minChars?: number | undefined;
221
+ debounceMs?: number | undefined;
222
+ dependsOn?: {
223
+ field: string;
224
+ apiUrl: string;
225
+ labelField: string;
226
+ valueField: string;
227
+ extraParams?: Record<string, string> | undefined;
228
+ } | undefined;
229
+ fieldStatus?: "required" | "unknown" | "optional" | "unsupported" | undefined;
230
+ statusReason?: string | undefined;
231
+ checkboxLabel?: string | undefined;
232
+ rows?: number | undefined;
233
+ showWhen?: {
234
+ field: string;
235
+ operator: "equals" | "notEquals" | "in" | "notIn" | "contains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "isEmpty" | "isNotEmpty" | "isTrue" | "isFalse";
236
+ value?: any;
237
+ } | undefined;
238
+ }>;
239
+ export declare const FormSubmitActionSchema: z.ZodObject<{
240
+ toolName: z.ZodString;
241
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
242
+ }, "strip", z.ZodTypeAny, {
243
+ toolName: string;
244
+ params?: Record<string, unknown> | undefined;
245
+ }, {
246
+ toolName: string;
247
+ params?: Record<string, unknown> | undefined;
248
+ }>;
249
+ export declare const FormComponentParamsSchema: z.ZodObject<{
250
+ title: z.ZodOptional<z.ZodString>;
251
+ fields: z.ZodArray<z.ZodObject<{
252
+ name: z.ZodString;
253
+ type: z.ZodEnum<["text", "email", "password", "number", "date", "textarea", "select", "checkbox", "radio", "autocomplete", "range", "tags", "toggle", "fieldset"]>;
254
+ label: z.ZodOptional<z.ZodString>;
255
+ placeholder: z.ZodOptional<z.ZodString>;
256
+ helpText: z.ZodOptional<z.ZodString>;
257
+ required: z.ZodOptional<z.ZodBoolean>;
258
+ disabled: z.ZodOptional<z.ZodBoolean>;
259
+ defaultValue: z.ZodOptional<z.ZodAny>;
260
+ prefill: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
261
+ displayHint: z.ZodOptional<z.ZodString>;
262
+ source: z.ZodOptional<z.ZodEnum<["user", "detected", "inferred", "default"]>>;
263
+ muted: z.ZodOptional<z.ZodBoolean>;
264
+ prefillMode: z.ZodOptional<z.ZodEnum<["exact", "resolve"]>>;
265
+ valueFormat: z.ZodOptional<z.ZodString>;
266
+ valueFormatHint: z.ZodOptional<z.ZodString>;
267
+ minLength: z.ZodOptional<z.ZodNumber>;
268
+ maxLength: z.ZodOptional<z.ZodNumber>;
269
+ pattern: z.ZodOptional<z.ZodString>;
270
+ min: z.ZodOptional<z.ZodNumber>;
271
+ max: z.ZodOptional<z.ZodNumber>;
272
+ step: z.ZodOptional<z.ZodNumber>;
273
+ minDate: z.ZodOptional<z.ZodString>;
274
+ maxDate: z.ZodOptional<z.ZodString>;
275
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
276
+ label: z.ZodString;
277
+ value: z.ZodString;
278
+ disabled: z.ZodOptional<z.ZodBoolean>;
279
+ }, "strip", z.ZodTypeAny, {
280
+ value: string;
281
+ label: string;
282
+ disabled?: boolean | undefined;
283
+ }, {
284
+ value: string;
285
+ label: string;
286
+ disabled?: boolean | undefined;
287
+ }>, "many">>;
288
+ multiple: z.ZodOptional<z.ZodBoolean>;
289
+ apiUrl: z.ZodOptional<z.ZodString>;
290
+ searchParam: z.ZodOptional<z.ZodString>;
291
+ labelField: z.ZodOptional<z.ZodString>;
292
+ valueField: z.ZodOptional<z.ZodString>;
293
+ extraParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
294
+ minChars: z.ZodOptional<z.ZodNumber>;
295
+ debounceMs: z.ZodOptional<z.ZodNumber>;
296
+ dependsOn: z.ZodOptional<z.ZodObject<{
297
+ field: z.ZodString;
298
+ apiUrl: z.ZodString;
299
+ labelField: z.ZodString;
300
+ valueField: z.ZodString;
301
+ extraParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
302
+ }, "strip", z.ZodTypeAny, {
303
+ field: string;
304
+ apiUrl: string;
305
+ labelField: string;
306
+ valueField: string;
307
+ extraParams?: Record<string, string> | undefined;
308
+ }, {
309
+ field: string;
310
+ apiUrl: string;
311
+ labelField: string;
312
+ valueField: string;
313
+ extraParams?: Record<string, string> | undefined;
314
+ }>>;
315
+ fieldStatus: z.ZodOptional<z.ZodEnum<["required", "optional", "unsupported", "unknown"]>>;
316
+ statusReason: z.ZodOptional<z.ZodString>;
317
+ checkboxLabel: z.ZodOptional<z.ZodString>;
318
+ rows: z.ZodOptional<z.ZodNumber>;
319
+ showWhen: z.ZodOptional<z.ZodObject<{
320
+ field: z.ZodString;
321
+ operator: z.ZodEnum<["equals", "notEquals", "in", "notIn", "contains", "startsWith", "endsWith", "greaterThan", "lessThan", "isEmpty", "isNotEmpty", "isTrue", "isFalse"]>;
322
+ value: z.ZodOptional<z.ZodAny>;
323
+ }, "strip", z.ZodTypeAny, {
324
+ field: string;
325
+ operator: "equals" | "notEquals" | "in" | "notIn" | "contains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "isEmpty" | "isNotEmpty" | "isTrue" | "isFalse";
326
+ value?: any;
327
+ }, {
328
+ field: string;
329
+ operator: "equals" | "notEquals" | "in" | "notIn" | "contains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "isEmpty" | "isNotEmpty" | "isTrue" | "isFalse";
330
+ value?: any;
331
+ }>>;
332
+ }, "strip", z.ZodTypeAny, {
333
+ type: "number" | "text" | "email" | "password" | "date" | "textarea" | "select" | "checkbox" | "radio" | "autocomplete" | "range" | "tags" | "toggle" | "fieldset";
334
+ name: string;
335
+ options?: {
336
+ value: string;
337
+ label: string;
338
+ disabled?: boolean | undefined;
339
+ }[] | undefined;
340
+ label?: string | undefined;
341
+ disabled?: boolean | undefined;
342
+ placeholder?: string | undefined;
343
+ helpText?: string | undefined;
344
+ required?: boolean | undefined;
345
+ defaultValue?: any;
346
+ prefill?: string | string[] | undefined;
347
+ displayHint?: string | undefined;
348
+ source?: "user" | "detected" | "inferred" | "default" | undefined;
349
+ muted?: boolean | undefined;
350
+ prefillMode?: "exact" | "resolve" | undefined;
351
+ valueFormat?: string | undefined;
352
+ valueFormatHint?: string | undefined;
353
+ minLength?: number | undefined;
354
+ maxLength?: number | undefined;
355
+ pattern?: string | undefined;
356
+ min?: number | undefined;
357
+ max?: number | undefined;
358
+ step?: number | undefined;
359
+ minDate?: string | undefined;
360
+ maxDate?: string | undefined;
361
+ multiple?: boolean | undefined;
362
+ apiUrl?: string | undefined;
363
+ searchParam?: string | undefined;
364
+ labelField?: string | undefined;
365
+ valueField?: string | undefined;
366
+ extraParams?: Record<string, string> | undefined;
367
+ minChars?: number | undefined;
368
+ debounceMs?: number | undefined;
369
+ dependsOn?: {
370
+ field: string;
371
+ apiUrl: string;
372
+ labelField: string;
373
+ valueField: string;
374
+ extraParams?: Record<string, string> | undefined;
375
+ } | undefined;
376
+ fieldStatus?: "required" | "unknown" | "optional" | "unsupported" | undefined;
377
+ statusReason?: string | undefined;
378
+ checkboxLabel?: string | undefined;
379
+ rows?: number | undefined;
380
+ showWhen?: {
381
+ field: string;
382
+ operator: "equals" | "notEquals" | "in" | "notIn" | "contains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "isEmpty" | "isNotEmpty" | "isTrue" | "isFalse";
383
+ value?: any;
384
+ } | undefined;
385
+ }, {
386
+ type: "number" | "text" | "email" | "password" | "date" | "textarea" | "select" | "checkbox" | "radio" | "autocomplete" | "range" | "tags" | "toggle" | "fieldset";
387
+ name: string;
388
+ options?: {
389
+ value: string;
390
+ label: string;
391
+ disabled?: boolean | undefined;
392
+ }[] | undefined;
393
+ label?: string | undefined;
394
+ disabled?: boolean | undefined;
395
+ placeholder?: string | undefined;
396
+ helpText?: string | undefined;
397
+ required?: boolean | undefined;
398
+ defaultValue?: any;
399
+ prefill?: string | string[] | undefined;
400
+ displayHint?: string | undefined;
401
+ source?: "user" | "detected" | "inferred" | "default" | undefined;
402
+ muted?: boolean | undefined;
403
+ prefillMode?: "exact" | "resolve" | undefined;
404
+ valueFormat?: string | undefined;
405
+ valueFormatHint?: string | undefined;
406
+ minLength?: number | undefined;
407
+ maxLength?: number | undefined;
408
+ pattern?: string | undefined;
409
+ min?: number | undefined;
410
+ max?: number | undefined;
411
+ step?: number | undefined;
412
+ minDate?: string | undefined;
413
+ maxDate?: string | undefined;
414
+ multiple?: boolean | undefined;
415
+ apiUrl?: string | undefined;
416
+ searchParam?: string | undefined;
417
+ labelField?: string | undefined;
418
+ valueField?: string | undefined;
419
+ extraParams?: Record<string, string> | undefined;
420
+ minChars?: number | undefined;
421
+ debounceMs?: number | undefined;
422
+ dependsOn?: {
423
+ field: string;
424
+ apiUrl: string;
425
+ labelField: string;
426
+ valueField: string;
427
+ extraParams?: Record<string, string> | undefined;
428
+ } | undefined;
429
+ fieldStatus?: "required" | "unknown" | "optional" | "unsupported" | undefined;
430
+ statusReason?: string | undefined;
431
+ checkboxLabel?: string | undefined;
432
+ rows?: number | undefined;
433
+ showWhen?: {
434
+ field: string;
435
+ operator: "equals" | "notEquals" | "in" | "notIn" | "contains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "isEmpty" | "isNotEmpty" | "isTrue" | "isFalse";
436
+ value?: any;
437
+ } | undefined;
438
+ }>, "many">;
439
+ submitLabel: z.ZodOptional<z.ZodString>;
440
+ showReset: z.ZodOptional<z.ZodBoolean>;
441
+ submitAction: z.ZodOptional<z.ZodObject<{
442
+ toolName: z.ZodString;
443
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
444
+ }, "strip", z.ZodTypeAny, {
445
+ toolName: string;
446
+ params?: Record<string, unknown> | undefined;
447
+ }, {
448
+ toolName: string;
449
+ params?: Record<string, unknown> | undefined;
450
+ }>>;
451
+ persistKey: z.ZodOptional<z.ZodString>;
452
+ excludeFromPersistence: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
453
+ persistExpiresIn: z.ZodOptional<z.ZodNumber>;
454
+ layout: z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "inline"]>>;
455
+ autoSubmitDelay: z.ZodOptional<z.ZodNumber>;
456
+ }, "strip", z.ZodTypeAny, {
457
+ fields: {
458
+ type: "number" | "text" | "email" | "password" | "date" | "textarea" | "select" | "checkbox" | "radio" | "autocomplete" | "range" | "tags" | "toggle" | "fieldset";
459
+ name: string;
460
+ options?: {
461
+ value: string;
462
+ label: string;
463
+ disabled?: boolean | undefined;
464
+ }[] | undefined;
465
+ label?: string | undefined;
466
+ disabled?: boolean | undefined;
467
+ placeholder?: string | undefined;
468
+ helpText?: string | undefined;
469
+ required?: boolean | undefined;
470
+ defaultValue?: any;
471
+ prefill?: string | string[] | undefined;
472
+ displayHint?: string | undefined;
473
+ source?: "user" | "detected" | "inferred" | "default" | undefined;
474
+ muted?: boolean | undefined;
475
+ prefillMode?: "exact" | "resolve" | undefined;
476
+ valueFormat?: string | undefined;
477
+ valueFormatHint?: string | undefined;
478
+ minLength?: number | undefined;
479
+ maxLength?: number | undefined;
480
+ pattern?: string | undefined;
481
+ min?: number | undefined;
482
+ max?: number | undefined;
483
+ step?: number | undefined;
484
+ minDate?: string | undefined;
485
+ maxDate?: string | undefined;
486
+ multiple?: boolean | undefined;
487
+ apiUrl?: string | undefined;
488
+ searchParam?: string | undefined;
489
+ labelField?: string | undefined;
490
+ valueField?: string | undefined;
491
+ extraParams?: Record<string, string> | undefined;
492
+ minChars?: number | undefined;
493
+ debounceMs?: number | undefined;
494
+ dependsOn?: {
495
+ field: string;
496
+ apiUrl: string;
497
+ labelField: string;
498
+ valueField: string;
499
+ extraParams?: Record<string, string> | undefined;
500
+ } | undefined;
501
+ fieldStatus?: "required" | "unknown" | "optional" | "unsupported" | undefined;
502
+ statusReason?: string | undefined;
503
+ checkboxLabel?: string | undefined;
504
+ rows?: number | undefined;
505
+ showWhen?: {
506
+ field: string;
507
+ operator: "equals" | "notEquals" | "in" | "notIn" | "contains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "isEmpty" | "isNotEmpty" | "isTrue" | "isFalse";
508
+ value?: any;
509
+ } | undefined;
510
+ }[];
511
+ title?: string | undefined;
512
+ submitLabel?: string | undefined;
513
+ showReset?: boolean | undefined;
514
+ submitAction?: {
515
+ toolName: string;
516
+ params?: Record<string, unknown> | undefined;
517
+ } | undefined;
518
+ persistKey?: string | undefined;
519
+ excludeFromPersistence?: string[] | undefined;
520
+ persistExpiresIn?: number | undefined;
521
+ layout?: "vertical" | "horizontal" | "inline" | undefined;
522
+ autoSubmitDelay?: number | undefined;
523
+ }, {
524
+ fields: {
525
+ type: "number" | "text" | "email" | "password" | "date" | "textarea" | "select" | "checkbox" | "radio" | "autocomplete" | "range" | "tags" | "toggle" | "fieldset";
526
+ name: string;
527
+ options?: {
528
+ value: string;
529
+ label: string;
530
+ disabled?: boolean | undefined;
531
+ }[] | undefined;
532
+ label?: string | undefined;
533
+ disabled?: boolean | undefined;
534
+ placeholder?: string | undefined;
535
+ helpText?: string | undefined;
536
+ required?: boolean | undefined;
537
+ defaultValue?: any;
538
+ prefill?: string | string[] | undefined;
539
+ displayHint?: string | undefined;
540
+ source?: "user" | "detected" | "inferred" | "default" | undefined;
541
+ muted?: boolean | undefined;
542
+ prefillMode?: "exact" | "resolve" | undefined;
543
+ valueFormat?: string | undefined;
544
+ valueFormatHint?: string | undefined;
545
+ minLength?: number | undefined;
546
+ maxLength?: number | undefined;
547
+ pattern?: string | undefined;
548
+ min?: number | undefined;
549
+ max?: number | undefined;
550
+ step?: number | undefined;
551
+ minDate?: string | undefined;
552
+ maxDate?: string | undefined;
553
+ multiple?: boolean | undefined;
554
+ apiUrl?: string | undefined;
555
+ searchParam?: string | undefined;
556
+ labelField?: string | undefined;
557
+ valueField?: string | undefined;
558
+ extraParams?: Record<string, string> | undefined;
559
+ minChars?: number | undefined;
560
+ debounceMs?: number | undefined;
561
+ dependsOn?: {
562
+ field: string;
563
+ apiUrl: string;
564
+ labelField: string;
565
+ valueField: string;
566
+ extraParams?: Record<string, string> | undefined;
567
+ } | undefined;
568
+ fieldStatus?: "required" | "unknown" | "optional" | "unsupported" | undefined;
569
+ statusReason?: string | undefined;
570
+ checkboxLabel?: string | undefined;
571
+ rows?: number | undefined;
572
+ showWhen?: {
573
+ field: string;
574
+ operator: "equals" | "notEquals" | "in" | "notIn" | "contains" | "startsWith" | "endsWith" | "greaterThan" | "lessThan" | "isEmpty" | "isNotEmpty" | "isTrue" | "isFalse";
575
+ value?: any;
576
+ } | undefined;
577
+ }[];
578
+ title?: string | undefined;
579
+ submitLabel?: string | undefined;
580
+ showReset?: boolean | undefined;
581
+ submitAction?: {
582
+ toolName: string;
583
+ params?: Record<string, unknown> | undefined;
584
+ } | undefined;
585
+ persistKey?: string | undefined;
586
+ excludeFromPersistence?: string[] | undefined;
587
+ persistExpiresIn?: number | undefined;
588
+ layout?: "vertical" | "horizontal" | "inline" | undefined;
589
+ autoSubmitDelay?: number | undefined;
590
+ }>;
591
+ export declare const ModalSizeSchema: z.ZodEnum<["sm", "md", "lg", "xl", "full"]>;
592
+ export declare const ModalComponentParamsSchema: z.ZodObject<{
593
+ title: z.ZodOptional<z.ZodString>;
594
+ size: z.ZodOptional<z.ZodEnum<["sm", "md", "lg", "xl", "full"]>>;
595
+ showClose: z.ZodOptional<z.ZodBoolean>;
596
+ closeOnEscape: z.ZodOptional<z.ZodBoolean>;
597
+ closeOnBackdrop: z.ZodOptional<z.ZodBoolean>;
598
+ maxHeight: z.ZodOptional<z.ZodString>;
599
+ }, "strip", z.ZodTypeAny, {
600
+ title?: string | undefined;
601
+ size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
602
+ showClose?: boolean | undefined;
603
+ closeOnEscape?: boolean | undefined;
604
+ closeOnBackdrop?: boolean | undefined;
605
+ maxHeight?: string | undefined;
606
+ }, {
607
+ title?: string | undefined;
608
+ size?: "sm" | "md" | "lg" | "xl" | "full" | undefined;
609
+ showClose?: boolean | undefined;
610
+ closeOnEscape?: boolean | undefined;
611
+ closeOnBackdrop?: boolean | undefined;
612
+ maxHeight?: string | undefined;
613
+ }>;
614
+ export declare const ActionGroupLayoutSchema: z.ZodEnum<["horizontal", "vertical", "space-between", "end", "center"]>;
615
+ export declare const ActionGroupGapSchema: z.ZodEnum<["none", "sm", "md", "lg"]>;
616
+ export declare const ActionParamsSchema: z.ZodObject<{
617
+ label: z.ZodString;
618
+ type: z.ZodOptional<z.ZodEnum<["button", "link"]>>;
619
+ action: z.ZodOptional<z.ZodEnum<["tool-call", "link", "submit"]>>;
620
+ toolName: z.ZodOptional<z.ZodString>;
621
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
622
+ url: z.ZodOptional<z.ZodString>;
623
+ variant: z.ZodOptional<z.ZodEnum<["primary", "secondary", "outline", "ghost", "danger"]>>;
624
+ size: z.ZodOptional<z.ZodEnum<["sm", "md", "lg"]>>;
625
+ icon: z.ZodOptional<z.ZodString>;
626
+ disabled: z.ZodOptional<z.ZodBoolean>;
627
+ }, "strip", z.ZodTypeAny, {
628
+ label: string;
629
+ params?: Record<string, unknown> | undefined;
630
+ type?: "link" | "button" | undefined;
631
+ action?: "link" | "tool-call" | "submit" | undefined;
632
+ disabled?: boolean | undefined;
633
+ toolName?: string | undefined;
634
+ size?: "sm" | "md" | "lg" | undefined;
635
+ url?: string | undefined;
636
+ variant?: "primary" | "secondary" | "outline" | "ghost" | "danger" | undefined;
637
+ icon?: string | undefined;
638
+ }, {
639
+ label: string;
640
+ params?: Record<string, unknown> | undefined;
641
+ type?: "link" | "button" | undefined;
642
+ action?: "link" | "tool-call" | "submit" | undefined;
643
+ disabled?: boolean | undefined;
644
+ toolName?: string | undefined;
645
+ size?: "sm" | "md" | "lg" | undefined;
646
+ url?: string | undefined;
647
+ variant?: "primary" | "secondary" | "outline" | "ghost" | "danger" | undefined;
648
+ icon?: string | undefined;
649
+ }>;
650
+ export declare const ActionGroupParamsSchema: z.ZodObject<{
651
+ actions: z.ZodArray<z.ZodObject<{
652
+ label: z.ZodString;
653
+ type: z.ZodOptional<z.ZodEnum<["button", "link"]>>;
654
+ action: z.ZodOptional<z.ZodEnum<["tool-call", "link", "submit"]>>;
655
+ toolName: z.ZodOptional<z.ZodString>;
656
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
657
+ url: z.ZodOptional<z.ZodString>;
658
+ variant: z.ZodOptional<z.ZodEnum<["primary", "secondary", "outline", "ghost", "danger"]>>;
659
+ size: z.ZodOptional<z.ZodEnum<["sm", "md", "lg"]>>;
660
+ icon: z.ZodOptional<z.ZodString>;
661
+ disabled: z.ZodOptional<z.ZodBoolean>;
662
+ }, "strip", z.ZodTypeAny, {
663
+ label: string;
664
+ params?: Record<string, unknown> | undefined;
665
+ type?: "link" | "button" | undefined;
666
+ action?: "link" | "tool-call" | "submit" | undefined;
667
+ disabled?: boolean | undefined;
668
+ toolName?: string | undefined;
669
+ size?: "sm" | "md" | "lg" | undefined;
670
+ url?: string | undefined;
671
+ variant?: "primary" | "secondary" | "outline" | "ghost" | "danger" | undefined;
672
+ icon?: string | undefined;
673
+ }, {
674
+ label: string;
675
+ params?: Record<string, unknown> | undefined;
676
+ type?: "link" | "button" | undefined;
677
+ action?: "link" | "tool-call" | "submit" | undefined;
678
+ disabled?: boolean | undefined;
679
+ toolName?: string | undefined;
680
+ size?: "sm" | "md" | "lg" | undefined;
681
+ url?: string | undefined;
682
+ variant?: "primary" | "secondary" | "outline" | "ghost" | "danger" | undefined;
683
+ icon?: string | undefined;
684
+ }>, "many">;
685
+ layout: z.ZodOptional<z.ZodEnum<["horizontal", "vertical", "space-between", "end", "center"]>>;
686
+ gap: z.ZodOptional<z.ZodEnum<["none", "sm", "md", "lg"]>>;
687
+ fullWidth: z.ZodOptional<z.ZodBoolean>;
688
+ label: z.ZodOptional<z.ZodString>;
689
+ }, "strip", z.ZodTypeAny, {
690
+ actions: {
691
+ label: string;
692
+ params?: Record<string, unknown> | undefined;
693
+ type?: "link" | "button" | undefined;
694
+ action?: "link" | "tool-call" | "submit" | undefined;
695
+ disabled?: boolean | undefined;
696
+ toolName?: string | undefined;
697
+ size?: "sm" | "md" | "lg" | undefined;
698
+ url?: string | undefined;
699
+ variant?: "primary" | "secondary" | "outline" | "ghost" | "danger" | undefined;
700
+ icon?: string | undefined;
701
+ }[];
702
+ label?: string | undefined;
703
+ layout?: "vertical" | "horizontal" | "space-between" | "end" | "center" | undefined;
704
+ gap?: "sm" | "md" | "lg" | "none" | undefined;
705
+ fullWidth?: boolean | undefined;
706
+ }, {
707
+ actions: {
708
+ label: string;
709
+ params?: Record<string, unknown> | undefined;
710
+ type?: "link" | "button" | undefined;
711
+ action?: "link" | "tool-call" | "submit" | undefined;
712
+ disabled?: boolean | undefined;
713
+ toolName?: string | undefined;
714
+ size?: "sm" | "md" | "lg" | undefined;
715
+ url?: string | undefined;
716
+ variant?: "primary" | "secondary" | "outline" | "ghost" | "danger" | undefined;
717
+ icon?: string | undefined;
718
+ }[];
719
+ label?: string | undefined;
720
+ layout?: "vertical" | "horizontal" | "space-between" | "end" | "center" | undefined;
721
+ gap?: "sm" | "md" | "lg" | "none" | undefined;
722
+ fullWidth?: boolean | undefined;
723
+ }>;
724
+ export declare const GalleryImageSchema: z.ZodObject<{
725
+ url: z.ZodString;
726
+ thumbnail: z.ZodOptional<z.ZodString>;
727
+ alt: z.ZodOptional<z.ZodString>;
728
+ caption: z.ZodOptional<z.ZodString>;
729
+ srcset: z.ZodOptional<z.ZodString>;
730
+ sizes: z.ZodOptional<z.ZodString>;
731
+ }, "strip", z.ZodTypeAny, {
732
+ url: string;
733
+ thumbnail?: string | undefined;
734
+ alt?: string | undefined;
735
+ caption?: string | undefined;
736
+ srcset?: string | undefined;
737
+ sizes?: string | undefined;
738
+ }, {
739
+ url: string;
740
+ thumbnail?: string | undefined;
741
+ alt?: string | undefined;
742
+ caption?: string | undefined;
743
+ srcset?: string | undefined;
744
+ sizes?: string | undefined;
745
+ }>;
746
+ export declare const ImageGalleryColumnsSchema: z.ZodType<2 | 3 | 4 | 5>;
747
+ export declare const ImageGalleryGapSchema: z.ZodEnum<["none", "sm", "md", "lg"]>;
748
+ export declare const ImageGalleryAspectRatioSchema: z.ZodEnum<["1:1", "16:9", "4:3", "auto"]>;
749
+ export declare const ImageGalleryParamsSchema: z.ZodObject<{
750
+ title: z.ZodOptional<z.ZodString>;
751
+ images: z.ZodArray<z.ZodObject<{
752
+ url: z.ZodString;
753
+ thumbnail: z.ZodOptional<z.ZodString>;
754
+ alt: z.ZodOptional<z.ZodString>;
755
+ caption: z.ZodOptional<z.ZodString>;
756
+ srcset: z.ZodOptional<z.ZodString>;
757
+ sizes: z.ZodOptional<z.ZodString>;
758
+ }, "strip", z.ZodTypeAny, {
759
+ url: string;
760
+ thumbnail?: string | undefined;
761
+ alt?: string | undefined;
762
+ caption?: string | undefined;
763
+ srcset?: string | undefined;
764
+ sizes?: string | undefined;
765
+ }, {
766
+ url: string;
767
+ thumbnail?: string | undefined;
768
+ alt?: string | undefined;
769
+ caption?: string | undefined;
770
+ srcset?: string | undefined;
771
+ sizes?: string | undefined;
772
+ }>, "many">;
773
+ columns: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>>;
774
+ gap: z.ZodOptional<z.ZodEnum<["none", "sm", "md", "lg"]>>;
775
+ aspectRatio: z.ZodOptional<z.ZodEnum<["1:1", "16:9", "4:3", "auto"]>>;
776
+ lightbox: z.ZodOptional<z.ZodBoolean>;
777
+ showCaptions: z.ZodOptional<z.ZodBoolean>;
778
+ }, "strip", z.ZodTypeAny, {
779
+ images: {
780
+ url: string;
781
+ thumbnail?: string | undefined;
782
+ alt?: string | undefined;
783
+ caption?: string | undefined;
784
+ srcset?: string | undefined;
785
+ sizes?: string | undefined;
786
+ }[];
787
+ title?: string | undefined;
788
+ gap?: "sm" | "md" | "lg" | "none" | undefined;
789
+ columns?: 2 | 4 | 3 | 5 | undefined;
790
+ aspectRatio?: "1:1" | "16:9" | "4:3" | "auto" | undefined;
791
+ lightbox?: boolean | undefined;
792
+ showCaptions?: boolean | undefined;
793
+ }, {
794
+ images: {
795
+ url: string;
796
+ thumbnail?: string | undefined;
797
+ alt?: string | undefined;
798
+ caption?: string | undefined;
799
+ srcset?: string | undefined;
800
+ sizes?: string | undefined;
801
+ }[];
802
+ title?: string | undefined;
803
+ gap?: "sm" | "md" | "lg" | "none" | undefined;
804
+ columns?: 2 | 4 | 3 | 5 | undefined;
805
+ aspectRatio?: "1:1" | "16:9" | "4:3" | "auto" | undefined;
806
+ lightbox?: boolean | undefined;
807
+ showCaptions?: boolean | undefined;
808
+ }>;
809
+ export declare const VideoAspectRatioSchema: z.ZodEnum<["16:9", "4:3", "1:1", "21:9"]>;
810
+ export declare const VideoComponentParamsSchema: z.ZodObject<{
811
+ url: z.ZodString;
812
+ title: z.ZodOptional<z.ZodString>;
813
+ caption: z.ZodOptional<z.ZodString>;
814
+ poster: z.ZodOptional<z.ZodString>;
815
+ aspectRatio: z.ZodOptional<z.ZodEnum<["16:9", "4:3", "1:1", "21:9"]>>;
816
+ autoplay: z.ZodOptional<z.ZodBoolean>;
817
+ controls: z.ZodOptional<z.ZodBoolean>;
818
+ loop: z.ZodOptional<z.ZodBoolean>;
819
+ muted: z.ZodOptional<z.ZodBoolean>;
820
+ startTime: z.ZodOptional<z.ZodNumber>;
821
+ }, "strip", z.ZodTypeAny, {
822
+ url: string;
823
+ muted?: boolean | undefined;
824
+ title?: string | undefined;
825
+ caption?: string | undefined;
826
+ aspectRatio?: "1:1" | "16:9" | "4:3" | "21:9" | undefined;
827
+ poster?: string | undefined;
828
+ autoplay?: boolean | undefined;
829
+ controls?: boolean | undefined;
830
+ loop?: boolean | undefined;
831
+ startTime?: number | undefined;
832
+ }, {
833
+ url: string;
834
+ muted?: boolean | undefined;
835
+ title?: string | undefined;
836
+ caption?: string | undefined;
837
+ aspectRatio?: "1:1" | "16:9" | "4:3" | "21:9" | undefined;
838
+ poster?: string | undefined;
839
+ autoplay?: boolean | undefined;
840
+ controls?: boolean | undefined;
841
+ loop?: boolean | undefined;
842
+ startTime?: number | undefined;
843
+ }>;
844
+ export declare const CodeComponentParamsSchema: z.ZodObject<{
845
+ code: z.ZodString;
846
+ language: z.ZodOptional<z.ZodString>;
847
+ filename: z.ZodOptional<z.ZodString>;
848
+ showLineNumbers: z.ZodOptional<z.ZodBoolean>;
849
+ startLine: z.ZodOptional<z.ZodNumber>;
850
+ highlightLines: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
851
+ maxHeight: z.ZodOptional<z.ZodString>;
852
+ theme: z.ZodOptional<z.ZodEnum<["light", "dark"]>>;
853
+ }, "strip", z.ZodTypeAny, {
854
+ code: string;
855
+ maxHeight?: string | undefined;
856
+ language?: string | undefined;
857
+ filename?: string | undefined;
858
+ showLineNumbers?: boolean | undefined;
859
+ startLine?: number | undefined;
860
+ highlightLines?: number[] | undefined;
861
+ theme?: "light" | "dark" | undefined;
862
+ }, {
863
+ code: string;
864
+ maxHeight?: string | undefined;
865
+ language?: string | undefined;
866
+ filename?: string | undefined;
867
+ showLineNumbers?: boolean | undefined;
868
+ startLine?: number | undefined;
869
+ highlightLines?: number[] | undefined;
870
+ theme?: "light" | "dark" | undefined;
871
+ }>;
872
+ export declare const LatLngObjectSchema: z.ZodObject<{
873
+ lat: z.ZodNumber;
874
+ lng: z.ZodNumber;
875
+ }, "strip", z.ZodTypeAny, {
876
+ lat: number;
877
+ lng: number;
878
+ }, {
879
+ lat: number;
880
+ lng: number;
881
+ }>;
882
+ export declare const LatLngTupleSchema: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
883
+ export declare const LatLngPointSchema: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
884
+ lat: z.ZodNumber;
885
+ lng: z.ZodNumber;
886
+ }, "strip", z.ZodTypeAny, {
887
+ lat: number;
888
+ lng: number;
889
+ }, {
890
+ lat: number;
891
+ lng: number;
892
+ }>]>;
893
+ export declare const MapMarkerSchema: z.ZodObject<{
894
+ position: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
895
+ lat: z.ZodNumber;
896
+ lng: z.ZodNumber;
897
+ }, "strip", z.ZodTypeAny, {
898
+ lat: number;
899
+ lng: number;
900
+ }, {
901
+ lat: number;
902
+ lng: number;
903
+ }>]>;
904
+ tooltip: z.ZodOptional<z.ZodString>;
905
+ popup: z.ZodOptional<z.ZodString>;
906
+ }, "strip", z.ZodTypeAny, {
907
+ position: {
908
+ lat: number;
909
+ lng: number;
910
+ } | [number, number];
911
+ tooltip?: string | undefined;
912
+ popup?: string | undefined;
913
+ }, {
914
+ position: {
915
+ lat: number;
916
+ lng: number;
917
+ } | [number, number];
918
+ tooltip?: string | undefined;
919
+ popup?: string | undefined;
920
+ }>;
921
+ export declare const MapComponentParamsSchema: z.ZodObject<{
922
+ center: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
923
+ lat: z.ZodNumber;
924
+ lng: z.ZodNumber;
925
+ }, "strip", z.ZodTypeAny, {
926
+ lat: number;
927
+ lng: number;
928
+ }, {
929
+ lat: number;
930
+ lng: number;
931
+ }>]>>;
932
+ zoom: z.ZodOptional<z.ZodNumber>;
933
+ markers: z.ZodOptional<z.ZodArray<z.ZodObject<{
934
+ position: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{
935
+ lat: z.ZodNumber;
936
+ lng: z.ZodNumber;
937
+ }, "strip", z.ZodTypeAny, {
938
+ lat: number;
939
+ lng: number;
940
+ }, {
941
+ lat: number;
942
+ lng: number;
943
+ }>]>;
944
+ tooltip: z.ZodOptional<z.ZodString>;
945
+ popup: z.ZodOptional<z.ZodString>;
946
+ }, "strip", z.ZodTypeAny, {
947
+ position: {
948
+ lat: number;
949
+ lng: number;
950
+ } | [number, number];
951
+ tooltip?: string | undefined;
952
+ popup?: string | undefined;
953
+ }, {
954
+ position: {
955
+ lat: number;
956
+ lng: number;
957
+ } | [number, number];
958
+ tooltip?: string | undefined;
959
+ popup?: string | undefined;
960
+ }>, "many">>;
961
+ height: z.ZodOptional<z.ZodString>;
962
+ fitBounds: z.ZodOptional<z.ZodBoolean>;
963
+ zoomControl: z.ZodOptional<z.ZodBoolean>;
964
+ scrollWheelZoom: z.ZodOptional<z.ZodBoolean>;
965
+ tileLayer: z.ZodOptional<z.ZodString>;
966
+ attribution: z.ZodOptional<z.ZodString>;
967
+ }, "strip", z.ZodTypeAny, {
968
+ center?: {
969
+ lat: number;
970
+ lng: number;
971
+ } | [number, number] | undefined;
972
+ zoom?: number | undefined;
973
+ markers?: {
974
+ position: {
975
+ lat: number;
976
+ lng: number;
977
+ } | [number, number];
978
+ tooltip?: string | undefined;
979
+ popup?: string | undefined;
980
+ }[] | undefined;
981
+ height?: string | undefined;
982
+ fitBounds?: boolean | undefined;
983
+ zoomControl?: boolean | undefined;
984
+ scrollWheelZoom?: boolean | undefined;
985
+ tileLayer?: string | undefined;
986
+ attribution?: string | undefined;
987
+ }, {
988
+ center?: {
989
+ lat: number;
990
+ lng: number;
991
+ } | [number, number] | undefined;
992
+ zoom?: number | undefined;
993
+ markers?: {
994
+ position: {
995
+ lat: number;
996
+ lng: number;
997
+ } | [number, number];
998
+ tooltip?: string | undefined;
999
+ popup?: string | undefined;
1000
+ }[] | undefined;
1001
+ height?: string | undefined;
1002
+ fitBounds?: boolean | undefined;
1003
+ zoomControl?: boolean | undefined;
1004
+ scrollWheelZoom?: boolean | undefined;
1005
+ tileLayer?: string | undefined;
1006
+ attribution?: string | undefined;
1007
+ }>;
1008
+ export declare const ChartTypeSchema: z.ZodEnum<["bar", "line", "pie", "doughnut", "radar", "scatter", "bubble", "polarArea"]>;
1009
+ export declare const ChartDatasetSchema: z.ZodObject<{
1010
+ label: z.ZodString;
1011
+ data: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodObject<{
1012
+ x: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
1013
+ y: z.ZodNumber;
1014
+ }, "strip", z.ZodTypeAny, {
1015
+ x: string | number;
1016
+ y: number;
1017
+ }, {
1018
+ x: string | number;
1019
+ y: number;
1020
+ }>, "many">]>;
1021
+ backgroundColor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1022
+ borderColor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1023
+ borderWidth: z.ZodOptional<z.ZodNumber>;
1024
+ fill: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
1025
+ tension: z.ZodOptional<z.ZodNumber>;
1026
+ }, "strip", z.ZodTypeAny, {
1027
+ label: string;
1028
+ data: number[] | {
1029
+ x: string | number;
1030
+ y: number;
1031
+ }[];
1032
+ fill?: string | boolean | undefined;
1033
+ backgroundColor?: string | string[] | undefined;
1034
+ borderColor?: string | string[] | undefined;
1035
+ borderWidth?: number | undefined;
1036
+ tension?: number | undefined;
1037
+ }, {
1038
+ label: string;
1039
+ data: number[] | {
1040
+ x: string | number;
1041
+ y: number;
1042
+ }[];
1043
+ fill?: string | boolean | undefined;
1044
+ backgroundColor?: string | string[] | undefined;
1045
+ borderColor?: string | string[] | undefined;
1046
+ borderWidth?: number | undefined;
1047
+ tension?: number | undefined;
1048
+ }>;
1049
+ export declare const ChartTimeAxisSchema: z.ZodObject<{
1050
+ parser: z.ZodOptional<z.ZodString>;
1051
+ unit: z.ZodOptional<z.ZodEnum<["day", "week", "month", "quarter", "year"]>>;
1052
+ tooltipFormat: z.ZodOptional<z.ZodString>;
1053
+ min: z.ZodOptional<z.ZodString>;
1054
+ max: z.ZodOptional<z.ZodString>;
1055
+ }, "strip", z.ZodTypeAny, {
1056
+ min?: string | undefined;
1057
+ max?: string | undefined;
1058
+ parser?: string | undefined;
1059
+ unit?: "day" | "week" | "month" | "quarter" | "year" | undefined;
1060
+ tooltipFormat?: string | undefined;
1061
+ }, {
1062
+ min?: string | undefined;
1063
+ max?: string | undefined;
1064
+ parser?: string | undefined;
1065
+ unit?: "day" | "week" | "month" | "quarter" | "year" | undefined;
1066
+ tooltipFormat?: string | undefined;
1067
+ }>;
1068
+ export declare const ChartComponentParamsSchema: z.ZodObject<{
1069
+ type: z.ZodEnum<["bar", "line", "pie", "doughnut", "radar", "scatter", "bubble", "polarArea"]>;
1070
+ title: z.ZodOptional<z.ZodString>;
1071
+ data: z.ZodObject<{
1072
+ labels: z.ZodArray<z.ZodString, "many">;
1073
+ datasets: z.ZodArray<z.ZodObject<{
1074
+ label: z.ZodString;
1075
+ data: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodObject<{
1076
+ x: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
1077
+ y: z.ZodNumber;
1078
+ }, "strip", z.ZodTypeAny, {
1079
+ x: string | number;
1080
+ y: number;
1081
+ }, {
1082
+ x: string | number;
1083
+ y: number;
1084
+ }>, "many">]>;
1085
+ backgroundColor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1086
+ borderColor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1087
+ borderWidth: z.ZodOptional<z.ZodNumber>;
1088
+ fill: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString]>>;
1089
+ tension: z.ZodOptional<z.ZodNumber>;
1090
+ }, "strip", z.ZodTypeAny, {
1091
+ label: string;
1092
+ data: number[] | {
1093
+ x: string | number;
1094
+ y: number;
1095
+ }[];
1096
+ fill?: string | boolean | undefined;
1097
+ backgroundColor?: string | string[] | undefined;
1098
+ borderColor?: string | string[] | undefined;
1099
+ borderWidth?: number | undefined;
1100
+ tension?: number | undefined;
1101
+ }, {
1102
+ label: string;
1103
+ data: number[] | {
1104
+ x: string | number;
1105
+ y: number;
1106
+ }[];
1107
+ fill?: string | boolean | undefined;
1108
+ backgroundColor?: string | string[] | undefined;
1109
+ borderColor?: string | string[] | undefined;
1110
+ borderWidth?: number | undefined;
1111
+ tension?: number | undefined;
1112
+ }>, "many">;
1113
+ }, "strip", z.ZodTypeAny, {
1114
+ labels: string[];
1115
+ datasets: {
1116
+ label: string;
1117
+ data: number[] | {
1118
+ x: string | number;
1119
+ y: number;
1120
+ }[];
1121
+ fill?: string | boolean | undefined;
1122
+ backgroundColor?: string | string[] | undefined;
1123
+ borderColor?: string | string[] | undefined;
1124
+ borderWidth?: number | undefined;
1125
+ tension?: number | undefined;
1126
+ }[];
1127
+ }, {
1128
+ labels: string[];
1129
+ datasets: {
1130
+ label: string;
1131
+ data: number[] | {
1132
+ x: string | number;
1133
+ y: number;
1134
+ }[];
1135
+ fill?: string | boolean | undefined;
1136
+ backgroundColor?: string | string[] | undefined;
1137
+ borderColor?: string | string[] | undefined;
1138
+ borderWidth?: number | undefined;
1139
+ tension?: number | undefined;
1140
+ }[];
1141
+ }>;
1142
+ options: z.ZodOptional<z.ZodObject<{
1143
+ responsive: z.ZodOptional<z.ZodBoolean>;
1144
+ maintainAspectRatio: z.ZodOptional<z.ZodBoolean>;
1145
+ tension: z.ZodOptional<z.ZodNumber>;
1146
+ scales: z.ZodOptional<z.ZodUnknown>;
1147
+ plugins: z.ZodOptional<z.ZodUnknown>;
1148
+ }, "strip", z.ZodTypeAny, {
1149
+ tension?: number | undefined;
1150
+ responsive?: boolean | undefined;
1151
+ maintainAspectRatio?: boolean | undefined;
1152
+ scales?: unknown;
1153
+ plugins?: unknown;
1154
+ }, {
1155
+ tension?: number | undefined;
1156
+ responsive?: boolean | undefined;
1157
+ maintainAspectRatio?: boolean | undefined;
1158
+ scales?: unknown;
1159
+ plugins?: unknown;
1160
+ }>>;
1161
+ renderer: z.ZodOptional<z.ZodEnum<["native", "iframe", "auto"]>>;
1162
+ exportable: z.ZodOptional<z.ZodBoolean>;
1163
+ timeAxis: z.ZodOptional<z.ZodObject<{
1164
+ parser: z.ZodOptional<z.ZodString>;
1165
+ unit: z.ZodOptional<z.ZodEnum<["day", "week", "month", "quarter", "year"]>>;
1166
+ tooltipFormat: z.ZodOptional<z.ZodString>;
1167
+ min: z.ZodOptional<z.ZodString>;
1168
+ max: z.ZodOptional<z.ZodString>;
1169
+ }, "strip", z.ZodTypeAny, {
1170
+ min?: string | undefined;
1171
+ max?: string | undefined;
1172
+ parser?: string | undefined;
1173
+ unit?: "day" | "week" | "month" | "quarter" | "year" | undefined;
1174
+ tooltipFormat?: string | undefined;
1175
+ }, {
1176
+ min?: string | undefined;
1177
+ max?: string | undefined;
1178
+ parser?: string | undefined;
1179
+ unit?: "day" | "week" | "month" | "quarter" | "year" | undefined;
1180
+ tooltipFormat?: string | undefined;
1181
+ }>>;
1182
+ height: z.ZodOptional<z.ZodString>;
1183
+ className: z.ZodOptional<z.ZodString>;
1184
+ }, "strip", z.ZodTypeAny, {
1185
+ type: "bar" | "line" | "pie" | "doughnut" | "radar" | "scatter" | "bubble" | "polarArea";
1186
+ data: {
1187
+ labels: string[];
1188
+ datasets: {
1189
+ label: string;
1190
+ data: number[] | {
1191
+ x: string | number;
1192
+ y: number;
1193
+ }[];
1194
+ fill?: string | boolean | undefined;
1195
+ backgroundColor?: string | string[] | undefined;
1196
+ borderColor?: string | string[] | undefined;
1197
+ borderWidth?: number | undefined;
1198
+ tension?: number | undefined;
1199
+ }[];
1200
+ };
1201
+ options?: {
1202
+ tension?: number | undefined;
1203
+ responsive?: boolean | undefined;
1204
+ maintainAspectRatio?: boolean | undefined;
1205
+ scales?: unknown;
1206
+ plugins?: unknown;
1207
+ } | undefined;
1208
+ title?: string | undefined;
1209
+ height?: string | undefined;
1210
+ renderer?: "iframe" | "auto" | "native" | undefined;
1211
+ exportable?: boolean | undefined;
1212
+ timeAxis?: {
1213
+ min?: string | undefined;
1214
+ max?: string | undefined;
1215
+ parser?: string | undefined;
1216
+ unit?: "day" | "week" | "month" | "quarter" | "year" | undefined;
1217
+ tooltipFormat?: string | undefined;
1218
+ } | undefined;
1219
+ className?: string | undefined;
1220
+ }, {
1221
+ type: "bar" | "line" | "pie" | "doughnut" | "radar" | "scatter" | "bubble" | "polarArea";
1222
+ data: {
1223
+ labels: string[];
1224
+ datasets: {
1225
+ label: string;
1226
+ data: number[] | {
1227
+ x: string | number;
1228
+ y: number;
1229
+ }[];
1230
+ fill?: string | boolean | undefined;
1231
+ backgroundColor?: string | string[] | undefined;
1232
+ borderColor?: string | string[] | undefined;
1233
+ borderWidth?: number | undefined;
1234
+ tension?: number | undefined;
1235
+ }[];
1236
+ };
1237
+ options?: {
1238
+ tension?: number | undefined;
1239
+ responsive?: boolean | undefined;
1240
+ maintainAspectRatio?: boolean | undefined;
1241
+ scales?: unknown;
1242
+ plugins?: unknown;
1243
+ } | undefined;
1244
+ title?: string | undefined;
1245
+ height?: string | undefined;
1246
+ renderer?: "iframe" | "auto" | "native" | undefined;
1247
+ exportable?: boolean | undefined;
1248
+ timeAxis?: {
1249
+ min?: string | undefined;
1250
+ max?: string | undefined;
1251
+ parser?: string | undefined;
1252
+ unit?: "day" | "week" | "month" | "quarter" | "year" | undefined;
1253
+ tooltipFormat?: string | undefined;
1254
+ } | undefined;
1255
+ className?: string | undefined;
1256
+ }>;
1257
+ export declare const TableColumnSchema: z.ZodObject<{
1258
+ key: z.ZodString;
1259
+ label: z.ZodString;
1260
+ sortable: z.ZodOptional<z.ZodBoolean>;
1261
+ width: z.ZodOptional<z.ZodString>;
1262
+ }, "strip", z.ZodTypeAny, {
1263
+ label: string;
1264
+ key: string;
1265
+ sortable?: boolean | undefined;
1266
+ width?: string | undefined;
1267
+ }, {
1268
+ label: string;
1269
+ key: string;
1270
+ sortable?: boolean | undefined;
1271
+ width?: string | undefined;
1272
+ }>;
1273
+ export declare const TablePaginationSchema: z.ZodObject<{
1274
+ currentPage: z.ZodNumber;
1275
+ pageSize: z.ZodNumber;
1276
+ totalRows: z.ZodNumber;
1277
+ }, "strip", z.ZodTypeAny, {
1278
+ currentPage: number;
1279
+ pageSize: number;
1280
+ totalRows: number;
1281
+ }, {
1282
+ currentPage: number;
1283
+ pageSize: number;
1284
+ totalRows: number;
1285
+ }>;
1286
+ export declare const TableVirtualizeOptionsSchema: z.ZodObject<{
1287
+ enabled: z.ZodOptional<z.ZodBoolean>;
1288
+ rowHeight: z.ZodOptional<z.ZodNumber>;
1289
+ overscan: z.ZodOptional<z.ZodNumber>;
1290
+ threshold: z.ZodOptional<z.ZodNumber>;
1291
+ }, "strip", z.ZodTypeAny, {
1292
+ enabled?: boolean | undefined;
1293
+ rowHeight?: number | undefined;
1294
+ overscan?: number | undefined;
1295
+ threshold?: number | undefined;
1296
+ }, {
1297
+ enabled?: boolean | undefined;
1298
+ rowHeight?: number | undefined;
1299
+ overscan?: number | undefined;
1300
+ threshold?: number | undefined;
1301
+ }>;
1302
+ export declare const TableExportableSchema: z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
1303
+ formats: z.ZodOptional<z.ZodArray<z.ZodEnum<["csv", "tsv", "json"]>, "many">>;
1304
+ filename: z.ZodOptional<z.ZodString>;
1305
+ }, "strip", z.ZodTypeAny, {
1306
+ filename?: string | undefined;
1307
+ formats?: ("csv" | "tsv" | "json")[] | undefined;
1308
+ }, {
1309
+ filename?: string | undefined;
1310
+ formats?: ("csv" | "tsv" | "json")[] | undefined;
1311
+ }>]>;
1312
+ export declare const CitationEntrySchema: z.ZodObject<{
1313
+ page: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1314
+ file: z.ZodOptional<z.ZodString>;
1315
+ file_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1316
+ }, "strip", z.ZodTypeAny, {
1317
+ page: string | number;
1318
+ file?: string | undefined;
1319
+ file_id?: string | number | undefined;
1320
+ }, {
1321
+ page: string | number;
1322
+ file?: string | undefined;
1323
+ file_id?: string | number | undefined;
1324
+ }>;
1325
+ export declare const TableComponentParamsSchema: z.ZodObject<{
1326
+ title: z.ZodOptional<z.ZodString>;
1327
+ columns: z.ZodArray<z.ZodObject<{
1328
+ key: z.ZodString;
1329
+ label: z.ZodString;
1330
+ sortable: z.ZodOptional<z.ZodBoolean>;
1331
+ width: z.ZodOptional<z.ZodString>;
1332
+ }, "strip", z.ZodTypeAny, {
1333
+ label: string;
1334
+ key: string;
1335
+ sortable?: boolean | undefined;
1336
+ width?: string | undefined;
1337
+ }, {
1338
+ label: string;
1339
+ key: string;
1340
+ sortable?: boolean | undefined;
1341
+ width?: string | undefined;
1342
+ }>, "many">;
1343
+ rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
1344
+ pagination: z.ZodOptional<z.ZodObject<{
1345
+ currentPage: z.ZodNumber;
1346
+ pageSize: z.ZodNumber;
1347
+ totalRows: z.ZodNumber;
1348
+ }, "strip", z.ZodTypeAny, {
1349
+ currentPage: number;
1350
+ pageSize: number;
1351
+ totalRows: number;
1352
+ }, {
1353
+ currentPage: number;
1354
+ pageSize: number;
1355
+ totalRows: number;
1356
+ }>>;
1357
+ virtualize: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
1358
+ enabled: z.ZodOptional<z.ZodBoolean>;
1359
+ rowHeight: z.ZodOptional<z.ZodNumber>;
1360
+ overscan: z.ZodOptional<z.ZodNumber>;
1361
+ threshold: z.ZodOptional<z.ZodNumber>;
1362
+ }, "strip", z.ZodTypeAny, {
1363
+ enabled?: boolean | undefined;
1364
+ rowHeight?: number | undefined;
1365
+ overscan?: number | undefined;
1366
+ threshold?: number | undefined;
1367
+ }, {
1368
+ enabled?: boolean | undefined;
1369
+ rowHeight?: number | undefined;
1370
+ overscan?: number | undefined;
1371
+ threshold?: number | undefined;
1372
+ }>]>>;
1373
+ exportable: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
1374
+ formats: z.ZodOptional<z.ZodArray<z.ZodEnum<["csv", "tsv", "json"]>, "many">>;
1375
+ filename: z.ZodOptional<z.ZodString>;
1376
+ }, "strip", z.ZodTypeAny, {
1377
+ filename?: string | undefined;
1378
+ formats?: ("csv" | "tsv" | "json")[] | undefined;
1379
+ }, {
1380
+ filename?: string | undefined;
1381
+ formats?: ("csv" | "tsv" | "json")[] | undefined;
1382
+ }>]>>;
1383
+ className: z.ZodOptional<z.ZodString>;
1384
+ citationMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1385
+ page: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1386
+ file: z.ZodOptional<z.ZodString>;
1387
+ file_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
1388
+ }, "strip", z.ZodTypeAny, {
1389
+ page: string | number;
1390
+ file?: string | undefined;
1391
+ file_id?: string | number | undefined;
1392
+ }, {
1393
+ page: string | number;
1394
+ file?: string | undefined;
1395
+ file_id?: string | number | undefined;
1396
+ }>>>;
1397
+ }, "strip", z.ZodTypeAny, {
1398
+ rows: Record<string, unknown>[];
1399
+ columns: {
1400
+ label: string;
1401
+ key: string;
1402
+ sortable?: boolean | undefined;
1403
+ width?: string | undefined;
1404
+ }[];
1405
+ title?: string | undefined;
1406
+ exportable?: boolean | {
1407
+ filename?: string | undefined;
1408
+ formats?: ("csv" | "tsv" | "json")[] | undefined;
1409
+ } | undefined;
1410
+ className?: string | undefined;
1411
+ pagination?: {
1412
+ currentPage: number;
1413
+ pageSize: number;
1414
+ totalRows: number;
1415
+ } | undefined;
1416
+ virtualize?: boolean | {
1417
+ enabled?: boolean | undefined;
1418
+ rowHeight?: number | undefined;
1419
+ overscan?: number | undefined;
1420
+ threshold?: number | undefined;
1421
+ } | undefined;
1422
+ citationMap?: Record<string, {
1423
+ page: string | number;
1424
+ file?: string | undefined;
1425
+ file_id?: string | number | undefined;
1426
+ }> | undefined;
1427
+ }, {
1428
+ rows: Record<string, unknown>[];
1429
+ columns: {
1430
+ label: string;
1431
+ key: string;
1432
+ sortable?: boolean | undefined;
1433
+ width?: string | undefined;
1434
+ }[];
1435
+ title?: string | undefined;
1436
+ exportable?: boolean | {
1437
+ filename?: string | undefined;
1438
+ formats?: ("csv" | "tsv" | "json")[] | undefined;
1439
+ } | undefined;
1440
+ className?: string | undefined;
1441
+ pagination?: {
1442
+ currentPage: number;
1443
+ pageSize: number;
1444
+ totalRows: number;
1445
+ } | undefined;
1446
+ virtualize?: boolean | {
1447
+ enabled?: boolean | undefined;
1448
+ rowHeight?: number | undefined;
1449
+ overscan?: number | undefined;
1450
+ threshold?: number | undefined;
1451
+ } | undefined;
1452
+ citationMap?: Record<string, {
1453
+ page: string | number;
1454
+ file?: string | undefined;
1455
+ file_id?: string | number | undefined;
1456
+ }> | undefined;
1457
+ }>;
1458
+ export declare const MetricTrendSchema: z.ZodObject<{
1459
+ value: z.ZodNumber;
1460
+ direction: z.ZodEnum<["up", "down", "neutral"]>;
1461
+ }, "strip", z.ZodTypeAny, {
1462
+ value: number;
1463
+ direction: "up" | "down" | "neutral";
1464
+ }, {
1465
+ value: number;
1466
+ direction: "up" | "down" | "neutral";
1467
+ }>;
1468
+ export declare const MetricComponentParamsSchema: z.ZodObject<{
1469
+ title: z.ZodString;
1470
+ value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
1471
+ unit: z.ZodOptional<z.ZodString>;
1472
+ trend: z.ZodOptional<z.ZodObject<{
1473
+ value: z.ZodNumber;
1474
+ direction: z.ZodEnum<["up", "down", "neutral"]>;
1475
+ }, "strip", z.ZodTypeAny, {
1476
+ value: number;
1477
+ direction: "up" | "down" | "neutral";
1478
+ }, {
1479
+ value: number;
1480
+ direction: "up" | "down" | "neutral";
1481
+ }>>;
1482
+ subtitle: z.ZodOptional<z.ZodString>;
1483
+ icon: z.ZodOptional<z.ZodString>;
1484
+ className: z.ZodOptional<z.ZodString>;
1485
+ }, "strip", z.ZodTypeAny, {
1486
+ value: string | number;
1487
+ title: string;
1488
+ icon?: string | undefined;
1489
+ unit?: string | undefined;
1490
+ className?: string | undefined;
1491
+ trend?: {
1492
+ value: number;
1493
+ direction: "up" | "down" | "neutral";
1494
+ } | undefined;
1495
+ subtitle?: string | undefined;
1496
+ }, {
1497
+ value: string | number;
1498
+ title: string;
1499
+ icon?: string | undefined;
1500
+ unit?: string | undefined;
1501
+ className?: string | undefined;
1502
+ trend?: {
1503
+ value: number;
1504
+ direction: "up" | "down" | "neutral";
1505
+ } | undefined;
1506
+ subtitle?: string | undefined;
1507
+ }>;
1508
+ export declare const TextComponentParamsSchema: z.ZodObject<{
1509
+ content: z.ZodString;
1510
+ markdown: z.ZodOptional<z.ZodBoolean>;
1511
+ className: z.ZodOptional<z.ZodString>;
1512
+ }, "strip", z.ZodTypeAny, {
1513
+ content: string;
1514
+ className?: string | undefined;
1515
+ markdown?: boolean | undefined;
1516
+ }, {
1517
+ content: string;
1518
+ className?: string | undefined;
1519
+ markdown?: boolean | undefined;
1520
+ }>;
1521
+ export declare const IframeComponentParamsSchema: z.ZodObject<{
1522
+ url: z.ZodString;
1523
+ title: z.ZodOptional<z.ZodString>;
1524
+ height: z.ZodOptional<z.ZodString>;
1525
+ className: z.ZodOptional<z.ZodString>;
1526
+ }, "strip", z.ZodTypeAny, {
1527
+ url: string;
1528
+ title?: string | undefined;
1529
+ height?: string | undefined;
1530
+ className?: string | undefined;
1531
+ }, {
1532
+ url: string;
1533
+ title?: string | undefined;
1534
+ height?: string | undefined;
1535
+ className?: string | undefined;
1536
+ }>;
1537
+ export declare const ImageComponentParamsSchema: z.ZodObject<{
1538
+ url: z.ZodString;
1539
+ alt: z.ZodOptional<z.ZodString>;
1540
+ caption: z.ZodOptional<z.ZodString>;
1541
+ className: z.ZodOptional<z.ZodString>;
1542
+ }, "strip", z.ZodTypeAny, {
1543
+ url: string;
1544
+ alt?: string | undefined;
1545
+ caption?: string | undefined;
1546
+ className?: string | undefined;
1547
+ }, {
1548
+ url: string;
1549
+ alt?: string | undefined;
1550
+ caption?: string | undefined;
1551
+ className?: string | undefined;
1552
+ }>;
1553
+ export declare const LinkComponentParamsSchema: z.ZodObject<{
1554
+ url: z.ZodString;
1555
+ label: z.ZodOptional<z.ZodString>;
1556
+ description: z.ZodOptional<z.ZodString>;
1557
+ className: z.ZodOptional<z.ZodString>;
1558
+ }, "strip", z.ZodTypeAny, {
1559
+ url: string;
1560
+ label?: string | undefined;
1561
+ className?: string | undefined;
1562
+ description?: string | undefined;
1563
+ }, {
1564
+ url: string;
1565
+ label?: string | undefined;
1566
+ className?: string | undefined;
1567
+ description?: string | undefined;
1568
+ }>;
1569
+ export declare const CarouselComponentParamsSchema: z.ZodObject<{
1570
+ items: z.ZodArray<z.ZodUnknown, "many">;
1571
+ height: z.ZodOptional<z.ZodString>;
1572
+ className: z.ZodOptional<z.ZodString>;
1573
+ }, "strip", z.ZodTypeAny, {
1574
+ items: unknown[];
1575
+ height?: string | undefined;
1576
+ className?: string | undefined;
1577
+ }, {
1578
+ items: unknown[];
1579
+ height?: string | undefined;
1580
+ className?: string | undefined;
1581
+ }>;
1582
+ export declare const ArtifactComponentParamsSchema: z.ZodObject<{
1583
+ url: z.ZodString;
1584
+ filename: z.ZodString;
1585
+ mimeType: z.ZodString;
1586
+ size: z.ZodOptional<z.ZodNumber>;
1587
+ description: z.ZodOptional<z.ZodString>;
1588
+ }, "strip", z.ZodTypeAny, {
1589
+ url: string;
1590
+ filename: string;
1591
+ mimeType: string;
1592
+ size?: number | undefined;
1593
+ description?: string | undefined;
1594
+ }, {
1595
+ url: string;
1596
+ filename: string;
1597
+ mimeType: string;
1598
+ size?: number | undefined;
1599
+ description?: string | undefined;
1600
+ }>;
1601
+ export declare const SandboxFlagSchema: z.ZodEnum<["allow-scripts", "allow-same-origin", "allow-forms", "allow-popups", "allow-modals"]>;
13
1602
  export declare const SecurityConstraintsSchema: z.ZodObject<{
14
- requiresAuth: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
15
- allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
16
- maxIframeDepth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
17
- sandboxFlags: z.ZodOptional<z.ZodArray<typeof SandboxFlagSchema>>;
1603
+ requiresAuth: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1604
+ allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1605
+ maxIframeDepth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1606
+ sandboxFlags: z.ZodOptional<z.ZodArray<z.ZodEnum<["allow-scripts", "allow-same-origin", "allow-forms", "allow-popups", "allow-modals"]>, "many">>;
1607
+ }, "strip", z.ZodTypeAny, {
1608
+ requiresAuth?: boolean | undefined;
1609
+ allowedDomains?: string[] | undefined;
1610
+ maxIframeDepth?: number | undefined;
1611
+ sandboxFlags?: ("allow-scripts" | "allow-same-origin" | "allow-forms" | "allow-popups" | "allow-modals")[] | undefined;
1612
+ }, {
1613
+ requiresAuth?: boolean | undefined;
1614
+ allowedDomains?: string[] | undefined;
1615
+ maxIframeDepth?: number | undefined;
1616
+ sandboxFlags?: ("allow-scripts" | "allow-same-origin" | "allow-forms" | "allow-popups" | "allow-modals")[] | undefined;
18
1617
  }>;
19
-
20
1618
  export declare const PerformanceConstraintsSchema: z.ZodObject<{
21
- maxRenderTime: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
22
- maxDataSize: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1619
+ maxRenderTime: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1620
+ maxDataSize: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1621
+ }, "strip", z.ZodTypeAny, {
1622
+ maxRenderTime?: number | undefined;
1623
+ maxDataSize?: number | undefined;
1624
+ }, {
1625
+ maxRenderTime?: number | undefined;
1626
+ maxDataSize?: number | undefined;
23
1627
  }>;
24
-
25
1628
  export declare const ComponentSchemaSchema: z.ZodObject<{
26
- type: z.ZodLiteral<'object'>;
27
- required: z.ZodOptional<z.ZodArray<z.ZodString>>;
28
- properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
29
- additionalProperties: z.ZodOptional<z.ZodBoolean>;
1629
+ type: z.ZodLiteral<"object">;
1630
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1631
+ properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1632
+ additionalProperties: z.ZodOptional<z.ZodBoolean>;
1633
+ }, "strip", z.ZodTypeAny, {
1634
+ type: "object";
1635
+ properties: Record<string, unknown>;
1636
+ required?: string[] | undefined;
1637
+ additionalProperties?: boolean | undefined;
1638
+ }, {
1639
+ type: "object";
1640
+ properties: Record<string, unknown>;
1641
+ required?: string[] | undefined;
1642
+ additionalProperties?: boolean | undefined;
30
1643
  }>;
31
-
32
1644
  export declare const ComponentExampleSchema: z.ZodObject<{
33
- name: z.ZodString;
34
- description: z.ZodOptional<z.ZodString>;
35
- params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
36
- position: z.ZodOptional<typeof GridPositionSchema>;
1645
+ name: z.ZodString;
1646
+ description: z.ZodOptional<z.ZodString>;
1647
+ params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1648
+ position: z.ZodOptional<z.ZodObject<{
1649
+ colStart: z.ZodNumber;
1650
+ colSpan: z.ZodNumber;
1651
+ rowStart: z.ZodOptional<z.ZodNumber>;
1652
+ rowSpan: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1653
+ }, "strip", z.ZodTypeAny, {
1654
+ colStart: number;
1655
+ colSpan: number;
1656
+ rowStart?: number | undefined;
1657
+ rowSpan?: number | undefined;
1658
+ }, {
1659
+ colStart: number;
1660
+ colSpan: number;
1661
+ rowStart?: number | undefined;
1662
+ rowSpan?: number | undefined;
1663
+ }>>;
1664
+ }, "strip", z.ZodTypeAny, {
1665
+ params: Record<string, unknown>;
1666
+ name: string;
1667
+ position?: {
1668
+ colStart: number;
1669
+ colSpan: number;
1670
+ rowStart?: number | undefined;
1671
+ rowSpan?: number | undefined;
1672
+ } | undefined;
1673
+ description?: string | undefined;
1674
+ }, {
1675
+ params: Record<string, unknown>;
1676
+ name: string;
1677
+ position?: {
1678
+ colStart: number;
1679
+ colSpan: number;
1680
+ rowStart?: number | undefined;
1681
+ rowSpan?: number | undefined;
1682
+ } | undefined;
1683
+ description?: string | undefined;
37
1684
  }>;
38
-
39
1685
  export declare const ComponentSchema: z.ZodObject<{
40
- id: z.ZodString;
41
- type: typeof ComponentTypeSchema;
42
- name: z.ZodString;
43
- description: z.ZodOptional<z.ZodString>;
44
- schema: typeof ComponentSchemaSchema;
45
- examples: z.ZodArray<typeof ComponentExampleSchema>;
46
- security: z.ZodOptional<typeof SecurityConstraintsSchema>;
47
- performance: z.ZodOptional<typeof PerformanceConstraintsSchema>;
48
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
49
- version: z.ZodOptional<z.ZodString>;
50
- deprecated: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
51
- deprecationMessage: z.ZodOptional<z.ZodString>;
52
- }>;
53
-
1686
+ id: z.ZodString;
1687
+ type: z.ZodEnum<["chart", "table", "metric", "text", "composite", "grid", "iframe", "image", "link", "action", "footer", "carousel", "artifact", "form", "modal", "action-group", "image-gallery", "video", "code", "map"]>;
1688
+ name: z.ZodString;
1689
+ description: z.ZodOptional<z.ZodString>;
1690
+ schema: z.ZodObject<{
1691
+ type: z.ZodLiteral<"object">;
1692
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1693
+ properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1694
+ additionalProperties: z.ZodOptional<z.ZodBoolean>;
1695
+ }, "strip", z.ZodTypeAny, {
1696
+ type: "object";
1697
+ properties: Record<string, unknown>;
1698
+ required?: string[] | undefined;
1699
+ additionalProperties?: boolean | undefined;
1700
+ }, {
1701
+ type: "object";
1702
+ properties: Record<string, unknown>;
1703
+ required?: string[] | undefined;
1704
+ additionalProperties?: boolean | undefined;
1705
+ }>;
1706
+ examples: z.ZodArray<z.ZodObject<{
1707
+ name: z.ZodString;
1708
+ description: z.ZodOptional<z.ZodString>;
1709
+ params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1710
+ position: z.ZodOptional<z.ZodObject<{
1711
+ colStart: z.ZodNumber;
1712
+ colSpan: z.ZodNumber;
1713
+ rowStart: z.ZodOptional<z.ZodNumber>;
1714
+ rowSpan: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1715
+ }, "strip", z.ZodTypeAny, {
1716
+ colStart: number;
1717
+ colSpan: number;
1718
+ rowStart?: number | undefined;
1719
+ rowSpan?: number | undefined;
1720
+ }, {
1721
+ colStart: number;
1722
+ colSpan: number;
1723
+ rowStart?: number | undefined;
1724
+ rowSpan?: number | undefined;
1725
+ }>>;
1726
+ }, "strip", z.ZodTypeAny, {
1727
+ params: Record<string, unknown>;
1728
+ name: string;
1729
+ position?: {
1730
+ colStart: number;
1731
+ colSpan: number;
1732
+ rowStart?: number | undefined;
1733
+ rowSpan?: number | undefined;
1734
+ } | undefined;
1735
+ description?: string | undefined;
1736
+ }, {
1737
+ params: Record<string, unknown>;
1738
+ name: string;
1739
+ position?: {
1740
+ colStart: number;
1741
+ colSpan: number;
1742
+ rowStart?: number | undefined;
1743
+ rowSpan?: number | undefined;
1744
+ } | undefined;
1745
+ description?: string | undefined;
1746
+ }>, "many">;
1747
+ security: z.ZodOptional<z.ZodObject<{
1748
+ requiresAuth: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1749
+ allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1750
+ maxIframeDepth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1751
+ sandboxFlags: z.ZodOptional<z.ZodArray<z.ZodEnum<["allow-scripts", "allow-same-origin", "allow-forms", "allow-popups", "allow-modals"]>, "many">>;
1752
+ }, "strip", z.ZodTypeAny, {
1753
+ requiresAuth?: boolean | undefined;
1754
+ allowedDomains?: string[] | undefined;
1755
+ maxIframeDepth?: number | undefined;
1756
+ sandboxFlags?: ("allow-scripts" | "allow-same-origin" | "allow-forms" | "allow-popups" | "allow-modals")[] | undefined;
1757
+ }, {
1758
+ requiresAuth?: boolean | undefined;
1759
+ allowedDomains?: string[] | undefined;
1760
+ maxIframeDepth?: number | undefined;
1761
+ sandboxFlags?: ("allow-scripts" | "allow-same-origin" | "allow-forms" | "allow-popups" | "allow-modals")[] | undefined;
1762
+ }>>;
1763
+ performance: z.ZodOptional<z.ZodObject<{
1764
+ maxRenderTime: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1765
+ maxDataSize: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1766
+ }, "strip", z.ZodTypeAny, {
1767
+ maxRenderTime?: number | undefined;
1768
+ maxDataSize?: number | undefined;
1769
+ }, {
1770
+ maxRenderTime?: number | undefined;
1771
+ maxDataSize?: number | undefined;
1772
+ }>>;
1773
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1774
+ version: z.ZodOptional<z.ZodString>;
1775
+ deprecated: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1776
+ deprecationMessage: z.ZodOptional<z.ZodString>;
1777
+ }, "strip", z.ZodTypeAny, {
1778
+ type: "code" | "map" | "chart" | "table" | "metric" | "text" | "composite" | "grid" | "iframe" | "image" | "link" | "action" | "footer" | "carousel" | "artifact" | "form" | "modal" | "action-group" | "image-gallery" | "video";
1779
+ name: string;
1780
+ id: string;
1781
+ schema: {
1782
+ type: "object";
1783
+ properties: Record<string, unknown>;
1784
+ required?: string[] | undefined;
1785
+ additionalProperties?: boolean | undefined;
1786
+ };
1787
+ examples: {
1788
+ params: Record<string, unknown>;
1789
+ name: string;
1790
+ position?: {
1791
+ colStart: number;
1792
+ colSpan: number;
1793
+ rowStart?: number | undefined;
1794
+ rowSpan?: number | undefined;
1795
+ } | undefined;
1796
+ description?: string | undefined;
1797
+ }[];
1798
+ tags?: string[] | undefined;
1799
+ description?: string | undefined;
1800
+ security?: {
1801
+ requiresAuth?: boolean | undefined;
1802
+ allowedDomains?: string[] | undefined;
1803
+ maxIframeDepth?: number | undefined;
1804
+ sandboxFlags?: ("allow-scripts" | "allow-same-origin" | "allow-forms" | "allow-popups" | "allow-modals")[] | undefined;
1805
+ } | undefined;
1806
+ performance?: {
1807
+ maxRenderTime?: number | undefined;
1808
+ maxDataSize?: number | undefined;
1809
+ } | undefined;
1810
+ version?: string | undefined;
1811
+ deprecated?: boolean | undefined;
1812
+ deprecationMessage?: string | undefined;
1813
+ }, {
1814
+ type: "code" | "map" | "chart" | "table" | "metric" | "text" | "composite" | "grid" | "iframe" | "image" | "link" | "action" | "footer" | "carousel" | "artifact" | "form" | "modal" | "action-group" | "image-gallery" | "video";
1815
+ name: string;
1816
+ id: string;
1817
+ schema: {
1818
+ type: "object";
1819
+ properties: Record<string, unknown>;
1820
+ required?: string[] | undefined;
1821
+ additionalProperties?: boolean | undefined;
1822
+ };
1823
+ examples: {
1824
+ params: Record<string, unknown>;
1825
+ name: string;
1826
+ position?: {
1827
+ colStart: number;
1828
+ colSpan: number;
1829
+ rowStart?: number | undefined;
1830
+ rowSpan?: number | undefined;
1831
+ } | undefined;
1832
+ description?: string | undefined;
1833
+ }[];
1834
+ tags?: string[] | undefined;
1835
+ description?: string | undefined;
1836
+ security?: {
1837
+ requiresAuth?: boolean | undefined;
1838
+ allowedDomains?: string[] | undefined;
1839
+ maxIframeDepth?: number | undefined;
1840
+ sandboxFlags?: ("allow-scripts" | "allow-same-origin" | "allow-forms" | "allow-popups" | "allow-modals")[] | undefined;
1841
+ } | undefined;
1842
+ performance?: {
1843
+ maxRenderTime?: number | undefined;
1844
+ maxDataSize?: number | undefined;
1845
+ } | undefined;
1846
+ version?: string | undefined;
1847
+ deprecated?: boolean | undefined;
1848
+ deprecationMessage?: string | undefined;
1849
+ }>;
54
1850
  export declare const RegistryMetadataSchema: z.ZodObject<{
55
- name: z.ZodOptional<z.ZodString>;
56
- description: z.ZodOptional<z.ZodString>;
57
- author: z.ZodOptional<z.ZodString>;
58
- repository: z.ZodOptional<z.ZodString>;
1851
+ name: z.ZodOptional<z.ZodString>;
1852
+ description: z.ZodOptional<z.ZodString>;
1853
+ author: z.ZodOptional<z.ZodString>;
1854
+ repository: z.ZodOptional<z.ZodString>;
1855
+ }, "strip", z.ZodTypeAny, {
1856
+ name?: string | undefined;
1857
+ description?: string | undefined;
1858
+ author?: string | undefined;
1859
+ repository?: string | undefined;
1860
+ }, {
1861
+ name?: string | undefined;
1862
+ description?: string | undefined;
1863
+ author?: string | undefined;
1864
+ repository?: string | undefined;
59
1865
  }>;
60
-
61
1866
  export declare const ComponentRegistrySchema: z.ZodObject<{
62
- version: z.ZodLiteral<'1.0.0'>;
63
- metadata: z.ZodOptional<typeof RegistryMetadataSchema>;
64
- components: z.ZodArray<typeof ComponentSchema>;
1867
+ version: z.ZodLiteral<"1.0.0">;
1868
+ metadata: z.ZodOptional<z.ZodObject<{
1869
+ name: z.ZodOptional<z.ZodString>;
1870
+ description: z.ZodOptional<z.ZodString>;
1871
+ author: z.ZodOptional<z.ZodString>;
1872
+ repository: z.ZodOptional<z.ZodString>;
1873
+ }, "strip", z.ZodTypeAny, {
1874
+ name?: string | undefined;
1875
+ description?: string | undefined;
1876
+ author?: string | undefined;
1877
+ repository?: string | undefined;
1878
+ }, {
1879
+ name?: string | undefined;
1880
+ description?: string | undefined;
1881
+ author?: string | undefined;
1882
+ repository?: string | undefined;
1883
+ }>>;
1884
+ components: z.ZodArray<z.ZodObject<{
1885
+ id: z.ZodString;
1886
+ type: z.ZodEnum<["chart", "table", "metric", "text", "composite", "grid", "iframe", "image", "link", "action", "footer", "carousel", "artifact", "form", "modal", "action-group", "image-gallery", "video", "code", "map"]>;
1887
+ name: z.ZodString;
1888
+ description: z.ZodOptional<z.ZodString>;
1889
+ schema: z.ZodObject<{
1890
+ type: z.ZodLiteral<"object">;
1891
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1892
+ properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1893
+ additionalProperties: z.ZodOptional<z.ZodBoolean>;
1894
+ }, "strip", z.ZodTypeAny, {
1895
+ type: "object";
1896
+ properties: Record<string, unknown>;
1897
+ required?: string[] | undefined;
1898
+ additionalProperties?: boolean | undefined;
1899
+ }, {
1900
+ type: "object";
1901
+ properties: Record<string, unknown>;
1902
+ required?: string[] | undefined;
1903
+ additionalProperties?: boolean | undefined;
1904
+ }>;
1905
+ examples: z.ZodArray<z.ZodObject<{
1906
+ name: z.ZodString;
1907
+ description: z.ZodOptional<z.ZodString>;
1908
+ params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1909
+ position: z.ZodOptional<z.ZodObject<{
1910
+ colStart: z.ZodNumber;
1911
+ colSpan: z.ZodNumber;
1912
+ rowStart: z.ZodOptional<z.ZodNumber>;
1913
+ rowSpan: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1914
+ }, "strip", z.ZodTypeAny, {
1915
+ colStart: number;
1916
+ colSpan: number;
1917
+ rowStart?: number | undefined;
1918
+ rowSpan?: number | undefined;
1919
+ }, {
1920
+ colStart: number;
1921
+ colSpan: number;
1922
+ rowStart?: number | undefined;
1923
+ rowSpan?: number | undefined;
1924
+ }>>;
1925
+ }, "strip", z.ZodTypeAny, {
1926
+ params: Record<string, unknown>;
1927
+ name: string;
1928
+ position?: {
1929
+ colStart: number;
1930
+ colSpan: number;
1931
+ rowStart?: number | undefined;
1932
+ rowSpan?: number | undefined;
1933
+ } | undefined;
1934
+ description?: string | undefined;
1935
+ }, {
1936
+ params: Record<string, unknown>;
1937
+ name: string;
1938
+ position?: {
1939
+ colStart: number;
1940
+ colSpan: number;
1941
+ rowStart?: number | undefined;
1942
+ rowSpan?: number | undefined;
1943
+ } | undefined;
1944
+ description?: string | undefined;
1945
+ }>, "many">;
1946
+ security: z.ZodOptional<z.ZodObject<{
1947
+ requiresAuth: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1948
+ allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1949
+ maxIframeDepth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1950
+ sandboxFlags: z.ZodOptional<z.ZodArray<z.ZodEnum<["allow-scripts", "allow-same-origin", "allow-forms", "allow-popups", "allow-modals"]>, "many">>;
1951
+ }, "strip", z.ZodTypeAny, {
1952
+ requiresAuth?: boolean | undefined;
1953
+ allowedDomains?: string[] | undefined;
1954
+ maxIframeDepth?: number | undefined;
1955
+ sandboxFlags?: ("allow-scripts" | "allow-same-origin" | "allow-forms" | "allow-popups" | "allow-modals")[] | undefined;
1956
+ }, {
1957
+ requiresAuth?: boolean | undefined;
1958
+ allowedDomains?: string[] | undefined;
1959
+ maxIframeDepth?: number | undefined;
1960
+ sandboxFlags?: ("allow-scripts" | "allow-same-origin" | "allow-forms" | "allow-popups" | "allow-modals")[] | undefined;
1961
+ }>>;
1962
+ performance: z.ZodOptional<z.ZodObject<{
1963
+ maxRenderTime: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1964
+ maxDataSize: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1965
+ }, "strip", z.ZodTypeAny, {
1966
+ maxRenderTime?: number | undefined;
1967
+ maxDataSize?: number | undefined;
1968
+ }, {
1969
+ maxRenderTime?: number | undefined;
1970
+ maxDataSize?: number | undefined;
1971
+ }>>;
1972
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1973
+ version: z.ZodOptional<z.ZodString>;
1974
+ deprecated: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1975
+ deprecationMessage: z.ZodOptional<z.ZodString>;
1976
+ }, "strip", z.ZodTypeAny, {
1977
+ type: "code" | "map" | "chart" | "table" | "metric" | "text" | "composite" | "grid" | "iframe" | "image" | "link" | "action" | "footer" | "carousel" | "artifact" | "form" | "modal" | "action-group" | "image-gallery" | "video";
1978
+ name: string;
1979
+ id: string;
1980
+ schema: {
1981
+ type: "object";
1982
+ properties: Record<string, unknown>;
1983
+ required?: string[] | undefined;
1984
+ additionalProperties?: boolean | undefined;
1985
+ };
1986
+ examples: {
1987
+ params: Record<string, unknown>;
1988
+ name: string;
1989
+ position?: {
1990
+ colStart: number;
1991
+ colSpan: number;
1992
+ rowStart?: number | undefined;
1993
+ rowSpan?: number | undefined;
1994
+ } | undefined;
1995
+ description?: string | undefined;
1996
+ }[];
1997
+ tags?: string[] | undefined;
1998
+ description?: string | undefined;
1999
+ security?: {
2000
+ requiresAuth?: boolean | undefined;
2001
+ allowedDomains?: string[] | undefined;
2002
+ maxIframeDepth?: number | undefined;
2003
+ sandboxFlags?: ("allow-scripts" | "allow-same-origin" | "allow-forms" | "allow-popups" | "allow-modals")[] | undefined;
2004
+ } | undefined;
2005
+ performance?: {
2006
+ maxRenderTime?: number | undefined;
2007
+ maxDataSize?: number | undefined;
2008
+ } | undefined;
2009
+ version?: string | undefined;
2010
+ deprecated?: boolean | undefined;
2011
+ deprecationMessage?: string | undefined;
2012
+ }, {
2013
+ type: "code" | "map" | "chart" | "table" | "metric" | "text" | "composite" | "grid" | "iframe" | "image" | "link" | "action" | "footer" | "carousel" | "artifact" | "form" | "modal" | "action-group" | "image-gallery" | "video";
2014
+ name: string;
2015
+ id: string;
2016
+ schema: {
2017
+ type: "object";
2018
+ properties: Record<string, unknown>;
2019
+ required?: string[] | undefined;
2020
+ additionalProperties?: boolean | undefined;
2021
+ };
2022
+ examples: {
2023
+ params: Record<string, unknown>;
2024
+ name: string;
2025
+ position?: {
2026
+ colStart: number;
2027
+ colSpan: number;
2028
+ rowStart?: number | undefined;
2029
+ rowSpan?: number | undefined;
2030
+ } | undefined;
2031
+ description?: string | undefined;
2032
+ }[];
2033
+ tags?: string[] | undefined;
2034
+ description?: string | undefined;
2035
+ security?: {
2036
+ requiresAuth?: boolean | undefined;
2037
+ allowedDomains?: string[] | undefined;
2038
+ maxIframeDepth?: number | undefined;
2039
+ sandboxFlags?: ("allow-scripts" | "allow-same-origin" | "allow-forms" | "allow-popups" | "allow-modals")[] | undefined;
2040
+ } | undefined;
2041
+ performance?: {
2042
+ maxRenderTime?: number | undefined;
2043
+ maxDataSize?: number | undefined;
2044
+ } | undefined;
2045
+ version?: string | undefined;
2046
+ deprecated?: boolean | undefined;
2047
+ deprecationMessage?: string | undefined;
2048
+ }>, "many">;
2049
+ }, "strip", z.ZodTypeAny, {
2050
+ version: "1.0.0";
2051
+ components: {
2052
+ type: "code" | "map" | "chart" | "table" | "metric" | "text" | "composite" | "grid" | "iframe" | "image" | "link" | "action" | "footer" | "carousel" | "artifact" | "form" | "modal" | "action-group" | "image-gallery" | "video";
2053
+ name: string;
2054
+ id: string;
2055
+ schema: {
2056
+ type: "object";
2057
+ properties: Record<string, unknown>;
2058
+ required?: string[] | undefined;
2059
+ additionalProperties?: boolean | undefined;
2060
+ };
2061
+ examples: {
2062
+ params: Record<string, unknown>;
2063
+ name: string;
2064
+ position?: {
2065
+ colStart: number;
2066
+ colSpan: number;
2067
+ rowStart?: number | undefined;
2068
+ rowSpan?: number | undefined;
2069
+ } | undefined;
2070
+ description?: string | undefined;
2071
+ }[];
2072
+ tags?: string[] | undefined;
2073
+ description?: string | undefined;
2074
+ security?: {
2075
+ requiresAuth?: boolean | undefined;
2076
+ allowedDomains?: string[] | undefined;
2077
+ maxIframeDepth?: number | undefined;
2078
+ sandboxFlags?: ("allow-scripts" | "allow-same-origin" | "allow-forms" | "allow-popups" | "allow-modals")[] | undefined;
2079
+ } | undefined;
2080
+ performance?: {
2081
+ maxRenderTime?: number | undefined;
2082
+ maxDataSize?: number | undefined;
2083
+ } | undefined;
2084
+ version?: string | undefined;
2085
+ deprecated?: boolean | undefined;
2086
+ deprecationMessage?: string | undefined;
2087
+ }[];
2088
+ metadata?: {
2089
+ name?: string | undefined;
2090
+ description?: string | undefined;
2091
+ author?: string | undefined;
2092
+ repository?: string | undefined;
2093
+ } | undefined;
2094
+ }, {
2095
+ version: "1.0.0";
2096
+ components: {
2097
+ type: "code" | "map" | "chart" | "table" | "metric" | "text" | "composite" | "grid" | "iframe" | "image" | "link" | "action" | "footer" | "carousel" | "artifact" | "form" | "modal" | "action-group" | "image-gallery" | "video";
2098
+ name: string;
2099
+ id: string;
2100
+ schema: {
2101
+ type: "object";
2102
+ properties: Record<string, unknown>;
2103
+ required?: string[] | undefined;
2104
+ additionalProperties?: boolean | undefined;
2105
+ };
2106
+ examples: {
2107
+ params: Record<string, unknown>;
2108
+ name: string;
2109
+ position?: {
2110
+ colStart: number;
2111
+ colSpan: number;
2112
+ rowStart?: number | undefined;
2113
+ rowSpan?: number | undefined;
2114
+ } | undefined;
2115
+ description?: string | undefined;
2116
+ }[];
2117
+ tags?: string[] | undefined;
2118
+ description?: string | undefined;
2119
+ security?: {
2120
+ requiresAuth?: boolean | undefined;
2121
+ allowedDomains?: string[] | undefined;
2122
+ maxIframeDepth?: number | undefined;
2123
+ sandboxFlags?: ("allow-scripts" | "allow-same-origin" | "allow-forms" | "allow-popups" | "allow-modals")[] | undefined;
2124
+ } | undefined;
2125
+ performance?: {
2126
+ maxRenderTime?: number | undefined;
2127
+ maxDataSize?: number | undefined;
2128
+ } | undefined;
2129
+ version?: string | undefined;
2130
+ deprecated?: boolean | undefined;
2131
+ deprecationMessage?: string | undefined;
2132
+ }[];
2133
+ metadata?: {
2134
+ name?: string | undefined;
2135
+ description?: string | undefined;
2136
+ author?: string | undefined;
2137
+ repository?: string | undefined;
2138
+ } | undefined;
65
2139
  }>;
66
-
67
2140
  export type ComponentRegistry = z.infer<typeof ComponentRegistrySchema>;
68
2141
  export type Component = z.infer<typeof ComponentSchema>;
69
2142
  export type ComponentExample = z.infer<typeof ComponentExampleSchema>;
70
- export type ComponentSchema = z.infer<typeof ComponentSchemaSchema>;
71
2143
  export type GridPosition = z.infer<typeof GridPositionSchema>;
72
2144
  export type SecurityConstraints = z.infer<typeof SecurityConstraintsSchema>;
73
2145
  export type PerformanceConstraints = z.infer<typeof PerformanceConstraintsSchema>;
74
2146
  export type ComponentType = z.infer<typeof ComponentTypeSchema>;
75
2147
  export type SandboxFlag = z.infer<typeof SandboxFlagSchema>;
76
- export type RegistryMetadata = z.infer<typeof RegistryMetadataSchema>;
2148
+ export type FormFieldOption = z.infer<typeof FormFieldOptionSchema>;
2149
+ export type FormFieldType = z.infer<typeof FormFieldTypeSchema>;
2150
+ export type FormField = z.infer<typeof FormFieldSchema>;
2151
+ export type FormSubmitAction = z.infer<typeof FormSubmitActionSchema>;
2152
+ export type FormComponentParams = z.infer<typeof FormComponentParamsSchema>;
2153
+ export type PrefillSource = z.infer<typeof PrefillSourceSchema>;
2154
+ export type ShowWhenOperator = z.infer<typeof ShowWhenOperatorSchema>;
2155
+ export type ShowWhenCondition = z.infer<typeof ShowWhenConditionSchema>;
2156
+ export type ModalSize = z.infer<typeof ModalSizeSchema>;
2157
+ export type ModalComponentParams = z.infer<typeof ModalComponentParamsSchema>;
2158
+ export type ActionGroupLayout = z.infer<typeof ActionGroupLayoutSchema>;
2159
+ export type ActionGroupGap = z.infer<typeof ActionGroupGapSchema>;
2160
+ export type ActionParams = z.infer<typeof ActionParamsSchema>;
2161
+ export type ActionGroupParams = z.infer<typeof ActionGroupParamsSchema>;
2162
+ export type GalleryImage = z.infer<typeof GalleryImageSchema>;
2163
+ export type ImageGalleryGap = z.infer<typeof ImageGalleryGapSchema>;
2164
+ export type ImageGalleryAspectRatio = z.infer<typeof ImageGalleryAspectRatioSchema>;
2165
+ export type ImageGalleryParams = z.infer<typeof ImageGalleryParamsSchema>;
2166
+ export type VideoAspectRatio = z.infer<typeof VideoAspectRatioSchema>;
2167
+ export type VideoComponentParams = z.infer<typeof VideoComponentParamsSchema>;
2168
+ export type CodeComponentParams = z.infer<typeof CodeComponentParamsSchema>;
2169
+ export type LatLngObject = z.infer<typeof LatLngObjectSchema>;
2170
+ export type LatLngTuple = z.infer<typeof LatLngTupleSchema>;
2171
+ export type LatLngPoint = z.infer<typeof LatLngPointSchema>;
2172
+ export type MapMarker = z.infer<typeof MapMarkerSchema>;
2173
+ export type MapComponentParams = z.infer<typeof MapComponentParamsSchema>;
2174
+ export type ChartType = z.infer<typeof ChartTypeSchema>;
2175
+ export type ChartDataset = z.infer<typeof ChartDatasetSchema>;
2176
+ export type ChartTimeAxis = z.infer<typeof ChartTimeAxisSchema>;
2177
+ export type ChartComponentParams = z.infer<typeof ChartComponentParamsSchema>;
2178
+ export type TableColumn = z.infer<typeof TableColumnSchema>;
2179
+ export type TablePagination = z.infer<typeof TablePaginationSchema>;
2180
+ export type TableVirtualizeOptions = z.infer<typeof TableVirtualizeOptionsSchema>;
2181
+ export type TableExportable = z.infer<typeof TableExportableSchema>;
2182
+ export type CitationEntry = z.infer<typeof CitationEntrySchema>;
2183
+ export type TableComponentParams = z.infer<typeof TableComponentParamsSchema>;
2184
+ export type MetricTrend = z.infer<typeof MetricTrendSchema>;
2185
+ export type MetricComponentParams = z.infer<typeof MetricComponentParamsSchema>;
2186
+ export type TextComponentParams = z.infer<typeof TextComponentParamsSchema>;
2187
+ export type IframeComponentParams = z.infer<typeof IframeComponentParamsSchema>;
2188
+ export type ImageComponentParams = z.infer<typeof ImageComponentParamsSchema>;
2189
+ export type LinkComponentParams = z.infer<typeof LinkComponentParamsSchema>;
2190
+ export type CarouselComponentParams = z.infer<typeof CarouselComponentParamsSchema>;
2191
+ export type ArtifactComponentParams = z.infer<typeof ArtifactComponentParamsSchema>;