@retikz/core 0.3.0-alpha.2 → 0.3.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (214) hide show
  1. package/README.md +41 -41
  2. package/dist/es/compile/anchor-cache.d.ts +5 -3
  3. package/dist/es/compile/anchor-cache.d.ts.map +1 -1
  4. package/dist/es/compile/anchor-cache.js +14 -10
  5. package/dist/es/compile/boundary.d.ts +19 -0
  6. package/dist/es/compile/boundary.d.ts.map +1 -0
  7. package/dist/es/compile/boundary.js +64 -0
  8. package/dist/es/compile/compile.d.ts.map +1 -1
  9. package/dist/es/compile/compile.js +15 -2
  10. package/dist/es/compile/node.d.ts +24 -8
  11. package/dist/es/compile/node.d.ts.map +1 -1
  12. package/dist/es/compile/node.js +106 -17
  13. package/dist/es/compile/path/anchor.d.ts.map +1 -1
  14. package/dist/es/compile/path/anchor.js +7 -6
  15. package/dist/es/compile/path/index.d.ts.map +1 -1
  16. package/dist/es/compile/path/index.js +7 -3
  17. package/dist/es/compile/path/relative.js +1 -1
  18. package/dist/es/compile/scope.d.ts.map +1 -1
  19. package/dist/es/compile/scope.js +2 -1
  20. package/dist/es/geometry/arc.d.ts +14 -0
  21. package/dist/es/geometry/arc.d.ts.map +1 -1
  22. package/dist/es/geometry/arc.js +65 -9
  23. package/dist/es/geometry/index.d.ts +1 -0
  24. package/dist/es/geometry/index.d.ts.map +1 -1
  25. package/dist/es/geometry/rect.d.ts +2 -2
  26. package/dist/es/geometry/rect.d.ts.map +1 -1
  27. package/dist/es/geometry/rect.js +3 -3
  28. package/dist/es/geometry/roundedContour.d.ts +88 -0
  29. package/dist/es/geometry/roundedContour.d.ts.map +1 -0
  30. package/dist/es/geometry/roundedContour.js +417 -0
  31. package/dist/es/index.d.ts +6 -5
  32. package/dist/es/index.d.ts.map +1 -1
  33. package/dist/es/index.js +9 -6
  34. package/dist/es/ir/boundary.d.ts +25 -0
  35. package/dist/es/ir/boundary.d.ts.map +1 -0
  36. package/dist/es/ir/boundary.js +14 -0
  37. package/dist/es/ir/index.d.ts +2 -0
  38. package/dist/es/ir/index.d.ts.map +1 -1
  39. package/dist/es/ir/node.d.ts +43 -7
  40. package/dist/es/ir/node.d.ts.map +1 -1
  41. package/dist/es/ir/node.js +8 -3
  42. package/dist/es/ir/path/arrow.d.ts +12 -12
  43. package/dist/es/ir/path/path.d.ts +493 -147
  44. package/dist/es/ir/path/path.d.ts.map +1 -1
  45. package/dist/es/ir/path/path.js +3 -0
  46. package/dist/es/ir/path/step.d.ts +674 -154
  47. package/dist/es/ir/path/step.d.ts.map +1 -1
  48. package/dist/es/ir/path/step.js +2 -2
  49. package/dist/es/ir/path/target.d.ts +43 -8
  50. package/dist/es/ir/path/target.d.ts.map +1 -1
  51. package/dist/es/ir/path/target.js +4 -5
  52. package/dist/es/ir/scope.d.ts +851 -234
  53. package/dist/es/ir/scope.d.ts.map +1 -1
  54. package/dist/es/ir/scope.js +6 -2
  55. package/dist/es/ir/shape.d.ts +14 -0
  56. package/dist/es/ir/shape.d.ts.map +1 -0
  57. package/dist/es/ir/shape.js +9 -0
  58. package/dist/es/parsers/parseNodeTarget.d.ts.map +1 -1
  59. package/dist/es/parsers/parseNodeTarget.js +4 -2
  60. package/dist/es/primitive/ellipse.d.ts +5 -0
  61. package/dist/es/primitive/ellipse.d.ts.map +1 -1
  62. package/dist/es/primitive/group.d.ts +5 -0
  63. package/dist/es/primitive/group.d.ts.map +1 -1
  64. package/dist/es/primitive/path.d.ts +5 -0
  65. package/dist/es/primitive/path.d.ts.map +1 -1
  66. package/dist/es/primitive/rect.d.ts +5 -0
  67. package/dist/es/primitive/rect.d.ts.map +1 -1
  68. package/dist/es/primitive/text.d.ts +5 -0
  69. package/dist/es/primitive/text.d.ts.map +1 -1
  70. package/dist/es/shapes/_contour.d.ts +19 -0
  71. package/dist/es/shapes/_contour.d.ts.map +1 -0
  72. package/dist/es/shapes/_contour.js +60 -0
  73. package/dist/es/shapes/_shared.d.ts +54 -0
  74. package/dist/es/shapes/_shared.d.ts.map +1 -1
  75. package/dist/es/shapes/_shared.js +68 -1
  76. package/dist/es/shapes/arc.d.ts +8 -0
  77. package/dist/es/shapes/arc.d.ts.map +1 -0
  78. package/dist/es/shapes/arc.js +104 -0
  79. package/dist/es/shapes/define.d.ts +13 -0
  80. package/dist/es/shapes/define.d.ts.map +1 -0
  81. package/dist/es/shapes/define.js +13 -0
  82. package/dist/es/shapes/ellipse.d.ts +5 -4
  83. package/dist/es/shapes/ellipse.d.ts.map +1 -1
  84. package/dist/es/shapes/ellipse.js +15 -7
  85. package/dist/es/shapes/index.d.ts +9 -6
  86. package/dist/es/shapes/index.d.ts.map +1 -1
  87. package/dist/es/shapes/index.js +10 -5
  88. package/dist/es/shapes/polygon.d.ts +13 -0
  89. package/dist/es/shapes/polygon.d.ts.map +1 -0
  90. package/dist/es/shapes/polygon.js +104 -0
  91. package/dist/es/shapes/rectangle.d.ts +7 -5
  92. package/dist/es/shapes/rectangle.d.ts.map +1 -1
  93. package/dist/es/shapes/rectangle.js +37 -8
  94. package/dist/es/shapes/sector.d.ts +9 -0
  95. package/dist/es/shapes/sector.d.ts.map +1 -0
  96. package/dist/es/shapes/sector.js +143 -0
  97. package/dist/es/shapes/star.d.ts +15 -0
  98. package/dist/es/shapes/star.d.ts.map +1 -0
  99. package/dist/es/shapes/star.js +113 -0
  100. package/dist/es/shapes/types.d.ts +47 -14
  101. package/dist/es/shapes/types.d.ts.map +1 -1
  102. package/dist/lib/compile/anchor-cache.cjs +14 -10
  103. package/dist/lib/compile/anchor-cache.d.ts +5 -3
  104. package/dist/lib/compile/anchor-cache.d.ts.map +1 -1
  105. package/dist/lib/compile/boundary.cjs +65 -0
  106. package/dist/lib/compile/boundary.d.ts +19 -0
  107. package/dist/lib/compile/boundary.d.ts.map +1 -0
  108. package/dist/lib/compile/compile.cjs +15 -2
  109. package/dist/lib/compile/compile.d.ts.map +1 -1
  110. package/dist/lib/compile/node.cjs +106 -17
  111. package/dist/lib/compile/node.d.ts +24 -8
  112. package/dist/lib/compile/node.d.ts.map +1 -1
  113. package/dist/lib/compile/path/anchor.cjs +7 -6
  114. package/dist/lib/compile/path/anchor.d.ts.map +1 -1
  115. package/dist/lib/compile/path/index.cjs +7 -3
  116. package/dist/lib/compile/path/index.d.ts.map +1 -1
  117. package/dist/lib/compile/path/relative.cjs +1 -1
  118. package/dist/lib/compile/scope.cjs +2 -1
  119. package/dist/lib/compile/scope.d.ts.map +1 -1
  120. package/dist/lib/geometry/arc.cjs +66 -8
  121. package/dist/lib/geometry/arc.d.ts +14 -0
  122. package/dist/lib/geometry/arc.d.ts.map +1 -1
  123. package/dist/lib/geometry/index.d.ts +1 -0
  124. package/dist/lib/geometry/index.d.ts.map +1 -1
  125. package/dist/lib/geometry/rect.cjs +3 -3
  126. package/dist/lib/geometry/rect.d.ts +2 -2
  127. package/dist/lib/geometry/rect.d.ts.map +1 -1
  128. package/dist/lib/geometry/roundedContour.cjs +418 -0
  129. package/dist/lib/geometry/roundedContour.d.ts +88 -0
  130. package/dist/lib/geometry/roundedContour.d.ts.map +1 -0
  131. package/dist/lib/index.cjs +14 -7
  132. package/dist/lib/index.d.ts +6 -5
  133. package/dist/lib/index.d.ts.map +1 -1
  134. package/dist/lib/ir/boundary.cjs +15 -0
  135. package/dist/lib/ir/boundary.d.ts +25 -0
  136. package/dist/lib/ir/boundary.d.ts.map +1 -0
  137. package/dist/lib/ir/index.d.ts +2 -0
  138. package/dist/lib/ir/index.d.ts.map +1 -1
  139. package/dist/lib/ir/node.cjs +8 -3
  140. package/dist/lib/ir/node.d.ts +43 -7
  141. package/dist/lib/ir/node.d.ts.map +1 -1
  142. package/dist/lib/ir/path/arrow.d.ts +12 -12
  143. package/dist/lib/ir/path/path.cjs +3 -0
  144. package/dist/lib/ir/path/path.d.ts +493 -147
  145. package/dist/lib/ir/path/path.d.ts.map +1 -1
  146. package/dist/lib/ir/path/step.cjs +2 -2
  147. package/dist/lib/ir/path/step.d.ts +674 -154
  148. package/dist/lib/ir/path/step.d.ts.map +1 -1
  149. package/dist/lib/ir/path/target.cjs +4 -5
  150. package/dist/lib/ir/path/target.d.ts +43 -8
  151. package/dist/lib/ir/path/target.d.ts.map +1 -1
  152. package/dist/lib/ir/scope.cjs +6 -2
  153. package/dist/lib/ir/scope.d.ts +851 -234
  154. package/dist/lib/ir/scope.d.ts.map +1 -1
  155. package/dist/lib/ir/shape.cjs +9 -0
  156. package/dist/lib/ir/shape.d.ts +14 -0
  157. package/dist/lib/ir/shape.d.ts.map +1 -0
  158. package/dist/lib/parsers/parseNodeTarget.cjs +4 -2
  159. package/dist/lib/parsers/parseNodeTarget.d.ts.map +1 -1
  160. package/dist/lib/primitive/ellipse.d.ts +5 -0
  161. package/dist/lib/primitive/ellipse.d.ts.map +1 -1
  162. package/dist/lib/primitive/group.d.ts +5 -0
  163. package/dist/lib/primitive/group.d.ts.map +1 -1
  164. package/dist/lib/primitive/path.d.ts +5 -0
  165. package/dist/lib/primitive/path.d.ts.map +1 -1
  166. package/dist/lib/primitive/rect.d.ts +5 -0
  167. package/dist/lib/primitive/rect.d.ts.map +1 -1
  168. package/dist/lib/primitive/text.d.ts +5 -0
  169. package/dist/lib/primitive/text.d.ts.map +1 -1
  170. package/dist/lib/shapes/_contour.cjs +61 -0
  171. package/dist/lib/shapes/_contour.d.ts +19 -0
  172. package/dist/lib/shapes/_contour.d.ts.map +1 -0
  173. package/dist/lib/shapes/_shared.cjs +70 -0
  174. package/dist/lib/shapes/_shared.d.ts +54 -0
  175. package/dist/lib/shapes/_shared.d.ts.map +1 -1
  176. package/dist/lib/shapes/arc.cjs +104 -0
  177. package/dist/lib/shapes/arc.d.ts +8 -0
  178. package/dist/lib/shapes/arc.d.ts.map +1 -0
  179. package/dist/lib/shapes/define.cjs +13 -0
  180. package/dist/lib/shapes/define.d.ts +13 -0
  181. package/dist/lib/shapes/define.d.ts.map +1 -0
  182. package/dist/lib/shapes/ellipse.cjs +15 -7
  183. package/dist/lib/shapes/ellipse.d.ts +5 -4
  184. package/dist/lib/shapes/ellipse.d.ts.map +1 -1
  185. package/dist/lib/shapes/index.cjs +12 -6
  186. package/dist/lib/shapes/index.d.ts +9 -6
  187. package/dist/lib/shapes/index.d.ts.map +1 -1
  188. package/dist/lib/shapes/polygon.cjs +104 -0
  189. package/dist/lib/shapes/polygon.d.ts +13 -0
  190. package/dist/lib/shapes/polygon.d.ts.map +1 -0
  191. package/dist/lib/shapes/rectangle.cjs +37 -8
  192. package/dist/lib/shapes/rectangle.d.ts +7 -5
  193. package/dist/lib/shapes/rectangle.d.ts.map +1 -1
  194. package/dist/lib/shapes/sector.cjs +143 -0
  195. package/dist/lib/shapes/sector.d.ts +9 -0
  196. package/dist/lib/shapes/sector.d.ts.map +1 -0
  197. package/dist/lib/shapes/star.cjs +113 -0
  198. package/dist/lib/shapes/star.d.ts +15 -0
  199. package/dist/lib/shapes/star.d.ts.map +1 -0
  200. package/dist/lib/shapes/types.d.ts +47 -14
  201. package/dist/lib/shapes/types.d.ts.map +1 -1
  202. package/package.json +2 -2
  203. package/dist/es/shapes/circle.d.ts +0 -8
  204. package/dist/es/shapes/circle.d.ts.map +0 -1
  205. package/dist/es/shapes/circle.js +0 -34
  206. package/dist/es/shapes/diamond.d.ts +0 -8
  207. package/dist/es/shapes/diamond.d.ts.map +0 -1
  208. package/dist/es/shapes/diamond.js +0 -66
  209. package/dist/lib/shapes/circle.cjs +0 -34
  210. package/dist/lib/shapes/circle.d.ts +0 -8
  211. package/dist/lib/shapes/circle.d.ts.map +0 -1
  212. package/dist/lib/shapes/diamond.cjs +0 -66
  213. package/dist/lib/shapes/diamond.d.ts +0 -8
  214. package/dist/lib/shapes/diamond.d.ts.map +0 -1
@@ -2,6 +2,7 @@ import { z } from 'zod';
2
2
  import { IRClipSpec } from './clip';
3
3
  import { IRComposite } from './composite';
4
4
  import { IRCoordinate } from './coordinate';
5
+ import { IRJsonObject } from './json';
5
6
  import { IRPaintSpec } from './paint';
6
7
  import { IRNode } from './node';
7
8
  import { IRPath } from './path';
@@ -14,7 +15,27 @@ import { IRTransform } from './transform';
14
15
  export declare const NodeDefaultSchema: z.ZodObject<Omit<{
15
16
  type: z.ZodLiteral<"node">;
16
17
  id: z.ZodOptional<z.ZodString>;
17
- shape: z.ZodOptional<z.ZodString>;
18
+ shape: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
19
+ type: z.ZodString;
20
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
21
+ }, "strip", z.ZodTypeAny, {
22
+ type: string;
23
+ params?: Record<string, import('./json').JsonValue> | undefined;
24
+ }, {
25
+ type: string;
26
+ params?: Record<string, import('./json').JsonValue> | undefined;
27
+ }>]>>;
28
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
29
+ type: z.ZodString;
30
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
31
+ }, "strip", z.ZodTypeAny, {
32
+ type: string;
33
+ params?: Record<string, import('./json').JsonValue> | undefined;
34
+ }, {
35
+ type: string;
36
+ params?: Record<string, import('./json').JsonValue> | undefined;
37
+ }>]>>;
38
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
18
39
  position: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
19
40
  direction: z.ZodNativeEnum<{
20
41
  readonly above: "above";
@@ -207,7 +228,7 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
207
228
  dashed: z.ZodOptional<z.ZodBoolean>;
208
229
  dotted: z.ZodOptional<z.ZodBoolean>;
209
230
  dashArray: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
210
- roundedCorners: z.ZodOptional<z.ZodNumber>;
231
+ cornerRadius: z.ZodOptional<z.ZodNumber>;
211
232
  minimumWidth: z.ZodOptional<z.ZodNumber>;
212
233
  minimumHeight: z.ZodOptional<z.ZodNumber>;
213
234
  minimumSize: z.ZodOptional<z.ZodNumber>;
@@ -407,7 +428,7 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
407
428
  } | undefined;
408
429
  }>, "many">]>>;
409
430
  zIndex: z.ZodOptional<z.ZodNumber>;
410
- }, "type" | "id" | "text" | "position" | "label" | "zIndex">, "strict", z.ZodTypeAny, {
431
+ }, "type" | "id" | "text" | "position" | "label" | "meta" | "zIndex">, "strict", z.ZodTypeAny, {
411
432
  fill?: string | {
412
433
  type: "linearGradient";
413
434
  stops: {
@@ -438,9 +459,16 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
438
459
  href: string;
439
460
  fit?: "fill" | "contain" | "cover" | undefined;
440
461
  } | undefined;
462
+ shape?: string | {
463
+ type: string;
464
+ params?: Record<string, import('./json').JsonValue> | undefined;
465
+ } | undefined;
466
+ boundary?: string | {
467
+ type: string;
468
+ params?: Record<string, import('./json').JsonValue> | undefined;
469
+ } | undefined;
441
470
  color?: string | undefined;
442
471
  opacity?: number | undefined;
443
- shape?: string | undefined;
444
472
  font?: {
445
473
  family?: string | undefined;
446
474
  size?: number | undefined;
@@ -449,7 +477,7 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
449
477
  } | undefined;
450
478
  scale?: number | undefined;
451
479
  textColor?: string | undefined;
452
- roundedCorners?: number | undefined;
480
+ cornerRadius?: number | undefined;
453
481
  stroke?: string | undefined;
454
482
  strokeWidth?: number | undefined;
455
483
  fillOpacity?: number | undefined;
@@ -502,9 +530,16 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
502
530
  href: string;
503
531
  fit?: "fill" | "contain" | "cover" | undefined;
504
532
  } | undefined;
533
+ shape?: string | {
534
+ type: string;
535
+ params?: Record<string, import('./json').JsonValue> | undefined;
536
+ } | undefined;
537
+ boundary?: string | {
538
+ type: string;
539
+ params?: Record<string, import('./json').JsonValue> | undefined;
540
+ } | undefined;
505
541
  color?: string | undefined;
506
542
  opacity?: number | undefined;
507
- shape?: string | undefined;
508
543
  font?: {
509
544
  family?: string | undefined;
510
545
  size?: number | undefined;
@@ -513,7 +548,7 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
513
548
  } | undefined;
514
549
  scale?: number | undefined;
515
550
  textColor?: string | undefined;
516
- roundedCorners?: number | undefined;
551
+ cornerRadius?: number | undefined;
517
552
  stroke?: string | undefined;
518
553
  strokeWidth?: number | undefined;
519
554
  fillOpacity?: number | undefined;
@@ -542,6 +577,8 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
542
577
  */
543
578
  export declare const PathDefaultSchema: z.ZodObject<Omit<{
544
579
  type: z.ZodLiteral<"path">;
580
+ id: z.ZodOptional<z.ZodString>;
581
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
545
582
  color: z.ZodOptional<z.ZodString>;
546
583
  stroke: z.ZodOptional<z.ZodString>;
547
584
  strokeWidth: z.ZodOptional<z.ZodNumber>;
@@ -569,18 +606,18 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
569
606
  }, "strip", z.ZodTypeAny, {
570
607
  length?: number | undefined;
571
608
  fill?: string | undefined;
609
+ shape?: string | undefined;
572
610
  color?: string | undefined;
573
611
  opacity?: number | undefined;
574
- shape?: string | undefined;
575
612
  lineWidth?: number | undefined;
576
613
  width?: number | undefined;
577
614
  scale?: number | undefined;
578
615
  }, {
579
616
  length?: number | undefined;
580
617
  fill?: string | undefined;
618
+ shape?: string | undefined;
581
619
  color?: string | undefined;
582
620
  opacity?: number | undefined;
583
- shape?: string | undefined;
584
621
  lineWidth?: number | undefined;
585
622
  width?: number | undefined;
586
623
  scale?: number | undefined;
@@ -597,18 +634,18 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
597
634
  }, "strip", z.ZodTypeAny, {
598
635
  length?: number | undefined;
599
636
  fill?: string | undefined;
637
+ shape?: string | undefined;
600
638
  color?: string | undefined;
601
639
  opacity?: number | undefined;
602
- shape?: string | undefined;
603
640
  lineWidth?: number | undefined;
604
641
  width?: number | undefined;
605
642
  scale?: number | undefined;
606
643
  }, {
607
644
  length?: number | undefined;
608
645
  fill?: string | undefined;
646
+ shape?: string | undefined;
609
647
  color?: string | undefined;
610
648
  opacity?: number | undefined;
611
- shape?: string | undefined;
612
649
  lineWidth?: number | undefined;
613
650
  width?: number | undefined;
614
651
  scale?: number | undefined;
@@ -616,18 +653,18 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
616
653
  }, "strip", z.ZodTypeAny, {
617
654
  length?: number | undefined;
618
655
  fill?: string | undefined;
656
+ shape?: string | undefined;
619
657
  color?: string | undefined;
620
658
  opacity?: number | undefined;
621
- shape?: string | undefined;
622
659
  lineWidth?: number | undefined;
623
660
  width?: number | undefined;
624
661
  scale?: number | undefined;
625
662
  start?: {
626
663
  length?: number | undefined;
627
664
  fill?: string | undefined;
665
+ shape?: string | undefined;
628
666
  color?: string | undefined;
629
667
  opacity?: number | undefined;
630
- shape?: string | undefined;
631
668
  lineWidth?: number | undefined;
632
669
  width?: number | undefined;
633
670
  scale?: number | undefined;
@@ -635,9 +672,9 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
635
672
  end?: {
636
673
  length?: number | undefined;
637
674
  fill?: string | undefined;
675
+ shape?: string | undefined;
638
676
  color?: string | undefined;
639
677
  opacity?: number | undefined;
640
- shape?: string | undefined;
641
678
  lineWidth?: number | undefined;
642
679
  width?: number | undefined;
643
680
  scale?: number | undefined;
@@ -645,18 +682,18 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
645
682
  }, {
646
683
  length?: number | undefined;
647
684
  fill?: string | undefined;
685
+ shape?: string | undefined;
648
686
  color?: string | undefined;
649
687
  opacity?: number | undefined;
650
- shape?: string | undefined;
651
688
  lineWidth?: number | undefined;
652
689
  width?: number | undefined;
653
690
  scale?: number | undefined;
654
691
  start?: {
655
692
  length?: number | undefined;
656
693
  fill?: string | undefined;
694
+ shape?: string | undefined;
657
695
  color?: string | undefined;
658
696
  opacity?: number | undefined;
659
- shape?: string | undefined;
660
697
  lineWidth?: number | undefined;
661
698
  width?: number | undefined;
662
699
  scale?: number | undefined;
@@ -664,9 +701,9 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
664
701
  end?: {
665
702
  length?: number | undefined;
666
703
  fill?: string | undefined;
704
+ shape?: string | undefined;
667
705
  color?: string | undefined;
668
706
  opacity?: number | undefined;
669
- shape?: string | undefined;
670
707
  lineWidth?: number | undefined;
671
708
  width?: number | undefined;
672
709
  scale?: number | undefined;
@@ -812,9 +849,9 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
812
849
  kind: "arrow";
813
850
  length?: number | undefined;
814
851
  fill?: string | undefined;
852
+ shape?: string | undefined;
815
853
  color?: string | undefined;
816
854
  opacity?: number | undefined;
817
- shape?: string | undefined;
818
855
  lineWidth?: number | undefined;
819
856
  width?: number | undefined;
820
857
  scale?: number | undefined;
@@ -822,9 +859,9 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
822
859
  kind: "arrow";
823
860
  length?: number | undefined;
824
861
  fill?: string | undefined;
862
+ shape?: string | undefined;
825
863
  color?: string | undefined;
826
864
  opacity?: number | undefined;
827
- shape?: string | undefined;
828
865
  lineWidth?: number | undefined;
829
866
  width?: number | undefined;
830
867
  scale?: number | undefined;
@@ -835,9 +872,9 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
835
872
  kind: "arrow";
836
873
  length?: number | undefined;
837
874
  fill?: string | undefined;
875
+ shape?: string | undefined;
838
876
  color?: string | undefined;
839
877
  opacity?: number | undefined;
840
- shape?: string | undefined;
841
878
  lineWidth?: number | undefined;
842
879
  width?: number | undefined;
843
880
  scale?: number | undefined;
@@ -848,9 +885,9 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
848
885
  kind: "arrow";
849
886
  length?: number | undefined;
850
887
  fill?: string | undefined;
888
+ shape?: string | undefined;
851
889
  color?: string | undefined;
852
890
  opacity?: number | undefined;
853
- shape?: string | undefined;
854
891
  lineWidth?: number | undefined;
855
892
  width?: number | undefined;
856
893
  scale?: number | undefined;
@@ -861,7 +898,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
861
898
  kind: z.ZodLiteral<"move">;
862
899
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
863
900
  id: z.ZodString;
864
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
901
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
865
902
  side: z.ZodEnum<["north", "south", "east", "west"]>;
866
903
  t: z.ZodNumber;
867
904
  }, "strip", z.ZodTypeAny, {
@@ -872,20 +909,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
872
909
  t: number;
873
910
  }>]>>;
874
911
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
912
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
913
+ type: z.ZodString;
914
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
915
+ }, "strip", z.ZodTypeAny, {
916
+ type: string;
917
+ params?: Record<string, import('./json').JsonValue> | undefined;
918
+ }, {
919
+ type: string;
920
+ params?: Record<string, import('./json').JsonValue> | undefined;
921
+ }>]>>;
875
922
  }, "strip", z.ZodTypeAny, {
876
923
  id: string;
877
924
  offset?: [number, number] | undefined;
878
- anchor?: number | import('..').RectAnchor | {
925
+ anchor?: string | number | {
879
926
  side: "north" | "south" | "east" | "west";
880
927
  t: number;
881
928
  } | undefined;
929
+ boundary?: string | {
930
+ type: string;
931
+ params?: Record<string, import('./json').JsonValue> | undefined;
932
+ } | undefined;
882
933
  }, {
883
934
  id: string;
884
935
  offset?: [number, number] | undefined;
885
- anchor?: number | import('..').RectAnchor | {
936
+ anchor?: string | number | {
886
937
  side: "north" | "south" | "east" | "west";
887
938
  t: number;
888
939
  } | undefined;
940
+ boundary?: string | {
941
+ type: string;
942
+ params?: Record<string, import('./json').JsonValue> | undefined;
943
+ } | undefined;
889
944
  }>, z.ZodObject<{
890
945
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
891
946
  }, "strip", z.ZodTypeAny, {
@@ -910,46 +965,54 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
910
965
  }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
911
966
  }, "strip", z.ZodTypeAny, {
912
967
  type: "step";
968
+ kind: "move";
913
969
  to: [number, number] | import('./position').PolarPosition | {
914
970
  of: string | [number, number] | import('./position').PolarPosition;
915
971
  offset: [number, number];
916
972
  } | {
917
973
  id: string;
918
974
  offset?: [number, number] | undefined;
919
- anchor?: number | import('..').RectAnchor | {
975
+ anchor?: string | number | {
920
976
  side: "north" | "south" | "east" | "west";
921
977
  t: number;
922
978
  } | undefined;
979
+ boundary?: string | {
980
+ type: string;
981
+ params?: Record<string, import('./json').JsonValue> | undefined;
982
+ } | undefined;
923
983
  } | {
924
984
  relative: [number, number];
925
985
  } | {
926
986
  relativeAccumulate: [number, number];
927
987
  } | import('./position').IRBetweenPosition;
928
- kind: "move";
929
988
  }, {
930
989
  type: "step";
990
+ kind: "move";
931
991
  to: [number, number] | import('./position').PolarPosition | {
932
992
  of: string | [number, number] | import('./position').PolarPosition;
933
993
  offset: [number, number];
934
994
  } | {
935
995
  id: string;
936
996
  offset?: [number, number] | undefined;
937
- anchor?: number | import('..').RectAnchor | {
997
+ anchor?: string | number | {
938
998
  side: "north" | "south" | "east" | "west";
939
999
  t: number;
940
1000
  } | undefined;
1001
+ boundary?: string | {
1002
+ type: string;
1003
+ params?: Record<string, import('./json').JsonValue> | undefined;
1004
+ } | undefined;
941
1005
  } | {
942
1006
  relative: [number, number];
943
1007
  } | {
944
1008
  relativeAccumulate: [number, number];
945
1009
  } | import('./position').IRBetweenPosition;
946
- kind: "move";
947
1010
  }>, z.ZodObject<{
948
1011
  type: z.ZodLiteral<"step">;
949
1012
  kind: z.ZodLiteral<"line">;
950
1013
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
951
1014
  id: z.ZodString;
952
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
1015
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
953
1016
  side: z.ZodEnum<["north", "south", "east", "west"]>;
954
1017
  t: z.ZodNumber;
955
1018
  }, "strip", z.ZodTypeAny, {
@@ -960,20 +1023,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
960
1023
  t: number;
961
1024
  }>]>>;
962
1025
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
1026
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1027
+ type: z.ZodString;
1028
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
1029
+ }, "strip", z.ZodTypeAny, {
1030
+ type: string;
1031
+ params?: Record<string, import('./json').JsonValue> | undefined;
1032
+ }, {
1033
+ type: string;
1034
+ params?: Record<string, import('./json').JsonValue> | undefined;
1035
+ }>]>>;
963
1036
  }, "strip", z.ZodTypeAny, {
964
1037
  id: string;
965
1038
  offset?: [number, number] | undefined;
966
- anchor?: number | import('..').RectAnchor | {
1039
+ anchor?: string | number | {
967
1040
  side: "north" | "south" | "east" | "west";
968
1041
  t: number;
969
1042
  } | undefined;
1043
+ boundary?: string | {
1044
+ type: string;
1045
+ params?: Record<string, import('./json').JsonValue> | undefined;
1046
+ } | undefined;
970
1047
  }, {
971
1048
  id: string;
972
1049
  offset?: [number, number] | undefined;
973
- anchor?: number | import('..').RectAnchor | {
1050
+ anchor?: string | number | {
974
1051
  side: "north" | "south" | "east" | "west";
975
1052
  t: number;
976
1053
  } | undefined;
1054
+ boundary?: string | {
1055
+ type: string;
1056
+ params?: Record<string, import('./json').JsonValue> | undefined;
1057
+ } | undefined;
977
1058
  }>, z.ZodObject<{
978
1059
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
979
1060
  }, "strip", z.ZodTypeAny, {
@@ -1045,22 +1126,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1045
1126
  }>>;
1046
1127
  }, "strip", z.ZodTypeAny, {
1047
1128
  type: "step";
1129
+ kind: "line";
1048
1130
  to: [number, number] | import('./position').PolarPosition | {
1049
1131
  of: string | [number, number] | import('./position').PolarPosition;
1050
1132
  offset: [number, number];
1051
1133
  } | {
1052
1134
  id: string;
1053
1135
  offset?: [number, number] | undefined;
1054
- anchor?: number | import('..').RectAnchor | {
1136
+ anchor?: string | number | {
1055
1137
  side: "north" | "south" | "east" | "west";
1056
1138
  t: number;
1057
1139
  } | undefined;
1140
+ boundary?: string | {
1141
+ type: string;
1142
+ params?: Record<string, import('./json').JsonValue> | undefined;
1143
+ } | undefined;
1058
1144
  } | {
1059
1145
  relative: [number, number];
1060
1146
  } | {
1061
1147
  relativeAccumulate: [number, number];
1062
1148
  } | import('./position').IRBetweenPosition;
1063
- kind: "line";
1064
1149
  label?: {
1065
1150
  text: string;
1066
1151
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -1076,22 +1161,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1076
1161
  } | undefined;
1077
1162
  }, {
1078
1163
  type: "step";
1164
+ kind: "line";
1079
1165
  to: [number, number] | import('./position').PolarPosition | {
1080
1166
  of: string | [number, number] | import('./position').PolarPosition;
1081
1167
  offset: [number, number];
1082
1168
  } | {
1083
1169
  id: string;
1084
1170
  offset?: [number, number] | undefined;
1085
- anchor?: number | import('..').RectAnchor | {
1171
+ anchor?: string | number | {
1086
1172
  side: "north" | "south" | "east" | "west";
1087
1173
  t: number;
1088
1174
  } | undefined;
1175
+ boundary?: string | {
1176
+ type: string;
1177
+ params?: Record<string, import('./json').JsonValue> | undefined;
1178
+ } | undefined;
1089
1179
  } | {
1090
1180
  relative: [number, number];
1091
1181
  } | {
1092
1182
  relativeAccumulate: [number, number];
1093
1183
  } | import('./position').IRBetweenPosition;
1094
- kind: "line";
1095
1184
  label?: {
1096
1185
  text: string;
1097
1186
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -1111,7 +1200,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1111
1200
  via: z.ZodEnum<["-|", "|-"]>;
1112
1201
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
1113
1202
  id: z.ZodString;
1114
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
1203
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
1115
1204
  side: z.ZodEnum<["north", "south", "east", "west"]>;
1116
1205
  t: z.ZodNumber;
1117
1206
  }, "strip", z.ZodTypeAny, {
@@ -1122,20 +1211,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1122
1211
  t: number;
1123
1212
  }>]>>;
1124
1213
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
1214
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1215
+ type: z.ZodString;
1216
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
1217
+ }, "strip", z.ZodTypeAny, {
1218
+ type: string;
1219
+ params?: Record<string, import('./json').JsonValue> | undefined;
1220
+ }, {
1221
+ type: string;
1222
+ params?: Record<string, import('./json').JsonValue> | undefined;
1223
+ }>]>>;
1125
1224
  }, "strip", z.ZodTypeAny, {
1126
1225
  id: string;
1127
1226
  offset?: [number, number] | undefined;
1128
- anchor?: number | import('..').RectAnchor | {
1227
+ anchor?: string | number | {
1129
1228
  side: "north" | "south" | "east" | "west";
1130
1229
  t: number;
1131
1230
  } | undefined;
1231
+ boundary?: string | {
1232
+ type: string;
1233
+ params?: Record<string, import('./json').JsonValue> | undefined;
1234
+ } | undefined;
1132
1235
  }, {
1133
1236
  id: string;
1134
1237
  offset?: [number, number] | undefined;
1135
- anchor?: number | import('..').RectAnchor | {
1238
+ anchor?: string | number | {
1136
1239
  side: "north" | "south" | "east" | "west";
1137
1240
  t: number;
1138
1241
  } | undefined;
1242
+ boundary?: string | {
1243
+ type: string;
1244
+ params?: Record<string, import('./json').JsonValue> | undefined;
1245
+ } | undefined;
1139
1246
  }>, z.ZodObject<{
1140
1247
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1141
1248
  }, "strip", z.ZodTypeAny, {
@@ -1207,22 +1314,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1207
1314
  }>>;
1208
1315
  }, "strip", z.ZodTypeAny, {
1209
1316
  type: "step";
1317
+ kind: "step";
1210
1318
  to: [number, number] | import('./position').PolarPosition | {
1211
1319
  of: string | [number, number] | import('./position').PolarPosition;
1212
1320
  offset: [number, number];
1213
1321
  } | {
1214
1322
  id: string;
1215
1323
  offset?: [number, number] | undefined;
1216
- anchor?: number | import('..').RectAnchor | {
1324
+ anchor?: string | number | {
1217
1325
  side: "north" | "south" | "east" | "west";
1218
1326
  t: number;
1219
1327
  } | undefined;
1328
+ boundary?: string | {
1329
+ type: string;
1330
+ params?: Record<string, import('./json').JsonValue> | undefined;
1331
+ } | undefined;
1220
1332
  } | {
1221
1333
  relative: [number, number];
1222
1334
  } | {
1223
1335
  relativeAccumulate: [number, number];
1224
1336
  } | import('./position').IRBetweenPosition;
1225
- kind: "step";
1226
1337
  via: "-|" | "|-";
1227
1338
  label?: {
1228
1339
  text: string;
@@ -1239,22 +1350,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1239
1350
  } | undefined;
1240
1351
  }, {
1241
1352
  type: "step";
1353
+ kind: "step";
1242
1354
  to: [number, number] | import('./position').PolarPosition | {
1243
1355
  of: string | [number, number] | import('./position').PolarPosition;
1244
1356
  offset: [number, number];
1245
1357
  } | {
1246
1358
  id: string;
1247
1359
  offset?: [number, number] | undefined;
1248
- anchor?: number | import('..').RectAnchor | {
1360
+ anchor?: string | number | {
1249
1361
  side: "north" | "south" | "east" | "west";
1250
1362
  t: number;
1251
1363
  } | undefined;
1364
+ boundary?: string | {
1365
+ type: string;
1366
+ params?: Record<string, import('./json').JsonValue> | undefined;
1367
+ } | undefined;
1252
1368
  } | {
1253
1369
  relative: [number, number];
1254
1370
  } | {
1255
1371
  relativeAccumulate: [number, number];
1256
1372
  } | import('./position').IRBetweenPosition;
1257
- kind: "step";
1258
1373
  via: "-|" | "|-";
1259
1374
  label?: {
1260
1375
  text: string;
@@ -1283,7 +1398,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1283
1398
  kind: z.ZodLiteral<"curve">;
1284
1399
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
1285
1400
  id: z.ZodString;
1286
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
1401
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
1287
1402
  side: z.ZodEnum<["north", "south", "east", "west"]>;
1288
1403
  t: z.ZodNumber;
1289
1404
  }, "strip", z.ZodTypeAny, {
@@ -1294,20 +1409,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1294
1409
  t: number;
1295
1410
  }>]>>;
1296
1411
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
1412
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1413
+ type: z.ZodString;
1414
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
1415
+ }, "strip", z.ZodTypeAny, {
1416
+ type: string;
1417
+ params?: Record<string, import('./json').JsonValue> | undefined;
1418
+ }, {
1419
+ type: string;
1420
+ params?: Record<string, import('./json').JsonValue> | undefined;
1421
+ }>]>>;
1297
1422
  }, "strip", z.ZodTypeAny, {
1298
1423
  id: string;
1299
1424
  offset?: [number, number] | undefined;
1300
- anchor?: number | import('..').RectAnchor | {
1425
+ anchor?: string | number | {
1301
1426
  side: "north" | "south" | "east" | "west";
1302
1427
  t: number;
1303
1428
  } | undefined;
1429
+ boundary?: string | {
1430
+ type: string;
1431
+ params?: Record<string, import('./json').JsonValue> | undefined;
1432
+ } | undefined;
1304
1433
  }, {
1305
1434
  id: string;
1306
1435
  offset?: [number, number] | undefined;
1307
- anchor?: number | import('..').RectAnchor | {
1436
+ anchor?: string | number | {
1308
1437
  side: "north" | "south" | "east" | "west";
1309
1438
  t: number;
1310
1439
  } | undefined;
1440
+ boundary?: string | {
1441
+ type: string;
1442
+ params?: Record<string, import('./json').JsonValue> | undefined;
1443
+ } | undefined;
1311
1444
  }>, z.ZodObject<{
1312
1445
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1313
1446
  }, "strip", z.ZodTypeAny, {
@@ -1380,22 +1513,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1380
1513
  }>>;
1381
1514
  }, "strip", z.ZodTypeAny, {
1382
1515
  type: "step";
1516
+ kind: "curve";
1383
1517
  to: [number, number] | import('./position').PolarPosition | {
1384
1518
  of: string | [number, number] | import('./position').PolarPosition;
1385
1519
  offset: [number, number];
1386
1520
  } | {
1387
1521
  id: string;
1388
1522
  offset?: [number, number] | undefined;
1389
- anchor?: number | import('..').RectAnchor | {
1523
+ anchor?: string | number | {
1390
1524
  side: "north" | "south" | "east" | "west";
1391
1525
  t: number;
1392
1526
  } | undefined;
1527
+ boundary?: string | {
1528
+ type: string;
1529
+ params?: Record<string, import('./json').JsonValue> | undefined;
1530
+ } | undefined;
1393
1531
  } | {
1394
1532
  relative: [number, number];
1395
1533
  } | {
1396
1534
  relativeAccumulate: [number, number];
1397
1535
  } | import('./position').IRBetweenPosition;
1398
- kind: "curve";
1399
1536
  control: [number, number];
1400
1537
  label?: {
1401
1538
  text: string;
@@ -1412,22 +1549,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1412
1549
  } | undefined;
1413
1550
  }, {
1414
1551
  type: "step";
1552
+ kind: "curve";
1415
1553
  to: [number, number] | import('./position').PolarPosition | {
1416
1554
  of: string | [number, number] | import('./position').PolarPosition;
1417
1555
  offset: [number, number];
1418
1556
  } | {
1419
1557
  id: string;
1420
1558
  offset?: [number, number] | undefined;
1421
- anchor?: number | import('..').RectAnchor | {
1559
+ anchor?: string | number | {
1422
1560
  side: "north" | "south" | "east" | "west";
1423
1561
  t: number;
1424
1562
  } | undefined;
1563
+ boundary?: string | {
1564
+ type: string;
1565
+ params?: Record<string, import('./json').JsonValue> | undefined;
1566
+ } | undefined;
1425
1567
  } | {
1426
1568
  relative: [number, number];
1427
1569
  } | {
1428
1570
  relativeAccumulate: [number, number];
1429
1571
  } | import('./position').IRBetweenPosition;
1430
- kind: "curve";
1431
1572
  control: [number, number];
1432
1573
  label?: {
1433
1574
  text: string;
@@ -1447,7 +1588,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1447
1588
  kind: z.ZodLiteral<"cubic">;
1448
1589
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
1449
1590
  id: z.ZodString;
1450
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
1591
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
1451
1592
  side: z.ZodEnum<["north", "south", "east", "west"]>;
1452
1593
  t: z.ZodNumber;
1453
1594
  }, "strip", z.ZodTypeAny, {
@@ -1458,20 +1599,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1458
1599
  t: number;
1459
1600
  }>]>>;
1460
1601
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
1602
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1603
+ type: z.ZodString;
1604
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
1605
+ }, "strip", z.ZodTypeAny, {
1606
+ type: string;
1607
+ params?: Record<string, import('./json').JsonValue> | undefined;
1608
+ }, {
1609
+ type: string;
1610
+ params?: Record<string, import('./json').JsonValue> | undefined;
1611
+ }>]>>;
1461
1612
  }, "strip", z.ZodTypeAny, {
1462
1613
  id: string;
1463
1614
  offset?: [number, number] | undefined;
1464
- anchor?: number | import('..').RectAnchor | {
1615
+ anchor?: string | number | {
1465
1616
  side: "north" | "south" | "east" | "west";
1466
1617
  t: number;
1467
1618
  } | undefined;
1619
+ boundary?: string | {
1620
+ type: string;
1621
+ params?: Record<string, import('./json').JsonValue> | undefined;
1622
+ } | undefined;
1468
1623
  }, {
1469
1624
  id: string;
1470
1625
  offset?: [number, number] | undefined;
1471
- anchor?: number | import('..').RectAnchor | {
1626
+ anchor?: string | number | {
1472
1627
  side: "north" | "south" | "east" | "west";
1473
1628
  t: number;
1474
1629
  } | undefined;
1630
+ boundary?: string | {
1631
+ type: string;
1632
+ params?: Record<string, import('./json').JsonValue> | undefined;
1633
+ } | undefined;
1475
1634
  }>, z.ZodObject<{
1476
1635
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1477
1636
  }, "strip", z.ZodTypeAny, {
@@ -1545,22 +1704,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1545
1704
  }>>;
1546
1705
  }, "strip", z.ZodTypeAny, {
1547
1706
  type: "step";
1707
+ kind: "cubic";
1548
1708
  to: [number, number] | import('./position').PolarPosition | {
1549
1709
  of: string | [number, number] | import('./position').PolarPosition;
1550
1710
  offset: [number, number];
1551
1711
  } | {
1552
1712
  id: string;
1553
1713
  offset?: [number, number] | undefined;
1554
- anchor?: number | import('..').RectAnchor | {
1714
+ anchor?: string | number | {
1555
1715
  side: "north" | "south" | "east" | "west";
1556
1716
  t: number;
1557
1717
  } | undefined;
1718
+ boundary?: string | {
1719
+ type: string;
1720
+ params?: Record<string, import('./json').JsonValue> | undefined;
1721
+ } | undefined;
1558
1722
  } | {
1559
1723
  relative: [number, number];
1560
1724
  } | {
1561
1725
  relativeAccumulate: [number, number];
1562
1726
  } | import('./position').IRBetweenPosition;
1563
- kind: "cubic";
1564
1727
  control1: [number, number];
1565
1728
  control2: [number, number];
1566
1729
  label?: {
@@ -1578,22 +1741,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1578
1741
  } | undefined;
1579
1742
  }, {
1580
1743
  type: "step";
1744
+ kind: "cubic";
1581
1745
  to: [number, number] | import('./position').PolarPosition | {
1582
1746
  of: string | [number, number] | import('./position').PolarPosition;
1583
1747
  offset: [number, number];
1584
1748
  } | {
1585
1749
  id: string;
1586
1750
  offset?: [number, number] | undefined;
1587
- anchor?: number | import('..').RectAnchor | {
1751
+ anchor?: string | number | {
1588
1752
  side: "north" | "south" | "east" | "west";
1589
1753
  t: number;
1590
1754
  } | undefined;
1755
+ boundary?: string | {
1756
+ type: string;
1757
+ params?: Record<string, import('./json').JsonValue> | undefined;
1758
+ } | undefined;
1591
1759
  } | {
1592
1760
  relative: [number, number];
1593
1761
  } | {
1594
1762
  relativeAccumulate: [number, number];
1595
1763
  } | import('./position').IRBetweenPosition;
1596
- kind: "cubic";
1597
1764
  control1: [number, number];
1598
1765
  control2: [number, number];
1599
1766
  label?: {
@@ -1614,7 +1781,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1614
1781
  kind: z.ZodLiteral<"bend">;
1615
1782
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
1616
1783
  id: z.ZodString;
1617
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
1784
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
1618
1785
  side: z.ZodEnum<["north", "south", "east", "west"]>;
1619
1786
  t: z.ZodNumber;
1620
1787
  }, "strip", z.ZodTypeAny, {
@@ -1625,20 +1792,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1625
1792
  t: number;
1626
1793
  }>]>>;
1627
1794
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
1795
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1796
+ type: z.ZodString;
1797
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
1798
+ }, "strip", z.ZodTypeAny, {
1799
+ type: string;
1800
+ params?: Record<string, import('./json').JsonValue> | undefined;
1801
+ }, {
1802
+ type: string;
1803
+ params?: Record<string, import('./json').JsonValue> | undefined;
1804
+ }>]>>;
1628
1805
  }, "strip", z.ZodTypeAny, {
1629
1806
  id: string;
1630
1807
  offset?: [number, number] | undefined;
1631
- anchor?: number | import('..').RectAnchor | {
1808
+ anchor?: string | number | {
1632
1809
  side: "north" | "south" | "east" | "west";
1633
1810
  t: number;
1634
1811
  } | undefined;
1812
+ boundary?: string | {
1813
+ type: string;
1814
+ params?: Record<string, import('./json').JsonValue> | undefined;
1815
+ } | undefined;
1635
1816
  }, {
1636
1817
  id: string;
1637
1818
  offset?: [number, number] | undefined;
1638
- anchor?: number | import('..').RectAnchor | {
1819
+ anchor?: string | number | {
1639
1820
  side: "north" | "south" | "east" | "west";
1640
1821
  t: number;
1641
1822
  } | undefined;
1823
+ boundary?: string | {
1824
+ type: string;
1825
+ params?: Record<string, import('./json').JsonValue> | undefined;
1826
+ } | undefined;
1642
1827
  }>, z.ZodObject<{
1643
1828
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1644
1829
  }, "strip", z.ZodTypeAny, {
@@ -1715,22 +1900,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1715
1900
  }>>;
1716
1901
  }, "strip", z.ZodTypeAny, {
1717
1902
  type: "step";
1903
+ kind: "bend";
1718
1904
  to: [number, number] | import('./position').PolarPosition | {
1719
1905
  of: string | [number, number] | import('./position').PolarPosition;
1720
1906
  offset: [number, number];
1721
1907
  } | {
1722
1908
  id: string;
1723
1909
  offset?: [number, number] | undefined;
1724
- anchor?: number | import('..').RectAnchor | {
1910
+ anchor?: string | number | {
1725
1911
  side: "north" | "south" | "east" | "west";
1726
1912
  t: number;
1727
1913
  } | undefined;
1914
+ boundary?: string | {
1915
+ type: string;
1916
+ params?: Record<string, import('./json').JsonValue> | undefined;
1917
+ } | undefined;
1728
1918
  } | {
1729
1919
  relative: [number, number];
1730
1920
  } | {
1731
1921
  relativeAccumulate: [number, number];
1732
1922
  } | import('./position').IRBetweenPosition;
1733
- kind: "bend";
1734
1923
  label?: {
1735
1924
  text: string;
1736
1925
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -1751,22 +1940,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1751
1940
  looseness?: number | undefined;
1752
1941
  }, {
1753
1942
  type: "step";
1943
+ kind: "bend";
1754
1944
  to: [number, number] | import('./position').PolarPosition | {
1755
1945
  of: string | [number, number] | import('./position').PolarPosition;
1756
1946
  offset: [number, number];
1757
1947
  } | {
1758
1948
  id: string;
1759
1949
  offset?: [number, number] | undefined;
1760
- anchor?: number | import('..').RectAnchor | {
1950
+ anchor?: string | number | {
1761
1951
  side: "north" | "south" | "east" | "west";
1762
1952
  t: number;
1763
1953
  } | undefined;
1954
+ boundary?: string | {
1955
+ type: string;
1956
+ params?: Record<string, import('./json').JsonValue> | undefined;
1957
+ } | undefined;
1764
1958
  } | {
1765
1959
  relative: [number, number];
1766
1960
  } | {
1767
1961
  relativeAccumulate: [number, number];
1768
1962
  } | import('./position').IRBetweenPosition;
1769
- kind: "bend";
1770
1963
  label?: {
1771
1964
  text: string;
1772
1965
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -1795,7 +1988,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1795
1988
  radiusY: z.ZodOptional<z.ZodNumber>;
1796
1989
  center: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
1797
1990
  id: z.ZodString;
1798
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
1991
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
1799
1992
  side: z.ZodEnum<["north", "south", "east", "west"]>;
1800
1993
  t: z.ZodNumber;
1801
1994
  }, "strip", z.ZodTypeAny, {
@@ -1806,20 +1999,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1806
1999
  t: number;
1807
2000
  }>]>>;
1808
2001
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
2002
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
2003
+ type: z.ZodString;
2004
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
2005
+ }, "strip", z.ZodTypeAny, {
2006
+ type: string;
2007
+ params?: Record<string, import('./json').JsonValue> | undefined;
2008
+ }, {
2009
+ type: string;
2010
+ params?: Record<string, import('./json').JsonValue> | undefined;
2011
+ }>]>>;
1809
2012
  }, "strip", z.ZodTypeAny, {
1810
2013
  id: string;
1811
2014
  offset?: [number, number] | undefined;
1812
- anchor?: number | import('..').RectAnchor | {
2015
+ anchor?: string | number | {
1813
2016
  side: "north" | "south" | "east" | "west";
1814
2017
  t: number;
1815
2018
  } | undefined;
2019
+ boundary?: string | {
2020
+ type: string;
2021
+ params?: Record<string, import('./json').JsonValue> | undefined;
2022
+ } | undefined;
1816
2023
  }, {
1817
2024
  id: string;
1818
2025
  offset?: [number, number] | undefined;
1819
- anchor?: number | import('..').RectAnchor | {
2026
+ anchor?: string | number | {
1820
2027
  side: "north" | "south" | "east" | "west";
1821
2028
  t: number;
1822
2029
  } | undefined;
2030
+ boundary?: string | {
2031
+ type: string;
2032
+ params?: Record<string, import('./json').JsonValue> | undefined;
2033
+ } | undefined;
1823
2034
  }>, z.ZodObject<{
1824
2035
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1825
2036
  }, "strip", z.ZodTypeAny, {
@@ -1891,9 +2102,9 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1891
2102
  }>>;
1892
2103
  }, "strip", z.ZodTypeAny, {
1893
2104
  type: "step";
2105
+ kind: "arc";
1894
2106
  startAngle: number;
1895
2107
  endAngle: number;
1896
- kind: "arc";
1897
2108
  radius?: number | undefined;
1898
2109
  center?: [number, number] | import('./position').PolarPosition | {
1899
2110
  of: string | [number, number] | import('./position').PolarPosition;
@@ -1901,10 +2112,14 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1901
2112
  } | {
1902
2113
  id: string;
1903
2114
  offset?: [number, number] | undefined;
1904
- anchor?: number | import('..').RectAnchor | {
2115
+ anchor?: string | number | {
1905
2116
  side: "north" | "south" | "east" | "west";
1906
2117
  t: number;
1907
2118
  } | undefined;
2119
+ boundary?: string | {
2120
+ type: string;
2121
+ params?: Record<string, import('./json').JsonValue> | undefined;
2122
+ } | undefined;
1908
2123
  } | {
1909
2124
  relative: [number, number];
1910
2125
  } | {
@@ -1927,9 +2142,9 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1927
2142
  radiusY?: number | undefined;
1928
2143
  }, {
1929
2144
  type: "step";
2145
+ kind: "arc";
1930
2146
  startAngle: number;
1931
2147
  endAngle: number;
1932
- kind: "arc";
1933
2148
  radius?: number | undefined;
1934
2149
  center?: [number, number] | import('./position').PolarPosition | {
1935
2150
  of: string | [number, number] | import('./position').PolarPosition;
@@ -1937,10 +2152,14 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1937
2152
  } | {
1938
2153
  id: string;
1939
2154
  offset?: [number, number] | undefined;
1940
- anchor?: number | import('..').RectAnchor | {
2155
+ anchor?: string | number | {
1941
2156
  side: "north" | "south" | "east" | "west";
1942
2157
  t: number;
1943
2158
  } | undefined;
2159
+ boundary?: string | {
2160
+ type: string;
2161
+ params?: Record<string, import('./json').JsonValue> | undefined;
2162
+ } | undefined;
1944
2163
  } | {
1945
2164
  relative: [number, number];
1946
2165
  } | {
@@ -2019,8 +2238,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2019
2238
  type: "step";
2020
2239
  radius: number;
2021
2240
  kind: "circlePath";
2022
- startAngle?: number | undefined;
2023
- endAngle?: number | undefined;
2024
2241
  label?: {
2025
2242
  text: string;
2026
2243
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -2034,13 +2251,13 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2034
2251
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
2035
2252
  textColor?: string | undefined;
2036
2253
  } | undefined;
2254
+ startAngle?: number | undefined;
2255
+ endAngle?: number | undefined;
2037
2256
  closed?: "open" | "closed" | "chord" | "sector" | undefined;
2038
2257
  }, {
2039
2258
  type: "step";
2040
2259
  radius: number;
2041
2260
  kind: "circlePath";
2042
- startAngle?: number | undefined;
2043
- endAngle?: number | undefined;
2044
2261
  label?: {
2045
2262
  text: string;
2046
2263
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -2054,6 +2271,8 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2054
2271
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
2055
2272
  textColor?: string | undefined;
2056
2273
  } | undefined;
2274
+ startAngle?: number | undefined;
2275
+ endAngle?: number | undefined;
2057
2276
  closed?: "open" | "closed" | "chord" | "sector" | undefined;
2058
2277
  }>, z.ZodObject<{
2059
2278
  type: z.ZodLiteral<"step">;
@@ -2115,8 +2334,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2115
2334
  kind: "ellipsePath";
2116
2335
  radiusX: number;
2117
2336
  radiusY: number;
2118
- startAngle?: number | undefined;
2119
- endAngle?: number | undefined;
2120
2337
  label?: {
2121
2338
  text: string;
2122
2339
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -2130,14 +2347,14 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2130
2347
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
2131
2348
  textColor?: string | undefined;
2132
2349
  } | undefined;
2350
+ startAngle?: number | undefined;
2351
+ endAngle?: number | undefined;
2133
2352
  closed?: "open" | "closed" | "chord" | "sector" | undefined;
2134
2353
  }, {
2135
2354
  type: "step";
2136
2355
  kind: "ellipsePath";
2137
2356
  radiusX: number;
2138
2357
  radiusY: number;
2139
- startAngle?: number | undefined;
2140
- endAngle?: number | undefined;
2141
2358
  label?: {
2142
2359
  text: string;
2143
2360
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -2151,13 +2368,15 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2151
2368
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
2152
2369
  textColor?: string | undefined;
2153
2370
  } | undefined;
2371
+ startAngle?: number | undefined;
2372
+ endAngle?: number | undefined;
2154
2373
  closed?: "open" | "closed" | "chord" | "sector" | undefined;
2155
2374
  }>, z.ZodObject<{
2156
2375
  type: z.ZodLiteral<"step">;
2157
2376
  kind: z.ZodLiteral<"rectangle">;
2158
2377
  from: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
2159
2378
  id: z.ZodString;
2160
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
2379
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
2161
2380
  side: z.ZodEnum<["north", "south", "east", "west"]>;
2162
2381
  t: z.ZodNumber;
2163
2382
  }, "strip", z.ZodTypeAny, {
@@ -2168,20 +2387,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2168
2387
  t: number;
2169
2388
  }>]>>;
2170
2389
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
2390
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
2391
+ type: z.ZodString;
2392
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
2393
+ }, "strip", z.ZodTypeAny, {
2394
+ type: string;
2395
+ params?: Record<string, import('./json').JsonValue> | undefined;
2396
+ }, {
2397
+ type: string;
2398
+ params?: Record<string, import('./json').JsonValue> | undefined;
2399
+ }>]>>;
2171
2400
  }, "strip", z.ZodTypeAny, {
2172
2401
  id: string;
2173
2402
  offset?: [number, number] | undefined;
2174
- anchor?: number | import('..').RectAnchor | {
2403
+ anchor?: string | number | {
2175
2404
  side: "north" | "south" | "east" | "west";
2176
2405
  t: number;
2177
2406
  } | undefined;
2407
+ boundary?: string | {
2408
+ type: string;
2409
+ params?: Record<string, import('./json').JsonValue> | undefined;
2410
+ } | undefined;
2178
2411
  }, {
2179
2412
  id: string;
2180
2413
  offset?: [number, number] | undefined;
2181
- anchor?: number | import('..').RectAnchor | {
2414
+ anchor?: string | number | {
2182
2415
  side: "north" | "south" | "east" | "west";
2183
2416
  t: number;
2184
2417
  } | undefined;
2418
+ boundary?: string | {
2419
+ type: string;
2420
+ params?: Record<string, import('./json').JsonValue> | undefined;
2421
+ } | undefined;
2185
2422
  }>, z.ZodObject<{
2186
2423
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
2187
2424
  }, "strip", z.ZodTypeAny, {
@@ -2206,7 +2443,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2206
2443
  }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
2207
2444
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
2208
2445
  id: z.ZodString;
2209
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
2446
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
2210
2447
  side: z.ZodEnum<["north", "south", "east", "west"]>;
2211
2448
  t: z.ZodNumber;
2212
2449
  }, "strip", z.ZodTypeAny, {
@@ -2217,20 +2454,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2217
2454
  t: number;
2218
2455
  }>]>>;
2219
2456
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
2457
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
2458
+ type: z.ZodString;
2459
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
2460
+ }, "strip", z.ZodTypeAny, {
2461
+ type: string;
2462
+ params?: Record<string, import('./json').JsonValue> | undefined;
2463
+ }, {
2464
+ type: string;
2465
+ params?: Record<string, import('./json').JsonValue> | undefined;
2466
+ }>]>>;
2220
2467
  }, "strip", z.ZodTypeAny, {
2221
2468
  id: string;
2222
2469
  offset?: [number, number] | undefined;
2223
- anchor?: number | import('..').RectAnchor | {
2470
+ anchor?: string | number | {
2224
2471
  side: "north" | "south" | "east" | "west";
2225
2472
  t: number;
2226
2473
  } | undefined;
2474
+ boundary?: string | {
2475
+ type: string;
2476
+ params?: Record<string, import('./json').JsonValue> | undefined;
2477
+ } | undefined;
2227
2478
  }, {
2228
2479
  id: string;
2229
2480
  offset?: [number, number] | undefined;
2230
- anchor?: number | import('..').RectAnchor | {
2481
+ anchor?: string | number | {
2231
2482
  side: "north" | "south" | "east" | "west";
2232
2483
  t: number;
2233
2484
  } | undefined;
2485
+ boundary?: string | {
2486
+ type: string;
2487
+ params?: Record<string, import('./json').JsonValue> | undefined;
2488
+ } | undefined;
2234
2489
  }>, z.ZodObject<{
2235
2490
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
2236
2491
  }, "strip", z.ZodTypeAny, {
@@ -2253,82 +2508,98 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2253
2508
  of: string | [number, number] | import('./position').PolarPosition;
2254
2509
  offset: [number, number];
2255
2510
  }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
2256
- roundedCorners: z.ZodOptional<z.ZodNumber>;
2511
+ cornerRadius: z.ZodOptional<z.ZodNumber>;
2257
2512
  }, "strip", z.ZodTypeAny, {
2258
2513
  type: "step";
2514
+ kind: "rectangle";
2259
2515
  to: [number, number] | import('./position').PolarPosition | {
2260
2516
  of: string | [number, number] | import('./position').PolarPosition;
2261
2517
  offset: [number, number];
2262
2518
  } | {
2263
2519
  id: string;
2264
2520
  offset?: [number, number] | undefined;
2265
- anchor?: number | import('..').RectAnchor | {
2521
+ anchor?: string | number | {
2266
2522
  side: "north" | "south" | "east" | "west";
2267
2523
  t: number;
2268
2524
  } | undefined;
2525
+ boundary?: string | {
2526
+ type: string;
2527
+ params?: Record<string, import('./json').JsonValue> | undefined;
2528
+ } | undefined;
2269
2529
  } | {
2270
2530
  relative: [number, number];
2271
2531
  } | {
2272
2532
  relativeAccumulate: [number, number];
2273
2533
  } | import('./position').IRBetweenPosition;
2274
- kind: "rectangle";
2275
2534
  from: [number, number] | import('./position').PolarPosition | {
2276
2535
  of: string | [number, number] | import('./position').PolarPosition;
2277
2536
  offset: [number, number];
2278
2537
  } | {
2279
2538
  id: string;
2280
2539
  offset?: [number, number] | undefined;
2281
- anchor?: number | import('..').RectAnchor | {
2540
+ anchor?: string | number | {
2282
2541
  side: "north" | "south" | "east" | "west";
2283
2542
  t: number;
2284
2543
  } | undefined;
2544
+ boundary?: string | {
2545
+ type: string;
2546
+ params?: Record<string, import('./json').JsonValue> | undefined;
2547
+ } | undefined;
2285
2548
  } | {
2286
2549
  relative: [number, number];
2287
2550
  } | {
2288
2551
  relativeAccumulate: [number, number];
2289
2552
  } | import('./position').IRBetweenPosition;
2290
- roundedCorners?: number | undefined;
2553
+ cornerRadius?: number | undefined;
2291
2554
  }, {
2292
2555
  type: "step";
2556
+ kind: "rectangle";
2293
2557
  to: [number, number] | import('./position').PolarPosition | {
2294
2558
  of: string | [number, number] | import('./position').PolarPosition;
2295
2559
  offset: [number, number];
2296
2560
  } | {
2297
2561
  id: string;
2298
2562
  offset?: [number, number] | undefined;
2299
- anchor?: number | import('..').RectAnchor | {
2563
+ anchor?: string | number | {
2300
2564
  side: "north" | "south" | "east" | "west";
2301
2565
  t: number;
2302
2566
  } | undefined;
2567
+ boundary?: string | {
2568
+ type: string;
2569
+ params?: Record<string, import('./json').JsonValue> | undefined;
2570
+ } | undefined;
2303
2571
  } | {
2304
2572
  relative: [number, number];
2305
2573
  } | {
2306
2574
  relativeAccumulate: [number, number];
2307
2575
  } | import('./position').IRBetweenPosition;
2308
- kind: "rectangle";
2309
2576
  from: [number, number] | import('./position').PolarPosition | {
2310
2577
  of: string | [number, number] | import('./position').PolarPosition;
2311
2578
  offset: [number, number];
2312
2579
  } | {
2313
2580
  id: string;
2314
2581
  offset?: [number, number] | undefined;
2315
- anchor?: number | import('..').RectAnchor | {
2582
+ anchor?: string | number | {
2316
2583
  side: "north" | "south" | "east" | "west";
2317
2584
  t: number;
2318
2585
  } | undefined;
2586
+ boundary?: string | {
2587
+ type: string;
2588
+ params?: Record<string, import('./json').JsonValue> | undefined;
2589
+ } | undefined;
2319
2590
  } | {
2320
2591
  relative: [number, number];
2321
2592
  } | {
2322
2593
  relativeAccumulate: [number, number];
2323
2594
  } | import('./position').IRBetweenPosition;
2324
- roundedCorners?: number | undefined;
2595
+ cornerRadius?: number | undefined;
2325
2596
  }>, z.ZodObject<{
2326
2597
  type: z.ZodLiteral<"step">;
2327
2598
  kind: z.ZodLiteral<"generator">;
2328
2599
  name: z.ZodString;
2329
2600
  to: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
2330
2601
  id: z.ZodString;
2331
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
2602
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
2332
2603
  side: z.ZodEnum<["north", "south", "east", "west"]>;
2333
2604
  t: z.ZodNumber;
2334
2605
  }, "strip", z.ZodTypeAny, {
@@ -2339,20 +2610,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2339
2610
  t: number;
2340
2611
  }>]>>;
2341
2612
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
2613
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
2614
+ type: z.ZodString;
2615
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
2616
+ }, "strip", z.ZodTypeAny, {
2617
+ type: string;
2618
+ params?: Record<string, import('./json').JsonValue> | undefined;
2619
+ }, {
2620
+ type: string;
2621
+ params?: Record<string, import('./json').JsonValue> | undefined;
2622
+ }>]>>;
2342
2623
  }, "strip", z.ZodTypeAny, {
2343
2624
  id: string;
2344
2625
  offset?: [number, number] | undefined;
2345
- anchor?: number | import('..').RectAnchor | {
2626
+ anchor?: string | number | {
2346
2627
  side: "north" | "south" | "east" | "west";
2347
2628
  t: number;
2348
2629
  } | undefined;
2630
+ boundary?: string | {
2631
+ type: string;
2632
+ params?: Record<string, import('./json').JsonValue> | undefined;
2633
+ } | undefined;
2349
2634
  }, {
2350
2635
  id: string;
2351
2636
  offset?: [number, number] | undefined;
2352
- anchor?: number | import('..').RectAnchor | {
2637
+ anchor?: string | number | {
2353
2638
  side: "north" | "south" | "east" | "west";
2354
2639
  t: number;
2355
2640
  } | undefined;
2641
+ boundary?: string | {
2642
+ type: string;
2643
+ params?: Record<string, import('./json').JsonValue> | undefined;
2644
+ } | undefined;
2356
2645
  }>, z.ZodObject<{
2357
2646
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
2358
2647
  }, "strip", z.ZodTypeAny, {
@@ -2434,10 +2723,14 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2434
2723
  } | {
2435
2724
  id: string;
2436
2725
  offset?: [number, number] | undefined;
2437
- anchor?: number | import('..').RectAnchor | {
2726
+ anchor?: string | number | {
2438
2727
  side: "north" | "south" | "east" | "west";
2439
2728
  t: number;
2440
2729
  } | undefined;
2730
+ boundary?: string | {
2731
+ type: string;
2732
+ params?: Record<string, import('./json').JsonValue> | undefined;
2733
+ } | undefined;
2441
2734
  } | {
2442
2735
  relative: [number, number];
2443
2736
  } | {
@@ -2467,10 +2760,14 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2467
2760
  } | {
2468
2761
  id: string;
2469
2762
  offset?: [number, number] | undefined;
2470
- anchor?: number | import('..').RectAnchor | {
2763
+ anchor?: string | number | {
2471
2764
  side: "north" | "south" | "east" | "west";
2472
2765
  t: number;
2473
2766
  } | undefined;
2767
+ boundary?: string | {
2768
+ type: string;
2769
+ params?: Record<string, import('./json').JsonValue> | undefined;
2770
+ } | undefined;
2474
2771
  } | {
2475
2772
  relative: [number, number];
2476
2773
  } | {
@@ -2490,7 +2787,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2490
2787
  textColor?: string | undefined;
2491
2788
  } | undefined;
2492
2789
  }>]>, "many">;
2493
- }, "type" | "arrow" | "arrowDetail" | "zIndex" | "children">, "strict", z.ZodTypeAny, {
2790
+ }, "type" | "arrow" | "meta" | "arrowDetail" | "zIndex" | "children">, "strict", z.ZodTypeAny, {
2494
2791
  fill?: string | {
2495
2792
  type: "linearGradient";
2496
2793
  stops: {
@@ -2521,6 +2818,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2521
2818
  href: string;
2522
2819
  fit?: "fill" | "contain" | "cover" | undefined;
2523
2820
  } | undefined;
2821
+ id?: string | undefined;
2524
2822
  color?: string | undefined;
2525
2823
  opacity?: number | undefined;
2526
2824
  scale?: number | {
@@ -2543,9 +2841,9 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2543
2841
  kind: "arrow";
2544
2842
  length?: number | undefined;
2545
2843
  fill?: string | undefined;
2844
+ shape?: string | undefined;
2546
2845
  color?: string | undefined;
2547
2846
  opacity?: number | undefined;
2548
- shape?: string | undefined;
2549
2847
  lineWidth?: number | undefined;
2550
2848
  width?: number | undefined;
2551
2849
  scale?: number | undefined;
@@ -2582,6 +2880,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2582
2880
  href: string;
2583
2881
  fit?: "fill" | "contain" | "cover" | undefined;
2584
2882
  } | undefined;
2883
+ id?: string | undefined;
2585
2884
  color?: string | undefined;
2586
2885
  opacity?: number | undefined;
2587
2886
  scale?: number | {
@@ -2604,9 +2903,9 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2604
2903
  kind: "arrow";
2605
2904
  length?: number | undefined;
2606
2905
  fill?: string | undefined;
2906
+ shape?: string | undefined;
2607
2907
  color?: string | undefined;
2608
2908
  opacity?: number | undefined;
2609
- shape?: string | undefined;
2610
2909
  lineWidth?: number | undefined;
2611
2910
  width?: number | undefined;
2612
2911
  scale?: number | undefined;
@@ -2684,18 +2983,18 @@ export declare const ArrowDefaultSchema: z.ZodObject<{
2684
2983
  }, "strip", z.ZodTypeAny, {
2685
2984
  length?: number | undefined;
2686
2985
  fill?: string | undefined;
2986
+ shape?: string | undefined;
2687
2987
  color?: string | undefined;
2688
2988
  opacity?: number | undefined;
2689
- shape?: string | undefined;
2690
2989
  lineWidth?: number | undefined;
2691
2990
  width?: number | undefined;
2692
2991
  scale?: number | undefined;
2693
2992
  }, {
2694
2993
  length?: number | undefined;
2695
2994
  fill?: string | undefined;
2995
+ shape?: string | undefined;
2696
2996
  color?: string | undefined;
2697
2997
  opacity?: number | undefined;
2698
- shape?: string | undefined;
2699
2998
  lineWidth?: number | undefined;
2700
2999
  width?: number | undefined;
2701
3000
  scale?: number | undefined;
@@ -2712,18 +3011,18 @@ export declare const ArrowDefaultSchema: z.ZodObject<{
2712
3011
  }, "strip", z.ZodTypeAny, {
2713
3012
  length?: number | undefined;
2714
3013
  fill?: string | undefined;
3014
+ shape?: string | undefined;
2715
3015
  color?: string | undefined;
2716
3016
  opacity?: number | undefined;
2717
- shape?: string | undefined;
2718
3017
  lineWidth?: number | undefined;
2719
3018
  width?: number | undefined;
2720
3019
  scale?: number | undefined;
2721
3020
  }, {
2722
3021
  length?: number | undefined;
2723
3022
  fill?: string | undefined;
3023
+ shape?: string | undefined;
2724
3024
  color?: string | undefined;
2725
3025
  opacity?: number | undefined;
2726
- shape?: string | undefined;
2727
3026
  lineWidth?: number | undefined;
2728
3027
  width?: number | undefined;
2729
3028
  scale?: number | undefined;
@@ -2731,18 +3030,18 @@ export declare const ArrowDefaultSchema: z.ZodObject<{
2731
3030
  }, "strip", z.ZodTypeAny, {
2732
3031
  length?: number | undefined;
2733
3032
  fill?: string | undefined;
3033
+ shape?: string | undefined;
2734
3034
  color?: string | undefined;
2735
3035
  opacity?: number | undefined;
2736
- shape?: string | undefined;
2737
3036
  lineWidth?: number | undefined;
2738
3037
  width?: number | undefined;
2739
3038
  scale?: number | undefined;
2740
3039
  start?: {
2741
3040
  length?: number | undefined;
2742
3041
  fill?: string | undefined;
3042
+ shape?: string | undefined;
2743
3043
  color?: string | undefined;
2744
3044
  opacity?: number | undefined;
2745
- shape?: string | undefined;
2746
3045
  lineWidth?: number | undefined;
2747
3046
  width?: number | undefined;
2748
3047
  scale?: number | undefined;
@@ -2750,9 +3049,9 @@ export declare const ArrowDefaultSchema: z.ZodObject<{
2750
3049
  end?: {
2751
3050
  length?: number | undefined;
2752
3051
  fill?: string | undefined;
3052
+ shape?: string | undefined;
2753
3053
  color?: string | undefined;
2754
3054
  opacity?: number | undefined;
2755
- shape?: string | undefined;
2756
3055
  lineWidth?: number | undefined;
2757
3056
  width?: number | undefined;
2758
3057
  scale?: number | undefined;
@@ -2760,18 +3059,18 @@ export declare const ArrowDefaultSchema: z.ZodObject<{
2760
3059
  }, {
2761
3060
  length?: number | undefined;
2762
3061
  fill?: string | undefined;
3062
+ shape?: string | undefined;
2763
3063
  color?: string | undefined;
2764
3064
  opacity?: number | undefined;
2765
- shape?: string | undefined;
2766
3065
  lineWidth?: number | undefined;
2767
3066
  width?: number | undefined;
2768
3067
  scale?: number | undefined;
2769
3068
  start?: {
2770
3069
  length?: number | undefined;
2771
3070
  fill?: string | undefined;
3071
+ shape?: string | undefined;
2772
3072
  color?: string | undefined;
2773
3073
  opacity?: number | undefined;
2774
- shape?: string | undefined;
2775
3074
  lineWidth?: number | undefined;
2776
3075
  width?: number | undefined;
2777
3076
  scale?: number | undefined;
@@ -2779,9 +3078,9 @@ export declare const ArrowDefaultSchema: z.ZodObject<{
2779
3078
  end?: {
2780
3079
  length?: number | undefined;
2781
3080
  fill?: string | undefined;
3081
+ shape?: string | undefined;
2782
3082
  color?: string | undefined;
2783
3083
  opacity?: number | undefined;
2784
- shape?: string | undefined;
2785
3084
  lineWidth?: number | undefined;
2786
3085
  width?: number | undefined;
2787
3086
  scale?: number | undefined;
@@ -2821,6 +3120,7 @@ export type IRScope = {
2821
3120
  resetStyle?: boolean | Array<StyleChannel>;
2822
3121
  zIndex?: number;
2823
3122
  clip?: IRClipSpec;
3123
+ meta?: IRJsonObject;
2824
3124
  children: Array<IRNode | IRPath | IRCoordinate | IRScope | IRComposite>;
2825
3125
  };
2826
3126
  /**
@@ -3043,7 +3343,27 @@ export declare const ScopeSchema: z.ZodObject<{
3043
3343
  nodeDefault: z.ZodOptional<z.ZodObject<Omit<{
3044
3344
  type: z.ZodLiteral<"node">;
3045
3345
  id: z.ZodOptional<z.ZodString>;
3046
- shape: z.ZodOptional<z.ZodString>;
3346
+ shape: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
3347
+ type: z.ZodString;
3348
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
3349
+ }, "strip", z.ZodTypeAny, {
3350
+ type: string;
3351
+ params?: Record<string, import('./json').JsonValue> | undefined;
3352
+ }, {
3353
+ type: string;
3354
+ params?: Record<string, import('./json').JsonValue> | undefined;
3355
+ }>]>>;
3356
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
3357
+ type: z.ZodString;
3358
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
3359
+ }, "strip", z.ZodTypeAny, {
3360
+ type: string;
3361
+ params?: Record<string, import('./json').JsonValue> | undefined;
3362
+ }, {
3363
+ type: string;
3364
+ params?: Record<string, import('./json').JsonValue> | undefined;
3365
+ }>]>>;
3366
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
3047
3367
  position: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
3048
3368
  direction: z.ZodNativeEnum<{
3049
3369
  readonly above: "above";
@@ -3236,7 +3556,7 @@ export declare const ScopeSchema: z.ZodObject<{
3236
3556
  dashed: z.ZodOptional<z.ZodBoolean>;
3237
3557
  dotted: z.ZodOptional<z.ZodBoolean>;
3238
3558
  dashArray: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
3239
- roundedCorners: z.ZodOptional<z.ZodNumber>;
3559
+ cornerRadius: z.ZodOptional<z.ZodNumber>;
3240
3560
  minimumWidth: z.ZodOptional<z.ZodNumber>;
3241
3561
  minimumHeight: z.ZodOptional<z.ZodNumber>;
3242
3562
  minimumSize: z.ZodOptional<z.ZodNumber>;
@@ -3436,7 +3756,7 @@ export declare const ScopeSchema: z.ZodObject<{
3436
3756
  } | undefined;
3437
3757
  }>, "many">]>>;
3438
3758
  zIndex: z.ZodOptional<z.ZodNumber>;
3439
- }, "type" | "id" | "text" | "position" | "label" | "zIndex">, "strict", z.ZodTypeAny, {
3759
+ }, "type" | "id" | "text" | "position" | "label" | "meta" | "zIndex">, "strict", z.ZodTypeAny, {
3440
3760
  fill?: string | {
3441
3761
  type: "linearGradient";
3442
3762
  stops: {
@@ -3467,9 +3787,16 @@ export declare const ScopeSchema: z.ZodObject<{
3467
3787
  href: string;
3468
3788
  fit?: "fill" | "contain" | "cover" | undefined;
3469
3789
  } | undefined;
3790
+ shape?: string | {
3791
+ type: string;
3792
+ params?: Record<string, import('./json').JsonValue> | undefined;
3793
+ } | undefined;
3794
+ boundary?: string | {
3795
+ type: string;
3796
+ params?: Record<string, import('./json').JsonValue> | undefined;
3797
+ } | undefined;
3470
3798
  color?: string | undefined;
3471
3799
  opacity?: number | undefined;
3472
- shape?: string | undefined;
3473
3800
  font?: {
3474
3801
  family?: string | undefined;
3475
3802
  size?: number | undefined;
@@ -3478,7 +3805,7 @@ export declare const ScopeSchema: z.ZodObject<{
3478
3805
  } | undefined;
3479
3806
  scale?: number | undefined;
3480
3807
  textColor?: string | undefined;
3481
- roundedCorners?: number | undefined;
3808
+ cornerRadius?: number | undefined;
3482
3809
  stroke?: string | undefined;
3483
3810
  strokeWidth?: number | undefined;
3484
3811
  fillOpacity?: number | undefined;
@@ -3531,9 +3858,16 @@ export declare const ScopeSchema: z.ZodObject<{
3531
3858
  href: string;
3532
3859
  fit?: "fill" | "contain" | "cover" | undefined;
3533
3860
  } | undefined;
3861
+ shape?: string | {
3862
+ type: string;
3863
+ params?: Record<string, import('./json').JsonValue> | undefined;
3864
+ } | undefined;
3865
+ boundary?: string | {
3866
+ type: string;
3867
+ params?: Record<string, import('./json').JsonValue> | undefined;
3868
+ } | undefined;
3534
3869
  color?: string | undefined;
3535
3870
  opacity?: number | undefined;
3536
- shape?: string | undefined;
3537
3871
  font?: {
3538
3872
  family?: string | undefined;
3539
3873
  size?: number | undefined;
@@ -3542,7 +3876,7 @@ export declare const ScopeSchema: z.ZodObject<{
3542
3876
  } | undefined;
3543
3877
  scale?: number | undefined;
3544
3878
  textColor?: string | undefined;
3545
- roundedCorners?: number | undefined;
3879
+ cornerRadius?: number | undefined;
3546
3880
  stroke?: string | undefined;
3547
3881
  strokeWidth?: number | undefined;
3548
3882
  fillOpacity?: number | undefined;
@@ -3567,6 +3901,8 @@ export declare const ScopeSchema: z.ZodObject<{
3567
3901
  }>>;
3568
3902
  pathDefault: z.ZodOptional<z.ZodObject<Omit<{
3569
3903
  type: z.ZodLiteral<"path">;
3904
+ id: z.ZodOptional<z.ZodString>;
3905
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
3570
3906
  color: z.ZodOptional<z.ZodString>;
3571
3907
  stroke: z.ZodOptional<z.ZodString>;
3572
3908
  strokeWidth: z.ZodOptional<z.ZodNumber>;
@@ -3594,18 +3930,18 @@ export declare const ScopeSchema: z.ZodObject<{
3594
3930
  }, "strip", z.ZodTypeAny, {
3595
3931
  length?: number | undefined;
3596
3932
  fill?: string | undefined;
3933
+ shape?: string | undefined;
3597
3934
  color?: string | undefined;
3598
3935
  opacity?: number | undefined;
3599
- shape?: string | undefined;
3600
3936
  lineWidth?: number | undefined;
3601
3937
  width?: number | undefined;
3602
3938
  scale?: number | undefined;
3603
3939
  }, {
3604
3940
  length?: number | undefined;
3605
3941
  fill?: string | undefined;
3942
+ shape?: string | undefined;
3606
3943
  color?: string | undefined;
3607
3944
  opacity?: number | undefined;
3608
- shape?: string | undefined;
3609
3945
  lineWidth?: number | undefined;
3610
3946
  width?: number | undefined;
3611
3947
  scale?: number | undefined;
@@ -3622,18 +3958,18 @@ export declare const ScopeSchema: z.ZodObject<{
3622
3958
  }, "strip", z.ZodTypeAny, {
3623
3959
  length?: number | undefined;
3624
3960
  fill?: string | undefined;
3961
+ shape?: string | undefined;
3625
3962
  color?: string | undefined;
3626
3963
  opacity?: number | undefined;
3627
- shape?: string | undefined;
3628
3964
  lineWidth?: number | undefined;
3629
3965
  width?: number | undefined;
3630
3966
  scale?: number | undefined;
3631
3967
  }, {
3632
3968
  length?: number | undefined;
3633
3969
  fill?: string | undefined;
3970
+ shape?: string | undefined;
3634
3971
  color?: string | undefined;
3635
3972
  opacity?: number | undefined;
3636
- shape?: string | undefined;
3637
3973
  lineWidth?: number | undefined;
3638
3974
  width?: number | undefined;
3639
3975
  scale?: number | undefined;
@@ -3641,18 +3977,18 @@ export declare const ScopeSchema: z.ZodObject<{
3641
3977
  }, "strip", z.ZodTypeAny, {
3642
3978
  length?: number | undefined;
3643
3979
  fill?: string | undefined;
3980
+ shape?: string | undefined;
3644
3981
  color?: string | undefined;
3645
3982
  opacity?: number | undefined;
3646
- shape?: string | undefined;
3647
3983
  lineWidth?: number | undefined;
3648
3984
  width?: number | undefined;
3649
3985
  scale?: number | undefined;
3650
3986
  start?: {
3651
3987
  length?: number | undefined;
3652
3988
  fill?: string | undefined;
3989
+ shape?: string | undefined;
3653
3990
  color?: string | undefined;
3654
3991
  opacity?: number | undefined;
3655
- shape?: string | undefined;
3656
3992
  lineWidth?: number | undefined;
3657
3993
  width?: number | undefined;
3658
3994
  scale?: number | undefined;
@@ -3660,9 +3996,9 @@ export declare const ScopeSchema: z.ZodObject<{
3660
3996
  end?: {
3661
3997
  length?: number | undefined;
3662
3998
  fill?: string | undefined;
3999
+ shape?: string | undefined;
3663
4000
  color?: string | undefined;
3664
4001
  opacity?: number | undefined;
3665
- shape?: string | undefined;
3666
4002
  lineWidth?: number | undefined;
3667
4003
  width?: number | undefined;
3668
4004
  scale?: number | undefined;
@@ -3670,18 +4006,18 @@ export declare const ScopeSchema: z.ZodObject<{
3670
4006
  }, {
3671
4007
  length?: number | undefined;
3672
4008
  fill?: string | undefined;
4009
+ shape?: string | undefined;
3673
4010
  color?: string | undefined;
3674
4011
  opacity?: number | undefined;
3675
- shape?: string | undefined;
3676
4012
  lineWidth?: number | undefined;
3677
4013
  width?: number | undefined;
3678
4014
  scale?: number | undefined;
3679
4015
  start?: {
3680
4016
  length?: number | undefined;
3681
4017
  fill?: string | undefined;
4018
+ shape?: string | undefined;
3682
4019
  color?: string | undefined;
3683
4020
  opacity?: number | undefined;
3684
- shape?: string | undefined;
3685
4021
  lineWidth?: number | undefined;
3686
4022
  width?: number | undefined;
3687
4023
  scale?: number | undefined;
@@ -3689,9 +4025,9 @@ export declare const ScopeSchema: z.ZodObject<{
3689
4025
  end?: {
3690
4026
  length?: number | undefined;
3691
4027
  fill?: string | undefined;
4028
+ shape?: string | undefined;
3692
4029
  color?: string | undefined;
3693
4030
  opacity?: number | undefined;
3694
- shape?: string | undefined;
3695
4031
  lineWidth?: number | undefined;
3696
4032
  width?: number | undefined;
3697
4033
  scale?: number | undefined;
@@ -3837,9 +4173,9 @@ export declare const ScopeSchema: z.ZodObject<{
3837
4173
  kind: "arrow";
3838
4174
  length?: number | undefined;
3839
4175
  fill?: string | undefined;
4176
+ shape?: string | undefined;
3840
4177
  color?: string | undefined;
3841
4178
  opacity?: number | undefined;
3842
- shape?: string | undefined;
3843
4179
  lineWidth?: number | undefined;
3844
4180
  width?: number | undefined;
3845
4181
  scale?: number | undefined;
@@ -3847,9 +4183,9 @@ export declare const ScopeSchema: z.ZodObject<{
3847
4183
  kind: "arrow";
3848
4184
  length?: number | undefined;
3849
4185
  fill?: string | undefined;
4186
+ shape?: string | undefined;
3850
4187
  color?: string | undefined;
3851
4188
  opacity?: number | undefined;
3852
- shape?: string | undefined;
3853
4189
  lineWidth?: number | undefined;
3854
4190
  width?: number | undefined;
3855
4191
  scale?: number | undefined;
@@ -3860,9 +4196,9 @@ export declare const ScopeSchema: z.ZodObject<{
3860
4196
  kind: "arrow";
3861
4197
  length?: number | undefined;
3862
4198
  fill?: string | undefined;
4199
+ shape?: string | undefined;
3863
4200
  color?: string | undefined;
3864
4201
  opacity?: number | undefined;
3865
- shape?: string | undefined;
3866
4202
  lineWidth?: number | undefined;
3867
4203
  width?: number | undefined;
3868
4204
  scale?: number | undefined;
@@ -3873,9 +4209,9 @@ export declare const ScopeSchema: z.ZodObject<{
3873
4209
  kind: "arrow";
3874
4210
  length?: number | undefined;
3875
4211
  fill?: string | undefined;
4212
+ shape?: string | undefined;
3876
4213
  color?: string | undefined;
3877
4214
  opacity?: number | undefined;
3878
- shape?: string | undefined;
3879
4215
  lineWidth?: number | undefined;
3880
4216
  width?: number | undefined;
3881
4217
  scale?: number | undefined;
@@ -3886,7 +4222,7 @@ export declare const ScopeSchema: z.ZodObject<{
3886
4222
  kind: z.ZodLiteral<"move">;
3887
4223
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
3888
4224
  id: z.ZodString;
3889
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
4225
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
3890
4226
  side: z.ZodEnum<["north", "south", "east", "west"]>;
3891
4227
  t: z.ZodNumber;
3892
4228
  }, "strip", z.ZodTypeAny, {
@@ -3897,20 +4233,38 @@ export declare const ScopeSchema: z.ZodObject<{
3897
4233
  t: number;
3898
4234
  }>]>>;
3899
4235
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
4236
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
4237
+ type: z.ZodString;
4238
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
4239
+ }, "strip", z.ZodTypeAny, {
4240
+ type: string;
4241
+ params?: Record<string, import('./json').JsonValue> | undefined;
4242
+ }, {
4243
+ type: string;
4244
+ params?: Record<string, import('./json').JsonValue> | undefined;
4245
+ }>]>>;
3900
4246
  }, "strip", z.ZodTypeAny, {
3901
4247
  id: string;
3902
4248
  offset?: [number, number] | undefined;
3903
- anchor?: number | import('..').RectAnchor | {
4249
+ anchor?: string | number | {
3904
4250
  side: "north" | "south" | "east" | "west";
3905
4251
  t: number;
3906
4252
  } | undefined;
4253
+ boundary?: string | {
4254
+ type: string;
4255
+ params?: Record<string, import('./json').JsonValue> | undefined;
4256
+ } | undefined;
3907
4257
  }, {
3908
4258
  id: string;
3909
4259
  offset?: [number, number] | undefined;
3910
- anchor?: number | import('..').RectAnchor | {
4260
+ anchor?: string | number | {
3911
4261
  side: "north" | "south" | "east" | "west";
3912
4262
  t: number;
3913
4263
  } | undefined;
4264
+ boundary?: string | {
4265
+ type: string;
4266
+ params?: Record<string, import('./json').JsonValue> | undefined;
4267
+ } | undefined;
3914
4268
  }>, z.ZodObject<{
3915
4269
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
3916
4270
  }, "strip", z.ZodTypeAny, {
@@ -3935,46 +4289,54 @@ export declare const ScopeSchema: z.ZodObject<{
3935
4289
  }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
3936
4290
  }, "strip", z.ZodTypeAny, {
3937
4291
  type: "step";
4292
+ kind: "move";
3938
4293
  to: [number, number] | import('./position').PolarPosition | {
3939
4294
  of: string | [number, number] | import('./position').PolarPosition;
3940
4295
  offset: [number, number];
3941
4296
  } | {
3942
4297
  id: string;
3943
4298
  offset?: [number, number] | undefined;
3944
- anchor?: number | import('..').RectAnchor | {
4299
+ anchor?: string | number | {
3945
4300
  side: "north" | "south" | "east" | "west";
3946
4301
  t: number;
3947
4302
  } | undefined;
4303
+ boundary?: string | {
4304
+ type: string;
4305
+ params?: Record<string, import('./json').JsonValue> | undefined;
4306
+ } | undefined;
3948
4307
  } | {
3949
4308
  relative: [number, number];
3950
4309
  } | {
3951
4310
  relativeAccumulate: [number, number];
3952
4311
  } | import('./position').IRBetweenPosition;
3953
- kind: "move";
3954
4312
  }, {
3955
4313
  type: "step";
4314
+ kind: "move";
3956
4315
  to: [number, number] | import('./position').PolarPosition | {
3957
4316
  of: string | [number, number] | import('./position').PolarPosition;
3958
4317
  offset: [number, number];
3959
4318
  } | {
3960
4319
  id: string;
3961
4320
  offset?: [number, number] | undefined;
3962
- anchor?: number | import('..').RectAnchor | {
4321
+ anchor?: string | number | {
3963
4322
  side: "north" | "south" | "east" | "west";
3964
4323
  t: number;
3965
4324
  } | undefined;
4325
+ boundary?: string | {
4326
+ type: string;
4327
+ params?: Record<string, import('./json').JsonValue> | undefined;
4328
+ } | undefined;
3966
4329
  } | {
3967
4330
  relative: [number, number];
3968
4331
  } | {
3969
4332
  relativeAccumulate: [number, number];
3970
4333
  } | import('./position').IRBetweenPosition;
3971
- kind: "move";
3972
4334
  }>, z.ZodObject<{
3973
4335
  type: z.ZodLiteral<"step">;
3974
4336
  kind: z.ZodLiteral<"line">;
3975
4337
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
3976
4338
  id: z.ZodString;
3977
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
4339
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
3978
4340
  side: z.ZodEnum<["north", "south", "east", "west"]>;
3979
4341
  t: z.ZodNumber;
3980
4342
  }, "strip", z.ZodTypeAny, {
@@ -3985,20 +4347,38 @@ export declare const ScopeSchema: z.ZodObject<{
3985
4347
  t: number;
3986
4348
  }>]>>;
3987
4349
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
4350
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
4351
+ type: z.ZodString;
4352
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
4353
+ }, "strip", z.ZodTypeAny, {
4354
+ type: string;
4355
+ params?: Record<string, import('./json').JsonValue> | undefined;
4356
+ }, {
4357
+ type: string;
4358
+ params?: Record<string, import('./json').JsonValue> | undefined;
4359
+ }>]>>;
3988
4360
  }, "strip", z.ZodTypeAny, {
3989
4361
  id: string;
3990
4362
  offset?: [number, number] | undefined;
3991
- anchor?: number | import('..').RectAnchor | {
4363
+ anchor?: string | number | {
3992
4364
  side: "north" | "south" | "east" | "west";
3993
4365
  t: number;
3994
4366
  } | undefined;
4367
+ boundary?: string | {
4368
+ type: string;
4369
+ params?: Record<string, import('./json').JsonValue> | undefined;
4370
+ } | undefined;
3995
4371
  }, {
3996
4372
  id: string;
3997
4373
  offset?: [number, number] | undefined;
3998
- anchor?: number | import('..').RectAnchor | {
4374
+ anchor?: string | number | {
3999
4375
  side: "north" | "south" | "east" | "west";
4000
4376
  t: number;
4001
4377
  } | undefined;
4378
+ boundary?: string | {
4379
+ type: string;
4380
+ params?: Record<string, import('./json').JsonValue> | undefined;
4381
+ } | undefined;
4002
4382
  }>, z.ZodObject<{
4003
4383
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
4004
4384
  }, "strip", z.ZodTypeAny, {
@@ -4070,22 +4450,26 @@ export declare const ScopeSchema: z.ZodObject<{
4070
4450
  }>>;
4071
4451
  }, "strip", z.ZodTypeAny, {
4072
4452
  type: "step";
4453
+ kind: "line";
4073
4454
  to: [number, number] | import('./position').PolarPosition | {
4074
4455
  of: string | [number, number] | import('./position').PolarPosition;
4075
4456
  offset: [number, number];
4076
4457
  } | {
4077
4458
  id: string;
4078
4459
  offset?: [number, number] | undefined;
4079
- anchor?: number | import('..').RectAnchor | {
4460
+ anchor?: string | number | {
4080
4461
  side: "north" | "south" | "east" | "west";
4081
4462
  t: number;
4082
4463
  } | undefined;
4464
+ boundary?: string | {
4465
+ type: string;
4466
+ params?: Record<string, import('./json').JsonValue> | undefined;
4467
+ } | undefined;
4083
4468
  } | {
4084
4469
  relative: [number, number];
4085
4470
  } | {
4086
4471
  relativeAccumulate: [number, number];
4087
4472
  } | import('./position').IRBetweenPosition;
4088
- kind: "line";
4089
4473
  label?: {
4090
4474
  text: string;
4091
4475
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -4101,22 +4485,26 @@ export declare const ScopeSchema: z.ZodObject<{
4101
4485
  } | undefined;
4102
4486
  }, {
4103
4487
  type: "step";
4488
+ kind: "line";
4104
4489
  to: [number, number] | import('./position').PolarPosition | {
4105
4490
  of: string | [number, number] | import('./position').PolarPosition;
4106
4491
  offset: [number, number];
4107
4492
  } | {
4108
4493
  id: string;
4109
4494
  offset?: [number, number] | undefined;
4110
- anchor?: number | import('..').RectAnchor | {
4495
+ anchor?: string | number | {
4111
4496
  side: "north" | "south" | "east" | "west";
4112
4497
  t: number;
4113
4498
  } | undefined;
4499
+ boundary?: string | {
4500
+ type: string;
4501
+ params?: Record<string, import('./json').JsonValue> | undefined;
4502
+ } | undefined;
4114
4503
  } | {
4115
4504
  relative: [number, number];
4116
4505
  } | {
4117
4506
  relativeAccumulate: [number, number];
4118
4507
  } | import('./position').IRBetweenPosition;
4119
- kind: "line";
4120
4508
  label?: {
4121
4509
  text: string;
4122
4510
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -4136,7 +4524,7 @@ export declare const ScopeSchema: z.ZodObject<{
4136
4524
  via: z.ZodEnum<["-|", "|-"]>;
4137
4525
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
4138
4526
  id: z.ZodString;
4139
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
4527
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
4140
4528
  side: z.ZodEnum<["north", "south", "east", "west"]>;
4141
4529
  t: z.ZodNumber;
4142
4530
  }, "strip", z.ZodTypeAny, {
@@ -4147,20 +4535,38 @@ export declare const ScopeSchema: z.ZodObject<{
4147
4535
  t: number;
4148
4536
  }>]>>;
4149
4537
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
4538
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
4539
+ type: z.ZodString;
4540
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
4541
+ }, "strip", z.ZodTypeAny, {
4542
+ type: string;
4543
+ params?: Record<string, import('./json').JsonValue> | undefined;
4544
+ }, {
4545
+ type: string;
4546
+ params?: Record<string, import('./json').JsonValue> | undefined;
4547
+ }>]>>;
4150
4548
  }, "strip", z.ZodTypeAny, {
4151
4549
  id: string;
4152
4550
  offset?: [number, number] | undefined;
4153
- anchor?: number | import('..').RectAnchor | {
4551
+ anchor?: string | number | {
4154
4552
  side: "north" | "south" | "east" | "west";
4155
4553
  t: number;
4156
4554
  } | undefined;
4555
+ boundary?: string | {
4556
+ type: string;
4557
+ params?: Record<string, import('./json').JsonValue> | undefined;
4558
+ } | undefined;
4157
4559
  }, {
4158
4560
  id: string;
4159
4561
  offset?: [number, number] | undefined;
4160
- anchor?: number | import('..').RectAnchor | {
4562
+ anchor?: string | number | {
4161
4563
  side: "north" | "south" | "east" | "west";
4162
4564
  t: number;
4163
4565
  } | undefined;
4566
+ boundary?: string | {
4567
+ type: string;
4568
+ params?: Record<string, import('./json').JsonValue> | undefined;
4569
+ } | undefined;
4164
4570
  }>, z.ZodObject<{
4165
4571
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
4166
4572
  }, "strip", z.ZodTypeAny, {
@@ -4232,22 +4638,26 @@ export declare const ScopeSchema: z.ZodObject<{
4232
4638
  }>>;
4233
4639
  }, "strip", z.ZodTypeAny, {
4234
4640
  type: "step";
4641
+ kind: "step";
4235
4642
  to: [number, number] | import('./position').PolarPosition | {
4236
4643
  of: string | [number, number] | import('./position').PolarPosition;
4237
4644
  offset: [number, number];
4238
4645
  } | {
4239
4646
  id: string;
4240
4647
  offset?: [number, number] | undefined;
4241
- anchor?: number | import('..').RectAnchor | {
4648
+ anchor?: string | number | {
4242
4649
  side: "north" | "south" | "east" | "west";
4243
4650
  t: number;
4244
4651
  } | undefined;
4652
+ boundary?: string | {
4653
+ type: string;
4654
+ params?: Record<string, import('./json').JsonValue> | undefined;
4655
+ } | undefined;
4245
4656
  } | {
4246
4657
  relative: [number, number];
4247
4658
  } | {
4248
4659
  relativeAccumulate: [number, number];
4249
4660
  } | import('./position').IRBetweenPosition;
4250
- kind: "step";
4251
4661
  via: "-|" | "|-";
4252
4662
  label?: {
4253
4663
  text: string;
@@ -4264,22 +4674,26 @@ export declare const ScopeSchema: z.ZodObject<{
4264
4674
  } | undefined;
4265
4675
  }, {
4266
4676
  type: "step";
4677
+ kind: "step";
4267
4678
  to: [number, number] | import('./position').PolarPosition | {
4268
4679
  of: string | [number, number] | import('./position').PolarPosition;
4269
4680
  offset: [number, number];
4270
4681
  } | {
4271
4682
  id: string;
4272
4683
  offset?: [number, number] | undefined;
4273
- anchor?: number | import('..').RectAnchor | {
4684
+ anchor?: string | number | {
4274
4685
  side: "north" | "south" | "east" | "west";
4275
4686
  t: number;
4276
4687
  } | undefined;
4688
+ boundary?: string | {
4689
+ type: string;
4690
+ params?: Record<string, import('./json').JsonValue> | undefined;
4691
+ } | undefined;
4277
4692
  } | {
4278
4693
  relative: [number, number];
4279
4694
  } | {
4280
4695
  relativeAccumulate: [number, number];
4281
4696
  } | import('./position').IRBetweenPosition;
4282
- kind: "step";
4283
4697
  via: "-|" | "|-";
4284
4698
  label?: {
4285
4699
  text: string;
@@ -4308,7 +4722,7 @@ export declare const ScopeSchema: z.ZodObject<{
4308
4722
  kind: z.ZodLiteral<"curve">;
4309
4723
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
4310
4724
  id: z.ZodString;
4311
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
4725
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
4312
4726
  side: z.ZodEnum<["north", "south", "east", "west"]>;
4313
4727
  t: z.ZodNumber;
4314
4728
  }, "strip", z.ZodTypeAny, {
@@ -4319,20 +4733,38 @@ export declare const ScopeSchema: z.ZodObject<{
4319
4733
  t: number;
4320
4734
  }>]>>;
4321
4735
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
4736
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
4737
+ type: z.ZodString;
4738
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
4739
+ }, "strip", z.ZodTypeAny, {
4740
+ type: string;
4741
+ params?: Record<string, import('./json').JsonValue> | undefined;
4742
+ }, {
4743
+ type: string;
4744
+ params?: Record<string, import('./json').JsonValue> | undefined;
4745
+ }>]>>;
4322
4746
  }, "strip", z.ZodTypeAny, {
4323
4747
  id: string;
4324
4748
  offset?: [number, number] | undefined;
4325
- anchor?: number | import('..').RectAnchor | {
4749
+ anchor?: string | number | {
4326
4750
  side: "north" | "south" | "east" | "west";
4327
4751
  t: number;
4328
4752
  } | undefined;
4753
+ boundary?: string | {
4754
+ type: string;
4755
+ params?: Record<string, import('./json').JsonValue> | undefined;
4756
+ } | undefined;
4329
4757
  }, {
4330
4758
  id: string;
4331
4759
  offset?: [number, number] | undefined;
4332
- anchor?: number | import('..').RectAnchor | {
4760
+ anchor?: string | number | {
4333
4761
  side: "north" | "south" | "east" | "west";
4334
4762
  t: number;
4335
4763
  } | undefined;
4764
+ boundary?: string | {
4765
+ type: string;
4766
+ params?: Record<string, import('./json').JsonValue> | undefined;
4767
+ } | undefined;
4336
4768
  }>, z.ZodObject<{
4337
4769
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
4338
4770
  }, "strip", z.ZodTypeAny, {
@@ -4405,22 +4837,26 @@ export declare const ScopeSchema: z.ZodObject<{
4405
4837
  }>>;
4406
4838
  }, "strip", z.ZodTypeAny, {
4407
4839
  type: "step";
4840
+ kind: "curve";
4408
4841
  to: [number, number] | import('./position').PolarPosition | {
4409
4842
  of: string | [number, number] | import('./position').PolarPosition;
4410
4843
  offset: [number, number];
4411
4844
  } | {
4412
4845
  id: string;
4413
4846
  offset?: [number, number] | undefined;
4414
- anchor?: number | import('..').RectAnchor | {
4847
+ anchor?: string | number | {
4415
4848
  side: "north" | "south" | "east" | "west";
4416
4849
  t: number;
4417
4850
  } | undefined;
4851
+ boundary?: string | {
4852
+ type: string;
4853
+ params?: Record<string, import('./json').JsonValue> | undefined;
4854
+ } | undefined;
4418
4855
  } | {
4419
4856
  relative: [number, number];
4420
4857
  } | {
4421
4858
  relativeAccumulate: [number, number];
4422
4859
  } | import('./position').IRBetweenPosition;
4423
- kind: "curve";
4424
4860
  control: [number, number];
4425
4861
  label?: {
4426
4862
  text: string;
@@ -4437,22 +4873,26 @@ export declare const ScopeSchema: z.ZodObject<{
4437
4873
  } | undefined;
4438
4874
  }, {
4439
4875
  type: "step";
4876
+ kind: "curve";
4440
4877
  to: [number, number] | import('./position').PolarPosition | {
4441
4878
  of: string | [number, number] | import('./position').PolarPosition;
4442
4879
  offset: [number, number];
4443
4880
  } | {
4444
4881
  id: string;
4445
4882
  offset?: [number, number] | undefined;
4446
- anchor?: number | import('..').RectAnchor | {
4883
+ anchor?: string | number | {
4447
4884
  side: "north" | "south" | "east" | "west";
4448
4885
  t: number;
4449
4886
  } | undefined;
4887
+ boundary?: string | {
4888
+ type: string;
4889
+ params?: Record<string, import('./json').JsonValue> | undefined;
4890
+ } | undefined;
4450
4891
  } | {
4451
4892
  relative: [number, number];
4452
4893
  } | {
4453
4894
  relativeAccumulate: [number, number];
4454
4895
  } | import('./position').IRBetweenPosition;
4455
- kind: "curve";
4456
4896
  control: [number, number];
4457
4897
  label?: {
4458
4898
  text: string;
@@ -4472,7 +4912,7 @@ export declare const ScopeSchema: z.ZodObject<{
4472
4912
  kind: z.ZodLiteral<"cubic">;
4473
4913
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
4474
4914
  id: z.ZodString;
4475
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
4915
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
4476
4916
  side: z.ZodEnum<["north", "south", "east", "west"]>;
4477
4917
  t: z.ZodNumber;
4478
4918
  }, "strip", z.ZodTypeAny, {
@@ -4483,20 +4923,38 @@ export declare const ScopeSchema: z.ZodObject<{
4483
4923
  t: number;
4484
4924
  }>]>>;
4485
4925
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
4926
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
4927
+ type: z.ZodString;
4928
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
4929
+ }, "strip", z.ZodTypeAny, {
4930
+ type: string;
4931
+ params?: Record<string, import('./json').JsonValue> | undefined;
4932
+ }, {
4933
+ type: string;
4934
+ params?: Record<string, import('./json').JsonValue> | undefined;
4935
+ }>]>>;
4486
4936
  }, "strip", z.ZodTypeAny, {
4487
4937
  id: string;
4488
4938
  offset?: [number, number] | undefined;
4489
- anchor?: number | import('..').RectAnchor | {
4939
+ anchor?: string | number | {
4490
4940
  side: "north" | "south" | "east" | "west";
4491
4941
  t: number;
4492
4942
  } | undefined;
4943
+ boundary?: string | {
4944
+ type: string;
4945
+ params?: Record<string, import('./json').JsonValue> | undefined;
4946
+ } | undefined;
4493
4947
  }, {
4494
4948
  id: string;
4495
4949
  offset?: [number, number] | undefined;
4496
- anchor?: number | import('..').RectAnchor | {
4950
+ anchor?: string | number | {
4497
4951
  side: "north" | "south" | "east" | "west";
4498
4952
  t: number;
4499
4953
  } | undefined;
4954
+ boundary?: string | {
4955
+ type: string;
4956
+ params?: Record<string, import('./json').JsonValue> | undefined;
4957
+ } | undefined;
4500
4958
  }>, z.ZodObject<{
4501
4959
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
4502
4960
  }, "strip", z.ZodTypeAny, {
@@ -4570,22 +5028,26 @@ export declare const ScopeSchema: z.ZodObject<{
4570
5028
  }>>;
4571
5029
  }, "strip", z.ZodTypeAny, {
4572
5030
  type: "step";
5031
+ kind: "cubic";
4573
5032
  to: [number, number] | import('./position').PolarPosition | {
4574
5033
  of: string | [number, number] | import('./position').PolarPosition;
4575
5034
  offset: [number, number];
4576
5035
  } | {
4577
5036
  id: string;
4578
5037
  offset?: [number, number] | undefined;
4579
- anchor?: number | import('..').RectAnchor | {
5038
+ anchor?: string | number | {
4580
5039
  side: "north" | "south" | "east" | "west";
4581
5040
  t: number;
4582
5041
  } | undefined;
5042
+ boundary?: string | {
5043
+ type: string;
5044
+ params?: Record<string, import('./json').JsonValue> | undefined;
5045
+ } | undefined;
4583
5046
  } | {
4584
5047
  relative: [number, number];
4585
5048
  } | {
4586
5049
  relativeAccumulate: [number, number];
4587
5050
  } | import('./position').IRBetweenPosition;
4588
- kind: "cubic";
4589
5051
  control1: [number, number];
4590
5052
  control2: [number, number];
4591
5053
  label?: {
@@ -4603,22 +5065,26 @@ export declare const ScopeSchema: z.ZodObject<{
4603
5065
  } | undefined;
4604
5066
  }, {
4605
5067
  type: "step";
5068
+ kind: "cubic";
4606
5069
  to: [number, number] | import('./position').PolarPosition | {
4607
5070
  of: string | [number, number] | import('./position').PolarPosition;
4608
5071
  offset: [number, number];
4609
5072
  } | {
4610
5073
  id: string;
4611
5074
  offset?: [number, number] | undefined;
4612
- anchor?: number | import('..').RectAnchor | {
5075
+ anchor?: string | number | {
4613
5076
  side: "north" | "south" | "east" | "west";
4614
5077
  t: number;
4615
5078
  } | undefined;
5079
+ boundary?: string | {
5080
+ type: string;
5081
+ params?: Record<string, import('./json').JsonValue> | undefined;
5082
+ } | undefined;
4616
5083
  } | {
4617
5084
  relative: [number, number];
4618
5085
  } | {
4619
5086
  relativeAccumulate: [number, number];
4620
5087
  } | import('./position').IRBetweenPosition;
4621
- kind: "cubic";
4622
5088
  control1: [number, number];
4623
5089
  control2: [number, number];
4624
5090
  label?: {
@@ -4639,7 +5105,7 @@ export declare const ScopeSchema: z.ZodObject<{
4639
5105
  kind: z.ZodLiteral<"bend">;
4640
5106
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
4641
5107
  id: z.ZodString;
4642
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
5108
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
4643
5109
  side: z.ZodEnum<["north", "south", "east", "west"]>;
4644
5110
  t: z.ZodNumber;
4645
5111
  }, "strip", z.ZodTypeAny, {
@@ -4650,20 +5116,38 @@ export declare const ScopeSchema: z.ZodObject<{
4650
5116
  t: number;
4651
5117
  }>]>>;
4652
5118
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
5119
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
5120
+ type: z.ZodString;
5121
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
5122
+ }, "strip", z.ZodTypeAny, {
5123
+ type: string;
5124
+ params?: Record<string, import('./json').JsonValue> | undefined;
5125
+ }, {
5126
+ type: string;
5127
+ params?: Record<string, import('./json').JsonValue> | undefined;
5128
+ }>]>>;
4653
5129
  }, "strip", z.ZodTypeAny, {
4654
5130
  id: string;
4655
5131
  offset?: [number, number] | undefined;
4656
- anchor?: number | import('..').RectAnchor | {
5132
+ anchor?: string | number | {
4657
5133
  side: "north" | "south" | "east" | "west";
4658
5134
  t: number;
4659
5135
  } | undefined;
5136
+ boundary?: string | {
5137
+ type: string;
5138
+ params?: Record<string, import('./json').JsonValue> | undefined;
5139
+ } | undefined;
4660
5140
  }, {
4661
5141
  id: string;
4662
5142
  offset?: [number, number] | undefined;
4663
- anchor?: number | import('..').RectAnchor | {
5143
+ anchor?: string | number | {
4664
5144
  side: "north" | "south" | "east" | "west";
4665
5145
  t: number;
4666
5146
  } | undefined;
5147
+ boundary?: string | {
5148
+ type: string;
5149
+ params?: Record<string, import('./json').JsonValue> | undefined;
5150
+ } | undefined;
4667
5151
  }>, z.ZodObject<{
4668
5152
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
4669
5153
  }, "strip", z.ZodTypeAny, {
@@ -4740,22 +5224,26 @@ export declare const ScopeSchema: z.ZodObject<{
4740
5224
  }>>;
4741
5225
  }, "strip", z.ZodTypeAny, {
4742
5226
  type: "step";
5227
+ kind: "bend";
4743
5228
  to: [number, number] | import('./position').PolarPosition | {
4744
5229
  of: string | [number, number] | import('./position').PolarPosition;
4745
5230
  offset: [number, number];
4746
5231
  } | {
4747
5232
  id: string;
4748
5233
  offset?: [number, number] | undefined;
4749
- anchor?: number | import('..').RectAnchor | {
5234
+ anchor?: string | number | {
4750
5235
  side: "north" | "south" | "east" | "west";
4751
5236
  t: number;
4752
5237
  } | undefined;
5238
+ boundary?: string | {
5239
+ type: string;
5240
+ params?: Record<string, import('./json').JsonValue> | undefined;
5241
+ } | undefined;
4753
5242
  } | {
4754
5243
  relative: [number, number];
4755
5244
  } | {
4756
5245
  relativeAccumulate: [number, number];
4757
5246
  } | import('./position').IRBetweenPosition;
4758
- kind: "bend";
4759
5247
  label?: {
4760
5248
  text: string;
4761
5249
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -4776,22 +5264,26 @@ export declare const ScopeSchema: z.ZodObject<{
4776
5264
  looseness?: number | undefined;
4777
5265
  }, {
4778
5266
  type: "step";
5267
+ kind: "bend";
4779
5268
  to: [number, number] | import('./position').PolarPosition | {
4780
5269
  of: string | [number, number] | import('./position').PolarPosition;
4781
5270
  offset: [number, number];
4782
5271
  } | {
4783
5272
  id: string;
4784
5273
  offset?: [number, number] | undefined;
4785
- anchor?: number | import('..').RectAnchor | {
5274
+ anchor?: string | number | {
4786
5275
  side: "north" | "south" | "east" | "west";
4787
5276
  t: number;
4788
5277
  } | undefined;
5278
+ boundary?: string | {
5279
+ type: string;
5280
+ params?: Record<string, import('./json').JsonValue> | undefined;
5281
+ } | undefined;
4789
5282
  } | {
4790
5283
  relative: [number, number];
4791
5284
  } | {
4792
5285
  relativeAccumulate: [number, number];
4793
5286
  } | import('./position').IRBetweenPosition;
4794
- kind: "bend";
4795
5287
  label?: {
4796
5288
  text: string;
4797
5289
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -4820,7 +5312,7 @@ export declare const ScopeSchema: z.ZodObject<{
4820
5312
  radiusY: z.ZodOptional<z.ZodNumber>;
4821
5313
  center: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
4822
5314
  id: z.ZodString;
4823
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
5315
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
4824
5316
  side: z.ZodEnum<["north", "south", "east", "west"]>;
4825
5317
  t: z.ZodNumber;
4826
5318
  }, "strip", z.ZodTypeAny, {
@@ -4831,20 +5323,38 @@ export declare const ScopeSchema: z.ZodObject<{
4831
5323
  t: number;
4832
5324
  }>]>>;
4833
5325
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
5326
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
5327
+ type: z.ZodString;
5328
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
5329
+ }, "strip", z.ZodTypeAny, {
5330
+ type: string;
5331
+ params?: Record<string, import('./json').JsonValue> | undefined;
5332
+ }, {
5333
+ type: string;
5334
+ params?: Record<string, import('./json').JsonValue> | undefined;
5335
+ }>]>>;
4834
5336
  }, "strip", z.ZodTypeAny, {
4835
5337
  id: string;
4836
5338
  offset?: [number, number] | undefined;
4837
- anchor?: number | import('..').RectAnchor | {
5339
+ anchor?: string | number | {
4838
5340
  side: "north" | "south" | "east" | "west";
4839
5341
  t: number;
4840
5342
  } | undefined;
5343
+ boundary?: string | {
5344
+ type: string;
5345
+ params?: Record<string, import('./json').JsonValue> | undefined;
5346
+ } | undefined;
4841
5347
  }, {
4842
5348
  id: string;
4843
5349
  offset?: [number, number] | undefined;
4844
- anchor?: number | import('..').RectAnchor | {
5350
+ anchor?: string | number | {
4845
5351
  side: "north" | "south" | "east" | "west";
4846
5352
  t: number;
4847
5353
  } | undefined;
5354
+ boundary?: string | {
5355
+ type: string;
5356
+ params?: Record<string, import('./json').JsonValue> | undefined;
5357
+ } | undefined;
4848
5358
  }>, z.ZodObject<{
4849
5359
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
4850
5360
  }, "strip", z.ZodTypeAny, {
@@ -4916,9 +5426,9 @@ export declare const ScopeSchema: z.ZodObject<{
4916
5426
  }>>;
4917
5427
  }, "strip", z.ZodTypeAny, {
4918
5428
  type: "step";
5429
+ kind: "arc";
4919
5430
  startAngle: number;
4920
5431
  endAngle: number;
4921
- kind: "arc";
4922
5432
  radius?: number | undefined;
4923
5433
  center?: [number, number] | import('./position').PolarPosition | {
4924
5434
  of: string | [number, number] | import('./position').PolarPosition;
@@ -4926,10 +5436,14 @@ export declare const ScopeSchema: z.ZodObject<{
4926
5436
  } | {
4927
5437
  id: string;
4928
5438
  offset?: [number, number] | undefined;
4929
- anchor?: number | import('..').RectAnchor | {
5439
+ anchor?: string | number | {
4930
5440
  side: "north" | "south" | "east" | "west";
4931
5441
  t: number;
4932
5442
  } | undefined;
5443
+ boundary?: string | {
5444
+ type: string;
5445
+ params?: Record<string, import('./json').JsonValue> | undefined;
5446
+ } | undefined;
4933
5447
  } | {
4934
5448
  relative: [number, number];
4935
5449
  } | {
@@ -4952,9 +5466,9 @@ export declare const ScopeSchema: z.ZodObject<{
4952
5466
  radiusY?: number | undefined;
4953
5467
  }, {
4954
5468
  type: "step";
5469
+ kind: "arc";
4955
5470
  startAngle: number;
4956
5471
  endAngle: number;
4957
- kind: "arc";
4958
5472
  radius?: number | undefined;
4959
5473
  center?: [number, number] | import('./position').PolarPosition | {
4960
5474
  of: string | [number, number] | import('./position').PolarPosition;
@@ -4962,10 +5476,14 @@ export declare const ScopeSchema: z.ZodObject<{
4962
5476
  } | {
4963
5477
  id: string;
4964
5478
  offset?: [number, number] | undefined;
4965
- anchor?: number | import('..').RectAnchor | {
5479
+ anchor?: string | number | {
4966
5480
  side: "north" | "south" | "east" | "west";
4967
5481
  t: number;
4968
5482
  } | undefined;
5483
+ boundary?: string | {
5484
+ type: string;
5485
+ params?: Record<string, import('./json').JsonValue> | undefined;
5486
+ } | undefined;
4969
5487
  } | {
4970
5488
  relative: [number, number];
4971
5489
  } | {
@@ -5044,8 +5562,6 @@ export declare const ScopeSchema: z.ZodObject<{
5044
5562
  type: "step";
5045
5563
  radius: number;
5046
5564
  kind: "circlePath";
5047
- startAngle?: number | undefined;
5048
- endAngle?: number | undefined;
5049
5565
  label?: {
5050
5566
  text: string;
5051
5567
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -5059,13 +5575,13 @@ export declare const ScopeSchema: z.ZodObject<{
5059
5575
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
5060
5576
  textColor?: string | undefined;
5061
5577
  } | undefined;
5578
+ startAngle?: number | undefined;
5579
+ endAngle?: number | undefined;
5062
5580
  closed?: "open" | "closed" | "chord" | "sector" | undefined;
5063
5581
  }, {
5064
5582
  type: "step";
5065
5583
  radius: number;
5066
5584
  kind: "circlePath";
5067
- startAngle?: number | undefined;
5068
- endAngle?: number | undefined;
5069
5585
  label?: {
5070
5586
  text: string;
5071
5587
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -5079,6 +5595,8 @@ export declare const ScopeSchema: z.ZodObject<{
5079
5595
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
5080
5596
  textColor?: string | undefined;
5081
5597
  } | undefined;
5598
+ startAngle?: number | undefined;
5599
+ endAngle?: number | undefined;
5082
5600
  closed?: "open" | "closed" | "chord" | "sector" | undefined;
5083
5601
  }>, z.ZodObject<{
5084
5602
  type: z.ZodLiteral<"step">;
@@ -5140,8 +5658,6 @@ export declare const ScopeSchema: z.ZodObject<{
5140
5658
  kind: "ellipsePath";
5141
5659
  radiusX: number;
5142
5660
  radiusY: number;
5143
- startAngle?: number | undefined;
5144
- endAngle?: number | undefined;
5145
5661
  label?: {
5146
5662
  text: string;
5147
5663
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -5155,14 +5671,14 @@ export declare const ScopeSchema: z.ZodObject<{
5155
5671
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
5156
5672
  textColor?: string | undefined;
5157
5673
  } | undefined;
5674
+ startAngle?: number | undefined;
5675
+ endAngle?: number | undefined;
5158
5676
  closed?: "open" | "closed" | "chord" | "sector" | undefined;
5159
5677
  }, {
5160
5678
  type: "step";
5161
5679
  kind: "ellipsePath";
5162
5680
  radiusX: number;
5163
5681
  radiusY: number;
5164
- startAngle?: number | undefined;
5165
- endAngle?: number | undefined;
5166
5682
  label?: {
5167
5683
  text: string;
5168
5684
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -5176,13 +5692,15 @@ export declare const ScopeSchema: z.ZodObject<{
5176
5692
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
5177
5693
  textColor?: string | undefined;
5178
5694
  } | undefined;
5695
+ startAngle?: number | undefined;
5696
+ endAngle?: number | undefined;
5179
5697
  closed?: "open" | "closed" | "chord" | "sector" | undefined;
5180
5698
  }>, z.ZodObject<{
5181
5699
  type: z.ZodLiteral<"step">;
5182
5700
  kind: z.ZodLiteral<"rectangle">;
5183
5701
  from: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
5184
5702
  id: z.ZodString;
5185
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
5703
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
5186
5704
  side: z.ZodEnum<["north", "south", "east", "west"]>;
5187
5705
  t: z.ZodNumber;
5188
5706
  }, "strip", z.ZodTypeAny, {
@@ -5193,20 +5711,38 @@ export declare const ScopeSchema: z.ZodObject<{
5193
5711
  t: number;
5194
5712
  }>]>>;
5195
5713
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
5714
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
5715
+ type: z.ZodString;
5716
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
5717
+ }, "strip", z.ZodTypeAny, {
5718
+ type: string;
5719
+ params?: Record<string, import('./json').JsonValue> | undefined;
5720
+ }, {
5721
+ type: string;
5722
+ params?: Record<string, import('./json').JsonValue> | undefined;
5723
+ }>]>>;
5196
5724
  }, "strip", z.ZodTypeAny, {
5197
5725
  id: string;
5198
5726
  offset?: [number, number] | undefined;
5199
- anchor?: number | import('..').RectAnchor | {
5727
+ anchor?: string | number | {
5200
5728
  side: "north" | "south" | "east" | "west";
5201
5729
  t: number;
5202
5730
  } | undefined;
5731
+ boundary?: string | {
5732
+ type: string;
5733
+ params?: Record<string, import('./json').JsonValue> | undefined;
5734
+ } | undefined;
5203
5735
  }, {
5204
5736
  id: string;
5205
5737
  offset?: [number, number] | undefined;
5206
- anchor?: number | import('..').RectAnchor | {
5738
+ anchor?: string | number | {
5207
5739
  side: "north" | "south" | "east" | "west";
5208
5740
  t: number;
5209
5741
  } | undefined;
5742
+ boundary?: string | {
5743
+ type: string;
5744
+ params?: Record<string, import('./json').JsonValue> | undefined;
5745
+ } | undefined;
5210
5746
  }>, z.ZodObject<{
5211
5747
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
5212
5748
  }, "strip", z.ZodTypeAny, {
@@ -5231,7 +5767,7 @@ export declare const ScopeSchema: z.ZodObject<{
5231
5767
  }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
5232
5768
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
5233
5769
  id: z.ZodString;
5234
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
5770
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
5235
5771
  side: z.ZodEnum<["north", "south", "east", "west"]>;
5236
5772
  t: z.ZodNumber;
5237
5773
  }, "strip", z.ZodTypeAny, {
@@ -5242,20 +5778,38 @@ export declare const ScopeSchema: z.ZodObject<{
5242
5778
  t: number;
5243
5779
  }>]>>;
5244
5780
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
5781
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
5782
+ type: z.ZodString;
5783
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
5784
+ }, "strip", z.ZodTypeAny, {
5785
+ type: string;
5786
+ params?: Record<string, import('./json').JsonValue> | undefined;
5787
+ }, {
5788
+ type: string;
5789
+ params?: Record<string, import('./json').JsonValue> | undefined;
5790
+ }>]>>;
5245
5791
  }, "strip", z.ZodTypeAny, {
5246
5792
  id: string;
5247
5793
  offset?: [number, number] | undefined;
5248
- anchor?: number | import('..').RectAnchor | {
5794
+ anchor?: string | number | {
5249
5795
  side: "north" | "south" | "east" | "west";
5250
5796
  t: number;
5251
5797
  } | undefined;
5798
+ boundary?: string | {
5799
+ type: string;
5800
+ params?: Record<string, import('./json').JsonValue> | undefined;
5801
+ } | undefined;
5252
5802
  }, {
5253
5803
  id: string;
5254
5804
  offset?: [number, number] | undefined;
5255
- anchor?: number | import('..').RectAnchor | {
5805
+ anchor?: string | number | {
5256
5806
  side: "north" | "south" | "east" | "west";
5257
5807
  t: number;
5258
5808
  } | undefined;
5809
+ boundary?: string | {
5810
+ type: string;
5811
+ params?: Record<string, import('./json').JsonValue> | undefined;
5812
+ } | undefined;
5259
5813
  }>, z.ZodObject<{
5260
5814
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
5261
5815
  }, "strip", z.ZodTypeAny, {
@@ -5278,82 +5832,98 @@ export declare const ScopeSchema: z.ZodObject<{
5278
5832
  of: string | [number, number] | import('./position').PolarPosition;
5279
5833
  offset: [number, number];
5280
5834
  }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
5281
- roundedCorners: z.ZodOptional<z.ZodNumber>;
5835
+ cornerRadius: z.ZodOptional<z.ZodNumber>;
5282
5836
  }, "strip", z.ZodTypeAny, {
5283
5837
  type: "step";
5838
+ kind: "rectangle";
5284
5839
  to: [number, number] | import('./position').PolarPosition | {
5285
5840
  of: string | [number, number] | import('./position').PolarPosition;
5286
5841
  offset: [number, number];
5287
5842
  } | {
5288
5843
  id: string;
5289
5844
  offset?: [number, number] | undefined;
5290
- anchor?: number | import('..').RectAnchor | {
5845
+ anchor?: string | number | {
5291
5846
  side: "north" | "south" | "east" | "west";
5292
5847
  t: number;
5293
5848
  } | undefined;
5849
+ boundary?: string | {
5850
+ type: string;
5851
+ params?: Record<string, import('./json').JsonValue> | undefined;
5852
+ } | undefined;
5294
5853
  } | {
5295
5854
  relative: [number, number];
5296
5855
  } | {
5297
5856
  relativeAccumulate: [number, number];
5298
5857
  } | import('./position').IRBetweenPosition;
5299
- kind: "rectangle";
5300
5858
  from: [number, number] | import('./position').PolarPosition | {
5301
5859
  of: string | [number, number] | import('./position').PolarPosition;
5302
5860
  offset: [number, number];
5303
5861
  } | {
5304
5862
  id: string;
5305
5863
  offset?: [number, number] | undefined;
5306
- anchor?: number | import('..').RectAnchor | {
5864
+ anchor?: string | number | {
5307
5865
  side: "north" | "south" | "east" | "west";
5308
5866
  t: number;
5309
5867
  } | undefined;
5868
+ boundary?: string | {
5869
+ type: string;
5870
+ params?: Record<string, import('./json').JsonValue> | undefined;
5871
+ } | undefined;
5310
5872
  } | {
5311
5873
  relative: [number, number];
5312
5874
  } | {
5313
5875
  relativeAccumulate: [number, number];
5314
5876
  } | import('./position').IRBetweenPosition;
5315
- roundedCorners?: number | undefined;
5877
+ cornerRadius?: number | undefined;
5316
5878
  }, {
5317
5879
  type: "step";
5880
+ kind: "rectangle";
5318
5881
  to: [number, number] | import('./position').PolarPosition | {
5319
5882
  of: string | [number, number] | import('./position').PolarPosition;
5320
5883
  offset: [number, number];
5321
5884
  } | {
5322
5885
  id: string;
5323
5886
  offset?: [number, number] | undefined;
5324
- anchor?: number | import('..').RectAnchor | {
5887
+ anchor?: string | number | {
5325
5888
  side: "north" | "south" | "east" | "west";
5326
5889
  t: number;
5327
5890
  } | undefined;
5891
+ boundary?: string | {
5892
+ type: string;
5893
+ params?: Record<string, import('./json').JsonValue> | undefined;
5894
+ } | undefined;
5328
5895
  } | {
5329
5896
  relative: [number, number];
5330
5897
  } | {
5331
5898
  relativeAccumulate: [number, number];
5332
5899
  } | import('./position').IRBetweenPosition;
5333
- kind: "rectangle";
5334
5900
  from: [number, number] | import('./position').PolarPosition | {
5335
5901
  of: string | [number, number] | import('./position').PolarPosition;
5336
5902
  offset: [number, number];
5337
5903
  } | {
5338
5904
  id: string;
5339
5905
  offset?: [number, number] | undefined;
5340
- anchor?: number | import('..').RectAnchor | {
5906
+ anchor?: string | number | {
5341
5907
  side: "north" | "south" | "east" | "west";
5342
5908
  t: number;
5343
5909
  } | undefined;
5910
+ boundary?: string | {
5911
+ type: string;
5912
+ params?: Record<string, import('./json').JsonValue> | undefined;
5913
+ } | undefined;
5344
5914
  } | {
5345
5915
  relative: [number, number];
5346
5916
  } | {
5347
5917
  relativeAccumulate: [number, number];
5348
5918
  } | import('./position').IRBetweenPosition;
5349
- roundedCorners?: number | undefined;
5919
+ cornerRadius?: number | undefined;
5350
5920
  }>, z.ZodObject<{
5351
5921
  type: z.ZodLiteral<"step">;
5352
5922
  kind: z.ZodLiteral<"generator">;
5353
5923
  name: z.ZodString;
5354
5924
  to: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
5355
5925
  id: z.ZodString;
5356
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
5926
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
5357
5927
  side: z.ZodEnum<["north", "south", "east", "west"]>;
5358
5928
  t: z.ZodNumber;
5359
5929
  }, "strip", z.ZodTypeAny, {
@@ -5364,20 +5934,38 @@ export declare const ScopeSchema: z.ZodObject<{
5364
5934
  t: number;
5365
5935
  }>]>>;
5366
5936
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
5937
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
5938
+ type: z.ZodString;
5939
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
5940
+ }, "strip", z.ZodTypeAny, {
5941
+ type: string;
5942
+ params?: Record<string, import('./json').JsonValue> | undefined;
5943
+ }, {
5944
+ type: string;
5945
+ params?: Record<string, import('./json').JsonValue> | undefined;
5946
+ }>]>>;
5367
5947
  }, "strip", z.ZodTypeAny, {
5368
5948
  id: string;
5369
5949
  offset?: [number, number] | undefined;
5370
- anchor?: number | import('..').RectAnchor | {
5950
+ anchor?: string | number | {
5371
5951
  side: "north" | "south" | "east" | "west";
5372
5952
  t: number;
5373
5953
  } | undefined;
5954
+ boundary?: string | {
5955
+ type: string;
5956
+ params?: Record<string, import('./json').JsonValue> | undefined;
5957
+ } | undefined;
5374
5958
  }, {
5375
5959
  id: string;
5376
5960
  offset?: [number, number] | undefined;
5377
- anchor?: number | import('..').RectAnchor | {
5961
+ anchor?: string | number | {
5378
5962
  side: "north" | "south" | "east" | "west";
5379
5963
  t: number;
5380
5964
  } | undefined;
5965
+ boundary?: string | {
5966
+ type: string;
5967
+ params?: Record<string, import('./json').JsonValue> | undefined;
5968
+ } | undefined;
5381
5969
  }>, z.ZodObject<{
5382
5970
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
5383
5971
  }, "strip", z.ZodTypeAny, {
@@ -5459,10 +6047,14 @@ export declare const ScopeSchema: z.ZodObject<{
5459
6047
  } | {
5460
6048
  id: string;
5461
6049
  offset?: [number, number] | undefined;
5462
- anchor?: number | import('..').RectAnchor | {
6050
+ anchor?: string | number | {
5463
6051
  side: "north" | "south" | "east" | "west";
5464
6052
  t: number;
5465
6053
  } | undefined;
6054
+ boundary?: string | {
6055
+ type: string;
6056
+ params?: Record<string, import('./json').JsonValue> | undefined;
6057
+ } | undefined;
5466
6058
  } | {
5467
6059
  relative: [number, number];
5468
6060
  } | {
@@ -5492,10 +6084,14 @@ export declare const ScopeSchema: z.ZodObject<{
5492
6084
  } | {
5493
6085
  id: string;
5494
6086
  offset?: [number, number] | undefined;
5495
- anchor?: number | import('..').RectAnchor | {
6087
+ anchor?: string | number | {
5496
6088
  side: "north" | "south" | "east" | "west";
5497
6089
  t: number;
5498
6090
  } | undefined;
6091
+ boundary?: string | {
6092
+ type: string;
6093
+ params?: Record<string, import('./json').JsonValue> | undefined;
6094
+ } | undefined;
5499
6095
  } | {
5500
6096
  relative: [number, number];
5501
6097
  } | {
@@ -5515,7 +6111,7 @@ export declare const ScopeSchema: z.ZodObject<{
5515
6111
  textColor?: string | undefined;
5516
6112
  } | undefined;
5517
6113
  }>]>, "many">;
5518
- }, "type" | "arrow" | "arrowDetail" | "zIndex" | "children">, "strict", z.ZodTypeAny, {
6114
+ }, "type" | "arrow" | "meta" | "arrowDetail" | "zIndex" | "children">, "strict", z.ZodTypeAny, {
5519
6115
  fill?: string | {
5520
6116
  type: "linearGradient";
5521
6117
  stops: {
@@ -5546,6 +6142,7 @@ export declare const ScopeSchema: z.ZodObject<{
5546
6142
  href: string;
5547
6143
  fit?: "fill" | "contain" | "cover" | undefined;
5548
6144
  } | undefined;
6145
+ id?: string | undefined;
5549
6146
  color?: string | undefined;
5550
6147
  opacity?: number | undefined;
5551
6148
  scale?: number | {
@@ -5568,9 +6165,9 @@ export declare const ScopeSchema: z.ZodObject<{
5568
6165
  kind: "arrow";
5569
6166
  length?: number | undefined;
5570
6167
  fill?: string | undefined;
6168
+ shape?: string | undefined;
5571
6169
  color?: string | undefined;
5572
6170
  opacity?: number | undefined;
5573
- shape?: string | undefined;
5574
6171
  lineWidth?: number | undefined;
5575
6172
  width?: number | undefined;
5576
6173
  scale?: number | undefined;
@@ -5607,6 +6204,7 @@ export declare const ScopeSchema: z.ZodObject<{
5607
6204
  href: string;
5608
6205
  fit?: "fill" | "contain" | "cover" | undefined;
5609
6206
  } | undefined;
6207
+ id?: string | undefined;
5610
6208
  color?: string | undefined;
5611
6209
  opacity?: number | undefined;
5612
6210
  scale?: number | {
@@ -5629,9 +6227,9 @@ export declare const ScopeSchema: z.ZodObject<{
5629
6227
  kind: "arrow";
5630
6228
  length?: number | undefined;
5631
6229
  fill?: string | undefined;
6230
+ shape?: string | undefined;
5632
6231
  color?: string | undefined;
5633
6232
  opacity?: number | undefined;
5634
- shape?: string | undefined;
5635
6233
  lineWidth?: number | undefined;
5636
6234
  width?: number | undefined;
5637
6235
  scale?: number | undefined;
@@ -5701,18 +6299,18 @@ export declare const ScopeSchema: z.ZodObject<{
5701
6299
  }, "strip", z.ZodTypeAny, {
5702
6300
  length?: number | undefined;
5703
6301
  fill?: string | undefined;
6302
+ shape?: string | undefined;
5704
6303
  color?: string | undefined;
5705
6304
  opacity?: number | undefined;
5706
- shape?: string | undefined;
5707
6305
  lineWidth?: number | undefined;
5708
6306
  width?: number | undefined;
5709
6307
  scale?: number | undefined;
5710
6308
  }, {
5711
6309
  length?: number | undefined;
5712
6310
  fill?: string | undefined;
6311
+ shape?: string | undefined;
5713
6312
  color?: string | undefined;
5714
6313
  opacity?: number | undefined;
5715
- shape?: string | undefined;
5716
6314
  lineWidth?: number | undefined;
5717
6315
  width?: number | undefined;
5718
6316
  scale?: number | undefined;
@@ -5729,18 +6327,18 @@ export declare const ScopeSchema: z.ZodObject<{
5729
6327
  }, "strip", z.ZodTypeAny, {
5730
6328
  length?: number | undefined;
5731
6329
  fill?: string | undefined;
6330
+ shape?: string | undefined;
5732
6331
  color?: string | undefined;
5733
6332
  opacity?: number | undefined;
5734
- shape?: string | undefined;
5735
6333
  lineWidth?: number | undefined;
5736
6334
  width?: number | undefined;
5737
6335
  scale?: number | undefined;
5738
6336
  }, {
5739
6337
  length?: number | undefined;
5740
6338
  fill?: string | undefined;
6339
+ shape?: string | undefined;
5741
6340
  color?: string | undefined;
5742
6341
  opacity?: number | undefined;
5743
- shape?: string | undefined;
5744
6342
  lineWidth?: number | undefined;
5745
6343
  width?: number | undefined;
5746
6344
  scale?: number | undefined;
@@ -5748,18 +6346,18 @@ export declare const ScopeSchema: z.ZodObject<{
5748
6346
  }, "strip", z.ZodTypeAny, {
5749
6347
  length?: number | undefined;
5750
6348
  fill?: string | undefined;
6349
+ shape?: string | undefined;
5751
6350
  color?: string | undefined;
5752
6351
  opacity?: number | undefined;
5753
- shape?: string | undefined;
5754
6352
  lineWidth?: number | undefined;
5755
6353
  width?: number | undefined;
5756
6354
  scale?: number | undefined;
5757
6355
  start?: {
5758
6356
  length?: number | undefined;
5759
6357
  fill?: string | undefined;
6358
+ shape?: string | undefined;
5760
6359
  color?: string | undefined;
5761
6360
  opacity?: number | undefined;
5762
- shape?: string | undefined;
5763
6361
  lineWidth?: number | undefined;
5764
6362
  width?: number | undefined;
5765
6363
  scale?: number | undefined;
@@ -5767,9 +6365,9 @@ export declare const ScopeSchema: z.ZodObject<{
5767
6365
  end?: {
5768
6366
  length?: number | undefined;
5769
6367
  fill?: string | undefined;
6368
+ shape?: string | undefined;
5770
6369
  color?: string | undefined;
5771
6370
  opacity?: number | undefined;
5772
- shape?: string | undefined;
5773
6371
  lineWidth?: number | undefined;
5774
6372
  width?: number | undefined;
5775
6373
  scale?: number | undefined;
@@ -5777,18 +6375,18 @@ export declare const ScopeSchema: z.ZodObject<{
5777
6375
  }, {
5778
6376
  length?: number | undefined;
5779
6377
  fill?: string | undefined;
6378
+ shape?: string | undefined;
5780
6379
  color?: string | undefined;
5781
6380
  opacity?: number | undefined;
5782
- shape?: string | undefined;
5783
6381
  lineWidth?: number | undefined;
5784
6382
  width?: number | undefined;
5785
6383
  scale?: number | undefined;
5786
6384
  start?: {
5787
6385
  length?: number | undefined;
5788
6386
  fill?: string | undefined;
6387
+ shape?: string | undefined;
5789
6388
  color?: string | undefined;
5790
6389
  opacity?: number | undefined;
5791
- shape?: string | undefined;
5792
6390
  lineWidth?: number | undefined;
5793
6391
  width?: number | undefined;
5794
6392
  scale?: number | undefined;
@@ -5796,9 +6394,9 @@ export declare const ScopeSchema: z.ZodObject<{
5796
6394
  end?: {
5797
6395
  length?: number | undefined;
5798
6396
  fill?: string | undefined;
6397
+ shape?: string | undefined;
5799
6398
  color?: string | undefined;
5800
6399
  opacity?: number | undefined;
5801
- shape?: string | undefined;
5802
6400
  lineWidth?: number | undefined;
5803
6401
  width?: number | undefined;
5804
6402
  scale?: number | undefined;
@@ -5867,6 +6465,7 @@ export declare const ScopeSchema: z.ZodObject<{
5867
6465
  kind: "polygon";
5868
6466
  points: [number, number][];
5869
6467
  }>]>>;
6468
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
5870
6469
  children: z.ZodArray<z.ZodLazy<z.ZodTypeAny>, "many">;
5871
6470
  }, "strip", z.ZodTypeAny, {
5872
6471
  type: "scope";
@@ -5904,6 +6503,7 @@ export declare const ScopeSchema: z.ZodObject<{
5904
6503
  id?: string | undefined;
5905
6504
  color?: string | undefined;
5906
6505
  opacity?: number | undefined;
6506
+ meta?: Record<string, import('./json').JsonValue> | undefined;
5907
6507
  stroke?: string | undefined;
5908
6508
  strokeWidth?: number | undefined;
5909
6509
  fillOpacity?: number | undefined;
@@ -5969,9 +6569,16 @@ export declare const ScopeSchema: z.ZodObject<{
5969
6569
  href: string;
5970
6570
  fit?: "fill" | "contain" | "cover" | undefined;
5971
6571
  } | undefined;
6572
+ shape?: string | {
6573
+ type: string;
6574
+ params?: Record<string, import('./json').JsonValue> | undefined;
6575
+ } | undefined;
6576
+ boundary?: string | {
6577
+ type: string;
6578
+ params?: Record<string, import('./json').JsonValue> | undefined;
6579
+ } | undefined;
5972
6580
  color?: string | undefined;
5973
6581
  opacity?: number | undefined;
5974
- shape?: string | undefined;
5975
6582
  font?: {
5976
6583
  family?: string | undefined;
5977
6584
  size?: number | undefined;
@@ -5980,7 +6587,7 @@ export declare const ScopeSchema: z.ZodObject<{
5980
6587
  } | undefined;
5981
6588
  scale?: number | undefined;
5982
6589
  textColor?: string | undefined;
5983
- roundedCorners?: number | undefined;
6590
+ cornerRadius?: number | undefined;
5984
6591
  stroke?: string | undefined;
5985
6592
  strokeWidth?: number | undefined;
5986
6593
  fillOpacity?: number | undefined;
@@ -6034,6 +6641,7 @@ export declare const ScopeSchema: z.ZodObject<{
6034
6641
  href: string;
6035
6642
  fit?: "fill" | "contain" | "cover" | undefined;
6036
6643
  } | undefined;
6644
+ id?: string | undefined;
6037
6645
  color?: string | undefined;
6038
6646
  opacity?: number | undefined;
6039
6647
  scale?: number | {
@@ -6056,9 +6664,9 @@ export declare const ScopeSchema: z.ZodObject<{
6056
6664
  kind: "arrow";
6057
6665
  length?: number | undefined;
6058
6666
  fill?: string | undefined;
6667
+ shape?: string | undefined;
6059
6668
  color?: string | undefined;
6060
6669
  opacity?: number | undefined;
6061
- shape?: string | undefined;
6062
6670
  lineWidth?: number | undefined;
6063
6671
  width?: number | undefined;
6064
6672
  scale?: number | undefined;
@@ -6079,18 +6687,18 @@ export declare const ScopeSchema: z.ZodObject<{
6079
6687
  arrowDefault?: {
6080
6688
  length?: number | undefined;
6081
6689
  fill?: string | undefined;
6690
+ shape?: string | undefined;
6082
6691
  color?: string | undefined;
6083
6692
  opacity?: number | undefined;
6084
- shape?: string | undefined;
6085
6693
  lineWidth?: number | undefined;
6086
6694
  width?: number | undefined;
6087
6695
  scale?: number | undefined;
6088
6696
  start?: {
6089
6697
  length?: number | undefined;
6090
6698
  fill?: string | undefined;
6699
+ shape?: string | undefined;
6091
6700
  color?: string | undefined;
6092
6701
  opacity?: number | undefined;
6093
- shape?: string | undefined;
6094
6702
  lineWidth?: number | undefined;
6095
6703
  width?: number | undefined;
6096
6704
  scale?: number | undefined;
@@ -6098,9 +6706,9 @@ export declare const ScopeSchema: z.ZodObject<{
6098
6706
  end?: {
6099
6707
  length?: number | undefined;
6100
6708
  fill?: string | undefined;
6709
+ shape?: string | undefined;
6101
6710
  color?: string | undefined;
6102
6711
  opacity?: number | undefined;
6103
- shape?: string | undefined;
6104
6712
  lineWidth?: number | undefined;
6105
6713
  width?: number | undefined;
6106
6714
  scale?: number | undefined;
@@ -6164,6 +6772,7 @@ export declare const ScopeSchema: z.ZodObject<{
6164
6772
  id?: string | undefined;
6165
6773
  color?: string | undefined;
6166
6774
  opacity?: number | undefined;
6775
+ meta?: Record<string, import('./json').JsonValue> | undefined;
6167
6776
  stroke?: string | undefined;
6168
6777
  strokeWidth?: number | undefined;
6169
6778
  fillOpacity?: number | undefined;
@@ -6229,9 +6838,16 @@ export declare const ScopeSchema: z.ZodObject<{
6229
6838
  href: string;
6230
6839
  fit?: "fill" | "contain" | "cover" | undefined;
6231
6840
  } | undefined;
6841
+ shape?: string | {
6842
+ type: string;
6843
+ params?: Record<string, import('./json').JsonValue> | undefined;
6844
+ } | undefined;
6845
+ boundary?: string | {
6846
+ type: string;
6847
+ params?: Record<string, import('./json').JsonValue> | undefined;
6848
+ } | undefined;
6232
6849
  color?: string | undefined;
6233
6850
  opacity?: number | undefined;
6234
- shape?: string | undefined;
6235
6851
  font?: {
6236
6852
  family?: string | undefined;
6237
6853
  size?: number | undefined;
@@ -6240,7 +6856,7 @@ export declare const ScopeSchema: z.ZodObject<{
6240
6856
  } | undefined;
6241
6857
  scale?: number | undefined;
6242
6858
  textColor?: string | undefined;
6243
- roundedCorners?: number | undefined;
6859
+ cornerRadius?: number | undefined;
6244
6860
  stroke?: string | undefined;
6245
6861
  strokeWidth?: number | undefined;
6246
6862
  fillOpacity?: number | undefined;
@@ -6294,6 +6910,7 @@ export declare const ScopeSchema: z.ZodObject<{
6294
6910
  href: string;
6295
6911
  fit?: "fill" | "contain" | "cover" | undefined;
6296
6912
  } | undefined;
6913
+ id?: string | undefined;
6297
6914
  color?: string | undefined;
6298
6915
  opacity?: number | undefined;
6299
6916
  scale?: number | {
@@ -6316,9 +6933,9 @@ export declare const ScopeSchema: z.ZodObject<{
6316
6933
  kind: "arrow";
6317
6934
  length?: number | undefined;
6318
6935
  fill?: string | undefined;
6936
+ shape?: string | undefined;
6319
6937
  color?: string | undefined;
6320
6938
  opacity?: number | undefined;
6321
- shape?: string | undefined;
6322
6939
  lineWidth?: number | undefined;
6323
6940
  width?: number | undefined;
6324
6941
  scale?: number | undefined;
@@ -6339,18 +6956,18 @@ export declare const ScopeSchema: z.ZodObject<{
6339
6956
  arrowDefault?: {
6340
6957
  length?: number | undefined;
6341
6958
  fill?: string | undefined;
6959
+ shape?: string | undefined;
6342
6960
  color?: string | undefined;
6343
6961
  opacity?: number | undefined;
6344
- shape?: string | undefined;
6345
6962
  lineWidth?: number | undefined;
6346
6963
  width?: number | undefined;
6347
6964
  scale?: number | undefined;
6348
6965
  start?: {
6349
6966
  length?: number | undefined;
6350
6967
  fill?: string | undefined;
6968
+ shape?: string | undefined;
6351
6969
  color?: string | undefined;
6352
6970
  opacity?: number | undefined;
6353
- shape?: string | undefined;
6354
6971
  lineWidth?: number | undefined;
6355
6972
  width?: number | undefined;
6356
6973
  scale?: number | undefined;
@@ -6358,9 +6975,9 @@ export declare const ScopeSchema: z.ZodObject<{
6358
6975
  end?: {
6359
6976
  length?: number | undefined;
6360
6977
  fill?: string | undefined;
6978
+ shape?: string | undefined;
6361
6979
  color?: string | undefined;
6362
6980
  opacity?: number | undefined;
6363
- shape?: string | undefined;
6364
6981
  lineWidth?: number | undefined;
6365
6982
  width?: number | undefined;
6366
6983
  scale?: number | undefined;