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