@buoy-design/cli 0.3.36 → 0.3.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/dist/commands/check.js.sync-conflict-20260313-114446-6PCZ3ZU.map +1 -0
  2. package/dist/commands/dock.js.sync-conflict-20260313-172700-6PCZ3ZU.map +1 -0
  3. package/dist/commands/show.d.ts.map +1 -1
  4. package/dist/commands/show.js +131 -12
  5. package/dist/commands/show.js.map +1 -1
  6. package/dist/config/loader.d.ts.sync-conflict-20260313-145931-6PCZ3ZU.map +1 -0
  7. package/dist/config/schema.sync-conflict-20260313-173553-6PCZ3ZU.d.ts +1812 -0
  8. package/dist/config/schema.sync-conflict-20260313-173553-6PCZ3ZU.d.ts.map +1 -0
  9. package/dist/config/schema.sync-conflict-20260313-173553-6PCZ3ZU.js +214 -0
  10. package/dist/config/schema.sync-conflict-20260313-173553-6PCZ3ZU.js.map +1 -0
  11. package/dist/detect/frameworks.sync-conflict-20260313-150557-6PCZ3ZU.js +252 -0
  12. package/dist/detect/monorepo-patterns.sync-conflict-20260311-182757-6PCZ3ZU.js +209 -0
  13. package/dist/hooks/index.sync-conflict-20260311-082258-6PCZ3ZU.js +616 -0
  14. package/dist/output/reporters.js.sync-conflict-20260313-164629-6PCZ3ZU.map +1 -0
  15. package/dist/services/drift-analysis.d.ts +2 -0
  16. package/dist/services/drift-analysis.d.ts.map +1 -1
  17. package/dist/services/drift-analysis.js +1 -0
  18. package/dist/services/drift-analysis.js.map +1 -1
  19. package/dist/services/drift-analysis.js.sync-conflict-20260313-152307-6PCZ3ZU.map +1 -0
  20. package/dist/services/remote-check.d.ts +4 -0
  21. package/dist/services/remote-check.d.ts.map +1 -1
  22. package/dist/services/remote-check.js +15 -1
  23. package/dist/services/remote-check.js.map +1 -1
  24. package/dist/services/skill-export.js.sync-conflict-20260313-155735-6PCZ3ZU.map +1 -0
  25. package/dist/services/skill-export.sync-conflict-20260313-161246-6PCZ3ZU.js +737 -0
  26. package/package.json +3 -3
@@ -0,0 +1,1812 @@
1
+ import { z } from 'zod';
2
+ export declare const ComponentSourceConfigSchema: z.ZodObject<{
3
+ enabled: z.ZodDefault<z.ZodBoolean>;
4
+ include: z.ZodArray<z.ZodString, "many">;
5
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
6
+ designSystemPackage: z.ZodOptional<z.ZodString>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ enabled: boolean;
9
+ include: string[];
10
+ exclude: string[];
11
+ designSystemPackage?: string | undefined;
12
+ }, {
13
+ include: string[];
14
+ enabled?: boolean | undefined;
15
+ exclude?: string[] | undefined;
16
+ designSystemPackage?: string | undefined;
17
+ }>;
18
+ export declare const ReactConfigSchema: z.ZodObject<{
19
+ enabled: z.ZodDefault<z.ZodBoolean>;
20
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
21
+ designSystemPackage: z.ZodOptional<z.ZodString>;
22
+ } & {
23
+ include: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
24
+ }, "strip", z.ZodTypeAny, {
25
+ enabled: boolean;
26
+ include: string[];
27
+ exclude: string[];
28
+ designSystemPackage?: string | undefined;
29
+ }, {
30
+ enabled?: boolean | undefined;
31
+ include?: string[] | undefined;
32
+ exclude?: string[] | undefined;
33
+ designSystemPackage?: string | undefined;
34
+ }>;
35
+ export declare const NextJSConfigSchema: z.ZodObject<{
36
+ enabled: z.ZodDefault<z.ZodBoolean>;
37
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
38
+ designSystemPackage: z.ZodOptional<z.ZodString>;
39
+ } & {
40
+ include: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
41
+ appRouter: z.ZodDefault<z.ZodBoolean>;
42
+ cssModules: z.ZodDefault<z.ZodBoolean>;
43
+ validateImage: z.ZodDefault<z.ZodBoolean>;
44
+ }, "strip", z.ZodTypeAny, {
45
+ enabled: boolean;
46
+ include: string[];
47
+ exclude: string[];
48
+ appRouter: boolean;
49
+ cssModules: boolean;
50
+ validateImage: boolean;
51
+ designSystemPackage?: string | undefined;
52
+ }, {
53
+ enabled?: boolean | undefined;
54
+ include?: string[] | undefined;
55
+ exclude?: string[] | undefined;
56
+ designSystemPackage?: string | undefined;
57
+ appRouter?: boolean | undefined;
58
+ cssModules?: boolean | undefined;
59
+ validateImage?: boolean | undefined;
60
+ }>;
61
+ export declare const VueConfigSchema: z.ZodObject<{
62
+ enabled: z.ZodDefault<z.ZodBoolean>;
63
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
64
+ designSystemPackage: z.ZodOptional<z.ZodString>;
65
+ } & {
66
+ include: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
67
+ }, "strip", z.ZodTypeAny, {
68
+ enabled: boolean;
69
+ include: string[];
70
+ exclude: string[];
71
+ designSystemPackage?: string | undefined;
72
+ }, {
73
+ enabled?: boolean | undefined;
74
+ include?: string[] | undefined;
75
+ exclude?: string[] | undefined;
76
+ designSystemPackage?: string | undefined;
77
+ }>;
78
+ export declare const SvelteConfigSchema: z.ZodObject<{
79
+ enabled: z.ZodDefault<z.ZodBoolean>;
80
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
81
+ designSystemPackage: z.ZodOptional<z.ZodString>;
82
+ } & {
83
+ include: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
84
+ }, "strip", z.ZodTypeAny, {
85
+ enabled: boolean;
86
+ include: string[];
87
+ exclude: string[];
88
+ designSystemPackage?: string | undefined;
89
+ }, {
90
+ enabled?: boolean | undefined;
91
+ include?: string[] | undefined;
92
+ exclude?: string[] | undefined;
93
+ designSystemPackage?: string | undefined;
94
+ }>;
95
+ export declare const AngularConfigSchema: z.ZodObject<{
96
+ enabled: z.ZodDefault<z.ZodBoolean>;
97
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
98
+ designSystemPackage: z.ZodOptional<z.ZodString>;
99
+ } & {
100
+ include: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
101
+ }, "strip", z.ZodTypeAny, {
102
+ enabled: boolean;
103
+ include: string[];
104
+ exclude: string[];
105
+ designSystemPackage?: string | undefined;
106
+ }, {
107
+ enabled?: boolean | undefined;
108
+ include?: string[] | undefined;
109
+ exclude?: string[] | undefined;
110
+ designSystemPackage?: string | undefined;
111
+ }>;
112
+ export declare const WebComponentConfigSchema: z.ZodObject<{
113
+ enabled: z.ZodDefault<z.ZodBoolean>;
114
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
115
+ designSystemPackage: z.ZodOptional<z.ZodString>;
116
+ } & {
117
+ include: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
118
+ framework: z.ZodDefault<z.ZodEnum<["lit", "stencil", "auto"]>>;
119
+ }, "strip", z.ZodTypeAny, {
120
+ enabled: boolean;
121
+ include: string[];
122
+ exclude: string[];
123
+ framework: "lit" | "stencil" | "auto";
124
+ designSystemPackage?: string | undefined;
125
+ }, {
126
+ enabled?: boolean | undefined;
127
+ include?: string[] | undefined;
128
+ exclude?: string[] | undefined;
129
+ designSystemPackage?: string | undefined;
130
+ framework?: "lit" | "stencil" | "auto" | undefined;
131
+ }>;
132
+ export declare const TemplateConfigSchema: z.ZodObject<{
133
+ enabled: z.ZodDefault<z.ZodBoolean>;
134
+ include: z.ZodArray<z.ZodString, "many">;
135
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
136
+ type: z.ZodEnum<["blade", "erb", "twig", "php", "html", "njk", "razor", "hbs", "mustache", "ejs", "pug", "liquid", "slim", "haml", "jinja", "django", "thymeleaf", "freemarker", "go-template", "edge", "eta", "heex", "velocity", "xslt", "astro", "solid", "qwik", "marko", "lit", "fast", "angular", "stencil", "alpine", "htmx", "hugo", "jekyll", "eleventy", "shopify", "markdown", "mdx", "asciidoc", "svg", "yaml-template", "json-template"]>;
137
+ }, "strip", z.ZodTypeAny, {
138
+ enabled: boolean;
139
+ include: string[];
140
+ type: "lit" | "stencil" | "blade" | "erb" | "twig" | "php" | "html" | "njk" | "razor" | "hbs" | "mustache" | "ejs" | "pug" | "liquid" | "slim" | "haml" | "jinja" | "django" | "thymeleaf" | "freemarker" | "go-template" | "edge" | "eta" | "heex" | "velocity" | "xslt" | "astro" | "solid" | "qwik" | "marko" | "fast" | "angular" | "alpine" | "htmx" | "hugo" | "jekyll" | "eleventy" | "shopify" | "markdown" | "mdx" | "asciidoc" | "svg" | "yaml-template" | "json-template";
141
+ exclude: string[];
142
+ }, {
143
+ include: string[];
144
+ type: "lit" | "stencil" | "blade" | "erb" | "twig" | "php" | "html" | "njk" | "razor" | "hbs" | "mustache" | "ejs" | "pug" | "liquid" | "slim" | "haml" | "jinja" | "django" | "thymeleaf" | "freemarker" | "go-template" | "edge" | "eta" | "heex" | "velocity" | "xslt" | "astro" | "solid" | "qwik" | "marko" | "fast" | "angular" | "alpine" | "htmx" | "hugo" | "jekyll" | "eleventy" | "shopify" | "markdown" | "mdx" | "asciidoc" | "svg" | "yaml-template" | "json-template";
145
+ enabled?: boolean | undefined;
146
+ exclude?: string[] | undefined;
147
+ }>;
148
+ export declare const FigmaConfigSchema: z.ZodObject<{
149
+ enabled: z.ZodDefault<z.ZodBoolean>;
150
+ accessToken: z.ZodOptional<z.ZodString>;
151
+ fileKeys: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
152
+ componentPageName: z.ZodDefault<z.ZodString>;
153
+ tokenPageName: z.ZodDefault<z.ZodString>;
154
+ }, "strip", z.ZodTypeAny, {
155
+ enabled: boolean;
156
+ fileKeys: string[];
157
+ componentPageName: string;
158
+ tokenPageName: string;
159
+ accessToken?: string | undefined;
160
+ }, {
161
+ enabled?: boolean | undefined;
162
+ accessToken?: string | undefined;
163
+ fileKeys?: string[] | undefined;
164
+ componentPageName?: string | undefined;
165
+ tokenPageName?: string | undefined;
166
+ }>;
167
+ export declare const StorybookConfigSchema: z.ZodObject<{
168
+ enabled: z.ZodDefault<z.ZodBoolean>;
169
+ url: z.ZodOptional<z.ZodString>;
170
+ staticDir: z.ZodOptional<z.ZodString>;
171
+ }, "strip", z.ZodTypeAny, {
172
+ enabled: boolean;
173
+ url?: string | undefined;
174
+ staticDir?: string | undefined;
175
+ }, {
176
+ enabled?: boolean | undefined;
177
+ url?: string | undefined;
178
+ staticDir?: string | undefined;
179
+ }>;
180
+ export declare const TokenConfigSchema: z.ZodObject<{
181
+ enabled: z.ZodDefault<z.ZodBoolean>;
182
+ files: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
183
+ cssVariablePrefix: z.ZodOptional<z.ZodString>;
184
+ /** Glob patterns for canonical (source-of-truth) token files */
185
+ canonical: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
186
+ }, "strip", z.ZodTypeAny, {
187
+ enabled: boolean;
188
+ files: string[];
189
+ canonical: string[];
190
+ cssVariablePrefix?: string | undefined;
191
+ }, {
192
+ enabled?: boolean | undefined;
193
+ files?: string[] | undefined;
194
+ cssVariablePrefix?: string | undefined;
195
+ canonical?: string[] | undefined;
196
+ }>;
197
+ export declare const TailwindConfigSchema: z.ZodObject<{
198
+ enabled: z.ZodDefault<z.ZodBoolean>;
199
+ files: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
200
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
201
+ }, "strip", z.ZodTypeAny, {
202
+ enabled: boolean;
203
+ exclude: string[];
204
+ files: string[];
205
+ }, {
206
+ enabled?: boolean | undefined;
207
+ exclude?: string[] | undefined;
208
+ files?: string[] | undefined;
209
+ }>;
210
+ export declare const SourcesConfigSchema: z.ZodObject<{
211
+ react: z.ZodOptional<z.ZodObject<{
212
+ enabled: z.ZodDefault<z.ZodBoolean>;
213
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
214
+ designSystemPackage: z.ZodOptional<z.ZodString>;
215
+ } & {
216
+ include: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
217
+ }, "strip", z.ZodTypeAny, {
218
+ enabled: boolean;
219
+ include: string[];
220
+ exclude: string[];
221
+ designSystemPackage?: string | undefined;
222
+ }, {
223
+ enabled?: boolean | undefined;
224
+ include?: string[] | undefined;
225
+ exclude?: string[] | undefined;
226
+ designSystemPackage?: string | undefined;
227
+ }>>;
228
+ nextjs: z.ZodOptional<z.ZodObject<{
229
+ enabled: z.ZodDefault<z.ZodBoolean>;
230
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
231
+ designSystemPackage: z.ZodOptional<z.ZodString>;
232
+ } & {
233
+ include: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
234
+ appRouter: z.ZodDefault<z.ZodBoolean>;
235
+ cssModules: z.ZodDefault<z.ZodBoolean>;
236
+ validateImage: z.ZodDefault<z.ZodBoolean>;
237
+ }, "strip", z.ZodTypeAny, {
238
+ enabled: boolean;
239
+ include: string[];
240
+ exclude: string[];
241
+ appRouter: boolean;
242
+ cssModules: boolean;
243
+ validateImage: boolean;
244
+ designSystemPackage?: string | undefined;
245
+ }, {
246
+ enabled?: boolean | undefined;
247
+ include?: string[] | undefined;
248
+ exclude?: string[] | undefined;
249
+ designSystemPackage?: string | undefined;
250
+ appRouter?: boolean | undefined;
251
+ cssModules?: boolean | undefined;
252
+ validateImage?: boolean | undefined;
253
+ }>>;
254
+ vue: z.ZodOptional<z.ZodObject<{
255
+ enabled: z.ZodDefault<z.ZodBoolean>;
256
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
257
+ designSystemPackage: z.ZodOptional<z.ZodString>;
258
+ } & {
259
+ include: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
260
+ }, "strip", z.ZodTypeAny, {
261
+ enabled: boolean;
262
+ include: string[];
263
+ exclude: string[];
264
+ designSystemPackage?: string | undefined;
265
+ }, {
266
+ enabled?: boolean | undefined;
267
+ include?: string[] | undefined;
268
+ exclude?: string[] | undefined;
269
+ designSystemPackage?: string | undefined;
270
+ }>>;
271
+ svelte: z.ZodOptional<z.ZodObject<{
272
+ enabled: z.ZodDefault<z.ZodBoolean>;
273
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
274
+ designSystemPackage: z.ZodOptional<z.ZodString>;
275
+ } & {
276
+ include: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
277
+ }, "strip", z.ZodTypeAny, {
278
+ enabled: boolean;
279
+ include: string[];
280
+ exclude: string[];
281
+ designSystemPackage?: string | undefined;
282
+ }, {
283
+ enabled?: boolean | undefined;
284
+ include?: string[] | undefined;
285
+ exclude?: string[] | undefined;
286
+ designSystemPackage?: string | undefined;
287
+ }>>;
288
+ angular: z.ZodOptional<z.ZodObject<{
289
+ enabled: z.ZodDefault<z.ZodBoolean>;
290
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
291
+ designSystemPackage: z.ZodOptional<z.ZodString>;
292
+ } & {
293
+ include: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
294
+ }, "strip", z.ZodTypeAny, {
295
+ enabled: boolean;
296
+ include: string[];
297
+ exclude: string[];
298
+ designSystemPackage?: string | undefined;
299
+ }, {
300
+ enabled?: boolean | undefined;
301
+ include?: string[] | undefined;
302
+ exclude?: string[] | undefined;
303
+ designSystemPackage?: string | undefined;
304
+ }>>;
305
+ webcomponent: z.ZodOptional<z.ZodObject<{
306
+ enabled: z.ZodDefault<z.ZodBoolean>;
307
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
308
+ designSystemPackage: z.ZodOptional<z.ZodString>;
309
+ } & {
310
+ include: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
311
+ framework: z.ZodDefault<z.ZodEnum<["lit", "stencil", "auto"]>>;
312
+ }, "strip", z.ZodTypeAny, {
313
+ enabled: boolean;
314
+ include: string[];
315
+ exclude: string[];
316
+ framework: "lit" | "stencil" | "auto";
317
+ designSystemPackage?: string | undefined;
318
+ }, {
319
+ enabled?: boolean | undefined;
320
+ include?: string[] | undefined;
321
+ exclude?: string[] | undefined;
322
+ designSystemPackage?: string | undefined;
323
+ framework?: "lit" | "stencil" | "auto" | undefined;
324
+ }>>;
325
+ templates: z.ZodOptional<z.ZodObject<{
326
+ enabled: z.ZodDefault<z.ZodBoolean>;
327
+ include: z.ZodArray<z.ZodString, "many">;
328
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
329
+ type: z.ZodEnum<["blade", "erb", "twig", "php", "html", "njk", "razor", "hbs", "mustache", "ejs", "pug", "liquid", "slim", "haml", "jinja", "django", "thymeleaf", "freemarker", "go-template", "edge", "eta", "heex", "velocity", "xslt", "astro", "solid", "qwik", "marko", "lit", "fast", "angular", "stencil", "alpine", "htmx", "hugo", "jekyll", "eleventy", "shopify", "markdown", "mdx", "asciidoc", "svg", "yaml-template", "json-template"]>;
330
+ }, "strip", z.ZodTypeAny, {
331
+ enabled: boolean;
332
+ include: string[];
333
+ type: "lit" | "stencil" | "blade" | "erb" | "twig" | "php" | "html" | "njk" | "razor" | "hbs" | "mustache" | "ejs" | "pug" | "liquid" | "slim" | "haml" | "jinja" | "django" | "thymeleaf" | "freemarker" | "go-template" | "edge" | "eta" | "heex" | "velocity" | "xslt" | "astro" | "solid" | "qwik" | "marko" | "fast" | "angular" | "alpine" | "htmx" | "hugo" | "jekyll" | "eleventy" | "shopify" | "markdown" | "mdx" | "asciidoc" | "svg" | "yaml-template" | "json-template";
334
+ exclude: string[];
335
+ }, {
336
+ include: string[];
337
+ type: "lit" | "stencil" | "blade" | "erb" | "twig" | "php" | "html" | "njk" | "razor" | "hbs" | "mustache" | "ejs" | "pug" | "liquid" | "slim" | "haml" | "jinja" | "django" | "thymeleaf" | "freemarker" | "go-template" | "edge" | "eta" | "heex" | "velocity" | "xslt" | "astro" | "solid" | "qwik" | "marko" | "fast" | "angular" | "alpine" | "htmx" | "hugo" | "jekyll" | "eleventy" | "shopify" | "markdown" | "mdx" | "asciidoc" | "svg" | "yaml-template" | "json-template";
338
+ enabled?: boolean | undefined;
339
+ exclude?: string[] | undefined;
340
+ }>>;
341
+ tailwind: z.ZodOptional<z.ZodObject<{
342
+ enabled: z.ZodDefault<z.ZodBoolean>;
343
+ files: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
344
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
345
+ }, "strip", z.ZodTypeAny, {
346
+ enabled: boolean;
347
+ exclude: string[];
348
+ files: string[];
349
+ }, {
350
+ enabled?: boolean | undefined;
351
+ exclude?: string[] | undefined;
352
+ files?: string[] | undefined;
353
+ }>>;
354
+ figma: z.ZodOptional<z.ZodObject<{
355
+ enabled: z.ZodDefault<z.ZodBoolean>;
356
+ accessToken: z.ZodOptional<z.ZodString>;
357
+ fileKeys: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
358
+ componentPageName: z.ZodDefault<z.ZodString>;
359
+ tokenPageName: z.ZodDefault<z.ZodString>;
360
+ }, "strip", z.ZodTypeAny, {
361
+ enabled: boolean;
362
+ fileKeys: string[];
363
+ componentPageName: string;
364
+ tokenPageName: string;
365
+ accessToken?: string | undefined;
366
+ }, {
367
+ enabled?: boolean | undefined;
368
+ accessToken?: string | undefined;
369
+ fileKeys?: string[] | undefined;
370
+ componentPageName?: string | undefined;
371
+ tokenPageName?: string | undefined;
372
+ }>>;
373
+ storybook: z.ZodOptional<z.ZodObject<{
374
+ enabled: z.ZodDefault<z.ZodBoolean>;
375
+ url: z.ZodOptional<z.ZodString>;
376
+ staticDir: z.ZodOptional<z.ZodString>;
377
+ }, "strip", z.ZodTypeAny, {
378
+ enabled: boolean;
379
+ url?: string | undefined;
380
+ staticDir?: string | undefined;
381
+ }, {
382
+ enabled?: boolean | undefined;
383
+ url?: string | undefined;
384
+ staticDir?: string | undefined;
385
+ }>>;
386
+ tokens: z.ZodOptional<z.ZodObject<{
387
+ enabled: z.ZodDefault<z.ZodBoolean>;
388
+ files: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
389
+ cssVariablePrefix: z.ZodOptional<z.ZodString>;
390
+ /** Glob patterns for canonical (source-of-truth) token files */
391
+ canonical: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
392
+ }, "strip", z.ZodTypeAny, {
393
+ enabled: boolean;
394
+ files: string[];
395
+ canonical: string[];
396
+ cssVariablePrefix?: string | undefined;
397
+ }, {
398
+ enabled?: boolean | undefined;
399
+ files?: string[] | undefined;
400
+ cssVariablePrefix?: string | undefined;
401
+ canonical?: string[] | undefined;
402
+ }>>;
403
+ }, "strip", z.ZodTypeAny, {
404
+ angular?: {
405
+ enabled: boolean;
406
+ include: string[];
407
+ exclude: string[];
408
+ designSystemPackage?: string | undefined;
409
+ } | undefined;
410
+ react?: {
411
+ enabled: boolean;
412
+ include: string[];
413
+ exclude: string[];
414
+ designSystemPackage?: string | undefined;
415
+ } | undefined;
416
+ nextjs?: {
417
+ enabled: boolean;
418
+ include: string[];
419
+ exclude: string[];
420
+ appRouter: boolean;
421
+ cssModules: boolean;
422
+ validateImage: boolean;
423
+ designSystemPackage?: string | undefined;
424
+ } | undefined;
425
+ vue?: {
426
+ enabled: boolean;
427
+ include: string[];
428
+ exclude: string[];
429
+ designSystemPackage?: string | undefined;
430
+ } | undefined;
431
+ svelte?: {
432
+ enabled: boolean;
433
+ include: string[];
434
+ exclude: string[];
435
+ designSystemPackage?: string | undefined;
436
+ } | undefined;
437
+ webcomponent?: {
438
+ enabled: boolean;
439
+ include: string[];
440
+ exclude: string[];
441
+ framework: "lit" | "stencil" | "auto";
442
+ designSystemPackage?: string | undefined;
443
+ } | undefined;
444
+ templates?: {
445
+ enabled: boolean;
446
+ include: string[];
447
+ type: "lit" | "stencil" | "blade" | "erb" | "twig" | "php" | "html" | "njk" | "razor" | "hbs" | "mustache" | "ejs" | "pug" | "liquid" | "slim" | "haml" | "jinja" | "django" | "thymeleaf" | "freemarker" | "go-template" | "edge" | "eta" | "heex" | "velocity" | "xslt" | "astro" | "solid" | "qwik" | "marko" | "fast" | "angular" | "alpine" | "htmx" | "hugo" | "jekyll" | "eleventy" | "shopify" | "markdown" | "mdx" | "asciidoc" | "svg" | "yaml-template" | "json-template";
448
+ exclude: string[];
449
+ } | undefined;
450
+ tailwind?: {
451
+ enabled: boolean;
452
+ exclude: string[];
453
+ files: string[];
454
+ } | undefined;
455
+ figma?: {
456
+ enabled: boolean;
457
+ fileKeys: string[];
458
+ componentPageName: string;
459
+ tokenPageName: string;
460
+ accessToken?: string | undefined;
461
+ } | undefined;
462
+ storybook?: {
463
+ enabled: boolean;
464
+ url?: string | undefined;
465
+ staticDir?: string | undefined;
466
+ } | undefined;
467
+ tokens?: {
468
+ enabled: boolean;
469
+ files: string[];
470
+ canonical: string[];
471
+ cssVariablePrefix?: string | undefined;
472
+ } | undefined;
473
+ }, {
474
+ angular?: {
475
+ enabled?: boolean | undefined;
476
+ include?: string[] | undefined;
477
+ exclude?: string[] | undefined;
478
+ designSystemPackage?: string | undefined;
479
+ } | undefined;
480
+ react?: {
481
+ enabled?: boolean | undefined;
482
+ include?: string[] | undefined;
483
+ exclude?: string[] | undefined;
484
+ designSystemPackage?: string | undefined;
485
+ } | undefined;
486
+ nextjs?: {
487
+ enabled?: boolean | undefined;
488
+ include?: string[] | undefined;
489
+ exclude?: string[] | undefined;
490
+ designSystemPackage?: string | undefined;
491
+ appRouter?: boolean | undefined;
492
+ cssModules?: boolean | undefined;
493
+ validateImage?: boolean | undefined;
494
+ } | undefined;
495
+ vue?: {
496
+ enabled?: boolean | undefined;
497
+ include?: string[] | undefined;
498
+ exclude?: string[] | undefined;
499
+ designSystemPackage?: string | undefined;
500
+ } | undefined;
501
+ svelte?: {
502
+ enabled?: boolean | undefined;
503
+ include?: string[] | undefined;
504
+ exclude?: string[] | undefined;
505
+ designSystemPackage?: string | undefined;
506
+ } | undefined;
507
+ webcomponent?: {
508
+ enabled?: boolean | undefined;
509
+ include?: string[] | undefined;
510
+ exclude?: string[] | undefined;
511
+ designSystemPackage?: string | undefined;
512
+ framework?: "lit" | "stencil" | "auto" | undefined;
513
+ } | undefined;
514
+ templates?: {
515
+ include: string[];
516
+ type: "lit" | "stencil" | "blade" | "erb" | "twig" | "php" | "html" | "njk" | "razor" | "hbs" | "mustache" | "ejs" | "pug" | "liquid" | "slim" | "haml" | "jinja" | "django" | "thymeleaf" | "freemarker" | "go-template" | "edge" | "eta" | "heex" | "velocity" | "xslt" | "astro" | "solid" | "qwik" | "marko" | "fast" | "angular" | "alpine" | "htmx" | "hugo" | "jekyll" | "eleventy" | "shopify" | "markdown" | "mdx" | "asciidoc" | "svg" | "yaml-template" | "json-template";
517
+ enabled?: boolean | undefined;
518
+ exclude?: string[] | undefined;
519
+ } | undefined;
520
+ tailwind?: {
521
+ enabled?: boolean | undefined;
522
+ exclude?: string[] | undefined;
523
+ files?: string[] | undefined;
524
+ } | undefined;
525
+ figma?: {
526
+ enabled?: boolean | undefined;
527
+ accessToken?: string | undefined;
528
+ fileKeys?: string[] | undefined;
529
+ componentPageName?: string | undefined;
530
+ tokenPageName?: string | undefined;
531
+ } | undefined;
532
+ storybook?: {
533
+ enabled?: boolean | undefined;
534
+ url?: string | undefined;
535
+ staticDir?: string | undefined;
536
+ } | undefined;
537
+ tokens?: {
538
+ enabled?: boolean | undefined;
539
+ files?: string[] | undefined;
540
+ cssVariablePrefix?: string | undefined;
541
+ canonical?: string[] | undefined;
542
+ } | undefined;
543
+ }>;
544
+ export declare const DriftIgnoreSchema: z.ZodObject<{
545
+ reason: z.ZodOptional<z.ZodString>;
546
+ type: z.ZodOptional<z.ZodString>;
547
+ severity: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
548
+ file: z.ZodOptional<z.ZodString>;
549
+ component: z.ZodOptional<z.ZodString>;
550
+ token: z.ZodOptional<z.ZodString>;
551
+ value: z.ZodOptional<z.ZodString>;
552
+ }, "strip", z.ZodTypeAny, {
553
+ value?: string | undefined;
554
+ type?: string | undefined;
555
+ reason?: string | undefined;
556
+ severity?: "info" | "warning" | "critical" | undefined;
557
+ file?: string | undefined;
558
+ component?: string | undefined;
559
+ token?: string | undefined;
560
+ }, {
561
+ value?: string | undefined;
562
+ type?: string | undefined;
563
+ reason?: string | undefined;
564
+ severity?: "info" | "warning" | "critical" | undefined;
565
+ file?: string | undefined;
566
+ component?: string | undefined;
567
+ token?: string | undefined;
568
+ }>;
569
+ export declare const DriftPromoteSchema: z.ZodObject<{
570
+ to: z.ZodEnum<["info", "warning", "critical"]>;
571
+ reason: z.ZodString;
572
+ type: z.ZodOptional<z.ZodString>;
573
+ severity: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
574
+ file: z.ZodOptional<z.ZodString>;
575
+ component: z.ZodOptional<z.ZodString>;
576
+ token: z.ZodOptional<z.ZodString>;
577
+ value: z.ZodOptional<z.ZodString>;
578
+ }, "strip", z.ZodTypeAny, {
579
+ reason: string;
580
+ to: "info" | "warning" | "critical";
581
+ value?: string | undefined;
582
+ type?: string | undefined;
583
+ severity?: "info" | "warning" | "critical" | undefined;
584
+ file?: string | undefined;
585
+ component?: string | undefined;
586
+ token?: string | undefined;
587
+ }, {
588
+ reason: string;
589
+ to: "info" | "warning" | "critical";
590
+ value?: string | undefined;
591
+ type?: string | undefined;
592
+ severity?: "info" | "warning" | "critical" | undefined;
593
+ file?: string | undefined;
594
+ component?: string | undefined;
595
+ token?: string | undefined;
596
+ }>;
597
+ export declare const DriftEnforceSchema: z.ZodObject<{
598
+ type: z.ZodOptional<z.ZodString>;
599
+ file: z.ZodOptional<z.ZodString>;
600
+ component: z.ZodOptional<z.ZodString>;
601
+ token: z.ZodOptional<z.ZodString>;
602
+ value: z.ZodOptional<z.ZodString>;
603
+ reason: z.ZodString;
604
+ }, "strip", z.ZodTypeAny, {
605
+ reason: string;
606
+ value?: string | undefined;
607
+ type?: string | undefined;
608
+ file?: string | undefined;
609
+ component?: string | undefined;
610
+ token?: string | undefined;
611
+ }, {
612
+ reason: string;
613
+ value?: string | undefined;
614
+ type?: string | undefined;
615
+ file?: string | undefined;
616
+ component?: string | undefined;
617
+ token?: string | undefined;
618
+ }>;
619
+ export declare const AggregationConfigSchema: z.ZodObject<{
620
+ /** Strategy order: value, suggestion, path, entity */
621
+ strategies: z.ZodDefault<z.ZodArray<z.ZodEnum<["value", "suggestion", "path", "entity"]>, "many">>;
622
+ /** Minimum signals to form a group */
623
+ minGroupSize: z.ZodDefault<z.ZodNumber>;
624
+ /** Path patterns for path-based grouping (e.g., "src/legacy/**") */
625
+ pathPatterns: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
626
+ }, "strip", z.ZodTypeAny, {
627
+ strategies: ("value" | "path" | "suggestion" | "entity")[];
628
+ minGroupSize: number;
629
+ pathPatterns: string[];
630
+ }, {
631
+ strategies?: ("value" | "path" | "suggestion" | "entity")[] | undefined;
632
+ minGroupSize?: number | undefined;
633
+ pathPatterns?: string[] | undefined;
634
+ }>;
635
+ export declare const DriftTypeConfigSchema: z.ZodObject<{
636
+ enabled: z.ZodDefault<z.ZodBoolean>;
637
+ severity: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
638
+ minOccurrences: z.ZodOptional<z.ZodNumber>;
639
+ matching: z.ZodOptional<z.ZodEnum<["exact", "tight", "loose"]>>;
640
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
641
+ enabled: z.ZodDefault<z.ZodBoolean>;
642
+ severity: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
643
+ minOccurrences: z.ZodOptional<z.ZodNumber>;
644
+ matching: z.ZodOptional<z.ZodEnum<["exact", "tight", "loose"]>>;
645
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
646
+ enabled: z.ZodDefault<z.ZodBoolean>;
647
+ severity: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
648
+ minOccurrences: z.ZodOptional<z.ZodNumber>;
649
+ matching: z.ZodOptional<z.ZodEnum<["exact", "tight", "loose"]>>;
650
+ }, z.ZodTypeAny, "passthrough">>;
651
+ export declare const DriftConfigSchema: z.ZodObject<{
652
+ ignore: z.ZodDefault<z.ZodArray<z.ZodObject<{
653
+ reason: z.ZodOptional<z.ZodString>;
654
+ type: z.ZodOptional<z.ZodString>;
655
+ severity: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
656
+ file: z.ZodOptional<z.ZodString>;
657
+ component: z.ZodOptional<z.ZodString>;
658
+ token: z.ZodOptional<z.ZodString>;
659
+ value: z.ZodOptional<z.ZodString>;
660
+ }, "strip", z.ZodTypeAny, {
661
+ value?: string | undefined;
662
+ type?: string | undefined;
663
+ reason?: string | undefined;
664
+ severity?: "info" | "warning" | "critical" | undefined;
665
+ file?: string | undefined;
666
+ component?: string | undefined;
667
+ token?: string | undefined;
668
+ }, {
669
+ value?: string | undefined;
670
+ type?: string | undefined;
671
+ reason?: string | undefined;
672
+ severity?: "info" | "warning" | "critical" | undefined;
673
+ file?: string | undefined;
674
+ component?: string | undefined;
675
+ token?: string | undefined;
676
+ }>, "many">>;
677
+ promote: z.ZodDefault<z.ZodArray<z.ZodObject<{
678
+ to: z.ZodEnum<["info", "warning", "critical"]>;
679
+ reason: z.ZodString;
680
+ type: z.ZodOptional<z.ZodString>;
681
+ severity: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
682
+ file: z.ZodOptional<z.ZodString>;
683
+ component: z.ZodOptional<z.ZodString>;
684
+ token: z.ZodOptional<z.ZodString>;
685
+ value: z.ZodOptional<z.ZodString>;
686
+ }, "strip", z.ZodTypeAny, {
687
+ reason: string;
688
+ to: "info" | "warning" | "critical";
689
+ value?: string | undefined;
690
+ type?: string | undefined;
691
+ severity?: "info" | "warning" | "critical" | undefined;
692
+ file?: string | undefined;
693
+ component?: string | undefined;
694
+ token?: string | undefined;
695
+ }, {
696
+ reason: string;
697
+ to: "info" | "warning" | "critical";
698
+ value?: string | undefined;
699
+ type?: string | undefined;
700
+ severity?: "info" | "warning" | "critical" | undefined;
701
+ file?: string | undefined;
702
+ component?: string | undefined;
703
+ token?: string | undefined;
704
+ }>, "many">>;
705
+ enforce: z.ZodDefault<z.ZodArray<z.ZodObject<{
706
+ type: z.ZodOptional<z.ZodString>;
707
+ file: z.ZodOptional<z.ZodString>;
708
+ component: z.ZodOptional<z.ZodString>;
709
+ token: z.ZodOptional<z.ZodString>;
710
+ value: z.ZodOptional<z.ZodString>;
711
+ reason: z.ZodString;
712
+ }, "strip", z.ZodTypeAny, {
713
+ reason: string;
714
+ value?: string | undefined;
715
+ type?: string | undefined;
716
+ file?: string | undefined;
717
+ component?: string | undefined;
718
+ token?: string | undefined;
719
+ }, {
720
+ reason: string;
721
+ value?: string | undefined;
722
+ type?: string | undefined;
723
+ file?: string | undefined;
724
+ component?: string | undefined;
725
+ token?: string | undefined;
726
+ }>, "many">>;
727
+ severity: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodEnum<["info", "warning", "critical"]>>>;
728
+ aggregation: z.ZodDefault<z.ZodObject<{
729
+ /** Strategy order: value, suggestion, path, entity */
730
+ strategies: z.ZodDefault<z.ZodArray<z.ZodEnum<["value", "suggestion", "path", "entity"]>, "many">>;
731
+ /** Minimum signals to form a group */
732
+ minGroupSize: z.ZodDefault<z.ZodNumber>;
733
+ /** Path patterns for path-based grouping (e.g., "src/legacy/**") */
734
+ pathPatterns: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
735
+ }, "strip", z.ZodTypeAny, {
736
+ strategies: ("value" | "path" | "suggestion" | "entity")[];
737
+ minGroupSize: number;
738
+ pathPatterns: string[];
739
+ }, {
740
+ strategies?: ("value" | "path" | "suggestion" | "entity")[] | undefined;
741
+ minGroupSize?: number | undefined;
742
+ pathPatterns?: string[] | undefined;
743
+ }>>;
744
+ types: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
745
+ enabled: z.ZodDefault<z.ZodBoolean>;
746
+ severity: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
747
+ minOccurrences: z.ZodOptional<z.ZodNumber>;
748
+ matching: z.ZodOptional<z.ZodEnum<["exact", "tight", "loose"]>>;
749
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
750
+ enabled: z.ZodDefault<z.ZodBoolean>;
751
+ severity: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
752
+ minOccurrences: z.ZodOptional<z.ZodNumber>;
753
+ matching: z.ZodOptional<z.ZodEnum<["exact", "tight", "loose"]>>;
754
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
755
+ enabled: z.ZodDefault<z.ZodBoolean>;
756
+ severity: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
757
+ minOccurrences: z.ZodOptional<z.ZodNumber>;
758
+ matching: z.ZodOptional<z.ZodEnum<["exact", "tight", "loose"]>>;
759
+ }, z.ZodTypeAny, "passthrough">>>>;
760
+ /** Severity threshold for exit code 1 in drift check */
761
+ failOn: z.ZodOptional<z.ZodEnum<["info", "warning", "critical", "none"]>>;
762
+ /** Drift types to exclude from scanning */
763
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
764
+ }, "strip", z.ZodTypeAny, {
765
+ severity: Record<string, "info" | "warning" | "critical">;
766
+ ignore: {
767
+ value?: string | undefined;
768
+ type?: string | undefined;
769
+ reason?: string | undefined;
770
+ severity?: "info" | "warning" | "critical" | undefined;
771
+ file?: string | undefined;
772
+ component?: string | undefined;
773
+ token?: string | undefined;
774
+ }[];
775
+ promote: {
776
+ reason: string;
777
+ to: "info" | "warning" | "critical";
778
+ value?: string | undefined;
779
+ type?: string | undefined;
780
+ severity?: "info" | "warning" | "critical" | undefined;
781
+ file?: string | undefined;
782
+ component?: string | undefined;
783
+ token?: string | undefined;
784
+ }[];
785
+ enforce: {
786
+ reason: string;
787
+ value?: string | undefined;
788
+ type?: string | undefined;
789
+ file?: string | undefined;
790
+ component?: string | undefined;
791
+ token?: string | undefined;
792
+ }[];
793
+ aggregation: {
794
+ strategies: ("value" | "path" | "suggestion" | "entity")[];
795
+ minGroupSize: number;
796
+ pathPatterns: string[];
797
+ };
798
+ types: Record<string, z.objectOutputType<{
799
+ enabled: z.ZodDefault<z.ZodBoolean>;
800
+ severity: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
801
+ minOccurrences: z.ZodOptional<z.ZodNumber>;
802
+ matching: z.ZodOptional<z.ZodEnum<["exact", "tight", "loose"]>>;
803
+ }, z.ZodTypeAny, "passthrough">>;
804
+ exclude?: string[] | undefined;
805
+ failOn?: "info" | "warning" | "critical" | "none" | undefined;
806
+ }, {
807
+ exclude?: string[] | undefined;
808
+ severity?: Record<string, "info" | "warning" | "critical"> | undefined;
809
+ ignore?: {
810
+ value?: string | undefined;
811
+ type?: string | undefined;
812
+ reason?: string | undefined;
813
+ severity?: "info" | "warning" | "critical" | undefined;
814
+ file?: string | undefined;
815
+ component?: string | undefined;
816
+ token?: string | undefined;
817
+ }[] | undefined;
818
+ promote?: {
819
+ reason: string;
820
+ to: "info" | "warning" | "critical";
821
+ value?: string | undefined;
822
+ type?: string | undefined;
823
+ severity?: "info" | "warning" | "critical" | undefined;
824
+ file?: string | undefined;
825
+ component?: string | undefined;
826
+ token?: string | undefined;
827
+ }[] | undefined;
828
+ enforce?: {
829
+ reason: string;
830
+ value?: string | undefined;
831
+ type?: string | undefined;
832
+ file?: string | undefined;
833
+ component?: string | undefined;
834
+ token?: string | undefined;
835
+ }[] | undefined;
836
+ aggregation?: {
837
+ strategies?: ("value" | "path" | "suggestion" | "entity")[] | undefined;
838
+ minGroupSize?: number | undefined;
839
+ pathPatterns?: string[] | undefined;
840
+ } | undefined;
841
+ types?: Record<string, z.objectInputType<{
842
+ enabled: z.ZodDefault<z.ZodBoolean>;
843
+ severity: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
844
+ minOccurrences: z.ZodOptional<z.ZodNumber>;
845
+ matching: z.ZodOptional<z.ZodEnum<["exact", "tight", "loose"]>>;
846
+ }, z.ZodTypeAny, "passthrough">> | undefined;
847
+ failOn?: "info" | "warning" | "critical" | "none" | undefined;
848
+ }>;
849
+ export declare const ClaudeConfigSchema: z.ZodObject<{
850
+ enabled: z.ZodDefault<z.ZodBoolean>;
851
+ model: z.ZodDefault<z.ZodString>;
852
+ autoExplain: z.ZodOptional<z.ZodObject<{
853
+ enabled: z.ZodDefault<z.ZodBoolean>;
854
+ minSeverity: z.ZodDefault<z.ZodEnum<["info", "warning", "critical"]>>;
855
+ }, "strip", z.ZodTypeAny, {
856
+ enabled: boolean;
857
+ minSeverity: "info" | "warning" | "critical";
858
+ }, {
859
+ enabled?: boolean | undefined;
860
+ minSeverity?: "info" | "warning" | "critical" | undefined;
861
+ }>>;
862
+ }, "strip", z.ZodTypeAny, {
863
+ enabled: boolean;
864
+ model: string;
865
+ autoExplain?: {
866
+ enabled: boolean;
867
+ minSeverity: "info" | "warning" | "critical";
868
+ } | undefined;
869
+ }, {
870
+ enabled?: boolean | undefined;
871
+ model?: string | undefined;
872
+ autoExplain?: {
873
+ enabled?: boolean | undefined;
874
+ minSeverity?: "info" | "warning" | "critical" | undefined;
875
+ } | undefined;
876
+ }>;
877
+ export declare const ProjectConfigSchema: z.ZodObject<{
878
+ name: z.ZodString;
879
+ apiEndpoint: z.ZodOptional<z.ZodString>;
880
+ }, "strip", z.ZodTypeAny, {
881
+ name: string;
882
+ apiEndpoint?: string | undefined;
883
+ }, {
884
+ name: string;
885
+ apiEndpoint?: string | undefined;
886
+ }>;
887
+ export declare const OutputConfigSchema: z.ZodObject<{
888
+ format: z.ZodDefault<z.ZodEnum<["table", "json", "markdown"]>>;
889
+ colors: z.ZodDefault<z.ZodBoolean>;
890
+ }, "strip", z.ZodTypeAny, {
891
+ format: "markdown" | "table" | "json";
892
+ colors: boolean;
893
+ }, {
894
+ format?: "markdown" | "table" | "json" | undefined;
895
+ colors?: boolean | undefined;
896
+ }>;
897
+ export declare const HealthConfigSchema: z.ZodObject<{
898
+ /** Minimum health score (0-100) — exit code 1 if below */
899
+ failBelow: z.ZodOptional<z.ZodNumber>;
900
+ }, "strip", z.ZodTypeAny, {
901
+ failBelow?: number | undefined;
902
+ }, {
903
+ failBelow?: number | undefined;
904
+ }>;
905
+ export declare const ExperimentalConfigSchema: z.ZodDefault<z.ZodObject<{
906
+ repeatedPatternDetection: z.ZodOptional<z.ZodBoolean>;
907
+ }, "strip", z.ZodTypeAny, {
908
+ repeatedPatternDetection?: boolean | undefined;
909
+ }, {
910
+ repeatedPatternDetection?: boolean | undefined;
911
+ }>>;
912
+ export declare const BuoyConfigSchema: z.ZodObject<{
913
+ project: z.ZodObject<{
914
+ name: z.ZodString;
915
+ apiEndpoint: z.ZodOptional<z.ZodString>;
916
+ }, "strip", z.ZodTypeAny, {
917
+ name: string;
918
+ apiEndpoint?: string | undefined;
919
+ }, {
920
+ name: string;
921
+ apiEndpoint?: string | undefined;
922
+ }>;
923
+ preset: z.ZodOptional<z.ZodEnum<["strict", "relaxed", "default"]>>;
924
+ sources: z.ZodDefault<z.ZodObject<{
925
+ react: z.ZodOptional<z.ZodObject<{
926
+ enabled: z.ZodDefault<z.ZodBoolean>;
927
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
928
+ designSystemPackage: z.ZodOptional<z.ZodString>;
929
+ } & {
930
+ include: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
931
+ }, "strip", z.ZodTypeAny, {
932
+ enabled: boolean;
933
+ include: string[];
934
+ exclude: string[];
935
+ designSystemPackage?: string | undefined;
936
+ }, {
937
+ enabled?: boolean | undefined;
938
+ include?: string[] | undefined;
939
+ exclude?: string[] | undefined;
940
+ designSystemPackage?: string | undefined;
941
+ }>>;
942
+ nextjs: z.ZodOptional<z.ZodObject<{
943
+ enabled: z.ZodDefault<z.ZodBoolean>;
944
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
945
+ designSystemPackage: z.ZodOptional<z.ZodString>;
946
+ } & {
947
+ include: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
948
+ appRouter: z.ZodDefault<z.ZodBoolean>;
949
+ cssModules: z.ZodDefault<z.ZodBoolean>;
950
+ validateImage: z.ZodDefault<z.ZodBoolean>;
951
+ }, "strip", z.ZodTypeAny, {
952
+ enabled: boolean;
953
+ include: string[];
954
+ exclude: string[];
955
+ appRouter: boolean;
956
+ cssModules: boolean;
957
+ validateImage: boolean;
958
+ designSystemPackage?: string | undefined;
959
+ }, {
960
+ enabled?: boolean | undefined;
961
+ include?: string[] | undefined;
962
+ exclude?: string[] | undefined;
963
+ designSystemPackage?: string | undefined;
964
+ appRouter?: boolean | undefined;
965
+ cssModules?: boolean | undefined;
966
+ validateImage?: boolean | undefined;
967
+ }>>;
968
+ vue: z.ZodOptional<z.ZodObject<{
969
+ enabled: z.ZodDefault<z.ZodBoolean>;
970
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
971
+ designSystemPackage: z.ZodOptional<z.ZodString>;
972
+ } & {
973
+ include: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
974
+ }, "strip", z.ZodTypeAny, {
975
+ enabled: boolean;
976
+ include: string[];
977
+ exclude: string[];
978
+ designSystemPackage?: string | undefined;
979
+ }, {
980
+ enabled?: boolean | undefined;
981
+ include?: string[] | undefined;
982
+ exclude?: string[] | undefined;
983
+ designSystemPackage?: string | undefined;
984
+ }>>;
985
+ svelte: z.ZodOptional<z.ZodObject<{
986
+ enabled: z.ZodDefault<z.ZodBoolean>;
987
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
988
+ designSystemPackage: z.ZodOptional<z.ZodString>;
989
+ } & {
990
+ include: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
991
+ }, "strip", z.ZodTypeAny, {
992
+ enabled: boolean;
993
+ include: string[];
994
+ exclude: string[];
995
+ designSystemPackage?: string | undefined;
996
+ }, {
997
+ enabled?: boolean | undefined;
998
+ include?: string[] | undefined;
999
+ exclude?: string[] | undefined;
1000
+ designSystemPackage?: string | undefined;
1001
+ }>>;
1002
+ angular: z.ZodOptional<z.ZodObject<{
1003
+ enabled: z.ZodDefault<z.ZodBoolean>;
1004
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1005
+ designSystemPackage: z.ZodOptional<z.ZodString>;
1006
+ } & {
1007
+ include: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1008
+ }, "strip", z.ZodTypeAny, {
1009
+ enabled: boolean;
1010
+ include: string[];
1011
+ exclude: string[];
1012
+ designSystemPackage?: string | undefined;
1013
+ }, {
1014
+ enabled?: boolean | undefined;
1015
+ include?: string[] | undefined;
1016
+ exclude?: string[] | undefined;
1017
+ designSystemPackage?: string | undefined;
1018
+ }>>;
1019
+ webcomponent: z.ZodOptional<z.ZodObject<{
1020
+ enabled: z.ZodDefault<z.ZodBoolean>;
1021
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1022
+ designSystemPackage: z.ZodOptional<z.ZodString>;
1023
+ } & {
1024
+ include: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1025
+ framework: z.ZodDefault<z.ZodEnum<["lit", "stencil", "auto"]>>;
1026
+ }, "strip", z.ZodTypeAny, {
1027
+ enabled: boolean;
1028
+ include: string[];
1029
+ exclude: string[];
1030
+ framework: "lit" | "stencil" | "auto";
1031
+ designSystemPackage?: string | undefined;
1032
+ }, {
1033
+ enabled?: boolean | undefined;
1034
+ include?: string[] | undefined;
1035
+ exclude?: string[] | undefined;
1036
+ designSystemPackage?: string | undefined;
1037
+ framework?: "lit" | "stencil" | "auto" | undefined;
1038
+ }>>;
1039
+ templates: z.ZodOptional<z.ZodObject<{
1040
+ enabled: z.ZodDefault<z.ZodBoolean>;
1041
+ include: z.ZodArray<z.ZodString, "many">;
1042
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1043
+ type: z.ZodEnum<["blade", "erb", "twig", "php", "html", "njk", "razor", "hbs", "mustache", "ejs", "pug", "liquid", "slim", "haml", "jinja", "django", "thymeleaf", "freemarker", "go-template", "edge", "eta", "heex", "velocity", "xslt", "astro", "solid", "qwik", "marko", "lit", "fast", "angular", "stencil", "alpine", "htmx", "hugo", "jekyll", "eleventy", "shopify", "markdown", "mdx", "asciidoc", "svg", "yaml-template", "json-template"]>;
1044
+ }, "strip", z.ZodTypeAny, {
1045
+ enabled: boolean;
1046
+ include: string[];
1047
+ type: "lit" | "stencil" | "blade" | "erb" | "twig" | "php" | "html" | "njk" | "razor" | "hbs" | "mustache" | "ejs" | "pug" | "liquid" | "slim" | "haml" | "jinja" | "django" | "thymeleaf" | "freemarker" | "go-template" | "edge" | "eta" | "heex" | "velocity" | "xslt" | "astro" | "solid" | "qwik" | "marko" | "fast" | "angular" | "alpine" | "htmx" | "hugo" | "jekyll" | "eleventy" | "shopify" | "markdown" | "mdx" | "asciidoc" | "svg" | "yaml-template" | "json-template";
1048
+ exclude: string[];
1049
+ }, {
1050
+ include: string[];
1051
+ type: "lit" | "stencil" | "blade" | "erb" | "twig" | "php" | "html" | "njk" | "razor" | "hbs" | "mustache" | "ejs" | "pug" | "liquid" | "slim" | "haml" | "jinja" | "django" | "thymeleaf" | "freemarker" | "go-template" | "edge" | "eta" | "heex" | "velocity" | "xslt" | "astro" | "solid" | "qwik" | "marko" | "fast" | "angular" | "alpine" | "htmx" | "hugo" | "jekyll" | "eleventy" | "shopify" | "markdown" | "mdx" | "asciidoc" | "svg" | "yaml-template" | "json-template";
1052
+ enabled?: boolean | undefined;
1053
+ exclude?: string[] | undefined;
1054
+ }>>;
1055
+ tailwind: z.ZodOptional<z.ZodObject<{
1056
+ enabled: z.ZodDefault<z.ZodBoolean>;
1057
+ files: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1058
+ exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1059
+ }, "strip", z.ZodTypeAny, {
1060
+ enabled: boolean;
1061
+ exclude: string[];
1062
+ files: string[];
1063
+ }, {
1064
+ enabled?: boolean | undefined;
1065
+ exclude?: string[] | undefined;
1066
+ files?: string[] | undefined;
1067
+ }>>;
1068
+ figma: z.ZodOptional<z.ZodObject<{
1069
+ enabled: z.ZodDefault<z.ZodBoolean>;
1070
+ accessToken: z.ZodOptional<z.ZodString>;
1071
+ fileKeys: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1072
+ componentPageName: z.ZodDefault<z.ZodString>;
1073
+ tokenPageName: z.ZodDefault<z.ZodString>;
1074
+ }, "strip", z.ZodTypeAny, {
1075
+ enabled: boolean;
1076
+ fileKeys: string[];
1077
+ componentPageName: string;
1078
+ tokenPageName: string;
1079
+ accessToken?: string | undefined;
1080
+ }, {
1081
+ enabled?: boolean | undefined;
1082
+ accessToken?: string | undefined;
1083
+ fileKeys?: string[] | undefined;
1084
+ componentPageName?: string | undefined;
1085
+ tokenPageName?: string | undefined;
1086
+ }>>;
1087
+ storybook: z.ZodOptional<z.ZodObject<{
1088
+ enabled: z.ZodDefault<z.ZodBoolean>;
1089
+ url: z.ZodOptional<z.ZodString>;
1090
+ staticDir: z.ZodOptional<z.ZodString>;
1091
+ }, "strip", z.ZodTypeAny, {
1092
+ enabled: boolean;
1093
+ url?: string | undefined;
1094
+ staticDir?: string | undefined;
1095
+ }, {
1096
+ enabled?: boolean | undefined;
1097
+ url?: string | undefined;
1098
+ staticDir?: string | undefined;
1099
+ }>>;
1100
+ tokens: z.ZodOptional<z.ZodObject<{
1101
+ enabled: z.ZodDefault<z.ZodBoolean>;
1102
+ files: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1103
+ cssVariablePrefix: z.ZodOptional<z.ZodString>;
1104
+ /** Glob patterns for canonical (source-of-truth) token files */
1105
+ canonical: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1106
+ }, "strip", z.ZodTypeAny, {
1107
+ enabled: boolean;
1108
+ files: string[];
1109
+ canonical: string[];
1110
+ cssVariablePrefix?: string | undefined;
1111
+ }, {
1112
+ enabled?: boolean | undefined;
1113
+ files?: string[] | undefined;
1114
+ cssVariablePrefix?: string | undefined;
1115
+ canonical?: string[] | undefined;
1116
+ }>>;
1117
+ }, "strip", z.ZodTypeAny, {
1118
+ angular?: {
1119
+ enabled: boolean;
1120
+ include: string[];
1121
+ exclude: string[];
1122
+ designSystemPackage?: string | undefined;
1123
+ } | undefined;
1124
+ react?: {
1125
+ enabled: boolean;
1126
+ include: string[];
1127
+ exclude: string[];
1128
+ designSystemPackage?: string | undefined;
1129
+ } | undefined;
1130
+ nextjs?: {
1131
+ enabled: boolean;
1132
+ include: string[];
1133
+ exclude: string[];
1134
+ appRouter: boolean;
1135
+ cssModules: boolean;
1136
+ validateImage: boolean;
1137
+ designSystemPackage?: string | undefined;
1138
+ } | undefined;
1139
+ vue?: {
1140
+ enabled: boolean;
1141
+ include: string[];
1142
+ exclude: string[];
1143
+ designSystemPackage?: string | undefined;
1144
+ } | undefined;
1145
+ svelte?: {
1146
+ enabled: boolean;
1147
+ include: string[];
1148
+ exclude: string[];
1149
+ designSystemPackage?: string | undefined;
1150
+ } | undefined;
1151
+ webcomponent?: {
1152
+ enabled: boolean;
1153
+ include: string[];
1154
+ exclude: string[];
1155
+ framework: "lit" | "stencil" | "auto";
1156
+ designSystemPackage?: string | undefined;
1157
+ } | undefined;
1158
+ templates?: {
1159
+ enabled: boolean;
1160
+ include: string[];
1161
+ type: "lit" | "stencil" | "blade" | "erb" | "twig" | "php" | "html" | "njk" | "razor" | "hbs" | "mustache" | "ejs" | "pug" | "liquid" | "slim" | "haml" | "jinja" | "django" | "thymeleaf" | "freemarker" | "go-template" | "edge" | "eta" | "heex" | "velocity" | "xslt" | "astro" | "solid" | "qwik" | "marko" | "fast" | "angular" | "alpine" | "htmx" | "hugo" | "jekyll" | "eleventy" | "shopify" | "markdown" | "mdx" | "asciidoc" | "svg" | "yaml-template" | "json-template";
1162
+ exclude: string[];
1163
+ } | undefined;
1164
+ tailwind?: {
1165
+ enabled: boolean;
1166
+ exclude: string[];
1167
+ files: string[];
1168
+ } | undefined;
1169
+ figma?: {
1170
+ enabled: boolean;
1171
+ fileKeys: string[];
1172
+ componentPageName: string;
1173
+ tokenPageName: string;
1174
+ accessToken?: string | undefined;
1175
+ } | undefined;
1176
+ storybook?: {
1177
+ enabled: boolean;
1178
+ url?: string | undefined;
1179
+ staticDir?: string | undefined;
1180
+ } | undefined;
1181
+ tokens?: {
1182
+ enabled: boolean;
1183
+ files: string[];
1184
+ canonical: string[];
1185
+ cssVariablePrefix?: string | undefined;
1186
+ } | undefined;
1187
+ }, {
1188
+ angular?: {
1189
+ enabled?: boolean | undefined;
1190
+ include?: string[] | undefined;
1191
+ exclude?: string[] | undefined;
1192
+ designSystemPackage?: string | undefined;
1193
+ } | undefined;
1194
+ react?: {
1195
+ enabled?: boolean | undefined;
1196
+ include?: string[] | undefined;
1197
+ exclude?: string[] | undefined;
1198
+ designSystemPackage?: string | undefined;
1199
+ } | undefined;
1200
+ nextjs?: {
1201
+ enabled?: boolean | undefined;
1202
+ include?: string[] | undefined;
1203
+ exclude?: string[] | undefined;
1204
+ designSystemPackage?: string | undefined;
1205
+ appRouter?: boolean | undefined;
1206
+ cssModules?: boolean | undefined;
1207
+ validateImage?: boolean | undefined;
1208
+ } | undefined;
1209
+ vue?: {
1210
+ enabled?: boolean | undefined;
1211
+ include?: string[] | undefined;
1212
+ exclude?: string[] | undefined;
1213
+ designSystemPackage?: string | undefined;
1214
+ } | undefined;
1215
+ svelte?: {
1216
+ enabled?: boolean | undefined;
1217
+ include?: string[] | undefined;
1218
+ exclude?: string[] | undefined;
1219
+ designSystemPackage?: string | undefined;
1220
+ } | undefined;
1221
+ webcomponent?: {
1222
+ enabled?: boolean | undefined;
1223
+ include?: string[] | undefined;
1224
+ exclude?: string[] | undefined;
1225
+ designSystemPackage?: string | undefined;
1226
+ framework?: "lit" | "stencil" | "auto" | undefined;
1227
+ } | undefined;
1228
+ templates?: {
1229
+ include: string[];
1230
+ type: "lit" | "stencil" | "blade" | "erb" | "twig" | "php" | "html" | "njk" | "razor" | "hbs" | "mustache" | "ejs" | "pug" | "liquid" | "slim" | "haml" | "jinja" | "django" | "thymeleaf" | "freemarker" | "go-template" | "edge" | "eta" | "heex" | "velocity" | "xslt" | "astro" | "solid" | "qwik" | "marko" | "fast" | "angular" | "alpine" | "htmx" | "hugo" | "jekyll" | "eleventy" | "shopify" | "markdown" | "mdx" | "asciidoc" | "svg" | "yaml-template" | "json-template";
1231
+ enabled?: boolean | undefined;
1232
+ exclude?: string[] | undefined;
1233
+ } | undefined;
1234
+ tailwind?: {
1235
+ enabled?: boolean | undefined;
1236
+ exclude?: string[] | undefined;
1237
+ files?: string[] | undefined;
1238
+ } | undefined;
1239
+ figma?: {
1240
+ enabled?: boolean | undefined;
1241
+ accessToken?: string | undefined;
1242
+ fileKeys?: string[] | undefined;
1243
+ componentPageName?: string | undefined;
1244
+ tokenPageName?: string | undefined;
1245
+ } | undefined;
1246
+ storybook?: {
1247
+ enabled?: boolean | undefined;
1248
+ url?: string | undefined;
1249
+ staticDir?: string | undefined;
1250
+ } | undefined;
1251
+ tokens?: {
1252
+ enabled?: boolean | undefined;
1253
+ files?: string[] | undefined;
1254
+ cssVariablePrefix?: string | undefined;
1255
+ canonical?: string[] | undefined;
1256
+ } | undefined;
1257
+ }>>;
1258
+ drift: z.ZodDefault<z.ZodObject<{
1259
+ ignore: z.ZodDefault<z.ZodArray<z.ZodObject<{
1260
+ reason: z.ZodOptional<z.ZodString>;
1261
+ type: z.ZodOptional<z.ZodString>;
1262
+ severity: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
1263
+ file: z.ZodOptional<z.ZodString>;
1264
+ component: z.ZodOptional<z.ZodString>;
1265
+ token: z.ZodOptional<z.ZodString>;
1266
+ value: z.ZodOptional<z.ZodString>;
1267
+ }, "strip", z.ZodTypeAny, {
1268
+ value?: string | undefined;
1269
+ type?: string | undefined;
1270
+ reason?: string | undefined;
1271
+ severity?: "info" | "warning" | "critical" | undefined;
1272
+ file?: string | undefined;
1273
+ component?: string | undefined;
1274
+ token?: string | undefined;
1275
+ }, {
1276
+ value?: string | undefined;
1277
+ type?: string | undefined;
1278
+ reason?: string | undefined;
1279
+ severity?: "info" | "warning" | "critical" | undefined;
1280
+ file?: string | undefined;
1281
+ component?: string | undefined;
1282
+ token?: string | undefined;
1283
+ }>, "many">>;
1284
+ promote: z.ZodDefault<z.ZodArray<z.ZodObject<{
1285
+ to: z.ZodEnum<["info", "warning", "critical"]>;
1286
+ reason: z.ZodString;
1287
+ type: z.ZodOptional<z.ZodString>;
1288
+ severity: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
1289
+ file: z.ZodOptional<z.ZodString>;
1290
+ component: z.ZodOptional<z.ZodString>;
1291
+ token: z.ZodOptional<z.ZodString>;
1292
+ value: z.ZodOptional<z.ZodString>;
1293
+ }, "strip", z.ZodTypeAny, {
1294
+ reason: string;
1295
+ to: "info" | "warning" | "critical";
1296
+ value?: string | undefined;
1297
+ type?: string | undefined;
1298
+ severity?: "info" | "warning" | "critical" | undefined;
1299
+ file?: string | undefined;
1300
+ component?: string | undefined;
1301
+ token?: string | undefined;
1302
+ }, {
1303
+ reason: string;
1304
+ to: "info" | "warning" | "critical";
1305
+ value?: string | undefined;
1306
+ type?: string | undefined;
1307
+ severity?: "info" | "warning" | "critical" | undefined;
1308
+ file?: string | undefined;
1309
+ component?: string | undefined;
1310
+ token?: string | undefined;
1311
+ }>, "many">>;
1312
+ enforce: z.ZodDefault<z.ZodArray<z.ZodObject<{
1313
+ type: z.ZodOptional<z.ZodString>;
1314
+ file: z.ZodOptional<z.ZodString>;
1315
+ component: z.ZodOptional<z.ZodString>;
1316
+ token: z.ZodOptional<z.ZodString>;
1317
+ value: z.ZodOptional<z.ZodString>;
1318
+ reason: z.ZodString;
1319
+ }, "strip", z.ZodTypeAny, {
1320
+ reason: string;
1321
+ value?: string | undefined;
1322
+ type?: string | undefined;
1323
+ file?: string | undefined;
1324
+ component?: string | undefined;
1325
+ token?: string | undefined;
1326
+ }, {
1327
+ reason: string;
1328
+ value?: string | undefined;
1329
+ type?: string | undefined;
1330
+ file?: string | undefined;
1331
+ component?: string | undefined;
1332
+ token?: string | undefined;
1333
+ }>, "many">>;
1334
+ severity: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodEnum<["info", "warning", "critical"]>>>;
1335
+ aggregation: z.ZodDefault<z.ZodObject<{
1336
+ /** Strategy order: value, suggestion, path, entity */
1337
+ strategies: z.ZodDefault<z.ZodArray<z.ZodEnum<["value", "suggestion", "path", "entity"]>, "many">>;
1338
+ /** Minimum signals to form a group */
1339
+ minGroupSize: z.ZodDefault<z.ZodNumber>;
1340
+ /** Path patterns for path-based grouping (e.g., "src/legacy/**") */
1341
+ pathPatterns: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1342
+ }, "strip", z.ZodTypeAny, {
1343
+ strategies: ("value" | "path" | "suggestion" | "entity")[];
1344
+ minGroupSize: number;
1345
+ pathPatterns: string[];
1346
+ }, {
1347
+ strategies?: ("value" | "path" | "suggestion" | "entity")[] | undefined;
1348
+ minGroupSize?: number | undefined;
1349
+ pathPatterns?: string[] | undefined;
1350
+ }>>;
1351
+ types: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1352
+ enabled: z.ZodDefault<z.ZodBoolean>;
1353
+ severity: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
1354
+ minOccurrences: z.ZodOptional<z.ZodNumber>;
1355
+ matching: z.ZodOptional<z.ZodEnum<["exact", "tight", "loose"]>>;
1356
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1357
+ enabled: z.ZodDefault<z.ZodBoolean>;
1358
+ severity: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
1359
+ minOccurrences: z.ZodOptional<z.ZodNumber>;
1360
+ matching: z.ZodOptional<z.ZodEnum<["exact", "tight", "loose"]>>;
1361
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1362
+ enabled: z.ZodDefault<z.ZodBoolean>;
1363
+ severity: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
1364
+ minOccurrences: z.ZodOptional<z.ZodNumber>;
1365
+ matching: z.ZodOptional<z.ZodEnum<["exact", "tight", "loose"]>>;
1366
+ }, z.ZodTypeAny, "passthrough">>>>;
1367
+ /** Severity threshold for exit code 1 in drift check */
1368
+ failOn: z.ZodOptional<z.ZodEnum<["info", "warning", "critical", "none"]>>;
1369
+ /** Drift types to exclude from scanning */
1370
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1371
+ }, "strip", z.ZodTypeAny, {
1372
+ severity: Record<string, "info" | "warning" | "critical">;
1373
+ ignore: {
1374
+ value?: string | undefined;
1375
+ type?: string | undefined;
1376
+ reason?: string | undefined;
1377
+ severity?: "info" | "warning" | "critical" | undefined;
1378
+ file?: string | undefined;
1379
+ component?: string | undefined;
1380
+ token?: string | undefined;
1381
+ }[];
1382
+ promote: {
1383
+ reason: string;
1384
+ to: "info" | "warning" | "critical";
1385
+ value?: string | undefined;
1386
+ type?: string | undefined;
1387
+ severity?: "info" | "warning" | "critical" | undefined;
1388
+ file?: string | undefined;
1389
+ component?: string | undefined;
1390
+ token?: string | undefined;
1391
+ }[];
1392
+ enforce: {
1393
+ reason: string;
1394
+ value?: string | undefined;
1395
+ type?: string | undefined;
1396
+ file?: string | undefined;
1397
+ component?: string | undefined;
1398
+ token?: string | undefined;
1399
+ }[];
1400
+ aggregation: {
1401
+ strategies: ("value" | "path" | "suggestion" | "entity")[];
1402
+ minGroupSize: number;
1403
+ pathPatterns: string[];
1404
+ };
1405
+ types: Record<string, z.objectOutputType<{
1406
+ enabled: z.ZodDefault<z.ZodBoolean>;
1407
+ severity: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
1408
+ minOccurrences: z.ZodOptional<z.ZodNumber>;
1409
+ matching: z.ZodOptional<z.ZodEnum<["exact", "tight", "loose"]>>;
1410
+ }, z.ZodTypeAny, "passthrough">>;
1411
+ exclude?: string[] | undefined;
1412
+ failOn?: "info" | "warning" | "critical" | "none" | undefined;
1413
+ }, {
1414
+ exclude?: string[] | undefined;
1415
+ severity?: Record<string, "info" | "warning" | "critical"> | undefined;
1416
+ ignore?: {
1417
+ value?: string | undefined;
1418
+ type?: string | undefined;
1419
+ reason?: string | undefined;
1420
+ severity?: "info" | "warning" | "critical" | undefined;
1421
+ file?: string | undefined;
1422
+ component?: string | undefined;
1423
+ token?: string | undefined;
1424
+ }[] | undefined;
1425
+ promote?: {
1426
+ reason: string;
1427
+ to: "info" | "warning" | "critical";
1428
+ value?: string | undefined;
1429
+ type?: string | undefined;
1430
+ severity?: "info" | "warning" | "critical" | undefined;
1431
+ file?: string | undefined;
1432
+ component?: string | undefined;
1433
+ token?: string | undefined;
1434
+ }[] | undefined;
1435
+ enforce?: {
1436
+ reason: string;
1437
+ value?: string | undefined;
1438
+ type?: string | undefined;
1439
+ file?: string | undefined;
1440
+ component?: string | undefined;
1441
+ token?: string | undefined;
1442
+ }[] | undefined;
1443
+ aggregation?: {
1444
+ strategies?: ("value" | "path" | "suggestion" | "entity")[] | undefined;
1445
+ minGroupSize?: number | undefined;
1446
+ pathPatterns?: string[] | undefined;
1447
+ } | undefined;
1448
+ types?: Record<string, z.objectInputType<{
1449
+ enabled: z.ZodDefault<z.ZodBoolean>;
1450
+ severity: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
1451
+ minOccurrences: z.ZodOptional<z.ZodNumber>;
1452
+ matching: z.ZodOptional<z.ZodEnum<["exact", "tight", "loose"]>>;
1453
+ }, z.ZodTypeAny, "passthrough">> | undefined;
1454
+ failOn?: "info" | "warning" | "critical" | "none" | undefined;
1455
+ }>>;
1456
+ health: z.ZodDefault<z.ZodObject<{
1457
+ /** Minimum health score (0-100) — exit code 1 if below */
1458
+ failBelow: z.ZodOptional<z.ZodNumber>;
1459
+ }, "strip", z.ZodTypeAny, {
1460
+ failBelow?: number | undefined;
1461
+ }, {
1462
+ failBelow?: number | undefined;
1463
+ }>>;
1464
+ claude: z.ZodDefault<z.ZodObject<{
1465
+ enabled: z.ZodDefault<z.ZodBoolean>;
1466
+ model: z.ZodDefault<z.ZodString>;
1467
+ autoExplain: z.ZodOptional<z.ZodObject<{
1468
+ enabled: z.ZodDefault<z.ZodBoolean>;
1469
+ minSeverity: z.ZodDefault<z.ZodEnum<["info", "warning", "critical"]>>;
1470
+ }, "strip", z.ZodTypeAny, {
1471
+ enabled: boolean;
1472
+ minSeverity: "info" | "warning" | "critical";
1473
+ }, {
1474
+ enabled?: boolean | undefined;
1475
+ minSeverity?: "info" | "warning" | "critical" | undefined;
1476
+ }>>;
1477
+ }, "strip", z.ZodTypeAny, {
1478
+ enabled: boolean;
1479
+ model: string;
1480
+ autoExplain?: {
1481
+ enabled: boolean;
1482
+ minSeverity: "info" | "warning" | "critical";
1483
+ } | undefined;
1484
+ }, {
1485
+ enabled?: boolean | undefined;
1486
+ model?: string | undefined;
1487
+ autoExplain?: {
1488
+ enabled?: boolean | undefined;
1489
+ minSeverity?: "info" | "warning" | "critical" | undefined;
1490
+ } | undefined;
1491
+ }>>;
1492
+ output: z.ZodDefault<z.ZodObject<{
1493
+ format: z.ZodDefault<z.ZodEnum<["table", "json", "markdown"]>>;
1494
+ colors: z.ZodDefault<z.ZodBoolean>;
1495
+ }, "strip", z.ZodTypeAny, {
1496
+ format: "markdown" | "table" | "json";
1497
+ colors: boolean;
1498
+ }, {
1499
+ format?: "markdown" | "table" | "json" | undefined;
1500
+ colors?: boolean | undefined;
1501
+ }>>;
1502
+ experimental: z.ZodDefault<z.ZodDefault<z.ZodObject<{
1503
+ repeatedPatternDetection: z.ZodOptional<z.ZodBoolean>;
1504
+ }, "strip", z.ZodTypeAny, {
1505
+ repeatedPatternDetection?: boolean | undefined;
1506
+ }, {
1507
+ repeatedPatternDetection?: boolean | undefined;
1508
+ }>>>;
1509
+ }, "strip", z.ZodTypeAny, {
1510
+ project: {
1511
+ name: string;
1512
+ apiEndpoint?: string | undefined;
1513
+ };
1514
+ sources: {
1515
+ angular?: {
1516
+ enabled: boolean;
1517
+ include: string[];
1518
+ exclude: string[];
1519
+ designSystemPackage?: string | undefined;
1520
+ } | undefined;
1521
+ react?: {
1522
+ enabled: boolean;
1523
+ include: string[];
1524
+ exclude: string[];
1525
+ designSystemPackage?: string | undefined;
1526
+ } | undefined;
1527
+ nextjs?: {
1528
+ enabled: boolean;
1529
+ include: string[];
1530
+ exclude: string[];
1531
+ appRouter: boolean;
1532
+ cssModules: boolean;
1533
+ validateImage: boolean;
1534
+ designSystemPackage?: string | undefined;
1535
+ } | undefined;
1536
+ vue?: {
1537
+ enabled: boolean;
1538
+ include: string[];
1539
+ exclude: string[];
1540
+ designSystemPackage?: string | undefined;
1541
+ } | undefined;
1542
+ svelte?: {
1543
+ enabled: boolean;
1544
+ include: string[];
1545
+ exclude: string[];
1546
+ designSystemPackage?: string | undefined;
1547
+ } | undefined;
1548
+ webcomponent?: {
1549
+ enabled: boolean;
1550
+ include: string[];
1551
+ exclude: string[];
1552
+ framework: "lit" | "stencil" | "auto";
1553
+ designSystemPackage?: string | undefined;
1554
+ } | undefined;
1555
+ templates?: {
1556
+ enabled: boolean;
1557
+ include: string[];
1558
+ type: "lit" | "stencil" | "blade" | "erb" | "twig" | "php" | "html" | "njk" | "razor" | "hbs" | "mustache" | "ejs" | "pug" | "liquid" | "slim" | "haml" | "jinja" | "django" | "thymeleaf" | "freemarker" | "go-template" | "edge" | "eta" | "heex" | "velocity" | "xslt" | "astro" | "solid" | "qwik" | "marko" | "fast" | "angular" | "alpine" | "htmx" | "hugo" | "jekyll" | "eleventy" | "shopify" | "markdown" | "mdx" | "asciidoc" | "svg" | "yaml-template" | "json-template";
1559
+ exclude: string[];
1560
+ } | undefined;
1561
+ tailwind?: {
1562
+ enabled: boolean;
1563
+ exclude: string[];
1564
+ files: string[];
1565
+ } | undefined;
1566
+ figma?: {
1567
+ enabled: boolean;
1568
+ fileKeys: string[];
1569
+ componentPageName: string;
1570
+ tokenPageName: string;
1571
+ accessToken?: string | undefined;
1572
+ } | undefined;
1573
+ storybook?: {
1574
+ enabled: boolean;
1575
+ url?: string | undefined;
1576
+ staticDir?: string | undefined;
1577
+ } | undefined;
1578
+ tokens?: {
1579
+ enabled: boolean;
1580
+ files: string[];
1581
+ canonical: string[];
1582
+ cssVariablePrefix?: string | undefined;
1583
+ } | undefined;
1584
+ };
1585
+ drift: {
1586
+ severity: Record<string, "info" | "warning" | "critical">;
1587
+ ignore: {
1588
+ value?: string | undefined;
1589
+ type?: string | undefined;
1590
+ reason?: string | undefined;
1591
+ severity?: "info" | "warning" | "critical" | undefined;
1592
+ file?: string | undefined;
1593
+ component?: string | undefined;
1594
+ token?: string | undefined;
1595
+ }[];
1596
+ promote: {
1597
+ reason: string;
1598
+ to: "info" | "warning" | "critical";
1599
+ value?: string | undefined;
1600
+ type?: string | undefined;
1601
+ severity?: "info" | "warning" | "critical" | undefined;
1602
+ file?: string | undefined;
1603
+ component?: string | undefined;
1604
+ token?: string | undefined;
1605
+ }[];
1606
+ enforce: {
1607
+ reason: string;
1608
+ value?: string | undefined;
1609
+ type?: string | undefined;
1610
+ file?: string | undefined;
1611
+ component?: string | undefined;
1612
+ token?: string | undefined;
1613
+ }[];
1614
+ aggregation: {
1615
+ strategies: ("value" | "path" | "suggestion" | "entity")[];
1616
+ minGroupSize: number;
1617
+ pathPatterns: string[];
1618
+ };
1619
+ types: Record<string, z.objectOutputType<{
1620
+ enabled: z.ZodDefault<z.ZodBoolean>;
1621
+ severity: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
1622
+ minOccurrences: z.ZodOptional<z.ZodNumber>;
1623
+ matching: z.ZodOptional<z.ZodEnum<["exact", "tight", "loose"]>>;
1624
+ }, z.ZodTypeAny, "passthrough">>;
1625
+ exclude?: string[] | undefined;
1626
+ failOn?: "info" | "warning" | "critical" | "none" | undefined;
1627
+ };
1628
+ health: {
1629
+ failBelow?: number | undefined;
1630
+ };
1631
+ claude: {
1632
+ enabled: boolean;
1633
+ model: string;
1634
+ autoExplain?: {
1635
+ enabled: boolean;
1636
+ minSeverity: "info" | "warning" | "critical";
1637
+ } | undefined;
1638
+ };
1639
+ output: {
1640
+ format: "markdown" | "table" | "json";
1641
+ colors: boolean;
1642
+ };
1643
+ experimental: {
1644
+ repeatedPatternDetection?: boolean | undefined;
1645
+ };
1646
+ preset?: "strict" | "relaxed" | "default" | undefined;
1647
+ }, {
1648
+ project: {
1649
+ name: string;
1650
+ apiEndpoint?: string | undefined;
1651
+ };
1652
+ preset?: "strict" | "relaxed" | "default" | undefined;
1653
+ sources?: {
1654
+ angular?: {
1655
+ enabled?: boolean | undefined;
1656
+ include?: string[] | undefined;
1657
+ exclude?: string[] | undefined;
1658
+ designSystemPackage?: string | undefined;
1659
+ } | undefined;
1660
+ react?: {
1661
+ enabled?: boolean | undefined;
1662
+ include?: string[] | undefined;
1663
+ exclude?: string[] | undefined;
1664
+ designSystemPackage?: string | undefined;
1665
+ } | undefined;
1666
+ nextjs?: {
1667
+ enabled?: boolean | undefined;
1668
+ include?: string[] | undefined;
1669
+ exclude?: string[] | undefined;
1670
+ designSystemPackage?: string | undefined;
1671
+ appRouter?: boolean | undefined;
1672
+ cssModules?: boolean | undefined;
1673
+ validateImage?: boolean | undefined;
1674
+ } | undefined;
1675
+ vue?: {
1676
+ enabled?: boolean | undefined;
1677
+ include?: string[] | undefined;
1678
+ exclude?: string[] | undefined;
1679
+ designSystemPackage?: string | undefined;
1680
+ } | undefined;
1681
+ svelte?: {
1682
+ enabled?: boolean | undefined;
1683
+ include?: string[] | undefined;
1684
+ exclude?: string[] | undefined;
1685
+ designSystemPackage?: string | undefined;
1686
+ } | undefined;
1687
+ webcomponent?: {
1688
+ enabled?: boolean | undefined;
1689
+ include?: string[] | undefined;
1690
+ exclude?: string[] | undefined;
1691
+ designSystemPackage?: string | undefined;
1692
+ framework?: "lit" | "stencil" | "auto" | undefined;
1693
+ } | undefined;
1694
+ templates?: {
1695
+ include: string[];
1696
+ type: "lit" | "stencil" | "blade" | "erb" | "twig" | "php" | "html" | "njk" | "razor" | "hbs" | "mustache" | "ejs" | "pug" | "liquid" | "slim" | "haml" | "jinja" | "django" | "thymeleaf" | "freemarker" | "go-template" | "edge" | "eta" | "heex" | "velocity" | "xslt" | "astro" | "solid" | "qwik" | "marko" | "fast" | "angular" | "alpine" | "htmx" | "hugo" | "jekyll" | "eleventy" | "shopify" | "markdown" | "mdx" | "asciidoc" | "svg" | "yaml-template" | "json-template";
1697
+ enabled?: boolean | undefined;
1698
+ exclude?: string[] | undefined;
1699
+ } | undefined;
1700
+ tailwind?: {
1701
+ enabled?: boolean | undefined;
1702
+ exclude?: string[] | undefined;
1703
+ files?: string[] | undefined;
1704
+ } | undefined;
1705
+ figma?: {
1706
+ enabled?: boolean | undefined;
1707
+ accessToken?: string | undefined;
1708
+ fileKeys?: string[] | undefined;
1709
+ componentPageName?: string | undefined;
1710
+ tokenPageName?: string | undefined;
1711
+ } | undefined;
1712
+ storybook?: {
1713
+ enabled?: boolean | undefined;
1714
+ url?: string | undefined;
1715
+ staticDir?: string | undefined;
1716
+ } | undefined;
1717
+ tokens?: {
1718
+ enabled?: boolean | undefined;
1719
+ files?: string[] | undefined;
1720
+ cssVariablePrefix?: string | undefined;
1721
+ canonical?: string[] | undefined;
1722
+ } | undefined;
1723
+ } | undefined;
1724
+ drift?: {
1725
+ exclude?: string[] | undefined;
1726
+ severity?: Record<string, "info" | "warning" | "critical"> | undefined;
1727
+ ignore?: {
1728
+ value?: string | undefined;
1729
+ type?: string | undefined;
1730
+ reason?: string | undefined;
1731
+ severity?: "info" | "warning" | "critical" | undefined;
1732
+ file?: string | undefined;
1733
+ component?: string | undefined;
1734
+ token?: string | undefined;
1735
+ }[] | undefined;
1736
+ promote?: {
1737
+ reason: string;
1738
+ to: "info" | "warning" | "critical";
1739
+ value?: string | undefined;
1740
+ type?: string | undefined;
1741
+ severity?: "info" | "warning" | "critical" | undefined;
1742
+ file?: string | undefined;
1743
+ component?: string | undefined;
1744
+ token?: string | undefined;
1745
+ }[] | undefined;
1746
+ enforce?: {
1747
+ reason: string;
1748
+ value?: string | undefined;
1749
+ type?: string | undefined;
1750
+ file?: string | undefined;
1751
+ component?: string | undefined;
1752
+ token?: string | undefined;
1753
+ }[] | undefined;
1754
+ aggregation?: {
1755
+ strategies?: ("value" | "path" | "suggestion" | "entity")[] | undefined;
1756
+ minGroupSize?: number | undefined;
1757
+ pathPatterns?: string[] | undefined;
1758
+ } | undefined;
1759
+ types?: Record<string, z.objectInputType<{
1760
+ enabled: z.ZodDefault<z.ZodBoolean>;
1761
+ severity: z.ZodOptional<z.ZodEnum<["info", "warning", "critical"]>>;
1762
+ minOccurrences: z.ZodOptional<z.ZodNumber>;
1763
+ matching: z.ZodOptional<z.ZodEnum<["exact", "tight", "loose"]>>;
1764
+ }, z.ZodTypeAny, "passthrough">> | undefined;
1765
+ failOn?: "info" | "warning" | "critical" | "none" | undefined;
1766
+ } | undefined;
1767
+ health?: {
1768
+ failBelow?: number | undefined;
1769
+ } | undefined;
1770
+ claude?: {
1771
+ enabled?: boolean | undefined;
1772
+ model?: string | undefined;
1773
+ autoExplain?: {
1774
+ enabled?: boolean | undefined;
1775
+ minSeverity?: "info" | "warning" | "critical" | undefined;
1776
+ } | undefined;
1777
+ } | undefined;
1778
+ output?: {
1779
+ format?: "markdown" | "table" | "json" | undefined;
1780
+ colors?: boolean | undefined;
1781
+ } | undefined;
1782
+ experimental?: {
1783
+ repeatedPatternDetection?: boolean | undefined;
1784
+ } | undefined;
1785
+ }>;
1786
+ export type ComponentSourceConfig = z.infer<typeof ComponentSourceConfigSchema>;
1787
+ export type ReactConfig = z.infer<typeof ReactConfigSchema>;
1788
+ export type NextJSConfig = z.infer<typeof NextJSConfigSchema>;
1789
+ export type VueConfig = z.infer<typeof VueConfigSchema>;
1790
+ export type SvelteConfig = z.infer<typeof SvelteConfigSchema>;
1791
+ export type AngularConfig = z.infer<typeof AngularConfigSchema>;
1792
+ export type WebComponentConfig = z.infer<typeof WebComponentConfigSchema>;
1793
+ export type TemplateConfig = z.infer<typeof TemplateConfigSchema>;
1794
+ export type FigmaConfig = z.infer<typeof FigmaConfigSchema>;
1795
+ export type StorybookConfig = z.infer<typeof StorybookConfigSchema>;
1796
+ export type TokenConfig = z.infer<typeof TokenConfigSchema>;
1797
+ export type TailwindConfig = z.infer<typeof TailwindConfigSchema>;
1798
+ export type SourcesConfig = z.infer<typeof SourcesConfigSchema>;
1799
+ export type DriftIgnore = z.infer<typeof DriftIgnoreSchema>;
1800
+ export type DriftPromote = z.infer<typeof DriftPromoteSchema>;
1801
+ export type DriftEnforce = z.infer<typeof DriftEnforceSchema>;
1802
+ export type HealthConfig = z.infer<typeof HealthConfigSchema>;
1803
+ export type AggregationConfig = z.infer<typeof AggregationConfigSchema>;
1804
+ export type DriftTypeConfig = z.infer<typeof DriftTypeConfigSchema>;
1805
+ export type DriftConfig = z.infer<typeof DriftConfigSchema>;
1806
+ export type ClaudeConfig = z.infer<typeof ClaudeConfigSchema>;
1807
+ export type ProjectConfig = z.infer<typeof ProjectConfigSchema>;
1808
+ export type OutputConfig = z.infer<typeof OutputConfigSchema>;
1809
+ export type ExperimentalConfig = z.infer<typeof ExperimentalConfigSchema>;
1810
+ export type BuoyConfig = z.infer<typeof BuoyConfigSchema>;
1811
+ export declare function defineConfig(config: BuoyConfig): BuoyConfig;
1812
+ //# sourceMappingURL=schema.sync-conflict-20260313-173553-6PCZ3ZU.d.ts.map