@spectratools/graphic-designer-cli 0.3.2 → 0.4.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.
@@ -172,39 +172,39 @@ declare function drawRainbowRule(ctx: SKRSContext2D, x: number, y: number, width
172
172
  declare function drawVignette(ctx: SKRSContext2D, width: number, height: number, intensity?: number, color?: string): void;
173
173
 
174
174
  declare const themeSchema: z.ZodObject<{
175
- background: z.ZodString;
176
- surface: z.ZodString;
177
- surfaceMuted: z.ZodString;
178
- surfaceElevated: z.ZodString;
179
- text: z.ZodString;
180
- textMuted: z.ZodString;
181
- textInverse: z.ZodString;
182
- primary: z.ZodString;
183
- secondary: z.ZodString;
184
- accent: z.ZodString;
185
- success: z.ZodString;
186
- warning: z.ZodString;
187
- error: z.ZodString;
188
- info: z.ZodString;
189
- border: z.ZodString;
190
- borderMuted: z.ZodString;
175
+ background: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
176
+ surface: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
177
+ surfaceMuted: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
178
+ surfaceElevated: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
179
+ text: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
180
+ textMuted: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
181
+ textInverse: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
182
+ primary: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
183
+ secondary: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
184
+ accent: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
185
+ success: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
186
+ warning: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
187
+ error: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
188
+ info: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
189
+ border: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
190
+ borderMuted: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
191
191
  code: z.ZodObject<{
192
- background: z.ZodString;
193
- text: z.ZodString;
194
- comment: z.ZodString;
195
- keyword: z.ZodString;
196
- string: z.ZodString;
197
- number: z.ZodString;
198
- function: z.ZodString;
199
- variable: z.ZodString;
200
- operator: z.ZodString;
201
- punctuation: z.ZodString;
192
+ background: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
193
+ text: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
194
+ comment: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
195
+ keyword: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
196
+ string: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
197
+ number: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
198
+ function: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
199
+ variable: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
200
+ operator: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
201
+ punctuation: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
202
202
  }, "strict", z.ZodTypeAny, {
203
203
  string: string;
204
204
  number: string;
205
205
  function: string;
206
- text: string;
207
206
  background: string;
207
+ text: string;
208
208
  comment: string;
209
209
  keyword: string;
210
210
  variable: string;
@@ -214,8 +214,8 @@ declare const themeSchema: z.ZodObject<{
214
214
  string: string;
215
215
  number: string;
216
216
  function: string;
217
- text: string;
218
217
  background: string;
218
+ text: string;
219
219
  comment: string;
220
220
  keyword: string;
221
221
  variable: string;
@@ -240,27 +240,27 @@ declare const themeSchema: z.ZodObject<{
240
240
  string: string;
241
241
  number: string;
242
242
  function: string;
243
- text: string;
244
243
  background: string;
244
+ text: string;
245
245
  comment: string;
246
246
  keyword: string;
247
247
  variable: string;
248
248
  operator: string;
249
249
  punctuation: string;
250
250
  };
251
- accent: string;
252
- success: string;
253
- warning: string;
254
- error: string;
255
- text: string;
256
251
  background: string;
257
252
  surface: string;
258
253
  surfaceMuted: string;
259
254
  surfaceElevated: string;
255
+ text: string;
260
256
  textMuted: string;
261
257
  textInverse: string;
262
258
  primary: string;
263
259
  secondary: string;
260
+ accent: string;
261
+ success: string;
262
+ warning: string;
263
+ error: string;
264
264
  info: string;
265
265
  border: string;
266
266
  borderMuted: string;
@@ -274,27 +274,27 @@ declare const themeSchema: z.ZodObject<{
274
274
  string: string;
275
275
  number: string;
276
276
  function: string;
277
- text: string;
278
277
  background: string;
278
+ text: string;
279
279
  comment: string;
280
280
  keyword: string;
281
281
  variable: string;
282
282
  operator: string;
283
283
  punctuation: string;
284
284
  };
285
- accent: string;
286
- success: string;
287
- warning: string;
288
- error: string;
289
- text: string;
290
285
  background: string;
291
286
  surface: string;
292
287
  surfaceMuted: string;
293
288
  surfaceElevated: string;
289
+ text: string;
294
290
  textMuted: string;
295
291
  textInverse: string;
296
292
  primary: string;
297
293
  secondary: string;
294
+ accent: string;
295
+ success: string;
296
+ warning: string;
297
+ error: string;
298
298
  info: string;
299
299
  border: string;
300
300
  borderMuted: string;
@@ -316,7 +316,7 @@ declare function resolveTheme(theme: ThemeInput$1): Theme$1;
316
316
 
317
317
  declare const gradientStopSchema: z.ZodObject<{
318
318
  offset: z.ZodNumber;
319
- color: z.ZodString;
319
+ color: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
320
320
  }, "strict", z.ZodTypeAny, {
321
321
  color: string;
322
322
  offset: number;
@@ -329,7 +329,7 @@ declare const linearGradientSchema: z.ZodObject<{
329
329
  angle: z.ZodDefault<z.ZodNumber>;
330
330
  stops: z.ZodArray<z.ZodObject<{
331
331
  offset: z.ZodNumber;
332
- color: z.ZodString;
332
+ color: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
333
333
  }, "strict", z.ZodTypeAny, {
334
334
  color: string;
335
335
  offset: number;
@@ -356,7 +356,7 @@ declare const radialGradientSchema: z.ZodObject<{
356
356
  type: z.ZodLiteral<"radial">;
357
357
  stops: z.ZodArray<z.ZodObject<{
358
358
  offset: z.ZodNumber;
359
- color: z.ZodString;
359
+ color: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
360
360
  }, "strict", z.ZodTypeAny, {
361
361
  color: string;
362
362
  offset: number;
@@ -382,7 +382,7 @@ declare const gradientSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
382
382
  angle: z.ZodDefault<z.ZodNumber>;
383
383
  stops: z.ZodArray<z.ZodObject<{
384
384
  offset: z.ZodNumber;
385
- color: z.ZodString;
385
+ color: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
386
386
  }, "strict", z.ZodTypeAny, {
387
387
  color: string;
388
388
  offset: number;
@@ -408,7 +408,7 @@ declare const gradientSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
408
408
  type: z.ZodLiteral<"radial">;
409
409
  stops: z.ZodArray<z.ZodObject<{
410
410
  offset: z.ZodNumber;
411
- color: z.ZodString;
411
+ color: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
412
412
  }, "strict", z.ZodTypeAny, {
413
413
  color: string;
414
414
  offset: number;
@@ -436,8 +436,8 @@ declare const drawRectSchema: z.ZodObject<{
436
436
  y: z.ZodNumber;
437
437
  width: z.ZodNumber;
438
438
  height: z.ZodNumber;
439
- fill: z.ZodOptional<z.ZodString>;
440
- stroke: z.ZodOptional<z.ZodString>;
439
+ fill: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
440
+ stroke: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
441
441
  strokeWidth: z.ZodDefault<z.ZodNumber>;
442
442
  radius: z.ZodDefault<z.ZodNumber>;
443
443
  opacity: z.ZodDefault<z.ZodNumber>;
@@ -469,8 +469,8 @@ declare const drawCircleSchema: z.ZodObject<{
469
469
  cx: z.ZodNumber;
470
470
  cy: z.ZodNumber;
471
471
  radius: z.ZodNumber;
472
- fill: z.ZodOptional<z.ZodString>;
473
- stroke: z.ZodOptional<z.ZodString>;
472
+ fill: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
473
+ stroke: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
474
474
  strokeWidth: z.ZodDefault<z.ZodNumber>;
475
475
  opacity: z.ZodDefault<z.ZodNumber>;
476
476
  }, "strict", z.ZodTypeAny, {
@@ -500,7 +500,7 @@ declare const drawTextSchema: z.ZodObject<{
500
500
  fontSize: z.ZodDefault<z.ZodNumber>;
501
501
  fontWeight: z.ZodDefault<z.ZodNumber>;
502
502
  fontFamily: z.ZodDefault<z.ZodEnum<["heading", "body", "mono"]>>;
503
- color: z.ZodDefault<z.ZodString>;
503
+ color: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
504
504
  align: z.ZodDefault<z.ZodEnum<["left", "center", "right"]>>;
505
505
  baseline: z.ZodDefault<z.ZodEnum<["top", "middle", "alphabetic", "bottom"]>>;
506
506
  letterSpacing: z.ZodDefault<z.ZodNumber>;
@@ -510,14 +510,14 @@ declare const drawTextSchema: z.ZodObject<{
510
510
  type: "text";
511
511
  color: string;
512
512
  opacity: number;
513
- fontSize: number;
514
513
  text: string;
515
- align: "left" | "center" | "right";
514
+ fontSize: number;
515
+ align: "center" | "left" | "right";
516
516
  x: number;
517
517
  y: number;
518
518
  fontWeight: number;
519
519
  fontFamily: "body" | "heading" | "mono";
520
- baseline: "middle" | "alphabetic" | "bottom" | "top";
520
+ baseline: "top" | "alphabetic" | "bottom" | "middle";
521
521
  letterSpacing: number;
522
522
  maxWidth?: number | undefined;
523
523
  }, {
@@ -528,10 +528,10 @@ declare const drawTextSchema: z.ZodObject<{
528
528
  color?: string | undefined;
529
529
  opacity?: number | undefined;
530
530
  fontSize?: number | undefined;
531
- align?: "left" | "center" | "right" | undefined;
531
+ align?: "center" | "left" | "right" | undefined;
532
532
  fontWeight?: number | undefined;
533
533
  fontFamily?: "body" | "heading" | "mono" | undefined;
534
- baseline?: "middle" | "alphabetic" | "bottom" | "top" | undefined;
534
+ baseline?: "top" | "alphabetic" | "bottom" | "middle" | undefined;
535
535
  letterSpacing?: number | undefined;
536
536
  maxWidth?: number | undefined;
537
537
  }>;
@@ -541,7 +541,7 @@ declare const drawLineSchema: z.ZodObject<{
541
541
  y1: z.ZodNumber;
542
542
  x2: z.ZodNumber;
543
543
  y2: z.ZodNumber;
544
- color: z.ZodDefault<z.ZodString>;
544
+ color: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
545
545
  width: z.ZodDefault<z.ZodNumber>;
546
546
  dash: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
547
547
  arrow: z.ZodDefault<z.ZodEnum<["none", "end", "start", "both"]>>;
@@ -594,7 +594,7 @@ declare const drawBezierSchema: z.ZodObject<{
594
594
  x: number;
595
595
  y: number;
596
596
  }>, "many">;
597
- color: z.ZodDefault<z.ZodString>;
597
+ color: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
598
598
  width: z.ZodDefault<z.ZodNumber>;
599
599
  dash: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
600
600
  arrow: z.ZodDefault<z.ZodEnum<["none", "end", "start", "both"]>>;
@@ -628,8 +628,8 @@ declare const drawBezierSchema: z.ZodObject<{
628
628
  declare const drawPathSchema: z.ZodObject<{
629
629
  type: z.ZodLiteral<"path">;
630
630
  d: z.ZodString;
631
- fill: z.ZodOptional<z.ZodString>;
632
- stroke: z.ZodOptional<z.ZodString>;
631
+ fill: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
632
+ stroke: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
633
633
  strokeWidth: z.ZodDefault<z.ZodNumber>;
634
634
  opacity: z.ZodDefault<z.ZodNumber>;
635
635
  }, "strict", z.ZodTypeAny, {
@@ -654,8 +654,8 @@ declare const drawBadgeSchema: z.ZodObject<{
654
654
  text: z.ZodString;
655
655
  fontSize: z.ZodDefault<z.ZodNumber>;
656
656
  fontFamily: z.ZodDefault<z.ZodEnum<["heading", "body", "mono"]>>;
657
- color: z.ZodDefault<z.ZodString>;
658
- background: z.ZodDefault<z.ZodString>;
657
+ color: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
658
+ background: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
659
659
  paddingX: z.ZodDefault<z.ZodNumber>;
660
660
  paddingY: z.ZodDefault<z.ZodNumber>;
661
661
  borderRadius: z.ZodDefault<z.ZodNumber>;
@@ -664,12 +664,12 @@ declare const drawBadgeSchema: z.ZodObject<{
664
664
  type: "badge";
665
665
  color: string;
666
666
  opacity: number;
667
- fontSize: number;
667
+ background: string;
668
668
  text: string;
669
+ fontSize: number;
669
670
  borderRadius: number;
670
671
  x: number;
671
672
  y: number;
672
- background: string;
673
673
  fontFamily: "body" | "heading" | "mono";
674
674
  paddingX: number;
675
675
  paddingY: number;
@@ -680,9 +680,9 @@ declare const drawBadgeSchema: z.ZodObject<{
680
680
  y: number;
681
681
  color?: string | undefined;
682
682
  opacity?: number | undefined;
683
+ background?: string | undefined;
683
684
  fontSize?: number | undefined;
684
685
  borderRadius?: number | undefined;
685
- background?: string | undefined;
686
686
  fontFamily?: "body" | "heading" | "mono" | undefined;
687
687
  paddingX?: number | undefined;
688
688
  paddingY?: number | undefined;
@@ -698,7 +698,7 @@ declare const drawGradientRectSchema: z.ZodObject<{
698
698
  angle: z.ZodDefault<z.ZodNumber>;
699
699
  stops: z.ZodArray<z.ZodObject<{
700
700
  offset: z.ZodNumber;
701
- color: z.ZodString;
701
+ color: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
702
702
  }, "strict", z.ZodTypeAny, {
703
703
  color: string;
704
704
  offset: number;
@@ -724,7 +724,7 @@ declare const drawGradientRectSchema: z.ZodObject<{
724
724
  type: z.ZodLiteral<"radial">;
725
725
  stops: z.ZodArray<z.ZodObject<{
726
726
  offset: z.ZodNumber;
727
- color: z.ZodString;
727
+ color: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
728
728
  }, "strict", z.ZodTypeAny, {
729
729
  color: string;
730
730
  offset: number;
@@ -798,8 +798,8 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
798
798
  y: z.ZodNumber;
799
799
  width: z.ZodNumber;
800
800
  height: z.ZodNumber;
801
- fill: z.ZodOptional<z.ZodString>;
802
- stroke: z.ZodOptional<z.ZodString>;
801
+ fill: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
802
+ stroke: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
803
803
  strokeWidth: z.ZodDefault<z.ZodNumber>;
804
804
  radius: z.ZodDefault<z.ZodNumber>;
805
805
  opacity: z.ZodDefault<z.ZodNumber>;
@@ -830,8 +830,8 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
830
830
  cx: z.ZodNumber;
831
831
  cy: z.ZodNumber;
832
832
  radius: z.ZodNumber;
833
- fill: z.ZodOptional<z.ZodString>;
834
- stroke: z.ZodOptional<z.ZodString>;
833
+ fill: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
834
+ stroke: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
835
835
  strokeWidth: z.ZodDefault<z.ZodNumber>;
836
836
  opacity: z.ZodDefault<z.ZodNumber>;
837
837
  }, "strict", z.ZodTypeAny, {
@@ -860,7 +860,7 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
860
860
  fontSize: z.ZodDefault<z.ZodNumber>;
861
861
  fontWeight: z.ZodDefault<z.ZodNumber>;
862
862
  fontFamily: z.ZodDefault<z.ZodEnum<["heading", "body", "mono"]>>;
863
- color: z.ZodDefault<z.ZodString>;
863
+ color: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
864
864
  align: z.ZodDefault<z.ZodEnum<["left", "center", "right"]>>;
865
865
  baseline: z.ZodDefault<z.ZodEnum<["top", "middle", "alphabetic", "bottom"]>>;
866
866
  letterSpacing: z.ZodDefault<z.ZodNumber>;
@@ -870,14 +870,14 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
870
870
  type: "text";
871
871
  color: string;
872
872
  opacity: number;
873
- fontSize: number;
874
873
  text: string;
875
- align: "left" | "center" | "right";
874
+ fontSize: number;
875
+ align: "center" | "left" | "right";
876
876
  x: number;
877
877
  y: number;
878
878
  fontWeight: number;
879
879
  fontFamily: "body" | "heading" | "mono";
880
- baseline: "middle" | "alphabetic" | "bottom" | "top";
880
+ baseline: "top" | "alphabetic" | "bottom" | "middle";
881
881
  letterSpacing: number;
882
882
  maxWidth?: number | undefined;
883
883
  }, {
@@ -888,10 +888,10 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
888
888
  color?: string | undefined;
889
889
  opacity?: number | undefined;
890
890
  fontSize?: number | undefined;
891
- align?: "left" | "center" | "right" | undefined;
891
+ align?: "center" | "left" | "right" | undefined;
892
892
  fontWeight?: number | undefined;
893
893
  fontFamily?: "body" | "heading" | "mono" | undefined;
894
- baseline?: "middle" | "alphabetic" | "bottom" | "top" | undefined;
894
+ baseline?: "top" | "alphabetic" | "bottom" | "middle" | undefined;
895
895
  letterSpacing?: number | undefined;
896
896
  maxWidth?: number | undefined;
897
897
  }>, z.ZodObject<{
@@ -900,7 +900,7 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
900
900
  y1: z.ZodNumber;
901
901
  x2: z.ZodNumber;
902
902
  y2: z.ZodNumber;
903
- color: z.ZodDefault<z.ZodString>;
903
+ color: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
904
904
  width: z.ZodDefault<z.ZodNumber>;
905
905
  dash: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
906
906
  arrow: z.ZodDefault<z.ZodEnum<["none", "end", "start", "both"]>>;
@@ -942,7 +942,7 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
942
942
  x: number;
943
943
  y: number;
944
944
  }>, "many">;
945
- color: z.ZodDefault<z.ZodString>;
945
+ color: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
946
946
  width: z.ZodDefault<z.ZodNumber>;
947
947
  dash: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
948
948
  arrow: z.ZodDefault<z.ZodEnum<["none", "end", "start", "both"]>>;
@@ -975,8 +975,8 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
975
975
  }>, z.ZodObject<{
976
976
  type: z.ZodLiteral<"path">;
977
977
  d: z.ZodString;
978
- fill: z.ZodOptional<z.ZodString>;
979
- stroke: z.ZodOptional<z.ZodString>;
978
+ fill: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
979
+ stroke: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
980
980
  strokeWidth: z.ZodDefault<z.ZodNumber>;
981
981
  opacity: z.ZodDefault<z.ZodNumber>;
982
982
  }, "strict", z.ZodTypeAny, {
@@ -1000,8 +1000,8 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1000
1000
  text: z.ZodString;
1001
1001
  fontSize: z.ZodDefault<z.ZodNumber>;
1002
1002
  fontFamily: z.ZodDefault<z.ZodEnum<["heading", "body", "mono"]>>;
1003
- color: z.ZodDefault<z.ZodString>;
1004
- background: z.ZodDefault<z.ZodString>;
1003
+ color: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1004
+ background: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1005
1005
  paddingX: z.ZodDefault<z.ZodNumber>;
1006
1006
  paddingY: z.ZodDefault<z.ZodNumber>;
1007
1007
  borderRadius: z.ZodDefault<z.ZodNumber>;
@@ -1010,12 +1010,12 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1010
1010
  type: "badge";
1011
1011
  color: string;
1012
1012
  opacity: number;
1013
- fontSize: number;
1013
+ background: string;
1014
1014
  text: string;
1015
+ fontSize: number;
1015
1016
  borderRadius: number;
1016
1017
  x: number;
1017
1018
  y: number;
1018
- background: string;
1019
1019
  fontFamily: "body" | "heading" | "mono";
1020
1020
  paddingX: number;
1021
1021
  paddingY: number;
@@ -1026,9 +1026,9 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1026
1026
  y: number;
1027
1027
  color?: string | undefined;
1028
1028
  opacity?: number | undefined;
1029
+ background?: string | undefined;
1029
1030
  fontSize?: number | undefined;
1030
1031
  borderRadius?: number | undefined;
1031
- background?: string | undefined;
1032
1032
  fontFamily?: "body" | "heading" | "mono" | undefined;
1033
1033
  paddingX?: number | undefined;
1034
1034
  paddingY?: number | undefined;
@@ -1043,7 +1043,7 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1043
1043
  angle: z.ZodDefault<z.ZodNumber>;
1044
1044
  stops: z.ZodArray<z.ZodObject<{
1045
1045
  offset: z.ZodNumber;
1046
- color: z.ZodString;
1046
+ color: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1047
1047
  }, "strict", z.ZodTypeAny, {
1048
1048
  color: string;
1049
1049
  offset: number;
@@ -1069,7 +1069,7 @@ declare const drawCommandSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1069
1069
  type: z.ZodLiteral<"radial">;
1070
1070
  stops: z.ZodArray<z.ZodObject<{
1071
1071
  offset: z.ZodNumber;
1072
- color: z.ZodString;
1072
+ color: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
1073
1073
  }, "strict", z.ZodTypeAny, {
1074
1074
  color: string;
1075
1075
  offset: number;
@@ -1212,7 +1212,7 @@ declare const cardElementSchema: z.ZodObject<{
1212
1212
  type: "card";
1213
1213
  id: string;
1214
1214
  title: string;
1215
- tone: "neutral" | "accent" | "success" | "warning" | "error";
1215
+ tone: "accent" | "success" | "warning" | "error" | "neutral";
1216
1216
  badge?: string | undefined;
1217
1217
  metric?: string | undefined;
1218
1218
  icon?: string | undefined;
@@ -1223,7 +1223,7 @@ declare const cardElementSchema: z.ZodObject<{
1223
1223
  title: string;
1224
1224
  badge?: string | undefined;
1225
1225
  metric?: string | undefined;
1226
- tone?: "neutral" | "accent" | "success" | "warning" | "error" | undefined;
1226
+ tone?: "accent" | "success" | "warning" | "error" | "neutral" | undefined;
1227
1227
  icon?: string | undefined;
1228
1228
  }>;
1229
1229
  declare const flowNodeElementSchema: z.ZodObject<{
@@ -1232,24 +1232,37 @@ declare const flowNodeElementSchema: z.ZodObject<{
1232
1232
  shape: z.ZodEnum<["box", "rounded-box", "diamond", "circle", "pill", "cylinder", "parallelogram"]>;
1233
1233
  label: z.ZodString;
1234
1234
  sublabel: z.ZodOptional<z.ZodString>;
1235
- sublabelColor: z.ZodOptional<z.ZodString>;
1236
- labelColor: z.ZodOptional<z.ZodString>;
1235
+ sublabelColor: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1236
+ sublabel2: z.ZodOptional<z.ZodString>;
1237
+ sublabel2Color: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1238
+ sublabel2FontSize: z.ZodOptional<z.ZodNumber>;
1239
+ labelColor: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1237
1240
  labelFontSize: z.ZodOptional<z.ZodNumber>;
1238
- color: z.ZodOptional<z.ZodString>;
1239
- borderColor: z.ZodOptional<z.ZodString>;
1241
+ color: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1242
+ borderColor: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1240
1243
  borderWidth: z.ZodOptional<z.ZodNumber>;
1241
1244
  cornerRadius: z.ZodOptional<z.ZodNumber>;
1242
1245
  width: z.ZodOptional<z.ZodNumber>;
1243
1246
  height: z.ZodOptional<z.ZodNumber>;
1247
+ fillOpacity: z.ZodDefault<z.ZodNumber>;
1244
1248
  opacity: z.ZodDefault<z.ZodNumber>;
1249
+ badgeText: z.ZodOptional<z.ZodString>;
1250
+ badgeColor: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1251
+ badgeBackground: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1252
+ badgePosition: z.ZodDefault<z.ZodEnum<["top", "inside-top"]>>;
1245
1253
  }, "strict", z.ZodTypeAny, {
1246
1254
  type: "flow-node";
1247
1255
  id: string;
1248
1256
  shape: "box" | "rounded-box" | "diamond" | "circle" | "pill" | "cylinder" | "parallelogram";
1249
1257
  label: string;
1258
+ fillOpacity: number;
1250
1259
  opacity: number;
1260
+ badgePosition: "top" | "inside-top";
1251
1261
  sublabel?: string | undefined;
1252
1262
  sublabelColor?: string | undefined;
1263
+ sublabel2?: string | undefined;
1264
+ sublabel2Color?: string | undefined;
1265
+ sublabel2FontSize?: number | undefined;
1253
1266
  labelColor?: string | undefined;
1254
1267
  labelFontSize?: number | undefined;
1255
1268
  color?: string | undefined;
@@ -1258,6 +1271,9 @@ declare const flowNodeElementSchema: z.ZodObject<{
1258
1271
  cornerRadius?: number | undefined;
1259
1272
  width?: number | undefined;
1260
1273
  height?: number | undefined;
1274
+ badgeText?: string | undefined;
1275
+ badgeColor?: string | undefined;
1276
+ badgeBackground?: string | undefined;
1261
1277
  }, {
1262
1278
  type: "flow-node";
1263
1279
  id: string;
@@ -1265,6 +1281,9 @@ declare const flowNodeElementSchema: z.ZodObject<{
1265
1281
  label: string;
1266
1282
  sublabel?: string | undefined;
1267
1283
  sublabelColor?: string | undefined;
1284
+ sublabel2?: string | undefined;
1285
+ sublabel2Color?: string | undefined;
1286
+ sublabel2FontSize?: number | undefined;
1268
1287
  labelColor?: string | undefined;
1269
1288
  labelFontSize?: number | undefined;
1270
1289
  color?: string | undefined;
@@ -1273,7 +1292,12 @@ declare const flowNodeElementSchema: z.ZodObject<{
1273
1292
  cornerRadius?: number | undefined;
1274
1293
  width?: number | undefined;
1275
1294
  height?: number | undefined;
1295
+ fillOpacity?: number | undefined;
1276
1296
  opacity?: number | undefined;
1297
+ badgeText?: string | undefined;
1298
+ badgeColor?: string | undefined;
1299
+ badgeBackground?: string | undefined;
1300
+ badgePosition?: "top" | "inside-top" | undefined;
1277
1301
  }>;
1278
1302
  declare const connectionElementSchema: z.ZodObject<{
1279
1303
  type: z.ZodLiteral<"connection">;
@@ -1283,7 +1307,7 @@ declare const connectionElementSchema: z.ZodObject<{
1283
1307
  arrow: z.ZodDefault<z.ZodEnum<["end", "start", "both", "none"]>>;
1284
1308
  label: z.ZodOptional<z.ZodString>;
1285
1309
  labelPosition: z.ZodDefault<z.ZodEnum<["start", "middle", "end"]>>;
1286
- color: z.ZodOptional<z.ZodString>;
1310
+ color: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1287
1311
  width: z.ZodOptional<z.ZodNumber>;
1288
1312
  arrowSize: z.ZodOptional<z.ZodNumber>;
1289
1313
  opacity: z.ZodDefault<z.ZodNumber>;
@@ -1521,40 +1545,40 @@ declare const textElementSchema: z.ZodObject<{
1521
1545
  content: z.ZodString;
1522
1546
  style: z.ZodEnum<["heading", "subheading", "body", "caption", "code"]>;
1523
1547
  align: z.ZodDefault<z.ZodEnum<["left", "center", "right"]>>;
1524
- color: z.ZodOptional<z.ZodString>;
1548
+ color: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1525
1549
  }, "strict", z.ZodTypeAny, {
1526
1550
  type: "text";
1527
1551
  id: string;
1528
- style: "body" | "code" | "heading" | "subheading" | "caption";
1552
+ style: "body" | "heading" | "code" | "subheading" | "caption";
1529
1553
  content: string;
1530
- align: "left" | "center" | "right";
1554
+ align: "center" | "left" | "right";
1531
1555
  color?: string | undefined;
1532
1556
  }, {
1533
1557
  type: "text";
1534
1558
  id: string;
1535
- style: "body" | "code" | "heading" | "subheading" | "caption";
1559
+ style: "body" | "heading" | "code" | "subheading" | "caption";
1536
1560
  content: string;
1537
1561
  color?: string | undefined;
1538
- align?: "left" | "center" | "right" | undefined;
1562
+ align?: "center" | "left" | "right" | undefined;
1539
1563
  }>;
1540
1564
  declare const shapeElementSchema: z.ZodObject<{
1541
1565
  type: z.ZodLiteral<"shape">;
1542
1566
  id: z.ZodString;
1543
1567
  shape: z.ZodEnum<["rectangle", "rounded-rectangle", "circle", "ellipse", "line", "arrow"]>;
1544
- fill: z.ZodOptional<z.ZodString>;
1545
- stroke: z.ZodOptional<z.ZodString>;
1568
+ fill: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1569
+ stroke: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1546
1570
  strokeWidth: z.ZodDefault<z.ZodNumber>;
1547
1571
  }, "strict", z.ZodTypeAny, {
1548
1572
  type: "shape";
1549
1573
  id: string;
1550
- shape: "circle" | "arrow" | "rectangle" | "rounded-rectangle" | "ellipse" | "line";
1574
+ shape: "line" | "circle" | "arrow" | "rectangle" | "rounded-rectangle" | "ellipse";
1551
1575
  strokeWidth: number;
1552
1576
  fill?: string | undefined;
1553
1577
  stroke?: string | undefined;
1554
1578
  }, {
1555
1579
  type: "shape";
1556
1580
  id: string;
1557
- shape: "circle" | "arrow" | "rectangle" | "rounded-rectangle" | "ellipse" | "line";
1581
+ shape: "line" | "circle" | "arrow" | "rectangle" | "rounded-rectangle" | "ellipse";
1558
1582
  fill?: string | undefined;
1559
1583
  stroke?: string | undefined;
1560
1584
  strokeWidth?: number | undefined;
@@ -1595,7 +1619,7 @@ declare const elementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1595
1619
  type: "card";
1596
1620
  id: string;
1597
1621
  title: string;
1598
- tone: "neutral" | "accent" | "success" | "warning" | "error";
1622
+ tone: "accent" | "success" | "warning" | "error" | "neutral";
1599
1623
  badge?: string | undefined;
1600
1624
  metric?: string | undefined;
1601
1625
  icon?: string | undefined;
@@ -1606,7 +1630,7 @@ declare const elementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1606
1630
  title: string;
1607
1631
  badge?: string | undefined;
1608
1632
  metric?: string | undefined;
1609
- tone?: "neutral" | "accent" | "success" | "warning" | "error" | undefined;
1633
+ tone?: "accent" | "success" | "warning" | "error" | "neutral" | undefined;
1610
1634
  icon?: string | undefined;
1611
1635
  }>, z.ZodObject<{
1612
1636
  type: z.ZodLiteral<"flow-node">;
@@ -1614,24 +1638,37 @@ declare const elementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1614
1638
  shape: z.ZodEnum<["box", "rounded-box", "diamond", "circle", "pill", "cylinder", "parallelogram"]>;
1615
1639
  label: z.ZodString;
1616
1640
  sublabel: z.ZodOptional<z.ZodString>;
1617
- sublabelColor: z.ZodOptional<z.ZodString>;
1618
- labelColor: z.ZodOptional<z.ZodString>;
1641
+ sublabelColor: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1642
+ sublabel2: z.ZodOptional<z.ZodString>;
1643
+ sublabel2Color: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1644
+ sublabel2FontSize: z.ZodOptional<z.ZodNumber>;
1645
+ labelColor: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1619
1646
  labelFontSize: z.ZodOptional<z.ZodNumber>;
1620
- color: z.ZodOptional<z.ZodString>;
1621
- borderColor: z.ZodOptional<z.ZodString>;
1647
+ color: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1648
+ borderColor: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1622
1649
  borderWidth: z.ZodOptional<z.ZodNumber>;
1623
1650
  cornerRadius: z.ZodOptional<z.ZodNumber>;
1624
1651
  width: z.ZodOptional<z.ZodNumber>;
1625
1652
  height: z.ZodOptional<z.ZodNumber>;
1653
+ fillOpacity: z.ZodDefault<z.ZodNumber>;
1626
1654
  opacity: z.ZodDefault<z.ZodNumber>;
1655
+ badgeText: z.ZodOptional<z.ZodString>;
1656
+ badgeColor: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1657
+ badgeBackground: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1658
+ badgePosition: z.ZodDefault<z.ZodEnum<["top", "inside-top"]>>;
1627
1659
  }, "strict", z.ZodTypeAny, {
1628
1660
  type: "flow-node";
1629
1661
  id: string;
1630
1662
  shape: "box" | "rounded-box" | "diamond" | "circle" | "pill" | "cylinder" | "parallelogram";
1631
1663
  label: string;
1664
+ fillOpacity: number;
1632
1665
  opacity: number;
1666
+ badgePosition: "top" | "inside-top";
1633
1667
  sublabel?: string | undefined;
1634
1668
  sublabelColor?: string | undefined;
1669
+ sublabel2?: string | undefined;
1670
+ sublabel2Color?: string | undefined;
1671
+ sublabel2FontSize?: number | undefined;
1635
1672
  labelColor?: string | undefined;
1636
1673
  labelFontSize?: number | undefined;
1637
1674
  color?: string | undefined;
@@ -1640,6 +1677,9 @@ declare const elementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1640
1677
  cornerRadius?: number | undefined;
1641
1678
  width?: number | undefined;
1642
1679
  height?: number | undefined;
1680
+ badgeText?: string | undefined;
1681
+ badgeColor?: string | undefined;
1682
+ badgeBackground?: string | undefined;
1643
1683
  }, {
1644
1684
  type: "flow-node";
1645
1685
  id: string;
@@ -1647,6 +1687,9 @@ declare const elementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1647
1687
  label: string;
1648
1688
  sublabel?: string | undefined;
1649
1689
  sublabelColor?: string | undefined;
1690
+ sublabel2?: string | undefined;
1691
+ sublabel2Color?: string | undefined;
1692
+ sublabel2FontSize?: number | undefined;
1650
1693
  labelColor?: string | undefined;
1651
1694
  labelFontSize?: number | undefined;
1652
1695
  color?: string | undefined;
@@ -1655,7 +1698,12 @@ declare const elementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1655
1698
  cornerRadius?: number | undefined;
1656
1699
  width?: number | undefined;
1657
1700
  height?: number | undefined;
1701
+ fillOpacity?: number | undefined;
1658
1702
  opacity?: number | undefined;
1703
+ badgeText?: string | undefined;
1704
+ badgeColor?: string | undefined;
1705
+ badgeBackground?: string | undefined;
1706
+ badgePosition?: "top" | "inside-top" | undefined;
1659
1707
  }>, z.ZodObject<{
1660
1708
  type: z.ZodLiteral<"connection">;
1661
1709
  from: z.ZodString;
@@ -1664,7 +1712,7 @@ declare const elementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1664
1712
  arrow: z.ZodDefault<z.ZodEnum<["end", "start", "both", "none"]>>;
1665
1713
  label: z.ZodOptional<z.ZodString>;
1666
1714
  labelPosition: z.ZodDefault<z.ZodEnum<["start", "middle", "end"]>>;
1667
- color: z.ZodOptional<z.ZodString>;
1715
+ color: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1668
1716
  width: z.ZodOptional<z.ZodNumber>;
1669
1717
  arrowSize: z.ZodOptional<z.ZodNumber>;
1670
1718
  opacity: z.ZodDefault<z.ZodNumber>;
@@ -1865,39 +1913,39 @@ declare const elementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1865
1913
  content: z.ZodString;
1866
1914
  style: z.ZodEnum<["heading", "subheading", "body", "caption", "code"]>;
1867
1915
  align: z.ZodDefault<z.ZodEnum<["left", "center", "right"]>>;
1868
- color: z.ZodOptional<z.ZodString>;
1916
+ color: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1869
1917
  }, "strict", z.ZodTypeAny, {
1870
1918
  type: "text";
1871
1919
  id: string;
1872
- style: "body" | "code" | "heading" | "subheading" | "caption";
1920
+ style: "body" | "heading" | "code" | "subheading" | "caption";
1873
1921
  content: string;
1874
- align: "left" | "center" | "right";
1922
+ align: "center" | "left" | "right";
1875
1923
  color?: string | undefined;
1876
1924
  }, {
1877
1925
  type: "text";
1878
1926
  id: string;
1879
- style: "body" | "code" | "heading" | "subheading" | "caption";
1927
+ style: "body" | "heading" | "code" | "subheading" | "caption";
1880
1928
  content: string;
1881
1929
  color?: string | undefined;
1882
- align?: "left" | "center" | "right" | undefined;
1930
+ align?: "center" | "left" | "right" | undefined;
1883
1931
  }>, z.ZodObject<{
1884
1932
  type: z.ZodLiteral<"shape">;
1885
1933
  id: z.ZodString;
1886
1934
  shape: z.ZodEnum<["rectangle", "rounded-rectangle", "circle", "ellipse", "line", "arrow"]>;
1887
- fill: z.ZodOptional<z.ZodString>;
1888
- stroke: z.ZodOptional<z.ZodString>;
1935
+ fill: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1936
+ stroke: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
1889
1937
  strokeWidth: z.ZodDefault<z.ZodNumber>;
1890
1938
  }, "strict", z.ZodTypeAny, {
1891
1939
  type: "shape";
1892
1940
  id: string;
1893
- shape: "circle" | "arrow" | "rectangle" | "rounded-rectangle" | "ellipse" | "line";
1941
+ shape: "line" | "circle" | "arrow" | "rectangle" | "rounded-rectangle" | "ellipse";
1894
1942
  strokeWidth: number;
1895
1943
  fill?: string | undefined;
1896
1944
  stroke?: string | undefined;
1897
1945
  }, {
1898
1946
  type: "shape";
1899
1947
  id: string;
1900
- shape: "circle" | "arrow" | "rectangle" | "rounded-rectangle" | "ellipse" | "line";
1948
+ shape: "line" | "circle" | "arrow" | "rectangle" | "rounded-rectangle" | "ellipse";
1901
1949
  fill?: string | undefined;
1902
1950
  stroke?: string | undefined;
1903
1951
  strokeWidth?: number | undefined;
@@ -1931,6 +1979,14 @@ declare const autoLayoutConfigSchema: z.ZodObject<{
1931
1979
  rankSpacing: z.ZodDefault<z.ZodNumber>;
1932
1980
  edgeRouting: z.ZodDefault<z.ZodEnum<["orthogonal", "polyline", "spline"]>>;
1933
1981
  aspectRatio: z.ZodOptional<z.ZodNumber>;
1982
+ /** ID of the root node for radial layout. Only relevant when algorithm is 'radial'. */
1983
+ radialRoot: z.ZodOptional<z.ZodString>;
1984
+ /** Fixed radius in pixels for radial layout. Only relevant when algorithm is 'radial'. */
1985
+ radialRadius: z.ZodOptional<z.ZodNumber>;
1986
+ /** Compaction strategy for radial layout. Only relevant when algorithm is 'radial'. */
1987
+ radialCompaction: z.ZodOptional<z.ZodEnum<["none", "radial", "wedge"]>>;
1988
+ /** Sort strategy for radial layout node ordering. Only relevant when algorithm is 'radial'. */
1989
+ radialSortBy: z.ZodOptional<z.ZodEnum<["id", "connections"]>>;
1934
1990
  }, "strict", z.ZodTypeAny, {
1935
1991
  mode: "auto";
1936
1992
  direction: "TB" | "BT" | "LR" | "RL";
@@ -1939,6 +1995,10 @@ declare const autoLayoutConfigSchema: z.ZodObject<{
1939
1995
  rankSpacing: number;
1940
1996
  edgeRouting: "orthogonal" | "polyline" | "spline";
1941
1997
  aspectRatio?: number | undefined;
1998
+ radialRoot?: string | undefined;
1999
+ radialRadius?: number | undefined;
2000
+ radialCompaction?: "none" | "radial" | "wedge" | undefined;
2001
+ radialSortBy?: "id" | "connections" | undefined;
1942
2002
  }, {
1943
2003
  mode: "auto";
1944
2004
  direction?: "TB" | "BT" | "LR" | "RL" | undefined;
@@ -1947,6 +2007,10 @@ declare const autoLayoutConfigSchema: z.ZodObject<{
1947
2007
  rankSpacing?: number | undefined;
1948
2008
  edgeRouting?: "orthogonal" | "polyline" | "spline" | undefined;
1949
2009
  aspectRatio?: number | undefined;
2010
+ radialRoot?: string | undefined;
2011
+ radialRadius?: number | undefined;
2012
+ radialCompaction?: "none" | "radial" | "wedge" | undefined;
2013
+ radialSortBy?: "id" | "connections" | undefined;
1950
2014
  }>;
1951
2015
  declare const gridLayoutConfigSchema: z.ZodObject<{
1952
2016
  mode: z.ZodLiteral<"grid">;
@@ -2029,6 +2093,14 @@ declare const layoutConfigSchema: z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
2029
2093
  rankSpacing: z.ZodDefault<z.ZodNumber>;
2030
2094
  edgeRouting: z.ZodDefault<z.ZodEnum<["orthogonal", "polyline", "spline"]>>;
2031
2095
  aspectRatio: z.ZodOptional<z.ZodNumber>;
2096
+ /** ID of the root node for radial layout. Only relevant when algorithm is 'radial'. */
2097
+ radialRoot: z.ZodOptional<z.ZodString>;
2098
+ /** Fixed radius in pixels for radial layout. Only relevant when algorithm is 'radial'. */
2099
+ radialRadius: z.ZodOptional<z.ZodNumber>;
2100
+ /** Compaction strategy for radial layout. Only relevant when algorithm is 'radial'. */
2101
+ radialCompaction: z.ZodOptional<z.ZodEnum<["none", "radial", "wedge"]>>;
2102
+ /** Sort strategy for radial layout node ordering. Only relevant when algorithm is 'radial'. */
2103
+ radialSortBy: z.ZodOptional<z.ZodEnum<["id", "connections"]>>;
2032
2104
  }, "strict", z.ZodTypeAny, {
2033
2105
  mode: "auto";
2034
2106
  direction: "TB" | "BT" | "LR" | "RL";
@@ -2037,6 +2109,10 @@ declare const layoutConfigSchema: z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
2037
2109
  rankSpacing: number;
2038
2110
  edgeRouting: "orthogonal" | "polyline" | "spline";
2039
2111
  aspectRatio?: number | undefined;
2112
+ radialRoot?: string | undefined;
2113
+ radialRadius?: number | undefined;
2114
+ radialCompaction?: "none" | "radial" | "wedge" | undefined;
2115
+ radialSortBy?: "id" | "connections" | undefined;
2040
2116
  }, {
2041
2117
  mode: "auto";
2042
2118
  direction?: "TB" | "BT" | "LR" | "RL" | undefined;
@@ -2045,6 +2121,10 @@ declare const layoutConfigSchema: z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
2045
2121
  rankSpacing?: number | undefined;
2046
2122
  edgeRouting?: "orthogonal" | "polyline" | "spline" | undefined;
2047
2123
  aspectRatio?: number | undefined;
2124
+ radialRoot?: string | undefined;
2125
+ radialRadius?: number | undefined;
2126
+ radialCompaction?: "none" | "radial" | "wedge" | undefined;
2127
+ radialSortBy?: "id" | "connections" | undefined;
2048
2128
  }>, z.ZodObject<{
2049
2129
  mode: z.ZodLiteral<"grid">;
2050
2130
  columns: z.ZodDefault<z.ZodNumber>;
@@ -2137,7 +2217,7 @@ declare const decoratorSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2137
2217
  y: z.ZodDefault<z.ZodEnum<["after-header", "before-footer", "custom"]>>;
2138
2218
  customY: z.ZodOptional<z.ZodNumber>;
2139
2219
  thickness: z.ZodDefault<z.ZodNumber>;
2140
- colors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2220
+ colors: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">>;
2141
2221
  margin: z.ZodDefault<z.ZodNumber>;
2142
2222
  }, "strict", z.ZodTypeAny, {
2143
2223
  type: "rainbow-rule";
@@ -2156,7 +2236,7 @@ declare const decoratorSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2156
2236
  }>, z.ZodObject<{
2157
2237
  type: z.ZodLiteral<"vignette">;
2158
2238
  intensity: z.ZodDefault<z.ZodNumber>;
2159
- color: z.ZodDefault<z.ZodString>;
2239
+ color: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2160
2240
  }, "strict", z.ZodTypeAny, {
2161
2241
  type: "vignette";
2162
2242
  color: string;
@@ -2172,7 +2252,7 @@ declare const decoratorSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2172
2252
  angle: z.ZodDefault<z.ZodNumber>;
2173
2253
  stops: z.ZodArray<z.ZodObject<{
2174
2254
  offset: z.ZodNumber;
2175
- color: z.ZodString;
2255
+ color: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2176
2256
  }, "strict", z.ZodTypeAny, {
2177
2257
  color: string;
2178
2258
  offset: number;
@@ -2198,7 +2278,7 @@ declare const decoratorSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2198
2278
  type: z.ZodLiteral<"radial">;
2199
2279
  stops: z.ZodArray<z.ZodObject<{
2200
2280
  offset: z.ZodNumber;
2201
- color: z.ZodString;
2281
+ color: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2202
2282
  }, "strict", z.ZodTypeAny, {
2203
2283
  color: string;
2204
2284
  offset: number;
@@ -2256,39 +2336,39 @@ declare const decoratorSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2256
2336
  opacity?: number | undefined;
2257
2337
  }>]>;
2258
2338
  declare const themeInputSchema: z.ZodUnion<[z.ZodEnum<["dark", "light", "dracula", "github-dark", "one-dark", "nord"]>, z.ZodObject<{
2259
- background: z.ZodString;
2260
- surface: z.ZodString;
2261
- surfaceMuted: z.ZodString;
2262
- surfaceElevated: z.ZodString;
2263
- text: z.ZodString;
2264
- textMuted: z.ZodString;
2265
- textInverse: z.ZodString;
2266
- primary: z.ZodString;
2267
- secondary: z.ZodString;
2268
- accent: z.ZodString;
2269
- success: z.ZodString;
2270
- warning: z.ZodString;
2271
- error: z.ZodString;
2272
- info: z.ZodString;
2273
- border: z.ZodString;
2274
- borderMuted: z.ZodString;
2339
+ background: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2340
+ surface: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2341
+ surfaceMuted: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2342
+ surfaceElevated: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2343
+ text: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2344
+ textMuted: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2345
+ textInverse: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2346
+ primary: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2347
+ secondary: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2348
+ accent: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2349
+ success: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2350
+ warning: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2351
+ error: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2352
+ info: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2353
+ border: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2354
+ borderMuted: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2275
2355
  code: z.ZodObject<{
2276
- background: z.ZodString;
2277
- text: z.ZodString;
2278
- comment: z.ZodString;
2279
- keyword: z.ZodString;
2280
- string: z.ZodString;
2281
- number: z.ZodString;
2282
- function: z.ZodString;
2283
- variable: z.ZodString;
2284
- operator: z.ZodString;
2285
- punctuation: z.ZodString;
2356
+ background: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2357
+ text: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2358
+ comment: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2359
+ keyword: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2360
+ string: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2361
+ number: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2362
+ function: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2363
+ variable: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2364
+ operator: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2365
+ punctuation: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2286
2366
  }, "strict", z.ZodTypeAny, {
2287
2367
  string: string;
2288
2368
  number: string;
2289
2369
  function: string;
2290
- text: string;
2291
2370
  background: string;
2371
+ text: string;
2292
2372
  comment: string;
2293
2373
  keyword: string;
2294
2374
  variable: string;
@@ -2298,8 +2378,8 @@ declare const themeInputSchema: z.ZodUnion<[z.ZodEnum<["dark", "light", "dracula
2298
2378
  string: string;
2299
2379
  number: string;
2300
2380
  function: string;
2301
- text: string;
2302
2381
  background: string;
2382
+ text: string;
2303
2383
  comment: string;
2304
2384
  keyword: string;
2305
2385
  variable: string;
@@ -2324,27 +2404,27 @@ declare const themeInputSchema: z.ZodUnion<[z.ZodEnum<["dark", "light", "dracula
2324
2404
  string: string;
2325
2405
  number: string;
2326
2406
  function: string;
2327
- text: string;
2328
2407
  background: string;
2408
+ text: string;
2329
2409
  comment: string;
2330
2410
  keyword: string;
2331
2411
  variable: string;
2332
2412
  operator: string;
2333
2413
  punctuation: string;
2334
2414
  };
2335
- accent: string;
2336
- success: string;
2337
- warning: string;
2338
- error: string;
2339
- text: string;
2340
2415
  background: string;
2341
2416
  surface: string;
2342
2417
  surfaceMuted: string;
2343
2418
  surfaceElevated: string;
2419
+ text: string;
2344
2420
  textMuted: string;
2345
2421
  textInverse: string;
2346
2422
  primary: string;
2347
2423
  secondary: string;
2424
+ accent: string;
2425
+ success: string;
2426
+ warning: string;
2427
+ error: string;
2348
2428
  info: string;
2349
2429
  border: string;
2350
2430
  borderMuted: string;
@@ -2358,27 +2438,27 @@ declare const themeInputSchema: z.ZodUnion<[z.ZodEnum<["dark", "light", "dracula
2358
2438
  string: string;
2359
2439
  number: string;
2360
2440
  function: string;
2361
- text: string;
2362
2441
  background: string;
2442
+ text: string;
2363
2443
  comment: string;
2364
2444
  keyword: string;
2365
2445
  variable: string;
2366
2446
  operator: string;
2367
2447
  punctuation: string;
2368
2448
  };
2369
- accent: string;
2370
- success: string;
2371
- warning: string;
2372
- error: string;
2373
- text: string;
2374
2449
  background: string;
2375
2450
  surface: string;
2376
2451
  surfaceMuted: string;
2377
2452
  surfaceElevated: string;
2453
+ text: string;
2378
2454
  textMuted: string;
2379
2455
  textInverse: string;
2380
2456
  primary: string;
2381
2457
  secondary: string;
2458
+ accent: string;
2459
+ success: string;
2460
+ warning: string;
2461
+ error: string;
2382
2462
  info: string;
2383
2463
  border: string;
2384
2464
  borderMuted: string;
@@ -2405,39 +2485,39 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
2405
2485
  padding?: number | undefined;
2406
2486
  }>>;
2407
2487
  theme: z.ZodDefault<z.ZodUnion<[z.ZodEnum<["dark", "light", "dracula", "github-dark", "one-dark", "nord"]>, z.ZodObject<{
2408
- background: z.ZodString;
2409
- surface: z.ZodString;
2410
- surfaceMuted: z.ZodString;
2411
- surfaceElevated: z.ZodString;
2412
- text: z.ZodString;
2413
- textMuted: z.ZodString;
2414
- textInverse: z.ZodString;
2415
- primary: z.ZodString;
2416
- secondary: z.ZodString;
2417
- accent: z.ZodString;
2418
- success: z.ZodString;
2419
- warning: z.ZodString;
2420
- error: z.ZodString;
2421
- info: z.ZodString;
2422
- border: z.ZodString;
2423
- borderMuted: z.ZodString;
2488
+ background: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2489
+ surface: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2490
+ surfaceMuted: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2491
+ surfaceElevated: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2492
+ text: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2493
+ textMuted: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2494
+ textInverse: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2495
+ primary: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2496
+ secondary: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2497
+ accent: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2498
+ success: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2499
+ warning: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2500
+ error: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2501
+ info: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2502
+ border: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2503
+ borderMuted: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2424
2504
  code: z.ZodObject<{
2425
- background: z.ZodString;
2426
- text: z.ZodString;
2427
- comment: z.ZodString;
2428
- keyword: z.ZodString;
2429
- string: z.ZodString;
2430
- number: z.ZodString;
2431
- function: z.ZodString;
2432
- variable: z.ZodString;
2433
- operator: z.ZodString;
2434
- punctuation: z.ZodString;
2505
+ background: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2506
+ text: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2507
+ comment: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2508
+ keyword: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2509
+ string: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2510
+ number: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2511
+ function: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2512
+ variable: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2513
+ operator: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2514
+ punctuation: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2435
2515
  }, "strict", z.ZodTypeAny, {
2436
2516
  string: string;
2437
2517
  number: string;
2438
2518
  function: string;
2439
- text: string;
2440
2519
  background: string;
2520
+ text: string;
2441
2521
  comment: string;
2442
2522
  keyword: string;
2443
2523
  variable: string;
@@ -2447,8 +2527,8 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
2447
2527
  string: string;
2448
2528
  number: string;
2449
2529
  function: string;
2450
- text: string;
2451
2530
  background: string;
2531
+ text: string;
2452
2532
  comment: string;
2453
2533
  keyword: string;
2454
2534
  variable: string;
@@ -2473,27 +2553,27 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
2473
2553
  string: string;
2474
2554
  number: string;
2475
2555
  function: string;
2476
- text: string;
2477
2556
  background: string;
2557
+ text: string;
2478
2558
  comment: string;
2479
2559
  keyword: string;
2480
2560
  variable: string;
2481
2561
  operator: string;
2482
2562
  punctuation: string;
2483
2563
  };
2484
- accent: string;
2485
- success: string;
2486
- warning: string;
2487
- error: string;
2488
- text: string;
2489
2564
  background: string;
2490
2565
  surface: string;
2491
2566
  surfaceMuted: string;
2492
2567
  surfaceElevated: string;
2568
+ text: string;
2493
2569
  textMuted: string;
2494
2570
  textInverse: string;
2495
2571
  primary: string;
2496
2572
  secondary: string;
2573
+ accent: string;
2574
+ success: string;
2575
+ warning: string;
2576
+ error: string;
2497
2577
  info: string;
2498
2578
  border: string;
2499
2579
  borderMuted: string;
@@ -2507,27 +2587,27 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
2507
2587
  string: string;
2508
2588
  number: string;
2509
2589
  function: string;
2510
- text: string;
2511
2590
  background: string;
2591
+ text: string;
2512
2592
  comment: string;
2513
2593
  keyword: string;
2514
2594
  variable: string;
2515
2595
  operator: string;
2516
2596
  punctuation: string;
2517
2597
  };
2518
- accent: string;
2519
- success: string;
2520
- warning: string;
2521
- error: string;
2522
- text: string;
2523
2598
  background: string;
2524
2599
  surface: string;
2525
2600
  surfaceMuted: string;
2526
2601
  surfaceElevated: string;
2602
+ text: string;
2527
2603
  textMuted: string;
2528
2604
  textInverse: string;
2529
2605
  primary: string;
2530
2606
  secondary: string;
2607
+ accent: string;
2608
+ success: string;
2609
+ warning: string;
2610
+ error: string;
2531
2611
  info: string;
2532
2612
  border: string;
2533
2613
  borderMuted: string;
@@ -2537,12 +2617,12 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
2537
2617
  mono: string;
2538
2618
  };
2539
2619
  }>]>>;
2540
- background: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2620
+ background: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2541
2621
  type: z.ZodLiteral<"linear">;
2542
2622
  angle: z.ZodDefault<z.ZodNumber>;
2543
2623
  stops: z.ZodArray<z.ZodObject<{
2544
2624
  offset: z.ZodNumber;
2545
- color: z.ZodString;
2625
+ color: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2546
2626
  }, "strict", z.ZodTypeAny, {
2547
2627
  color: string;
2548
2628
  offset: number;
@@ -2568,7 +2648,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
2568
2648
  type: z.ZodLiteral<"radial">;
2569
2649
  stops: z.ZodArray<z.ZodObject<{
2570
2650
  offset: z.ZodNumber;
2571
- color: z.ZodString;
2651
+ color: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
2572
2652
  }, "strict", z.ZodTypeAny, {
2573
2653
  color: string;
2574
2654
  offset: number;
@@ -2598,14 +2678,14 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
2598
2678
  titleFontSize: z.ZodOptional<z.ZodNumber>;
2599
2679
  }, "strict", z.ZodTypeAny, {
2600
2680
  title: string;
2601
- align: "left" | "center" | "right";
2681
+ align: "center" | "left" | "right";
2602
2682
  titleLetterSpacing: number;
2603
2683
  eyebrow?: string | undefined;
2604
2684
  subtitle?: string | undefined;
2605
2685
  titleFontSize?: number | undefined;
2606
2686
  }, {
2607
2687
  title: string;
2608
- align?: "left" | "center" | "right" | undefined;
2688
+ align?: "center" | "left" | "right" | undefined;
2609
2689
  eyebrow?: string | undefined;
2610
2690
  subtitle?: string | undefined;
2611
2691
  titleLetterSpacing?: number | undefined;
@@ -2625,7 +2705,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
2625
2705
  type: "card";
2626
2706
  id: string;
2627
2707
  title: string;
2628
- tone: "neutral" | "accent" | "success" | "warning" | "error";
2708
+ tone: "accent" | "success" | "warning" | "error" | "neutral";
2629
2709
  badge?: string | undefined;
2630
2710
  metric?: string | undefined;
2631
2711
  icon?: string | undefined;
@@ -2636,7 +2716,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
2636
2716
  title: string;
2637
2717
  badge?: string | undefined;
2638
2718
  metric?: string | undefined;
2639
- tone?: "neutral" | "accent" | "success" | "warning" | "error" | undefined;
2719
+ tone?: "accent" | "success" | "warning" | "error" | "neutral" | undefined;
2640
2720
  icon?: string | undefined;
2641
2721
  }>, z.ZodObject<{
2642
2722
  type: z.ZodLiteral<"flow-node">;
@@ -2644,24 +2724,37 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
2644
2724
  shape: z.ZodEnum<["box", "rounded-box", "diamond", "circle", "pill", "cylinder", "parallelogram"]>;
2645
2725
  label: z.ZodString;
2646
2726
  sublabel: z.ZodOptional<z.ZodString>;
2647
- sublabelColor: z.ZodOptional<z.ZodString>;
2648
- labelColor: z.ZodOptional<z.ZodString>;
2727
+ sublabelColor: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2728
+ sublabel2: z.ZodOptional<z.ZodString>;
2729
+ sublabel2Color: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2730
+ sublabel2FontSize: z.ZodOptional<z.ZodNumber>;
2731
+ labelColor: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2649
2732
  labelFontSize: z.ZodOptional<z.ZodNumber>;
2650
- color: z.ZodOptional<z.ZodString>;
2651
- borderColor: z.ZodOptional<z.ZodString>;
2733
+ color: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2734
+ borderColor: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2652
2735
  borderWidth: z.ZodOptional<z.ZodNumber>;
2653
2736
  cornerRadius: z.ZodOptional<z.ZodNumber>;
2654
2737
  width: z.ZodOptional<z.ZodNumber>;
2655
2738
  height: z.ZodOptional<z.ZodNumber>;
2739
+ fillOpacity: z.ZodDefault<z.ZodNumber>;
2656
2740
  opacity: z.ZodDefault<z.ZodNumber>;
2741
+ badgeText: z.ZodOptional<z.ZodString>;
2742
+ badgeColor: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2743
+ badgeBackground: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2744
+ badgePosition: z.ZodDefault<z.ZodEnum<["top", "inside-top"]>>;
2657
2745
  }, "strict", z.ZodTypeAny, {
2658
2746
  type: "flow-node";
2659
2747
  id: string;
2660
2748
  shape: "box" | "rounded-box" | "diamond" | "circle" | "pill" | "cylinder" | "parallelogram";
2661
2749
  label: string;
2750
+ fillOpacity: number;
2662
2751
  opacity: number;
2752
+ badgePosition: "top" | "inside-top";
2663
2753
  sublabel?: string | undefined;
2664
2754
  sublabelColor?: string | undefined;
2755
+ sublabel2?: string | undefined;
2756
+ sublabel2Color?: string | undefined;
2757
+ sublabel2FontSize?: number | undefined;
2665
2758
  labelColor?: string | undefined;
2666
2759
  labelFontSize?: number | undefined;
2667
2760
  color?: string | undefined;
@@ -2670,6 +2763,9 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
2670
2763
  cornerRadius?: number | undefined;
2671
2764
  width?: number | undefined;
2672
2765
  height?: number | undefined;
2766
+ badgeText?: string | undefined;
2767
+ badgeColor?: string | undefined;
2768
+ badgeBackground?: string | undefined;
2673
2769
  }, {
2674
2770
  type: "flow-node";
2675
2771
  id: string;
@@ -2677,6 +2773,9 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
2677
2773
  label: string;
2678
2774
  sublabel?: string | undefined;
2679
2775
  sublabelColor?: string | undefined;
2776
+ sublabel2?: string | undefined;
2777
+ sublabel2Color?: string | undefined;
2778
+ sublabel2FontSize?: number | undefined;
2680
2779
  labelColor?: string | undefined;
2681
2780
  labelFontSize?: number | undefined;
2682
2781
  color?: string | undefined;
@@ -2685,7 +2784,12 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
2685
2784
  cornerRadius?: number | undefined;
2686
2785
  width?: number | undefined;
2687
2786
  height?: number | undefined;
2787
+ fillOpacity?: number | undefined;
2688
2788
  opacity?: number | undefined;
2789
+ badgeText?: string | undefined;
2790
+ badgeColor?: string | undefined;
2791
+ badgeBackground?: string | undefined;
2792
+ badgePosition?: "top" | "inside-top" | undefined;
2689
2793
  }>, z.ZodObject<{
2690
2794
  type: z.ZodLiteral<"connection">;
2691
2795
  from: z.ZodString;
@@ -2694,7 +2798,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
2694
2798
  arrow: z.ZodDefault<z.ZodEnum<["end", "start", "both", "none"]>>;
2695
2799
  label: z.ZodOptional<z.ZodString>;
2696
2800
  labelPosition: z.ZodDefault<z.ZodEnum<["start", "middle", "end"]>>;
2697
- color: z.ZodOptional<z.ZodString>;
2801
+ color: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2698
2802
  width: z.ZodOptional<z.ZodNumber>;
2699
2803
  arrowSize: z.ZodOptional<z.ZodNumber>;
2700
2804
  opacity: z.ZodDefault<z.ZodNumber>;
@@ -2895,39 +2999,39 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
2895
2999
  content: z.ZodString;
2896
3000
  style: z.ZodEnum<["heading", "subheading", "body", "caption", "code"]>;
2897
3001
  align: z.ZodDefault<z.ZodEnum<["left", "center", "right"]>>;
2898
- color: z.ZodOptional<z.ZodString>;
3002
+ color: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2899
3003
  }, "strict", z.ZodTypeAny, {
2900
3004
  type: "text";
2901
3005
  id: string;
2902
- style: "body" | "code" | "heading" | "subheading" | "caption";
3006
+ style: "body" | "heading" | "code" | "subheading" | "caption";
2903
3007
  content: string;
2904
- align: "left" | "center" | "right";
3008
+ align: "center" | "left" | "right";
2905
3009
  color?: string | undefined;
2906
3010
  }, {
2907
3011
  type: "text";
2908
3012
  id: string;
2909
- style: "body" | "code" | "heading" | "subheading" | "caption";
3013
+ style: "body" | "heading" | "code" | "subheading" | "caption";
2910
3014
  content: string;
2911
3015
  color?: string | undefined;
2912
- align?: "left" | "center" | "right" | undefined;
3016
+ align?: "center" | "left" | "right" | undefined;
2913
3017
  }>, z.ZodObject<{
2914
3018
  type: z.ZodLiteral<"shape">;
2915
3019
  id: z.ZodString;
2916
3020
  shape: z.ZodEnum<["rectangle", "rounded-rectangle", "circle", "ellipse", "line", "arrow"]>;
2917
- fill: z.ZodOptional<z.ZodString>;
2918
- stroke: z.ZodOptional<z.ZodString>;
3021
+ fill: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
3022
+ stroke: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2919
3023
  strokeWidth: z.ZodDefault<z.ZodNumber>;
2920
3024
  }, "strict", z.ZodTypeAny, {
2921
3025
  type: "shape";
2922
3026
  id: string;
2923
- shape: "circle" | "arrow" | "rectangle" | "rounded-rectangle" | "ellipse" | "line";
3027
+ shape: "line" | "circle" | "arrow" | "rectangle" | "rounded-rectangle" | "ellipse";
2924
3028
  strokeWidth: number;
2925
3029
  fill?: string | undefined;
2926
3030
  stroke?: string | undefined;
2927
3031
  }, {
2928
3032
  type: "shape";
2929
3033
  id: string;
2930
- shape: "circle" | "arrow" | "rectangle" | "rounded-rectangle" | "ellipse" | "line";
3034
+ shape: "line" | "circle" | "arrow" | "rectangle" | "rounded-rectangle" | "ellipse";
2931
3035
  fill?: string | undefined;
2932
3036
  stroke?: string | undefined;
2933
3037
  strokeWidth?: number | undefined;
@@ -2968,7 +3072,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
2968
3072
  y: z.ZodDefault<z.ZodEnum<["after-header", "before-footer", "custom"]>>;
2969
3073
  customY: z.ZodOptional<z.ZodNumber>;
2970
3074
  thickness: z.ZodDefault<z.ZodNumber>;
2971
- colors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3075
+ colors: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">>;
2972
3076
  margin: z.ZodDefault<z.ZodNumber>;
2973
3077
  }, "strict", z.ZodTypeAny, {
2974
3078
  type: "rainbow-rule";
@@ -2987,7 +3091,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
2987
3091
  }>, z.ZodObject<{
2988
3092
  type: z.ZodLiteral<"vignette">;
2989
3093
  intensity: z.ZodDefault<z.ZodNumber>;
2990
- color: z.ZodDefault<z.ZodString>;
3094
+ color: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
2991
3095
  }, "strict", z.ZodTypeAny, {
2992
3096
  type: "vignette";
2993
3097
  color: string;
@@ -3003,7 +3107,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3003
3107
  angle: z.ZodDefault<z.ZodNumber>;
3004
3108
  stops: z.ZodArray<z.ZodObject<{
3005
3109
  offset: z.ZodNumber;
3006
- color: z.ZodString;
3110
+ color: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
3007
3111
  }, "strict", z.ZodTypeAny, {
3008
3112
  color: string;
3009
3113
  offset: number;
@@ -3029,7 +3133,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3029
3133
  type: z.ZodLiteral<"radial">;
3030
3134
  stops: z.ZodArray<z.ZodObject<{
3031
3135
  offset: z.ZodNumber;
3032
- color: z.ZodString;
3136
+ color: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
3033
3137
  }, "strict", z.ZodTypeAny, {
3034
3138
  color: string;
3035
3139
  offset: number;
@@ -3092,8 +3196,8 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3092
3196
  y: z.ZodNumber;
3093
3197
  width: z.ZodNumber;
3094
3198
  height: z.ZodNumber;
3095
- fill: z.ZodOptional<z.ZodString>;
3096
- stroke: z.ZodOptional<z.ZodString>;
3199
+ fill: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
3200
+ stroke: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
3097
3201
  strokeWidth: z.ZodDefault<z.ZodNumber>;
3098
3202
  radius: z.ZodDefault<z.ZodNumber>;
3099
3203
  opacity: z.ZodDefault<z.ZodNumber>;
@@ -3124,8 +3228,8 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3124
3228
  cx: z.ZodNumber;
3125
3229
  cy: z.ZodNumber;
3126
3230
  radius: z.ZodNumber;
3127
- fill: z.ZodOptional<z.ZodString>;
3128
- stroke: z.ZodOptional<z.ZodString>;
3231
+ fill: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
3232
+ stroke: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
3129
3233
  strokeWidth: z.ZodDefault<z.ZodNumber>;
3130
3234
  opacity: z.ZodDefault<z.ZodNumber>;
3131
3235
  }, "strict", z.ZodTypeAny, {
@@ -3154,7 +3258,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3154
3258
  fontSize: z.ZodDefault<z.ZodNumber>;
3155
3259
  fontWeight: z.ZodDefault<z.ZodNumber>;
3156
3260
  fontFamily: z.ZodDefault<z.ZodEnum<["heading", "body", "mono"]>>;
3157
- color: z.ZodDefault<z.ZodString>;
3261
+ color: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
3158
3262
  align: z.ZodDefault<z.ZodEnum<["left", "center", "right"]>>;
3159
3263
  baseline: z.ZodDefault<z.ZodEnum<["top", "middle", "alphabetic", "bottom"]>>;
3160
3264
  letterSpacing: z.ZodDefault<z.ZodNumber>;
@@ -3164,14 +3268,14 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3164
3268
  type: "text";
3165
3269
  color: string;
3166
3270
  opacity: number;
3167
- fontSize: number;
3168
3271
  text: string;
3169
- align: "left" | "center" | "right";
3272
+ fontSize: number;
3273
+ align: "center" | "left" | "right";
3170
3274
  x: number;
3171
3275
  y: number;
3172
3276
  fontWeight: number;
3173
3277
  fontFamily: "body" | "heading" | "mono";
3174
- baseline: "middle" | "alphabetic" | "bottom" | "top";
3278
+ baseline: "top" | "alphabetic" | "bottom" | "middle";
3175
3279
  letterSpacing: number;
3176
3280
  maxWidth?: number | undefined;
3177
3281
  }, {
@@ -3182,10 +3286,10 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3182
3286
  color?: string | undefined;
3183
3287
  opacity?: number | undefined;
3184
3288
  fontSize?: number | undefined;
3185
- align?: "left" | "center" | "right" | undefined;
3289
+ align?: "center" | "left" | "right" | undefined;
3186
3290
  fontWeight?: number | undefined;
3187
3291
  fontFamily?: "body" | "heading" | "mono" | undefined;
3188
- baseline?: "middle" | "alphabetic" | "bottom" | "top" | undefined;
3292
+ baseline?: "top" | "alphabetic" | "bottom" | "middle" | undefined;
3189
3293
  letterSpacing?: number | undefined;
3190
3294
  maxWidth?: number | undefined;
3191
3295
  }>, z.ZodObject<{
@@ -3194,7 +3298,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3194
3298
  y1: z.ZodNumber;
3195
3299
  x2: z.ZodNumber;
3196
3300
  y2: z.ZodNumber;
3197
- color: z.ZodDefault<z.ZodString>;
3301
+ color: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
3198
3302
  width: z.ZodDefault<z.ZodNumber>;
3199
3303
  dash: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
3200
3304
  arrow: z.ZodDefault<z.ZodEnum<["none", "end", "start", "both"]>>;
@@ -3236,7 +3340,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3236
3340
  x: number;
3237
3341
  y: number;
3238
3342
  }>, "many">;
3239
- color: z.ZodDefault<z.ZodString>;
3343
+ color: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
3240
3344
  width: z.ZodDefault<z.ZodNumber>;
3241
3345
  dash: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
3242
3346
  arrow: z.ZodDefault<z.ZodEnum<["none", "end", "start", "both"]>>;
@@ -3269,8 +3373,8 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3269
3373
  }>, z.ZodObject<{
3270
3374
  type: z.ZodLiteral<"path">;
3271
3375
  d: z.ZodString;
3272
- fill: z.ZodOptional<z.ZodString>;
3273
- stroke: z.ZodOptional<z.ZodString>;
3376
+ fill: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
3377
+ stroke: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
3274
3378
  strokeWidth: z.ZodDefault<z.ZodNumber>;
3275
3379
  opacity: z.ZodDefault<z.ZodNumber>;
3276
3380
  }, "strict", z.ZodTypeAny, {
@@ -3294,8 +3398,8 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3294
3398
  text: z.ZodString;
3295
3399
  fontSize: z.ZodDefault<z.ZodNumber>;
3296
3400
  fontFamily: z.ZodDefault<z.ZodEnum<["heading", "body", "mono"]>>;
3297
- color: z.ZodDefault<z.ZodString>;
3298
- background: z.ZodDefault<z.ZodString>;
3401
+ color: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
3402
+ background: z.ZodDefault<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
3299
3403
  paddingX: z.ZodDefault<z.ZodNumber>;
3300
3404
  paddingY: z.ZodDefault<z.ZodNumber>;
3301
3405
  borderRadius: z.ZodDefault<z.ZodNumber>;
@@ -3304,12 +3408,12 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3304
3408
  type: "badge";
3305
3409
  color: string;
3306
3410
  opacity: number;
3307
- fontSize: number;
3411
+ background: string;
3308
3412
  text: string;
3413
+ fontSize: number;
3309
3414
  borderRadius: number;
3310
3415
  x: number;
3311
3416
  y: number;
3312
- background: string;
3313
3417
  fontFamily: "body" | "heading" | "mono";
3314
3418
  paddingX: number;
3315
3419
  paddingY: number;
@@ -3320,9 +3424,9 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3320
3424
  y: number;
3321
3425
  color?: string | undefined;
3322
3426
  opacity?: number | undefined;
3427
+ background?: string | undefined;
3323
3428
  fontSize?: number | undefined;
3324
3429
  borderRadius?: number | undefined;
3325
- background?: string | undefined;
3326
3430
  fontFamily?: "body" | "heading" | "mono" | undefined;
3327
3431
  paddingX?: number | undefined;
3328
3432
  paddingY?: number | undefined;
@@ -3337,7 +3441,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3337
3441
  angle: z.ZodDefault<z.ZodNumber>;
3338
3442
  stops: z.ZodArray<z.ZodObject<{
3339
3443
  offset: z.ZodNumber;
3340
- color: z.ZodString;
3444
+ color: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
3341
3445
  }, "strict", z.ZodTypeAny, {
3342
3446
  color: string;
3343
3447
  offset: number;
@@ -3363,7 +3467,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3363
3467
  type: z.ZodLiteral<"radial">;
3364
3468
  stops: z.ZodArray<z.ZodObject<{
3365
3469
  offset: z.ZodNumber;
3366
- color: z.ZodString;
3470
+ color: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
3367
3471
  }, "strict", z.ZodTypeAny, {
3368
3472
  color: string;
3369
3473
  offset: number;
@@ -3439,6 +3543,14 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3439
3543
  rankSpacing: z.ZodDefault<z.ZodNumber>;
3440
3544
  edgeRouting: z.ZodDefault<z.ZodEnum<["orthogonal", "polyline", "spline"]>>;
3441
3545
  aspectRatio: z.ZodOptional<z.ZodNumber>;
3546
+ /** ID of the root node for radial layout. Only relevant when algorithm is 'radial'. */
3547
+ radialRoot: z.ZodOptional<z.ZodString>;
3548
+ /** Fixed radius in pixels for radial layout. Only relevant when algorithm is 'radial'. */
3549
+ radialRadius: z.ZodOptional<z.ZodNumber>;
3550
+ /** Compaction strategy for radial layout. Only relevant when algorithm is 'radial'. */
3551
+ radialCompaction: z.ZodOptional<z.ZodEnum<["none", "radial", "wedge"]>>;
3552
+ /** Sort strategy for radial layout node ordering. Only relevant when algorithm is 'radial'. */
3553
+ radialSortBy: z.ZodOptional<z.ZodEnum<["id", "connections"]>>;
3442
3554
  }, "strict", z.ZodTypeAny, {
3443
3555
  mode: "auto";
3444
3556
  direction: "TB" | "BT" | "LR" | "RL";
@@ -3447,6 +3559,10 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3447
3559
  rankSpacing: number;
3448
3560
  edgeRouting: "orthogonal" | "polyline" | "spline";
3449
3561
  aspectRatio?: number | undefined;
3562
+ radialRoot?: string | undefined;
3563
+ radialRadius?: number | undefined;
3564
+ radialCompaction?: "none" | "radial" | "wedge" | undefined;
3565
+ radialSortBy?: "id" | "connections" | undefined;
3450
3566
  }, {
3451
3567
  mode: "auto";
3452
3568
  direction?: "TB" | "BT" | "LR" | "RL" | undefined;
@@ -3455,6 +3571,10 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3455
3571
  rankSpacing?: number | undefined;
3456
3572
  edgeRouting?: "orthogonal" | "polyline" | "spline" | undefined;
3457
3573
  aspectRatio?: number | undefined;
3574
+ radialRoot?: string | undefined;
3575
+ radialRadius?: number | undefined;
3576
+ radialCompaction?: "none" | "radial" | "wedge" | undefined;
3577
+ radialSortBy?: "id" | "connections" | undefined;
3458
3578
  }>, z.ZodObject<{
3459
3579
  mode: z.ZodLiteral<"grid">;
3460
3580
  columns: z.ZodDefault<z.ZodNumber>;
@@ -3543,41 +3663,6 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3543
3663
  maxTextTruncation?: number | undefined;
3544
3664
  }>>;
3545
3665
  }, "strict", z.ZodTypeAny, {
3546
- theme: {
3547
- code: {
3548
- string: string;
3549
- number: string;
3550
- function: string;
3551
- text: string;
3552
- background: string;
3553
- comment: string;
3554
- keyword: string;
3555
- variable: string;
3556
- operator: string;
3557
- punctuation: string;
3558
- };
3559
- accent: string;
3560
- success: string;
3561
- warning: string;
3562
- error: string;
3563
- text: string;
3564
- background: string;
3565
- surface: string;
3566
- surfaceMuted: string;
3567
- surfaceElevated: string;
3568
- textMuted: string;
3569
- textInverse: string;
3570
- primary: string;
3571
- secondary: string;
3572
- info: string;
3573
- border: string;
3574
- borderMuted: string;
3575
- fonts: {
3576
- body: string;
3577
- heading: string;
3578
- mono: string;
3579
- };
3580
- } | "dracula" | "github-dark" | "nord" | "dark" | "light" | "one-dark";
3581
3666
  draw: ({
3582
3667
  type: "rect";
3583
3668
  width: number;
@@ -3602,14 +3687,14 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3602
3687
  type: "text";
3603
3688
  color: string;
3604
3689
  opacity: number;
3605
- fontSize: number;
3606
3690
  text: string;
3607
- align: "left" | "center" | "right";
3691
+ fontSize: number;
3692
+ align: "center" | "left" | "right";
3608
3693
  x: number;
3609
3694
  y: number;
3610
3695
  fontWeight: number;
3611
3696
  fontFamily: "body" | "heading" | "mono";
3612
- baseline: "middle" | "alphabetic" | "bottom" | "top";
3697
+ baseline: "top" | "alphabetic" | "bottom" | "middle";
3613
3698
  letterSpacing: number;
3614
3699
  maxWidth?: number | undefined;
3615
3700
  } | {
@@ -3647,12 +3732,12 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3647
3732
  type: "badge";
3648
3733
  color: string;
3649
3734
  opacity: number;
3650
- fontSize: number;
3735
+ background: string;
3651
3736
  text: string;
3737
+ fontSize: number;
3652
3738
  borderRadius: number;
3653
3739
  x: number;
3654
3740
  y: number;
3655
- background: string;
3656
3741
  fontFamily: "body" | "heading" | "mono";
3657
3742
  paddingX: number;
3658
3743
  paddingY: number;
@@ -3679,6 +3764,41 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3679
3764
  }[];
3680
3765
  };
3681
3766
  })[];
3767
+ theme: {
3768
+ code: {
3769
+ string: string;
3770
+ number: string;
3771
+ function: string;
3772
+ background: string;
3773
+ text: string;
3774
+ comment: string;
3775
+ keyword: string;
3776
+ variable: string;
3777
+ operator: string;
3778
+ punctuation: string;
3779
+ };
3780
+ background: string;
3781
+ surface: string;
3782
+ surfaceMuted: string;
3783
+ surfaceElevated: string;
3784
+ text: string;
3785
+ textMuted: string;
3786
+ textInverse: string;
3787
+ primary: string;
3788
+ secondary: string;
3789
+ accent: string;
3790
+ success: string;
3791
+ warning: string;
3792
+ error: string;
3793
+ info: string;
3794
+ border: string;
3795
+ borderMuted: string;
3796
+ fonts: {
3797
+ body: string;
3798
+ heading: string;
3799
+ mono: string;
3800
+ };
3801
+ } | "dracula" | "github-dark" | "nord" | "dark" | "light" | "one-dark";
3682
3802
  version: 2;
3683
3803
  canvas: {
3684
3804
  width: number;
@@ -3686,22 +3806,18 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3686
3806
  padding: number;
3687
3807
  };
3688
3808
  elements: ({
3689
- body: string;
3690
- type: "card";
3691
- id: string;
3692
- title: string;
3693
- tone: "neutral" | "accent" | "success" | "warning" | "error";
3694
- badge?: string | undefined;
3695
- metric?: string | undefined;
3696
- icon?: string | undefined;
3697
- } | {
3698
3809
  type: "flow-node";
3699
3810
  id: string;
3700
3811
  shape: "box" | "rounded-box" | "diamond" | "circle" | "pill" | "cylinder" | "parallelogram";
3701
3812
  label: string;
3813
+ fillOpacity: number;
3702
3814
  opacity: number;
3815
+ badgePosition: "top" | "inside-top";
3703
3816
  sublabel?: string | undefined;
3704
3817
  sublabelColor?: string | undefined;
3818
+ sublabel2?: string | undefined;
3819
+ sublabel2Color?: string | undefined;
3820
+ sublabel2FontSize?: number | undefined;
3705
3821
  labelColor?: string | undefined;
3706
3822
  labelFontSize?: number | undefined;
3707
3823
  color?: string | undefined;
@@ -3710,6 +3826,18 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3710
3826
  cornerRadius?: number | undefined;
3711
3827
  width?: number | undefined;
3712
3828
  height?: number | undefined;
3829
+ badgeText?: string | undefined;
3830
+ badgeColor?: string | undefined;
3831
+ badgeBackground?: string | undefined;
3832
+ } | {
3833
+ body: string;
3834
+ type: "card";
3835
+ id: string;
3836
+ title: string;
3837
+ tone: "accent" | "success" | "warning" | "error" | "neutral";
3838
+ badge?: string | undefined;
3839
+ metric?: string | undefined;
3840
+ icon?: string | undefined;
3713
3841
  } | {
3714
3842
  type: "connection";
3715
3843
  opacity: number;
@@ -3766,14 +3894,14 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3766
3894
  } | {
3767
3895
  type: "text";
3768
3896
  id: string;
3769
- style: "body" | "code" | "heading" | "subheading" | "caption";
3897
+ style: "body" | "heading" | "code" | "subheading" | "caption";
3770
3898
  content: string;
3771
- align: "left" | "center" | "right";
3899
+ align: "center" | "left" | "right";
3772
3900
  color?: string | undefined;
3773
3901
  } | {
3774
3902
  type: "shape";
3775
3903
  id: string;
3776
- shape: "circle" | "arrow" | "rectangle" | "rounded-rectangle" | "ellipse" | "line";
3904
+ shape: "line" | "circle" | "arrow" | "rectangle" | "rounded-rectangle" | "ellipse";
3777
3905
  strokeWidth: number;
3778
3906
  fill?: string | undefined;
3779
3907
  stroke?: string | undefined;
@@ -3836,7 +3964,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3836
3964
  } | undefined;
3837
3965
  header?: {
3838
3966
  title: string;
3839
- align: "left" | "center" | "right";
3967
+ align: "center" | "left" | "right";
3840
3968
  titleLetterSpacing: number;
3841
3969
  eyebrow?: string | undefined;
3842
3970
  subtitle?: string | undefined;
@@ -3859,6 +3987,10 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3859
3987
  rankSpacing: number;
3860
3988
  edgeRouting: "orthogonal" | "polyline" | "spline";
3861
3989
  aspectRatio?: number | undefined;
3990
+ radialRoot?: string | undefined;
3991
+ radialRadius?: number | undefined;
3992
+ radialCompaction?: "none" | "radial" | "wedge" | undefined;
3993
+ radialSortBy?: "id" | "connections" | undefined;
3862
3994
  } | {
3863
3995
  mode: "grid";
3864
3996
  gap: number;
@@ -3876,41 +4008,6 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3876
4008
  }>;
3877
4009
  } | undefined;
3878
4010
  }, {
3879
- theme?: {
3880
- code: {
3881
- string: string;
3882
- number: string;
3883
- function: string;
3884
- text: string;
3885
- background: string;
3886
- comment: string;
3887
- keyword: string;
3888
- variable: string;
3889
- operator: string;
3890
- punctuation: string;
3891
- };
3892
- accent: string;
3893
- success: string;
3894
- warning: string;
3895
- error: string;
3896
- text: string;
3897
- background: string;
3898
- surface: string;
3899
- surfaceMuted: string;
3900
- surfaceElevated: string;
3901
- textMuted: string;
3902
- textInverse: string;
3903
- primary: string;
3904
- secondary: string;
3905
- info: string;
3906
- border: string;
3907
- borderMuted: string;
3908
- fonts: {
3909
- body: string;
3910
- heading: string;
3911
- mono: string;
3912
- };
3913
- } | "dracula" | "github-dark" | "nord" | "dark" | "light" | "one-dark" | undefined;
3914
4011
  background?: string | {
3915
4012
  type: "linear";
3916
4013
  stops: {
@@ -3927,7 +4024,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3927
4024
  } | undefined;
3928
4025
  header?: {
3929
4026
  title: string;
3930
- align?: "left" | "center" | "right" | undefined;
4027
+ align?: "center" | "left" | "right" | undefined;
3931
4028
  eyebrow?: string | undefined;
3932
4029
  subtitle?: string | undefined;
3933
4030
  titleLetterSpacing?: number | undefined;
@@ -3965,10 +4062,10 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
3965
4062
  color?: string | undefined;
3966
4063
  opacity?: number | undefined;
3967
4064
  fontSize?: number | undefined;
3968
- align?: "left" | "center" | "right" | undefined;
4065
+ align?: "center" | "left" | "right" | undefined;
3969
4066
  fontWeight?: number | undefined;
3970
4067
  fontFamily?: "body" | "heading" | "mono" | undefined;
3971
- baseline?: "middle" | "alphabetic" | "bottom" | "top" | undefined;
4068
+ baseline?: "top" | "alphabetic" | "bottom" | "middle" | undefined;
3972
4069
  letterSpacing?: number | undefined;
3973
4070
  maxWidth?: number | undefined;
3974
4071
  } | {
@@ -4009,9 +4106,9 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
4009
4106
  y: number;
4010
4107
  color?: string | undefined;
4011
4108
  opacity?: number | undefined;
4109
+ background?: string | undefined;
4012
4110
  fontSize?: number | undefined;
4013
4111
  borderRadius?: number | undefined;
4014
- background?: string | undefined;
4015
4112
  fontFamily?: "body" | "heading" | "mono" | undefined;
4016
4113
  paddingX?: number | undefined;
4017
4114
  paddingY?: number | undefined;
@@ -4038,6 +4135,41 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
4038
4135
  opacity?: number | undefined;
4039
4136
  radius?: number | undefined;
4040
4137
  })[] | undefined;
4138
+ theme?: {
4139
+ code: {
4140
+ string: string;
4141
+ number: string;
4142
+ function: string;
4143
+ background: string;
4144
+ text: string;
4145
+ comment: string;
4146
+ keyword: string;
4147
+ variable: string;
4148
+ operator: string;
4149
+ punctuation: string;
4150
+ };
4151
+ background: string;
4152
+ surface: string;
4153
+ surfaceMuted: string;
4154
+ surfaceElevated: string;
4155
+ text: string;
4156
+ textMuted: string;
4157
+ textInverse: string;
4158
+ primary: string;
4159
+ secondary: string;
4160
+ accent: string;
4161
+ success: string;
4162
+ warning: string;
4163
+ error: string;
4164
+ info: string;
4165
+ border: string;
4166
+ borderMuted: string;
4167
+ fonts: {
4168
+ body: string;
4169
+ heading: string;
4170
+ mono: string;
4171
+ };
4172
+ } | "dracula" | "github-dark" | "nord" | "dark" | "light" | "one-dark" | undefined;
4041
4173
  version?: 2 | undefined;
4042
4174
  canvas?: {
4043
4175
  width?: number | undefined;
@@ -4045,21 +4177,15 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
4045
4177
  padding?: number | undefined;
4046
4178
  } | undefined;
4047
4179
  elements?: ({
4048
- body: string;
4049
- type: "card";
4050
- id: string;
4051
- title: string;
4052
- badge?: string | undefined;
4053
- metric?: string | undefined;
4054
- tone?: "neutral" | "accent" | "success" | "warning" | "error" | undefined;
4055
- icon?: string | undefined;
4056
- } | {
4057
4180
  type: "flow-node";
4058
4181
  id: string;
4059
4182
  shape: "box" | "rounded-box" | "diamond" | "circle" | "pill" | "cylinder" | "parallelogram";
4060
4183
  label: string;
4061
4184
  sublabel?: string | undefined;
4062
4185
  sublabelColor?: string | undefined;
4186
+ sublabel2?: string | undefined;
4187
+ sublabel2Color?: string | undefined;
4188
+ sublabel2FontSize?: number | undefined;
4063
4189
  labelColor?: string | undefined;
4064
4190
  labelFontSize?: number | undefined;
4065
4191
  color?: string | undefined;
@@ -4068,7 +4194,21 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
4068
4194
  cornerRadius?: number | undefined;
4069
4195
  width?: number | undefined;
4070
4196
  height?: number | undefined;
4197
+ fillOpacity?: number | undefined;
4071
4198
  opacity?: number | undefined;
4199
+ badgeText?: string | undefined;
4200
+ badgeColor?: string | undefined;
4201
+ badgeBackground?: string | undefined;
4202
+ badgePosition?: "top" | "inside-top" | undefined;
4203
+ } | {
4204
+ body: string;
4205
+ type: "card";
4206
+ id: string;
4207
+ title: string;
4208
+ badge?: string | undefined;
4209
+ metric?: string | undefined;
4210
+ tone?: "accent" | "success" | "warning" | "error" | "neutral" | undefined;
4211
+ icon?: string | undefined;
4072
4212
  } | {
4073
4213
  type: "connection";
4074
4214
  from: string;
@@ -4125,14 +4265,14 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
4125
4265
  } | {
4126
4266
  type: "text";
4127
4267
  id: string;
4128
- style: "body" | "code" | "heading" | "subheading" | "caption";
4268
+ style: "body" | "heading" | "code" | "subheading" | "caption";
4129
4269
  content: string;
4130
4270
  color?: string | undefined;
4131
- align?: "left" | "center" | "right" | undefined;
4271
+ align?: "center" | "left" | "right" | undefined;
4132
4272
  } | {
4133
4273
  type: "shape";
4134
4274
  id: string;
4135
- shape: "circle" | "arrow" | "rectangle" | "rounded-rectangle" | "ellipse" | "line";
4275
+ shape: "line" | "circle" | "arrow" | "rectangle" | "rounded-rectangle" | "ellipse";
4136
4276
  fill?: string | undefined;
4137
4277
  stroke?: string | undefined;
4138
4278
  strokeWidth?: number | undefined;
@@ -4186,6 +4326,10 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
4186
4326
  rankSpacing?: number | undefined;
4187
4327
  edgeRouting?: "orthogonal" | "polyline" | "spline" | undefined;
4188
4328
  aspectRatio?: number | undefined;
4329
+ radialRoot?: string | undefined;
4330
+ radialRadius?: number | undefined;
4331
+ radialCompaction?: "none" | "radial" | "wedge" | undefined;
4332
+ radialSortBy?: "id" | "connections" | undefined;
4189
4333
  } | {
4190
4334
  mode: "grid";
4191
4335
  gap?: number | undefined;
@@ -4222,6 +4366,10 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
4222
4366
  rankSpacing: number;
4223
4367
  edgeRouting: "orthogonal" | "polyline" | "spline";
4224
4368
  aspectRatio?: number | undefined;
4369
+ radialRoot?: string | undefined;
4370
+ radialRadius?: number | undefined;
4371
+ radialCompaction?: "none" | "radial" | "wedge" | undefined;
4372
+ radialSortBy?: "id" | "connections" | undefined;
4225
4373
  } | {
4226
4374
  mode: "grid";
4227
4375
  gap: number;
@@ -4238,41 +4386,6 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
4238
4386
  height?: number | undefined;
4239
4387
  }>;
4240
4388
  };
4241
- theme: {
4242
- code: {
4243
- string: string;
4244
- number: string;
4245
- function: string;
4246
- text: string;
4247
- background: string;
4248
- comment: string;
4249
- keyword: string;
4250
- variable: string;
4251
- operator: string;
4252
- punctuation: string;
4253
- };
4254
- accent: string;
4255
- success: string;
4256
- warning: string;
4257
- error: string;
4258
- text: string;
4259
- background: string;
4260
- surface: string;
4261
- surfaceMuted: string;
4262
- surfaceElevated: string;
4263
- textMuted: string;
4264
- textInverse: string;
4265
- primary: string;
4266
- secondary: string;
4267
- info: string;
4268
- border: string;
4269
- borderMuted: string;
4270
- fonts: {
4271
- body: string;
4272
- heading: string;
4273
- mono: string;
4274
- };
4275
- } | "dracula" | "github-dark" | "nord" | "dark" | "light" | "one-dark";
4276
4389
  draw: ({
4277
4390
  type: "rect";
4278
4391
  width: number;
@@ -4297,14 +4410,14 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
4297
4410
  type: "text";
4298
4411
  color: string;
4299
4412
  opacity: number;
4300
- fontSize: number;
4301
4413
  text: string;
4302
- align: "left" | "center" | "right";
4414
+ fontSize: number;
4415
+ align: "center" | "left" | "right";
4303
4416
  x: number;
4304
4417
  y: number;
4305
4418
  fontWeight: number;
4306
4419
  fontFamily: "body" | "heading" | "mono";
4307
- baseline: "middle" | "alphabetic" | "bottom" | "top";
4420
+ baseline: "top" | "alphabetic" | "bottom" | "middle";
4308
4421
  letterSpacing: number;
4309
4422
  maxWidth?: number | undefined;
4310
4423
  } | {
@@ -4342,12 +4455,12 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
4342
4455
  type: "badge";
4343
4456
  color: string;
4344
4457
  opacity: number;
4345
- fontSize: number;
4458
+ background: string;
4346
4459
  text: string;
4460
+ fontSize: number;
4347
4461
  borderRadius: number;
4348
4462
  x: number;
4349
4463
  y: number;
4350
- background: string;
4351
4464
  fontFamily: "body" | "heading" | "mono";
4352
4465
  paddingX: number;
4353
4466
  paddingY: number;
@@ -4374,6 +4487,41 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
4374
4487
  }[];
4375
4488
  };
4376
4489
  })[];
4490
+ theme: {
4491
+ code: {
4492
+ string: string;
4493
+ number: string;
4494
+ function: string;
4495
+ background: string;
4496
+ text: string;
4497
+ comment: string;
4498
+ keyword: string;
4499
+ variable: string;
4500
+ operator: string;
4501
+ punctuation: string;
4502
+ };
4503
+ background: string;
4504
+ surface: string;
4505
+ surfaceMuted: string;
4506
+ surfaceElevated: string;
4507
+ text: string;
4508
+ textMuted: string;
4509
+ textInverse: string;
4510
+ primary: string;
4511
+ secondary: string;
4512
+ accent: string;
4513
+ success: string;
4514
+ warning: string;
4515
+ error: string;
4516
+ info: string;
4517
+ border: string;
4518
+ borderMuted: string;
4519
+ fonts: {
4520
+ body: string;
4521
+ heading: string;
4522
+ mono: string;
4523
+ };
4524
+ } | "dracula" | "github-dark" | "nord" | "dark" | "light" | "one-dark";
4377
4525
  version: 2;
4378
4526
  canvas: {
4379
4527
  width: number;
@@ -4381,22 +4529,18 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
4381
4529
  padding: number;
4382
4530
  };
4383
4531
  elements: ({
4384
- body: string;
4385
- type: "card";
4386
- id: string;
4387
- title: string;
4388
- tone: "neutral" | "accent" | "success" | "warning" | "error";
4389
- badge?: string | undefined;
4390
- metric?: string | undefined;
4391
- icon?: string | undefined;
4392
- } | {
4393
4532
  type: "flow-node";
4394
4533
  id: string;
4395
4534
  shape: "box" | "rounded-box" | "diamond" | "circle" | "pill" | "cylinder" | "parallelogram";
4396
4535
  label: string;
4536
+ fillOpacity: number;
4397
4537
  opacity: number;
4538
+ badgePosition: "top" | "inside-top";
4398
4539
  sublabel?: string | undefined;
4399
4540
  sublabelColor?: string | undefined;
4541
+ sublabel2?: string | undefined;
4542
+ sublabel2Color?: string | undefined;
4543
+ sublabel2FontSize?: number | undefined;
4400
4544
  labelColor?: string | undefined;
4401
4545
  labelFontSize?: number | undefined;
4402
4546
  color?: string | undefined;
@@ -4405,6 +4549,18 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
4405
4549
  cornerRadius?: number | undefined;
4406
4550
  width?: number | undefined;
4407
4551
  height?: number | undefined;
4552
+ badgeText?: string | undefined;
4553
+ badgeColor?: string | undefined;
4554
+ badgeBackground?: string | undefined;
4555
+ } | {
4556
+ body: string;
4557
+ type: "card";
4558
+ id: string;
4559
+ title: string;
4560
+ tone: "accent" | "success" | "warning" | "error" | "neutral";
4561
+ badge?: string | undefined;
4562
+ metric?: string | undefined;
4563
+ icon?: string | undefined;
4408
4564
  } | {
4409
4565
  type: "connection";
4410
4566
  opacity: number;
@@ -4461,14 +4617,14 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
4461
4617
  } | {
4462
4618
  type: "text";
4463
4619
  id: string;
4464
- style: "body" | "code" | "heading" | "subheading" | "caption";
4620
+ style: "body" | "heading" | "code" | "subheading" | "caption";
4465
4621
  content: string;
4466
- align: "left" | "center" | "right";
4622
+ align: "center" | "left" | "right";
4467
4623
  color?: string | undefined;
4468
4624
  } | {
4469
4625
  type: "shape";
4470
4626
  id: string;
4471
- shape: "circle" | "arrow" | "rectangle" | "rounded-rectangle" | "ellipse" | "line";
4627
+ shape: "line" | "circle" | "arrow" | "rectangle" | "rounded-rectangle" | "ellipse";
4472
4628
  strokeWidth: number;
4473
4629
  fill?: string | undefined;
4474
4630
  stroke?: string | undefined;
@@ -4531,7 +4687,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
4531
4687
  } | undefined;
4532
4688
  header?: {
4533
4689
  title: string;
4534
- align: "left" | "center" | "right";
4690
+ align: "center" | "left" | "right";
4535
4691
  titleLetterSpacing: number;
4536
4692
  eyebrow?: string | undefined;
4537
4693
  subtitle?: string | undefined;
@@ -4542,41 +4698,6 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
4542
4698
  tagline?: string | undefined;
4543
4699
  } | undefined;
4544
4700
  }, {
4545
- theme?: {
4546
- code: {
4547
- string: string;
4548
- number: string;
4549
- function: string;
4550
- text: string;
4551
- background: string;
4552
- comment: string;
4553
- keyword: string;
4554
- variable: string;
4555
- operator: string;
4556
- punctuation: string;
4557
- };
4558
- accent: string;
4559
- success: string;
4560
- warning: string;
4561
- error: string;
4562
- text: string;
4563
- background: string;
4564
- surface: string;
4565
- surfaceMuted: string;
4566
- surfaceElevated: string;
4567
- textMuted: string;
4568
- textInverse: string;
4569
- primary: string;
4570
- secondary: string;
4571
- info: string;
4572
- border: string;
4573
- borderMuted: string;
4574
- fonts: {
4575
- body: string;
4576
- heading: string;
4577
- mono: string;
4578
- };
4579
- } | "dracula" | "github-dark" | "nord" | "dark" | "light" | "one-dark" | undefined;
4580
4701
  background?: string | {
4581
4702
  type: "linear";
4582
4703
  stops: {
@@ -4593,7 +4714,7 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
4593
4714
  } | undefined;
4594
4715
  header?: {
4595
4716
  title: string;
4596
- align?: "left" | "center" | "right" | undefined;
4717
+ align?: "center" | "left" | "right" | undefined;
4597
4718
  eyebrow?: string | undefined;
4598
4719
  subtitle?: string | undefined;
4599
4720
  titleLetterSpacing?: number | undefined;
@@ -4631,10 +4752,10 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
4631
4752
  color?: string | undefined;
4632
4753
  opacity?: number | undefined;
4633
4754
  fontSize?: number | undefined;
4634
- align?: "left" | "center" | "right" | undefined;
4755
+ align?: "center" | "left" | "right" | undefined;
4635
4756
  fontWeight?: number | undefined;
4636
4757
  fontFamily?: "body" | "heading" | "mono" | undefined;
4637
- baseline?: "middle" | "alphabetic" | "bottom" | "top" | undefined;
4758
+ baseline?: "top" | "alphabetic" | "bottom" | "middle" | undefined;
4638
4759
  letterSpacing?: number | undefined;
4639
4760
  maxWidth?: number | undefined;
4640
4761
  } | {
@@ -4675,9 +4796,9 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
4675
4796
  y: number;
4676
4797
  color?: string | undefined;
4677
4798
  opacity?: number | undefined;
4799
+ background?: string | undefined;
4678
4800
  fontSize?: number | undefined;
4679
4801
  borderRadius?: number | undefined;
4680
- background?: string | undefined;
4681
4802
  fontFamily?: "body" | "heading" | "mono" | undefined;
4682
4803
  paddingX?: number | undefined;
4683
4804
  paddingY?: number | undefined;
@@ -4704,6 +4825,41 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
4704
4825
  opacity?: number | undefined;
4705
4826
  radius?: number | undefined;
4706
4827
  })[] | undefined;
4828
+ theme?: {
4829
+ code: {
4830
+ string: string;
4831
+ number: string;
4832
+ function: string;
4833
+ background: string;
4834
+ text: string;
4835
+ comment: string;
4836
+ keyword: string;
4837
+ variable: string;
4838
+ operator: string;
4839
+ punctuation: string;
4840
+ };
4841
+ background: string;
4842
+ surface: string;
4843
+ surfaceMuted: string;
4844
+ surfaceElevated: string;
4845
+ text: string;
4846
+ textMuted: string;
4847
+ textInverse: string;
4848
+ primary: string;
4849
+ secondary: string;
4850
+ accent: string;
4851
+ success: string;
4852
+ warning: string;
4853
+ error: string;
4854
+ info: string;
4855
+ border: string;
4856
+ borderMuted: string;
4857
+ fonts: {
4858
+ body: string;
4859
+ heading: string;
4860
+ mono: string;
4861
+ };
4862
+ } | "dracula" | "github-dark" | "nord" | "dark" | "light" | "one-dark" | undefined;
4707
4863
  version?: 2 | undefined;
4708
4864
  canvas?: {
4709
4865
  width?: number | undefined;
@@ -4711,21 +4867,15 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
4711
4867
  padding?: number | undefined;
4712
4868
  } | undefined;
4713
4869
  elements?: ({
4714
- body: string;
4715
- type: "card";
4716
- id: string;
4717
- title: string;
4718
- badge?: string | undefined;
4719
- metric?: string | undefined;
4720
- tone?: "neutral" | "accent" | "success" | "warning" | "error" | undefined;
4721
- icon?: string | undefined;
4722
- } | {
4723
4870
  type: "flow-node";
4724
4871
  id: string;
4725
4872
  shape: "box" | "rounded-box" | "diamond" | "circle" | "pill" | "cylinder" | "parallelogram";
4726
4873
  label: string;
4727
4874
  sublabel?: string | undefined;
4728
4875
  sublabelColor?: string | undefined;
4876
+ sublabel2?: string | undefined;
4877
+ sublabel2Color?: string | undefined;
4878
+ sublabel2FontSize?: number | undefined;
4729
4879
  labelColor?: string | undefined;
4730
4880
  labelFontSize?: number | undefined;
4731
4881
  color?: string | undefined;
@@ -4734,7 +4884,21 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
4734
4884
  cornerRadius?: number | undefined;
4735
4885
  width?: number | undefined;
4736
4886
  height?: number | undefined;
4887
+ fillOpacity?: number | undefined;
4737
4888
  opacity?: number | undefined;
4889
+ badgeText?: string | undefined;
4890
+ badgeColor?: string | undefined;
4891
+ badgeBackground?: string | undefined;
4892
+ badgePosition?: "top" | "inside-top" | undefined;
4893
+ } | {
4894
+ body: string;
4895
+ type: "card";
4896
+ id: string;
4897
+ title: string;
4898
+ badge?: string | undefined;
4899
+ metric?: string | undefined;
4900
+ tone?: "accent" | "success" | "warning" | "error" | "neutral" | undefined;
4901
+ icon?: string | undefined;
4738
4902
  } | {
4739
4903
  type: "connection";
4740
4904
  from: string;
@@ -4791,14 +4955,14 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
4791
4955
  } | {
4792
4956
  type: "text";
4793
4957
  id: string;
4794
- style: "body" | "code" | "heading" | "subheading" | "caption";
4958
+ style: "body" | "heading" | "code" | "subheading" | "caption";
4795
4959
  content: string;
4796
4960
  color?: string | undefined;
4797
- align?: "left" | "center" | "right" | undefined;
4961
+ align?: "center" | "left" | "right" | undefined;
4798
4962
  } | {
4799
4963
  type: "shape";
4800
4964
  id: string;
4801
- shape: "circle" | "arrow" | "rectangle" | "rounded-rectangle" | "ellipse" | "line";
4965
+ shape: "line" | "circle" | "arrow" | "rectangle" | "rounded-rectangle" | "ellipse";
4802
4966
  fill?: string | undefined;
4803
4967
  stroke?: string | undefined;
4804
4968
  strokeWidth?: number | undefined;
@@ -4852,6 +5016,10 @@ declare const designSpecSchema: z.ZodEffects<z.ZodObject<{
4852
5016
  rankSpacing?: number | undefined;
4853
5017
  edgeRouting?: "orthogonal" | "polyline" | "spline" | undefined;
4854
5018
  aspectRatio?: number | undefined;
5019
+ radialRoot?: string | undefined;
5020
+ radialRadius?: number | undefined;
5021
+ radialCompaction?: "none" | "radial" | "wedge" | undefined;
5022
+ radialSortBy?: "id" | "connections" | undefined;
4855
5023
  } | {
4856
5024
  mode: "grid";
4857
5025
  gap?: number | undefined;