@retikz/core 0.3.0-alpha.3 → 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 +14 -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 +100 -16
  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 +5 -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 +490 -147
  44. package/dist/es/ir/path/path.d.ts.map +1 -1
  45. package/dist/es/ir/path/path.js +2 -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 +843 -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 +3 -0
  61. package/dist/es/primitive/ellipse.d.ts.map +1 -1
  62. package/dist/es/primitive/group.d.ts +3 -0
  63. package/dist/es/primitive/group.d.ts.map +1 -1
  64. package/dist/es/primitive/path.d.ts +3 -0
  65. package/dist/es/primitive/path.d.ts.map +1 -1
  66. package/dist/es/primitive/rect.d.ts +3 -0
  67. package/dist/es/primitive/rect.d.ts.map +1 -1
  68. package/dist/es/primitive/text.d.ts +3 -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 +14 -2
  109. package/dist/lib/compile/compile.d.ts.map +1 -1
  110. package/dist/lib/compile/node.cjs +100 -16
  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 +5 -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 +2 -0
  144. package/dist/lib/ir/path/path.d.ts +490 -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 +843 -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 +3 -0
  161. package/dist/lib/primitive/ellipse.d.ts.map +1 -1
  162. package/dist/lib/primitive/group.d.ts +3 -0
  163. package/dist/lib/primitive/group.d.ts.map +1 -1
  164. package/dist/lib/primitive/path.d.ts +3 -0
  165. package/dist/lib/primitive/path.d.ts.map +1 -1
  166. package/dist/lib/primitive/rect.d.ts +3 -0
  167. package/dist/lib/primitive/rect.d.ts.map +1 -1
  168. package/dist/lib/primitive/text.d.ts +3 -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;
@@ -543,6 +578,7 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
543
578
  export declare const PathDefaultSchema: z.ZodObject<Omit<{
544
579
  type: z.ZodLiteral<"path">;
545
580
  id: z.ZodOptional<z.ZodString>;
581
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
546
582
  color: z.ZodOptional<z.ZodString>;
547
583
  stroke: z.ZodOptional<z.ZodString>;
548
584
  strokeWidth: z.ZodOptional<z.ZodNumber>;
@@ -570,18 +606,18 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
570
606
  }, "strip", z.ZodTypeAny, {
571
607
  length?: number | undefined;
572
608
  fill?: string | undefined;
609
+ shape?: string | undefined;
573
610
  color?: string | undefined;
574
611
  opacity?: number | undefined;
575
- shape?: string | undefined;
576
612
  lineWidth?: number | undefined;
577
613
  width?: number | undefined;
578
614
  scale?: number | undefined;
579
615
  }, {
580
616
  length?: number | undefined;
581
617
  fill?: string | undefined;
618
+ shape?: string | undefined;
582
619
  color?: string | undefined;
583
620
  opacity?: number | undefined;
584
- shape?: string | undefined;
585
621
  lineWidth?: number | undefined;
586
622
  width?: number | undefined;
587
623
  scale?: number | undefined;
@@ -598,18 +634,18 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
598
634
  }, "strip", z.ZodTypeAny, {
599
635
  length?: number | undefined;
600
636
  fill?: string | undefined;
637
+ shape?: string | undefined;
601
638
  color?: string | undefined;
602
639
  opacity?: number | undefined;
603
- shape?: string | undefined;
604
640
  lineWidth?: number | undefined;
605
641
  width?: number | undefined;
606
642
  scale?: number | undefined;
607
643
  }, {
608
644
  length?: number | undefined;
609
645
  fill?: string | undefined;
646
+ shape?: string | undefined;
610
647
  color?: string | undefined;
611
648
  opacity?: number | undefined;
612
- shape?: string | undefined;
613
649
  lineWidth?: number | undefined;
614
650
  width?: number | undefined;
615
651
  scale?: number | undefined;
@@ -617,18 +653,18 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
617
653
  }, "strip", z.ZodTypeAny, {
618
654
  length?: number | undefined;
619
655
  fill?: string | undefined;
656
+ shape?: string | undefined;
620
657
  color?: string | undefined;
621
658
  opacity?: number | undefined;
622
- shape?: string | undefined;
623
659
  lineWidth?: number | undefined;
624
660
  width?: number | undefined;
625
661
  scale?: number | undefined;
626
662
  start?: {
627
663
  length?: number | undefined;
628
664
  fill?: string | undefined;
665
+ shape?: string | undefined;
629
666
  color?: string | undefined;
630
667
  opacity?: number | undefined;
631
- shape?: string | undefined;
632
668
  lineWidth?: number | undefined;
633
669
  width?: number | undefined;
634
670
  scale?: number | undefined;
@@ -636,9 +672,9 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
636
672
  end?: {
637
673
  length?: number | undefined;
638
674
  fill?: string | undefined;
675
+ shape?: string | undefined;
639
676
  color?: string | undefined;
640
677
  opacity?: number | undefined;
641
- shape?: string | undefined;
642
678
  lineWidth?: number | undefined;
643
679
  width?: number | undefined;
644
680
  scale?: number | undefined;
@@ -646,18 +682,18 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
646
682
  }, {
647
683
  length?: number | undefined;
648
684
  fill?: string | undefined;
685
+ shape?: string | undefined;
649
686
  color?: string | undefined;
650
687
  opacity?: number | undefined;
651
- shape?: string | undefined;
652
688
  lineWidth?: number | undefined;
653
689
  width?: number | undefined;
654
690
  scale?: number | undefined;
655
691
  start?: {
656
692
  length?: number | undefined;
657
693
  fill?: string | undefined;
694
+ shape?: string | undefined;
658
695
  color?: string | undefined;
659
696
  opacity?: number | undefined;
660
- shape?: string | undefined;
661
697
  lineWidth?: number | undefined;
662
698
  width?: number | undefined;
663
699
  scale?: number | undefined;
@@ -665,9 +701,9 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
665
701
  end?: {
666
702
  length?: number | undefined;
667
703
  fill?: string | undefined;
704
+ shape?: string | undefined;
668
705
  color?: string | undefined;
669
706
  opacity?: number | undefined;
670
- shape?: string | undefined;
671
707
  lineWidth?: number | undefined;
672
708
  width?: number | undefined;
673
709
  scale?: number | undefined;
@@ -813,9 +849,9 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
813
849
  kind: "arrow";
814
850
  length?: number | undefined;
815
851
  fill?: string | undefined;
852
+ shape?: string | undefined;
816
853
  color?: string | undefined;
817
854
  opacity?: number | undefined;
818
- shape?: string | undefined;
819
855
  lineWidth?: number | undefined;
820
856
  width?: number | undefined;
821
857
  scale?: number | undefined;
@@ -823,9 +859,9 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
823
859
  kind: "arrow";
824
860
  length?: number | undefined;
825
861
  fill?: string | undefined;
862
+ shape?: string | undefined;
826
863
  color?: string | undefined;
827
864
  opacity?: number | undefined;
828
- shape?: string | undefined;
829
865
  lineWidth?: number | undefined;
830
866
  width?: number | undefined;
831
867
  scale?: number | undefined;
@@ -836,9 +872,9 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
836
872
  kind: "arrow";
837
873
  length?: number | undefined;
838
874
  fill?: string | undefined;
875
+ shape?: string | undefined;
839
876
  color?: string | undefined;
840
877
  opacity?: number | undefined;
841
- shape?: string | undefined;
842
878
  lineWidth?: number | undefined;
843
879
  width?: number | undefined;
844
880
  scale?: number | undefined;
@@ -849,9 +885,9 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
849
885
  kind: "arrow";
850
886
  length?: number | undefined;
851
887
  fill?: string | undefined;
888
+ shape?: string | undefined;
852
889
  color?: string | undefined;
853
890
  opacity?: number | undefined;
854
- shape?: string | undefined;
855
891
  lineWidth?: number | undefined;
856
892
  width?: number | undefined;
857
893
  scale?: number | undefined;
@@ -862,7 +898,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
862
898
  kind: z.ZodLiteral<"move">;
863
899
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
864
900
  id: z.ZodString;
865
- 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<{
866
902
  side: z.ZodEnum<["north", "south", "east", "west"]>;
867
903
  t: z.ZodNumber;
868
904
  }, "strip", z.ZodTypeAny, {
@@ -873,20 +909,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
873
909
  t: number;
874
910
  }>]>>;
875
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
+ }>]>>;
876
922
  }, "strip", z.ZodTypeAny, {
877
923
  id: string;
878
924
  offset?: [number, number] | undefined;
879
- anchor?: number | import('..').RectAnchor | {
925
+ anchor?: string | number | {
880
926
  side: "north" | "south" | "east" | "west";
881
927
  t: number;
882
928
  } | undefined;
929
+ boundary?: string | {
930
+ type: string;
931
+ params?: Record<string, import('./json').JsonValue> | undefined;
932
+ } | undefined;
883
933
  }, {
884
934
  id: string;
885
935
  offset?: [number, number] | undefined;
886
- anchor?: number | import('..').RectAnchor | {
936
+ anchor?: string | number | {
887
937
  side: "north" | "south" | "east" | "west";
888
938
  t: number;
889
939
  } | undefined;
940
+ boundary?: string | {
941
+ type: string;
942
+ params?: Record<string, import('./json').JsonValue> | undefined;
943
+ } | undefined;
890
944
  }>, z.ZodObject<{
891
945
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
892
946
  }, "strip", z.ZodTypeAny, {
@@ -911,46 +965,54 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
911
965
  }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
912
966
  }, "strip", z.ZodTypeAny, {
913
967
  type: "step";
968
+ kind: "move";
914
969
  to: [number, number] | import('./position').PolarPosition | {
915
970
  of: string | [number, number] | import('./position').PolarPosition;
916
971
  offset: [number, number];
917
972
  } | {
918
973
  id: string;
919
974
  offset?: [number, number] | undefined;
920
- anchor?: number | import('..').RectAnchor | {
975
+ anchor?: string | number | {
921
976
  side: "north" | "south" | "east" | "west";
922
977
  t: number;
923
978
  } | undefined;
979
+ boundary?: string | {
980
+ type: string;
981
+ params?: Record<string, import('./json').JsonValue> | undefined;
982
+ } | undefined;
924
983
  } | {
925
984
  relative: [number, number];
926
985
  } | {
927
986
  relativeAccumulate: [number, number];
928
987
  } | import('./position').IRBetweenPosition;
929
- kind: "move";
930
988
  }, {
931
989
  type: "step";
990
+ kind: "move";
932
991
  to: [number, number] | import('./position').PolarPosition | {
933
992
  of: string | [number, number] | import('./position').PolarPosition;
934
993
  offset: [number, number];
935
994
  } | {
936
995
  id: string;
937
996
  offset?: [number, number] | undefined;
938
- anchor?: number | import('..').RectAnchor | {
997
+ anchor?: string | number | {
939
998
  side: "north" | "south" | "east" | "west";
940
999
  t: number;
941
1000
  } | undefined;
1001
+ boundary?: string | {
1002
+ type: string;
1003
+ params?: Record<string, import('./json').JsonValue> | undefined;
1004
+ } | undefined;
942
1005
  } | {
943
1006
  relative: [number, number];
944
1007
  } | {
945
1008
  relativeAccumulate: [number, number];
946
1009
  } | import('./position').IRBetweenPosition;
947
- kind: "move";
948
1010
  }>, z.ZodObject<{
949
1011
  type: z.ZodLiteral<"step">;
950
1012
  kind: z.ZodLiteral<"line">;
951
1013
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
952
1014
  id: z.ZodString;
953
- 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<{
954
1016
  side: z.ZodEnum<["north", "south", "east", "west"]>;
955
1017
  t: z.ZodNumber;
956
1018
  }, "strip", z.ZodTypeAny, {
@@ -961,20 +1023,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
961
1023
  t: number;
962
1024
  }>]>>;
963
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
+ }>]>>;
964
1036
  }, "strip", z.ZodTypeAny, {
965
1037
  id: string;
966
1038
  offset?: [number, number] | undefined;
967
- anchor?: number | import('..').RectAnchor | {
1039
+ anchor?: string | number | {
968
1040
  side: "north" | "south" | "east" | "west";
969
1041
  t: number;
970
1042
  } | undefined;
1043
+ boundary?: string | {
1044
+ type: string;
1045
+ params?: Record<string, import('./json').JsonValue> | undefined;
1046
+ } | undefined;
971
1047
  }, {
972
1048
  id: string;
973
1049
  offset?: [number, number] | undefined;
974
- anchor?: number | import('..').RectAnchor | {
1050
+ anchor?: string | number | {
975
1051
  side: "north" | "south" | "east" | "west";
976
1052
  t: number;
977
1053
  } | undefined;
1054
+ boundary?: string | {
1055
+ type: string;
1056
+ params?: Record<string, import('./json').JsonValue> | undefined;
1057
+ } | undefined;
978
1058
  }>, z.ZodObject<{
979
1059
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
980
1060
  }, "strip", z.ZodTypeAny, {
@@ -1046,22 +1126,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1046
1126
  }>>;
1047
1127
  }, "strip", z.ZodTypeAny, {
1048
1128
  type: "step";
1129
+ kind: "line";
1049
1130
  to: [number, number] | import('./position').PolarPosition | {
1050
1131
  of: string | [number, number] | import('./position').PolarPosition;
1051
1132
  offset: [number, number];
1052
1133
  } | {
1053
1134
  id: string;
1054
1135
  offset?: [number, number] | undefined;
1055
- anchor?: number | import('..').RectAnchor | {
1136
+ anchor?: string | number | {
1056
1137
  side: "north" | "south" | "east" | "west";
1057
1138
  t: number;
1058
1139
  } | undefined;
1140
+ boundary?: string | {
1141
+ type: string;
1142
+ params?: Record<string, import('./json').JsonValue> | undefined;
1143
+ } | undefined;
1059
1144
  } | {
1060
1145
  relative: [number, number];
1061
1146
  } | {
1062
1147
  relativeAccumulate: [number, number];
1063
1148
  } | import('./position').IRBetweenPosition;
1064
- kind: "line";
1065
1149
  label?: {
1066
1150
  text: string;
1067
1151
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -1077,22 +1161,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1077
1161
  } | undefined;
1078
1162
  }, {
1079
1163
  type: "step";
1164
+ kind: "line";
1080
1165
  to: [number, number] | import('./position').PolarPosition | {
1081
1166
  of: string | [number, number] | import('./position').PolarPosition;
1082
1167
  offset: [number, number];
1083
1168
  } | {
1084
1169
  id: string;
1085
1170
  offset?: [number, number] | undefined;
1086
- anchor?: number | import('..').RectAnchor | {
1171
+ anchor?: string | number | {
1087
1172
  side: "north" | "south" | "east" | "west";
1088
1173
  t: number;
1089
1174
  } | undefined;
1175
+ boundary?: string | {
1176
+ type: string;
1177
+ params?: Record<string, import('./json').JsonValue> | undefined;
1178
+ } | undefined;
1090
1179
  } | {
1091
1180
  relative: [number, number];
1092
1181
  } | {
1093
1182
  relativeAccumulate: [number, number];
1094
1183
  } | import('./position').IRBetweenPosition;
1095
- kind: "line";
1096
1184
  label?: {
1097
1185
  text: string;
1098
1186
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -1112,7 +1200,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1112
1200
  via: z.ZodEnum<["-|", "|-"]>;
1113
1201
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
1114
1202
  id: z.ZodString;
1115
- 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<{
1116
1204
  side: z.ZodEnum<["north", "south", "east", "west"]>;
1117
1205
  t: z.ZodNumber;
1118
1206
  }, "strip", z.ZodTypeAny, {
@@ -1123,20 +1211,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1123
1211
  t: number;
1124
1212
  }>]>>;
1125
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
+ }>]>>;
1126
1224
  }, "strip", z.ZodTypeAny, {
1127
1225
  id: string;
1128
1226
  offset?: [number, number] | undefined;
1129
- anchor?: number | import('..').RectAnchor | {
1227
+ anchor?: string | number | {
1130
1228
  side: "north" | "south" | "east" | "west";
1131
1229
  t: number;
1132
1230
  } | undefined;
1231
+ boundary?: string | {
1232
+ type: string;
1233
+ params?: Record<string, import('./json').JsonValue> | undefined;
1234
+ } | undefined;
1133
1235
  }, {
1134
1236
  id: string;
1135
1237
  offset?: [number, number] | undefined;
1136
- anchor?: number | import('..').RectAnchor | {
1238
+ anchor?: string | number | {
1137
1239
  side: "north" | "south" | "east" | "west";
1138
1240
  t: number;
1139
1241
  } | undefined;
1242
+ boundary?: string | {
1243
+ type: string;
1244
+ params?: Record<string, import('./json').JsonValue> | undefined;
1245
+ } | undefined;
1140
1246
  }>, z.ZodObject<{
1141
1247
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1142
1248
  }, "strip", z.ZodTypeAny, {
@@ -1208,22 +1314,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1208
1314
  }>>;
1209
1315
  }, "strip", z.ZodTypeAny, {
1210
1316
  type: "step";
1317
+ kind: "step";
1211
1318
  to: [number, number] | import('./position').PolarPosition | {
1212
1319
  of: string | [number, number] | import('./position').PolarPosition;
1213
1320
  offset: [number, number];
1214
1321
  } | {
1215
1322
  id: string;
1216
1323
  offset?: [number, number] | undefined;
1217
- anchor?: number | import('..').RectAnchor | {
1324
+ anchor?: string | number | {
1218
1325
  side: "north" | "south" | "east" | "west";
1219
1326
  t: number;
1220
1327
  } | undefined;
1328
+ boundary?: string | {
1329
+ type: string;
1330
+ params?: Record<string, import('./json').JsonValue> | undefined;
1331
+ } | undefined;
1221
1332
  } | {
1222
1333
  relative: [number, number];
1223
1334
  } | {
1224
1335
  relativeAccumulate: [number, number];
1225
1336
  } | import('./position').IRBetweenPosition;
1226
- kind: "step";
1227
1337
  via: "-|" | "|-";
1228
1338
  label?: {
1229
1339
  text: string;
@@ -1240,22 +1350,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1240
1350
  } | undefined;
1241
1351
  }, {
1242
1352
  type: "step";
1353
+ kind: "step";
1243
1354
  to: [number, number] | import('./position').PolarPosition | {
1244
1355
  of: string | [number, number] | import('./position').PolarPosition;
1245
1356
  offset: [number, number];
1246
1357
  } | {
1247
1358
  id: string;
1248
1359
  offset?: [number, number] | undefined;
1249
- anchor?: number | import('..').RectAnchor | {
1360
+ anchor?: string | number | {
1250
1361
  side: "north" | "south" | "east" | "west";
1251
1362
  t: number;
1252
1363
  } | undefined;
1364
+ boundary?: string | {
1365
+ type: string;
1366
+ params?: Record<string, import('./json').JsonValue> | undefined;
1367
+ } | undefined;
1253
1368
  } | {
1254
1369
  relative: [number, number];
1255
1370
  } | {
1256
1371
  relativeAccumulate: [number, number];
1257
1372
  } | import('./position').IRBetweenPosition;
1258
- kind: "step";
1259
1373
  via: "-|" | "|-";
1260
1374
  label?: {
1261
1375
  text: string;
@@ -1284,7 +1398,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1284
1398
  kind: z.ZodLiteral<"curve">;
1285
1399
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
1286
1400
  id: z.ZodString;
1287
- 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<{
1288
1402
  side: z.ZodEnum<["north", "south", "east", "west"]>;
1289
1403
  t: z.ZodNumber;
1290
1404
  }, "strip", z.ZodTypeAny, {
@@ -1295,20 +1409,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1295
1409
  t: number;
1296
1410
  }>]>>;
1297
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
+ }>]>>;
1298
1422
  }, "strip", z.ZodTypeAny, {
1299
1423
  id: string;
1300
1424
  offset?: [number, number] | undefined;
1301
- anchor?: number | import('..').RectAnchor | {
1425
+ anchor?: string | number | {
1302
1426
  side: "north" | "south" | "east" | "west";
1303
1427
  t: number;
1304
1428
  } | undefined;
1429
+ boundary?: string | {
1430
+ type: string;
1431
+ params?: Record<string, import('./json').JsonValue> | undefined;
1432
+ } | undefined;
1305
1433
  }, {
1306
1434
  id: string;
1307
1435
  offset?: [number, number] | undefined;
1308
- anchor?: number | import('..').RectAnchor | {
1436
+ anchor?: string | number | {
1309
1437
  side: "north" | "south" | "east" | "west";
1310
1438
  t: number;
1311
1439
  } | undefined;
1440
+ boundary?: string | {
1441
+ type: string;
1442
+ params?: Record<string, import('./json').JsonValue> | undefined;
1443
+ } | undefined;
1312
1444
  }>, z.ZodObject<{
1313
1445
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1314
1446
  }, "strip", z.ZodTypeAny, {
@@ -1381,22 +1513,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1381
1513
  }>>;
1382
1514
  }, "strip", z.ZodTypeAny, {
1383
1515
  type: "step";
1516
+ kind: "curve";
1384
1517
  to: [number, number] | import('./position').PolarPosition | {
1385
1518
  of: string | [number, number] | import('./position').PolarPosition;
1386
1519
  offset: [number, number];
1387
1520
  } | {
1388
1521
  id: string;
1389
1522
  offset?: [number, number] | undefined;
1390
- anchor?: number | import('..').RectAnchor | {
1523
+ anchor?: string | number | {
1391
1524
  side: "north" | "south" | "east" | "west";
1392
1525
  t: number;
1393
1526
  } | undefined;
1527
+ boundary?: string | {
1528
+ type: string;
1529
+ params?: Record<string, import('./json').JsonValue> | undefined;
1530
+ } | undefined;
1394
1531
  } | {
1395
1532
  relative: [number, number];
1396
1533
  } | {
1397
1534
  relativeAccumulate: [number, number];
1398
1535
  } | import('./position').IRBetweenPosition;
1399
- kind: "curve";
1400
1536
  control: [number, number];
1401
1537
  label?: {
1402
1538
  text: string;
@@ -1413,22 +1549,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1413
1549
  } | undefined;
1414
1550
  }, {
1415
1551
  type: "step";
1552
+ kind: "curve";
1416
1553
  to: [number, number] | import('./position').PolarPosition | {
1417
1554
  of: string | [number, number] | import('./position').PolarPosition;
1418
1555
  offset: [number, number];
1419
1556
  } | {
1420
1557
  id: string;
1421
1558
  offset?: [number, number] | undefined;
1422
- anchor?: number | import('..').RectAnchor | {
1559
+ anchor?: string | number | {
1423
1560
  side: "north" | "south" | "east" | "west";
1424
1561
  t: number;
1425
1562
  } | undefined;
1563
+ boundary?: string | {
1564
+ type: string;
1565
+ params?: Record<string, import('./json').JsonValue> | undefined;
1566
+ } | undefined;
1426
1567
  } | {
1427
1568
  relative: [number, number];
1428
1569
  } | {
1429
1570
  relativeAccumulate: [number, number];
1430
1571
  } | import('./position').IRBetweenPosition;
1431
- kind: "curve";
1432
1572
  control: [number, number];
1433
1573
  label?: {
1434
1574
  text: string;
@@ -1448,7 +1588,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1448
1588
  kind: z.ZodLiteral<"cubic">;
1449
1589
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
1450
1590
  id: z.ZodString;
1451
- 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<{
1452
1592
  side: z.ZodEnum<["north", "south", "east", "west"]>;
1453
1593
  t: z.ZodNumber;
1454
1594
  }, "strip", z.ZodTypeAny, {
@@ -1459,20 +1599,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1459
1599
  t: number;
1460
1600
  }>]>>;
1461
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
+ }>]>>;
1462
1612
  }, "strip", z.ZodTypeAny, {
1463
1613
  id: string;
1464
1614
  offset?: [number, number] | undefined;
1465
- anchor?: number | import('..').RectAnchor | {
1615
+ anchor?: string | number | {
1466
1616
  side: "north" | "south" | "east" | "west";
1467
1617
  t: number;
1468
1618
  } | undefined;
1619
+ boundary?: string | {
1620
+ type: string;
1621
+ params?: Record<string, import('./json').JsonValue> | undefined;
1622
+ } | undefined;
1469
1623
  }, {
1470
1624
  id: string;
1471
1625
  offset?: [number, number] | undefined;
1472
- anchor?: number | import('..').RectAnchor | {
1626
+ anchor?: string | number | {
1473
1627
  side: "north" | "south" | "east" | "west";
1474
1628
  t: number;
1475
1629
  } | undefined;
1630
+ boundary?: string | {
1631
+ type: string;
1632
+ params?: Record<string, import('./json').JsonValue> | undefined;
1633
+ } | undefined;
1476
1634
  }>, z.ZodObject<{
1477
1635
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1478
1636
  }, "strip", z.ZodTypeAny, {
@@ -1546,22 +1704,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1546
1704
  }>>;
1547
1705
  }, "strip", z.ZodTypeAny, {
1548
1706
  type: "step";
1707
+ kind: "cubic";
1549
1708
  to: [number, number] | import('./position').PolarPosition | {
1550
1709
  of: string | [number, number] | import('./position').PolarPosition;
1551
1710
  offset: [number, number];
1552
1711
  } | {
1553
1712
  id: string;
1554
1713
  offset?: [number, number] | undefined;
1555
- anchor?: number | import('..').RectAnchor | {
1714
+ anchor?: string | number | {
1556
1715
  side: "north" | "south" | "east" | "west";
1557
1716
  t: number;
1558
1717
  } | undefined;
1718
+ boundary?: string | {
1719
+ type: string;
1720
+ params?: Record<string, import('./json').JsonValue> | undefined;
1721
+ } | undefined;
1559
1722
  } | {
1560
1723
  relative: [number, number];
1561
1724
  } | {
1562
1725
  relativeAccumulate: [number, number];
1563
1726
  } | import('./position').IRBetweenPosition;
1564
- kind: "cubic";
1565
1727
  control1: [number, number];
1566
1728
  control2: [number, number];
1567
1729
  label?: {
@@ -1579,22 +1741,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1579
1741
  } | undefined;
1580
1742
  }, {
1581
1743
  type: "step";
1744
+ kind: "cubic";
1582
1745
  to: [number, number] | import('./position').PolarPosition | {
1583
1746
  of: string | [number, number] | import('./position').PolarPosition;
1584
1747
  offset: [number, number];
1585
1748
  } | {
1586
1749
  id: string;
1587
1750
  offset?: [number, number] | undefined;
1588
- anchor?: number | import('..').RectAnchor | {
1751
+ anchor?: string | number | {
1589
1752
  side: "north" | "south" | "east" | "west";
1590
1753
  t: number;
1591
1754
  } | undefined;
1755
+ boundary?: string | {
1756
+ type: string;
1757
+ params?: Record<string, import('./json').JsonValue> | undefined;
1758
+ } | undefined;
1592
1759
  } | {
1593
1760
  relative: [number, number];
1594
1761
  } | {
1595
1762
  relativeAccumulate: [number, number];
1596
1763
  } | import('./position').IRBetweenPosition;
1597
- kind: "cubic";
1598
1764
  control1: [number, number];
1599
1765
  control2: [number, number];
1600
1766
  label?: {
@@ -1615,7 +1781,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1615
1781
  kind: z.ZodLiteral<"bend">;
1616
1782
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
1617
1783
  id: z.ZodString;
1618
- 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<{
1619
1785
  side: z.ZodEnum<["north", "south", "east", "west"]>;
1620
1786
  t: z.ZodNumber;
1621
1787
  }, "strip", z.ZodTypeAny, {
@@ -1626,20 +1792,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1626
1792
  t: number;
1627
1793
  }>]>>;
1628
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
+ }>]>>;
1629
1805
  }, "strip", z.ZodTypeAny, {
1630
1806
  id: string;
1631
1807
  offset?: [number, number] | undefined;
1632
- anchor?: number | import('..').RectAnchor | {
1808
+ anchor?: string | number | {
1633
1809
  side: "north" | "south" | "east" | "west";
1634
1810
  t: number;
1635
1811
  } | undefined;
1812
+ boundary?: string | {
1813
+ type: string;
1814
+ params?: Record<string, import('./json').JsonValue> | undefined;
1815
+ } | undefined;
1636
1816
  }, {
1637
1817
  id: string;
1638
1818
  offset?: [number, number] | undefined;
1639
- anchor?: number | import('..').RectAnchor | {
1819
+ anchor?: string | number | {
1640
1820
  side: "north" | "south" | "east" | "west";
1641
1821
  t: number;
1642
1822
  } | undefined;
1823
+ boundary?: string | {
1824
+ type: string;
1825
+ params?: Record<string, import('./json').JsonValue> | undefined;
1826
+ } | undefined;
1643
1827
  }>, z.ZodObject<{
1644
1828
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1645
1829
  }, "strip", z.ZodTypeAny, {
@@ -1716,22 +1900,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1716
1900
  }>>;
1717
1901
  }, "strip", z.ZodTypeAny, {
1718
1902
  type: "step";
1903
+ kind: "bend";
1719
1904
  to: [number, number] | import('./position').PolarPosition | {
1720
1905
  of: string | [number, number] | import('./position').PolarPosition;
1721
1906
  offset: [number, number];
1722
1907
  } | {
1723
1908
  id: string;
1724
1909
  offset?: [number, number] | undefined;
1725
- anchor?: number | import('..').RectAnchor | {
1910
+ anchor?: string | number | {
1726
1911
  side: "north" | "south" | "east" | "west";
1727
1912
  t: number;
1728
1913
  } | undefined;
1914
+ boundary?: string | {
1915
+ type: string;
1916
+ params?: Record<string, import('./json').JsonValue> | undefined;
1917
+ } | undefined;
1729
1918
  } | {
1730
1919
  relative: [number, number];
1731
1920
  } | {
1732
1921
  relativeAccumulate: [number, number];
1733
1922
  } | import('./position').IRBetweenPosition;
1734
- kind: "bend";
1735
1923
  label?: {
1736
1924
  text: string;
1737
1925
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -1752,22 +1940,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1752
1940
  looseness?: number | undefined;
1753
1941
  }, {
1754
1942
  type: "step";
1943
+ kind: "bend";
1755
1944
  to: [number, number] | import('./position').PolarPosition | {
1756
1945
  of: string | [number, number] | import('./position').PolarPosition;
1757
1946
  offset: [number, number];
1758
1947
  } | {
1759
1948
  id: string;
1760
1949
  offset?: [number, number] | undefined;
1761
- anchor?: number | import('..').RectAnchor | {
1950
+ anchor?: string | number | {
1762
1951
  side: "north" | "south" | "east" | "west";
1763
1952
  t: number;
1764
1953
  } | undefined;
1954
+ boundary?: string | {
1955
+ type: string;
1956
+ params?: Record<string, import('./json').JsonValue> | undefined;
1957
+ } | undefined;
1765
1958
  } | {
1766
1959
  relative: [number, number];
1767
1960
  } | {
1768
1961
  relativeAccumulate: [number, number];
1769
1962
  } | import('./position').IRBetweenPosition;
1770
- kind: "bend";
1771
1963
  label?: {
1772
1964
  text: string;
1773
1965
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -1796,7 +1988,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1796
1988
  radiusY: z.ZodOptional<z.ZodNumber>;
1797
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<{
1798
1990
  id: z.ZodString;
1799
- 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<{
1800
1992
  side: z.ZodEnum<["north", "south", "east", "west"]>;
1801
1993
  t: z.ZodNumber;
1802
1994
  }, "strip", z.ZodTypeAny, {
@@ -1807,20 +1999,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1807
1999
  t: number;
1808
2000
  }>]>>;
1809
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
+ }>]>>;
1810
2012
  }, "strip", z.ZodTypeAny, {
1811
2013
  id: string;
1812
2014
  offset?: [number, number] | undefined;
1813
- anchor?: number | import('..').RectAnchor | {
2015
+ anchor?: string | number | {
1814
2016
  side: "north" | "south" | "east" | "west";
1815
2017
  t: number;
1816
2018
  } | undefined;
2019
+ boundary?: string | {
2020
+ type: string;
2021
+ params?: Record<string, import('./json').JsonValue> | undefined;
2022
+ } | undefined;
1817
2023
  }, {
1818
2024
  id: string;
1819
2025
  offset?: [number, number] | undefined;
1820
- anchor?: number | import('..').RectAnchor | {
2026
+ anchor?: string | number | {
1821
2027
  side: "north" | "south" | "east" | "west";
1822
2028
  t: number;
1823
2029
  } | undefined;
2030
+ boundary?: string | {
2031
+ type: string;
2032
+ params?: Record<string, import('./json').JsonValue> | undefined;
2033
+ } | undefined;
1824
2034
  }>, z.ZodObject<{
1825
2035
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1826
2036
  }, "strip", z.ZodTypeAny, {
@@ -1892,9 +2102,9 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1892
2102
  }>>;
1893
2103
  }, "strip", z.ZodTypeAny, {
1894
2104
  type: "step";
2105
+ kind: "arc";
1895
2106
  startAngle: number;
1896
2107
  endAngle: number;
1897
- kind: "arc";
1898
2108
  radius?: number | undefined;
1899
2109
  center?: [number, number] | import('./position').PolarPosition | {
1900
2110
  of: string | [number, number] | import('./position').PolarPosition;
@@ -1902,10 +2112,14 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1902
2112
  } | {
1903
2113
  id: string;
1904
2114
  offset?: [number, number] | undefined;
1905
- anchor?: number | import('..').RectAnchor | {
2115
+ anchor?: string | number | {
1906
2116
  side: "north" | "south" | "east" | "west";
1907
2117
  t: number;
1908
2118
  } | undefined;
2119
+ boundary?: string | {
2120
+ type: string;
2121
+ params?: Record<string, import('./json').JsonValue> | undefined;
2122
+ } | undefined;
1909
2123
  } | {
1910
2124
  relative: [number, number];
1911
2125
  } | {
@@ -1928,9 +2142,9 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1928
2142
  radiusY?: number | undefined;
1929
2143
  }, {
1930
2144
  type: "step";
2145
+ kind: "arc";
1931
2146
  startAngle: number;
1932
2147
  endAngle: number;
1933
- kind: "arc";
1934
2148
  radius?: number | undefined;
1935
2149
  center?: [number, number] | import('./position').PolarPosition | {
1936
2150
  of: string | [number, number] | import('./position').PolarPosition;
@@ -1938,10 +2152,14 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1938
2152
  } | {
1939
2153
  id: string;
1940
2154
  offset?: [number, number] | undefined;
1941
- anchor?: number | import('..').RectAnchor | {
2155
+ anchor?: string | number | {
1942
2156
  side: "north" | "south" | "east" | "west";
1943
2157
  t: number;
1944
2158
  } | undefined;
2159
+ boundary?: string | {
2160
+ type: string;
2161
+ params?: Record<string, import('./json').JsonValue> | undefined;
2162
+ } | undefined;
1945
2163
  } | {
1946
2164
  relative: [number, number];
1947
2165
  } | {
@@ -2020,8 +2238,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2020
2238
  type: "step";
2021
2239
  radius: number;
2022
2240
  kind: "circlePath";
2023
- startAngle?: number | undefined;
2024
- endAngle?: number | undefined;
2025
2241
  label?: {
2026
2242
  text: string;
2027
2243
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -2035,13 +2251,13 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2035
2251
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
2036
2252
  textColor?: string | undefined;
2037
2253
  } | undefined;
2254
+ startAngle?: number | undefined;
2255
+ endAngle?: number | undefined;
2038
2256
  closed?: "open" | "closed" | "chord" | "sector" | undefined;
2039
2257
  }, {
2040
2258
  type: "step";
2041
2259
  radius: number;
2042
2260
  kind: "circlePath";
2043
- startAngle?: number | undefined;
2044
- endAngle?: number | undefined;
2045
2261
  label?: {
2046
2262
  text: string;
2047
2263
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -2055,6 +2271,8 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2055
2271
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
2056
2272
  textColor?: string | undefined;
2057
2273
  } | undefined;
2274
+ startAngle?: number | undefined;
2275
+ endAngle?: number | undefined;
2058
2276
  closed?: "open" | "closed" | "chord" | "sector" | undefined;
2059
2277
  }>, z.ZodObject<{
2060
2278
  type: z.ZodLiteral<"step">;
@@ -2116,8 +2334,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2116
2334
  kind: "ellipsePath";
2117
2335
  radiusX: number;
2118
2336
  radiusY: number;
2119
- startAngle?: number | undefined;
2120
- endAngle?: number | undefined;
2121
2337
  label?: {
2122
2338
  text: string;
2123
2339
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -2131,14 +2347,14 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2131
2347
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
2132
2348
  textColor?: string | undefined;
2133
2349
  } | undefined;
2350
+ startAngle?: number | undefined;
2351
+ endAngle?: number | undefined;
2134
2352
  closed?: "open" | "closed" | "chord" | "sector" | undefined;
2135
2353
  }, {
2136
2354
  type: "step";
2137
2355
  kind: "ellipsePath";
2138
2356
  radiusX: number;
2139
2357
  radiusY: number;
2140
- startAngle?: number | undefined;
2141
- endAngle?: number | undefined;
2142
2358
  label?: {
2143
2359
  text: string;
2144
2360
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -2152,13 +2368,15 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2152
2368
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
2153
2369
  textColor?: string | undefined;
2154
2370
  } | undefined;
2371
+ startAngle?: number | undefined;
2372
+ endAngle?: number | undefined;
2155
2373
  closed?: "open" | "closed" | "chord" | "sector" | undefined;
2156
2374
  }>, z.ZodObject<{
2157
2375
  type: z.ZodLiteral<"step">;
2158
2376
  kind: z.ZodLiteral<"rectangle">;
2159
2377
  from: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
2160
2378
  id: z.ZodString;
2161
- 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<{
2162
2380
  side: z.ZodEnum<["north", "south", "east", "west"]>;
2163
2381
  t: z.ZodNumber;
2164
2382
  }, "strip", z.ZodTypeAny, {
@@ -2169,20 +2387,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2169
2387
  t: number;
2170
2388
  }>]>>;
2171
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
+ }>]>>;
2172
2400
  }, "strip", z.ZodTypeAny, {
2173
2401
  id: string;
2174
2402
  offset?: [number, number] | undefined;
2175
- anchor?: number | import('..').RectAnchor | {
2403
+ anchor?: string | number | {
2176
2404
  side: "north" | "south" | "east" | "west";
2177
2405
  t: number;
2178
2406
  } | undefined;
2407
+ boundary?: string | {
2408
+ type: string;
2409
+ params?: Record<string, import('./json').JsonValue> | undefined;
2410
+ } | undefined;
2179
2411
  }, {
2180
2412
  id: string;
2181
2413
  offset?: [number, number] | undefined;
2182
- anchor?: number | import('..').RectAnchor | {
2414
+ anchor?: string | number | {
2183
2415
  side: "north" | "south" | "east" | "west";
2184
2416
  t: number;
2185
2417
  } | undefined;
2418
+ boundary?: string | {
2419
+ type: string;
2420
+ params?: Record<string, import('./json').JsonValue> | undefined;
2421
+ } | undefined;
2186
2422
  }>, z.ZodObject<{
2187
2423
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
2188
2424
  }, "strip", z.ZodTypeAny, {
@@ -2207,7 +2443,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2207
2443
  }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
2208
2444
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
2209
2445
  id: z.ZodString;
2210
- 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<{
2211
2447
  side: z.ZodEnum<["north", "south", "east", "west"]>;
2212
2448
  t: z.ZodNumber;
2213
2449
  }, "strip", z.ZodTypeAny, {
@@ -2218,20 +2454,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2218
2454
  t: number;
2219
2455
  }>]>>;
2220
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
+ }>]>>;
2221
2467
  }, "strip", z.ZodTypeAny, {
2222
2468
  id: string;
2223
2469
  offset?: [number, number] | undefined;
2224
- anchor?: number | import('..').RectAnchor | {
2470
+ anchor?: string | number | {
2225
2471
  side: "north" | "south" | "east" | "west";
2226
2472
  t: number;
2227
2473
  } | undefined;
2474
+ boundary?: string | {
2475
+ type: string;
2476
+ params?: Record<string, import('./json').JsonValue> | undefined;
2477
+ } | undefined;
2228
2478
  }, {
2229
2479
  id: string;
2230
2480
  offset?: [number, number] | undefined;
2231
- anchor?: number | import('..').RectAnchor | {
2481
+ anchor?: string | number | {
2232
2482
  side: "north" | "south" | "east" | "west";
2233
2483
  t: number;
2234
2484
  } | undefined;
2485
+ boundary?: string | {
2486
+ type: string;
2487
+ params?: Record<string, import('./json').JsonValue> | undefined;
2488
+ } | undefined;
2235
2489
  }>, z.ZodObject<{
2236
2490
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
2237
2491
  }, "strip", z.ZodTypeAny, {
@@ -2254,82 +2508,98 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2254
2508
  of: string | [number, number] | import('./position').PolarPosition;
2255
2509
  offset: [number, number];
2256
2510
  }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
2257
- roundedCorners: z.ZodOptional<z.ZodNumber>;
2511
+ cornerRadius: z.ZodOptional<z.ZodNumber>;
2258
2512
  }, "strip", z.ZodTypeAny, {
2259
2513
  type: "step";
2514
+ kind: "rectangle";
2260
2515
  to: [number, number] | import('./position').PolarPosition | {
2261
2516
  of: string | [number, number] | import('./position').PolarPosition;
2262
2517
  offset: [number, number];
2263
2518
  } | {
2264
2519
  id: string;
2265
2520
  offset?: [number, number] | undefined;
2266
- anchor?: number | import('..').RectAnchor | {
2521
+ anchor?: string | number | {
2267
2522
  side: "north" | "south" | "east" | "west";
2268
2523
  t: number;
2269
2524
  } | undefined;
2525
+ boundary?: string | {
2526
+ type: string;
2527
+ params?: Record<string, import('./json').JsonValue> | undefined;
2528
+ } | undefined;
2270
2529
  } | {
2271
2530
  relative: [number, number];
2272
2531
  } | {
2273
2532
  relativeAccumulate: [number, number];
2274
2533
  } | import('./position').IRBetweenPosition;
2275
- kind: "rectangle";
2276
2534
  from: [number, number] | import('./position').PolarPosition | {
2277
2535
  of: string | [number, number] | import('./position').PolarPosition;
2278
2536
  offset: [number, number];
2279
2537
  } | {
2280
2538
  id: string;
2281
2539
  offset?: [number, number] | undefined;
2282
- anchor?: number | import('..').RectAnchor | {
2540
+ anchor?: string | number | {
2283
2541
  side: "north" | "south" | "east" | "west";
2284
2542
  t: number;
2285
2543
  } | undefined;
2544
+ boundary?: string | {
2545
+ type: string;
2546
+ params?: Record<string, import('./json').JsonValue> | undefined;
2547
+ } | undefined;
2286
2548
  } | {
2287
2549
  relative: [number, number];
2288
2550
  } | {
2289
2551
  relativeAccumulate: [number, number];
2290
2552
  } | import('./position').IRBetweenPosition;
2291
- roundedCorners?: number | undefined;
2553
+ cornerRadius?: number | undefined;
2292
2554
  }, {
2293
2555
  type: "step";
2556
+ kind: "rectangle";
2294
2557
  to: [number, number] | import('./position').PolarPosition | {
2295
2558
  of: string | [number, number] | import('./position').PolarPosition;
2296
2559
  offset: [number, number];
2297
2560
  } | {
2298
2561
  id: string;
2299
2562
  offset?: [number, number] | undefined;
2300
- anchor?: number | import('..').RectAnchor | {
2563
+ anchor?: string | number | {
2301
2564
  side: "north" | "south" | "east" | "west";
2302
2565
  t: number;
2303
2566
  } | undefined;
2567
+ boundary?: string | {
2568
+ type: string;
2569
+ params?: Record<string, import('./json').JsonValue> | undefined;
2570
+ } | undefined;
2304
2571
  } | {
2305
2572
  relative: [number, number];
2306
2573
  } | {
2307
2574
  relativeAccumulate: [number, number];
2308
2575
  } | import('./position').IRBetweenPosition;
2309
- kind: "rectangle";
2310
2576
  from: [number, number] | import('./position').PolarPosition | {
2311
2577
  of: string | [number, number] | import('./position').PolarPosition;
2312
2578
  offset: [number, number];
2313
2579
  } | {
2314
2580
  id: string;
2315
2581
  offset?: [number, number] | undefined;
2316
- anchor?: number | import('..').RectAnchor | {
2582
+ anchor?: string | number | {
2317
2583
  side: "north" | "south" | "east" | "west";
2318
2584
  t: number;
2319
2585
  } | undefined;
2586
+ boundary?: string | {
2587
+ type: string;
2588
+ params?: Record<string, import('./json').JsonValue> | undefined;
2589
+ } | undefined;
2320
2590
  } | {
2321
2591
  relative: [number, number];
2322
2592
  } | {
2323
2593
  relativeAccumulate: [number, number];
2324
2594
  } | import('./position').IRBetweenPosition;
2325
- roundedCorners?: number | undefined;
2595
+ cornerRadius?: number | undefined;
2326
2596
  }>, z.ZodObject<{
2327
2597
  type: z.ZodLiteral<"step">;
2328
2598
  kind: z.ZodLiteral<"generator">;
2329
2599
  name: z.ZodString;
2330
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<{
2331
2601
  id: z.ZodString;
2332
- 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<{
2333
2603
  side: z.ZodEnum<["north", "south", "east", "west"]>;
2334
2604
  t: z.ZodNumber;
2335
2605
  }, "strip", z.ZodTypeAny, {
@@ -2340,20 +2610,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2340
2610
  t: number;
2341
2611
  }>]>>;
2342
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
+ }>]>>;
2343
2623
  }, "strip", z.ZodTypeAny, {
2344
2624
  id: string;
2345
2625
  offset?: [number, number] | undefined;
2346
- anchor?: number | import('..').RectAnchor | {
2626
+ anchor?: string | number | {
2347
2627
  side: "north" | "south" | "east" | "west";
2348
2628
  t: number;
2349
2629
  } | undefined;
2630
+ boundary?: string | {
2631
+ type: string;
2632
+ params?: Record<string, import('./json').JsonValue> | undefined;
2633
+ } | undefined;
2350
2634
  }, {
2351
2635
  id: string;
2352
2636
  offset?: [number, number] | undefined;
2353
- anchor?: number | import('..').RectAnchor | {
2637
+ anchor?: string | number | {
2354
2638
  side: "north" | "south" | "east" | "west";
2355
2639
  t: number;
2356
2640
  } | undefined;
2641
+ boundary?: string | {
2642
+ type: string;
2643
+ params?: Record<string, import('./json').JsonValue> | undefined;
2644
+ } | undefined;
2357
2645
  }>, z.ZodObject<{
2358
2646
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
2359
2647
  }, "strip", z.ZodTypeAny, {
@@ -2435,10 +2723,14 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2435
2723
  } | {
2436
2724
  id: string;
2437
2725
  offset?: [number, number] | undefined;
2438
- anchor?: number | import('..').RectAnchor | {
2726
+ anchor?: string | number | {
2439
2727
  side: "north" | "south" | "east" | "west";
2440
2728
  t: number;
2441
2729
  } | undefined;
2730
+ boundary?: string | {
2731
+ type: string;
2732
+ params?: Record<string, import('./json').JsonValue> | undefined;
2733
+ } | undefined;
2442
2734
  } | {
2443
2735
  relative: [number, number];
2444
2736
  } | {
@@ -2468,10 +2760,14 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2468
2760
  } | {
2469
2761
  id: string;
2470
2762
  offset?: [number, number] | undefined;
2471
- anchor?: number | import('..').RectAnchor | {
2763
+ anchor?: string | number | {
2472
2764
  side: "north" | "south" | "east" | "west";
2473
2765
  t: number;
2474
2766
  } | undefined;
2767
+ boundary?: string | {
2768
+ type: string;
2769
+ params?: Record<string, import('./json').JsonValue> | undefined;
2770
+ } | undefined;
2475
2771
  } | {
2476
2772
  relative: [number, number];
2477
2773
  } | {
@@ -2491,7 +2787,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2491
2787
  textColor?: string | undefined;
2492
2788
  } | undefined;
2493
2789
  }>]>, "many">;
2494
- }, "type" | "arrow" | "arrowDetail" | "zIndex" | "children">, "strict", z.ZodTypeAny, {
2790
+ }, "type" | "arrow" | "meta" | "arrowDetail" | "zIndex" | "children">, "strict", z.ZodTypeAny, {
2495
2791
  fill?: string | {
2496
2792
  type: "linearGradient";
2497
2793
  stops: {
@@ -2545,9 +2841,9 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2545
2841
  kind: "arrow";
2546
2842
  length?: number | undefined;
2547
2843
  fill?: string | undefined;
2844
+ shape?: string | undefined;
2548
2845
  color?: string | undefined;
2549
2846
  opacity?: number | undefined;
2550
- shape?: string | undefined;
2551
2847
  lineWidth?: number | undefined;
2552
2848
  width?: number | undefined;
2553
2849
  scale?: number | undefined;
@@ -2607,9 +2903,9 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2607
2903
  kind: "arrow";
2608
2904
  length?: number | undefined;
2609
2905
  fill?: string | undefined;
2906
+ shape?: string | undefined;
2610
2907
  color?: string | undefined;
2611
2908
  opacity?: number | undefined;
2612
- shape?: string | undefined;
2613
2909
  lineWidth?: number | undefined;
2614
2910
  width?: number | undefined;
2615
2911
  scale?: number | undefined;
@@ -2687,18 +2983,18 @@ export declare const ArrowDefaultSchema: z.ZodObject<{
2687
2983
  }, "strip", z.ZodTypeAny, {
2688
2984
  length?: number | undefined;
2689
2985
  fill?: string | undefined;
2986
+ shape?: string | undefined;
2690
2987
  color?: string | undefined;
2691
2988
  opacity?: number | undefined;
2692
- shape?: string | undefined;
2693
2989
  lineWidth?: number | undefined;
2694
2990
  width?: number | undefined;
2695
2991
  scale?: number | undefined;
2696
2992
  }, {
2697
2993
  length?: number | undefined;
2698
2994
  fill?: string | undefined;
2995
+ shape?: string | undefined;
2699
2996
  color?: string | undefined;
2700
2997
  opacity?: number | undefined;
2701
- shape?: string | undefined;
2702
2998
  lineWidth?: number | undefined;
2703
2999
  width?: number | undefined;
2704
3000
  scale?: number | undefined;
@@ -2715,18 +3011,18 @@ export declare const ArrowDefaultSchema: z.ZodObject<{
2715
3011
  }, "strip", z.ZodTypeAny, {
2716
3012
  length?: number | undefined;
2717
3013
  fill?: string | undefined;
3014
+ shape?: string | undefined;
2718
3015
  color?: string | undefined;
2719
3016
  opacity?: number | undefined;
2720
- shape?: string | undefined;
2721
3017
  lineWidth?: number | undefined;
2722
3018
  width?: number | undefined;
2723
3019
  scale?: number | undefined;
2724
3020
  }, {
2725
3021
  length?: number | undefined;
2726
3022
  fill?: string | undefined;
3023
+ shape?: string | undefined;
2727
3024
  color?: string | undefined;
2728
3025
  opacity?: number | undefined;
2729
- shape?: string | undefined;
2730
3026
  lineWidth?: number | undefined;
2731
3027
  width?: number | undefined;
2732
3028
  scale?: number | undefined;
@@ -2734,18 +3030,18 @@ export declare const ArrowDefaultSchema: z.ZodObject<{
2734
3030
  }, "strip", z.ZodTypeAny, {
2735
3031
  length?: number | undefined;
2736
3032
  fill?: string | undefined;
3033
+ shape?: string | undefined;
2737
3034
  color?: string | undefined;
2738
3035
  opacity?: number | undefined;
2739
- shape?: string | undefined;
2740
3036
  lineWidth?: number | undefined;
2741
3037
  width?: number | undefined;
2742
3038
  scale?: number | undefined;
2743
3039
  start?: {
2744
3040
  length?: number | undefined;
2745
3041
  fill?: string | undefined;
3042
+ shape?: string | undefined;
2746
3043
  color?: string | undefined;
2747
3044
  opacity?: number | undefined;
2748
- shape?: string | undefined;
2749
3045
  lineWidth?: number | undefined;
2750
3046
  width?: number | undefined;
2751
3047
  scale?: number | undefined;
@@ -2753,9 +3049,9 @@ export declare const ArrowDefaultSchema: z.ZodObject<{
2753
3049
  end?: {
2754
3050
  length?: number | undefined;
2755
3051
  fill?: string | undefined;
3052
+ shape?: string | undefined;
2756
3053
  color?: string | undefined;
2757
3054
  opacity?: number | undefined;
2758
- shape?: string | undefined;
2759
3055
  lineWidth?: number | undefined;
2760
3056
  width?: number | undefined;
2761
3057
  scale?: number | undefined;
@@ -2763,18 +3059,18 @@ export declare const ArrowDefaultSchema: z.ZodObject<{
2763
3059
  }, {
2764
3060
  length?: number | undefined;
2765
3061
  fill?: string | undefined;
3062
+ shape?: string | undefined;
2766
3063
  color?: string | undefined;
2767
3064
  opacity?: number | undefined;
2768
- shape?: string | undefined;
2769
3065
  lineWidth?: number | undefined;
2770
3066
  width?: number | undefined;
2771
3067
  scale?: number | undefined;
2772
3068
  start?: {
2773
3069
  length?: number | undefined;
2774
3070
  fill?: string | undefined;
3071
+ shape?: string | undefined;
2775
3072
  color?: string | undefined;
2776
3073
  opacity?: number | undefined;
2777
- shape?: string | undefined;
2778
3074
  lineWidth?: number | undefined;
2779
3075
  width?: number | undefined;
2780
3076
  scale?: number | undefined;
@@ -2782,9 +3078,9 @@ export declare const ArrowDefaultSchema: z.ZodObject<{
2782
3078
  end?: {
2783
3079
  length?: number | undefined;
2784
3080
  fill?: string | undefined;
3081
+ shape?: string | undefined;
2785
3082
  color?: string | undefined;
2786
3083
  opacity?: number | undefined;
2787
- shape?: string | undefined;
2788
3084
  lineWidth?: number | undefined;
2789
3085
  width?: number | undefined;
2790
3086
  scale?: number | undefined;
@@ -2824,6 +3120,7 @@ export type IRScope = {
2824
3120
  resetStyle?: boolean | Array<StyleChannel>;
2825
3121
  zIndex?: number;
2826
3122
  clip?: IRClipSpec;
3123
+ meta?: IRJsonObject;
2827
3124
  children: Array<IRNode | IRPath | IRCoordinate | IRScope | IRComposite>;
2828
3125
  };
2829
3126
  /**
@@ -3046,7 +3343,27 @@ export declare const ScopeSchema: z.ZodObject<{
3046
3343
  nodeDefault: z.ZodOptional<z.ZodObject<Omit<{
3047
3344
  type: z.ZodLiteral<"node">;
3048
3345
  id: z.ZodOptional<z.ZodString>;
3049
- 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>>>;
3050
3367
  position: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
3051
3368
  direction: z.ZodNativeEnum<{
3052
3369
  readonly above: "above";
@@ -3239,7 +3556,7 @@ export declare const ScopeSchema: z.ZodObject<{
3239
3556
  dashed: z.ZodOptional<z.ZodBoolean>;
3240
3557
  dotted: z.ZodOptional<z.ZodBoolean>;
3241
3558
  dashArray: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
3242
- roundedCorners: z.ZodOptional<z.ZodNumber>;
3559
+ cornerRadius: z.ZodOptional<z.ZodNumber>;
3243
3560
  minimumWidth: z.ZodOptional<z.ZodNumber>;
3244
3561
  minimumHeight: z.ZodOptional<z.ZodNumber>;
3245
3562
  minimumSize: z.ZodOptional<z.ZodNumber>;
@@ -3439,7 +3756,7 @@ export declare const ScopeSchema: z.ZodObject<{
3439
3756
  } | undefined;
3440
3757
  }>, "many">]>>;
3441
3758
  zIndex: z.ZodOptional<z.ZodNumber>;
3442
- }, "type" | "id" | "text" | "position" | "label" | "zIndex">, "strict", z.ZodTypeAny, {
3759
+ }, "type" | "id" | "text" | "position" | "label" | "meta" | "zIndex">, "strict", z.ZodTypeAny, {
3443
3760
  fill?: string | {
3444
3761
  type: "linearGradient";
3445
3762
  stops: {
@@ -3470,9 +3787,16 @@ export declare const ScopeSchema: z.ZodObject<{
3470
3787
  href: string;
3471
3788
  fit?: "fill" | "contain" | "cover" | undefined;
3472
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;
3473
3798
  color?: string | undefined;
3474
3799
  opacity?: number | undefined;
3475
- shape?: string | undefined;
3476
3800
  font?: {
3477
3801
  family?: string | undefined;
3478
3802
  size?: number | undefined;
@@ -3481,7 +3805,7 @@ export declare const ScopeSchema: z.ZodObject<{
3481
3805
  } | undefined;
3482
3806
  scale?: number | undefined;
3483
3807
  textColor?: string | undefined;
3484
- roundedCorners?: number | undefined;
3808
+ cornerRadius?: number | undefined;
3485
3809
  stroke?: string | undefined;
3486
3810
  strokeWidth?: number | undefined;
3487
3811
  fillOpacity?: number | undefined;
@@ -3534,9 +3858,16 @@ export declare const ScopeSchema: z.ZodObject<{
3534
3858
  href: string;
3535
3859
  fit?: "fill" | "contain" | "cover" | undefined;
3536
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;
3537
3869
  color?: string | undefined;
3538
3870
  opacity?: number | undefined;
3539
- shape?: string | undefined;
3540
3871
  font?: {
3541
3872
  family?: string | undefined;
3542
3873
  size?: number | undefined;
@@ -3545,7 +3876,7 @@ export declare const ScopeSchema: z.ZodObject<{
3545
3876
  } | undefined;
3546
3877
  scale?: number | undefined;
3547
3878
  textColor?: string | undefined;
3548
- roundedCorners?: number | undefined;
3879
+ cornerRadius?: number | undefined;
3549
3880
  stroke?: string | undefined;
3550
3881
  strokeWidth?: number | undefined;
3551
3882
  fillOpacity?: number | undefined;
@@ -3571,6 +3902,7 @@ export declare const ScopeSchema: z.ZodObject<{
3571
3902
  pathDefault: z.ZodOptional<z.ZodObject<Omit<{
3572
3903
  type: z.ZodLiteral<"path">;
3573
3904
  id: z.ZodOptional<z.ZodString>;
3905
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
3574
3906
  color: z.ZodOptional<z.ZodString>;
3575
3907
  stroke: z.ZodOptional<z.ZodString>;
3576
3908
  strokeWidth: z.ZodOptional<z.ZodNumber>;
@@ -3598,18 +3930,18 @@ export declare const ScopeSchema: z.ZodObject<{
3598
3930
  }, "strip", z.ZodTypeAny, {
3599
3931
  length?: number | undefined;
3600
3932
  fill?: string | undefined;
3933
+ shape?: string | undefined;
3601
3934
  color?: string | undefined;
3602
3935
  opacity?: number | undefined;
3603
- shape?: string | undefined;
3604
3936
  lineWidth?: number | undefined;
3605
3937
  width?: number | undefined;
3606
3938
  scale?: number | undefined;
3607
3939
  }, {
3608
3940
  length?: number | undefined;
3609
3941
  fill?: string | undefined;
3942
+ shape?: string | undefined;
3610
3943
  color?: string | undefined;
3611
3944
  opacity?: number | undefined;
3612
- shape?: string | undefined;
3613
3945
  lineWidth?: number | undefined;
3614
3946
  width?: number | undefined;
3615
3947
  scale?: number | undefined;
@@ -3626,18 +3958,18 @@ export declare const ScopeSchema: z.ZodObject<{
3626
3958
  }, "strip", z.ZodTypeAny, {
3627
3959
  length?: number | undefined;
3628
3960
  fill?: string | undefined;
3961
+ shape?: string | undefined;
3629
3962
  color?: string | undefined;
3630
3963
  opacity?: number | undefined;
3631
- shape?: string | undefined;
3632
3964
  lineWidth?: number | undefined;
3633
3965
  width?: number | undefined;
3634
3966
  scale?: number | undefined;
3635
3967
  }, {
3636
3968
  length?: number | undefined;
3637
3969
  fill?: string | undefined;
3970
+ shape?: string | undefined;
3638
3971
  color?: string | undefined;
3639
3972
  opacity?: number | undefined;
3640
- shape?: string | undefined;
3641
3973
  lineWidth?: number | undefined;
3642
3974
  width?: number | undefined;
3643
3975
  scale?: number | undefined;
@@ -3645,18 +3977,18 @@ export declare const ScopeSchema: z.ZodObject<{
3645
3977
  }, "strip", z.ZodTypeAny, {
3646
3978
  length?: number | undefined;
3647
3979
  fill?: string | undefined;
3980
+ shape?: string | undefined;
3648
3981
  color?: string | undefined;
3649
3982
  opacity?: number | undefined;
3650
- shape?: string | undefined;
3651
3983
  lineWidth?: number | undefined;
3652
3984
  width?: number | undefined;
3653
3985
  scale?: number | undefined;
3654
3986
  start?: {
3655
3987
  length?: number | undefined;
3656
3988
  fill?: string | undefined;
3989
+ shape?: string | undefined;
3657
3990
  color?: string | undefined;
3658
3991
  opacity?: number | undefined;
3659
- shape?: string | undefined;
3660
3992
  lineWidth?: number | undefined;
3661
3993
  width?: number | undefined;
3662
3994
  scale?: number | undefined;
@@ -3664,9 +3996,9 @@ export declare const ScopeSchema: z.ZodObject<{
3664
3996
  end?: {
3665
3997
  length?: number | undefined;
3666
3998
  fill?: string | undefined;
3999
+ shape?: string | undefined;
3667
4000
  color?: string | undefined;
3668
4001
  opacity?: number | undefined;
3669
- shape?: string | undefined;
3670
4002
  lineWidth?: number | undefined;
3671
4003
  width?: number | undefined;
3672
4004
  scale?: number | undefined;
@@ -3674,18 +4006,18 @@ export declare const ScopeSchema: z.ZodObject<{
3674
4006
  }, {
3675
4007
  length?: number | undefined;
3676
4008
  fill?: string | undefined;
4009
+ shape?: string | undefined;
3677
4010
  color?: string | undefined;
3678
4011
  opacity?: number | undefined;
3679
- shape?: string | undefined;
3680
4012
  lineWidth?: number | undefined;
3681
4013
  width?: number | undefined;
3682
4014
  scale?: number | undefined;
3683
4015
  start?: {
3684
4016
  length?: number | undefined;
3685
4017
  fill?: string | undefined;
4018
+ shape?: string | undefined;
3686
4019
  color?: string | undefined;
3687
4020
  opacity?: number | undefined;
3688
- shape?: string | undefined;
3689
4021
  lineWidth?: number | undefined;
3690
4022
  width?: number | undefined;
3691
4023
  scale?: number | undefined;
@@ -3693,9 +4025,9 @@ export declare const ScopeSchema: z.ZodObject<{
3693
4025
  end?: {
3694
4026
  length?: number | undefined;
3695
4027
  fill?: string | undefined;
4028
+ shape?: string | undefined;
3696
4029
  color?: string | undefined;
3697
4030
  opacity?: number | undefined;
3698
- shape?: string | undefined;
3699
4031
  lineWidth?: number | undefined;
3700
4032
  width?: number | undefined;
3701
4033
  scale?: number | undefined;
@@ -3841,9 +4173,9 @@ export declare const ScopeSchema: z.ZodObject<{
3841
4173
  kind: "arrow";
3842
4174
  length?: number | undefined;
3843
4175
  fill?: string | undefined;
4176
+ shape?: string | undefined;
3844
4177
  color?: string | undefined;
3845
4178
  opacity?: number | undefined;
3846
- shape?: string | undefined;
3847
4179
  lineWidth?: number | undefined;
3848
4180
  width?: number | undefined;
3849
4181
  scale?: number | undefined;
@@ -3851,9 +4183,9 @@ export declare const ScopeSchema: z.ZodObject<{
3851
4183
  kind: "arrow";
3852
4184
  length?: number | undefined;
3853
4185
  fill?: string | undefined;
4186
+ shape?: string | undefined;
3854
4187
  color?: string | undefined;
3855
4188
  opacity?: number | undefined;
3856
- shape?: string | undefined;
3857
4189
  lineWidth?: number | undefined;
3858
4190
  width?: number | undefined;
3859
4191
  scale?: number | undefined;
@@ -3864,9 +4196,9 @@ export declare const ScopeSchema: z.ZodObject<{
3864
4196
  kind: "arrow";
3865
4197
  length?: number | undefined;
3866
4198
  fill?: string | undefined;
4199
+ shape?: string | undefined;
3867
4200
  color?: string | undefined;
3868
4201
  opacity?: number | undefined;
3869
- shape?: string | undefined;
3870
4202
  lineWidth?: number | undefined;
3871
4203
  width?: number | undefined;
3872
4204
  scale?: number | undefined;
@@ -3877,9 +4209,9 @@ export declare const ScopeSchema: z.ZodObject<{
3877
4209
  kind: "arrow";
3878
4210
  length?: number | undefined;
3879
4211
  fill?: string | undefined;
4212
+ shape?: string | undefined;
3880
4213
  color?: string | undefined;
3881
4214
  opacity?: number | undefined;
3882
- shape?: string | undefined;
3883
4215
  lineWidth?: number | undefined;
3884
4216
  width?: number | undefined;
3885
4217
  scale?: number | undefined;
@@ -3890,7 +4222,7 @@ export declare const ScopeSchema: z.ZodObject<{
3890
4222
  kind: z.ZodLiteral<"move">;
3891
4223
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
3892
4224
  id: z.ZodString;
3893
- 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<{
3894
4226
  side: z.ZodEnum<["north", "south", "east", "west"]>;
3895
4227
  t: z.ZodNumber;
3896
4228
  }, "strip", z.ZodTypeAny, {
@@ -3901,20 +4233,38 @@ export declare const ScopeSchema: z.ZodObject<{
3901
4233
  t: number;
3902
4234
  }>]>>;
3903
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
+ }>]>>;
3904
4246
  }, "strip", z.ZodTypeAny, {
3905
4247
  id: string;
3906
4248
  offset?: [number, number] | undefined;
3907
- anchor?: number | import('..').RectAnchor | {
4249
+ anchor?: string | number | {
3908
4250
  side: "north" | "south" | "east" | "west";
3909
4251
  t: number;
3910
4252
  } | undefined;
4253
+ boundary?: string | {
4254
+ type: string;
4255
+ params?: Record<string, import('./json').JsonValue> | undefined;
4256
+ } | undefined;
3911
4257
  }, {
3912
4258
  id: string;
3913
4259
  offset?: [number, number] | undefined;
3914
- anchor?: number | import('..').RectAnchor | {
4260
+ anchor?: string | number | {
3915
4261
  side: "north" | "south" | "east" | "west";
3916
4262
  t: number;
3917
4263
  } | undefined;
4264
+ boundary?: string | {
4265
+ type: string;
4266
+ params?: Record<string, import('./json').JsonValue> | undefined;
4267
+ } | undefined;
3918
4268
  }>, z.ZodObject<{
3919
4269
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
3920
4270
  }, "strip", z.ZodTypeAny, {
@@ -3939,46 +4289,54 @@ export declare const ScopeSchema: z.ZodObject<{
3939
4289
  }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
3940
4290
  }, "strip", z.ZodTypeAny, {
3941
4291
  type: "step";
4292
+ kind: "move";
3942
4293
  to: [number, number] | import('./position').PolarPosition | {
3943
4294
  of: string | [number, number] | import('./position').PolarPosition;
3944
4295
  offset: [number, number];
3945
4296
  } | {
3946
4297
  id: string;
3947
4298
  offset?: [number, number] | undefined;
3948
- anchor?: number | import('..').RectAnchor | {
4299
+ anchor?: string | number | {
3949
4300
  side: "north" | "south" | "east" | "west";
3950
4301
  t: number;
3951
4302
  } | undefined;
4303
+ boundary?: string | {
4304
+ type: string;
4305
+ params?: Record<string, import('./json').JsonValue> | undefined;
4306
+ } | undefined;
3952
4307
  } | {
3953
4308
  relative: [number, number];
3954
4309
  } | {
3955
4310
  relativeAccumulate: [number, number];
3956
4311
  } | import('./position').IRBetweenPosition;
3957
- kind: "move";
3958
4312
  }, {
3959
4313
  type: "step";
4314
+ kind: "move";
3960
4315
  to: [number, number] | import('./position').PolarPosition | {
3961
4316
  of: string | [number, number] | import('./position').PolarPosition;
3962
4317
  offset: [number, number];
3963
4318
  } | {
3964
4319
  id: string;
3965
4320
  offset?: [number, number] | undefined;
3966
- anchor?: number | import('..').RectAnchor | {
4321
+ anchor?: string | number | {
3967
4322
  side: "north" | "south" | "east" | "west";
3968
4323
  t: number;
3969
4324
  } | undefined;
4325
+ boundary?: string | {
4326
+ type: string;
4327
+ params?: Record<string, import('./json').JsonValue> | undefined;
4328
+ } | undefined;
3970
4329
  } | {
3971
4330
  relative: [number, number];
3972
4331
  } | {
3973
4332
  relativeAccumulate: [number, number];
3974
4333
  } | import('./position').IRBetweenPosition;
3975
- kind: "move";
3976
4334
  }>, z.ZodObject<{
3977
4335
  type: z.ZodLiteral<"step">;
3978
4336
  kind: z.ZodLiteral<"line">;
3979
4337
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
3980
4338
  id: z.ZodString;
3981
- 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<{
3982
4340
  side: z.ZodEnum<["north", "south", "east", "west"]>;
3983
4341
  t: z.ZodNumber;
3984
4342
  }, "strip", z.ZodTypeAny, {
@@ -3989,20 +4347,38 @@ export declare const ScopeSchema: z.ZodObject<{
3989
4347
  t: number;
3990
4348
  }>]>>;
3991
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
+ }>]>>;
3992
4360
  }, "strip", z.ZodTypeAny, {
3993
4361
  id: string;
3994
4362
  offset?: [number, number] | undefined;
3995
- anchor?: number | import('..').RectAnchor | {
4363
+ anchor?: string | number | {
3996
4364
  side: "north" | "south" | "east" | "west";
3997
4365
  t: number;
3998
4366
  } | undefined;
4367
+ boundary?: string | {
4368
+ type: string;
4369
+ params?: Record<string, import('./json').JsonValue> | undefined;
4370
+ } | undefined;
3999
4371
  }, {
4000
4372
  id: string;
4001
4373
  offset?: [number, number] | undefined;
4002
- anchor?: number | import('..').RectAnchor | {
4374
+ anchor?: string | number | {
4003
4375
  side: "north" | "south" | "east" | "west";
4004
4376
  t: number;
4005
4377
  } | undefined;
4378
+ boundary?: string | {
4379
+ type: string;
4380
+ params?: Record<string, import('./json').JsonValue> | undefined;
4381
+ } | undefined;
4006
4382
  }>, z.ZodObject<{
4007
4383
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
4008
4384
  }, "strip", z.ZodTypeAny, {
@@ -4074,22 +4450,26 @@ export declare const ScopeSchema: z.ZodObject<{
4074
4450
  }>>;
4075
4451
  }, "strip", z.ZodTypeAny, {
4076
4452
  type: "step";
4453
+ kind: "line";
4077
4454
  to: [number, number] | import('./position').PolarPosition | {
4078
4455
  of: string | [number, number] | import('./position').PolarPosition;
4079
4456
  offset: [number, number];
4080
4457
  } | {
4081
4458
  id: string;
4082
4459
  offset?: [number, number] | undefined;
4083
- anchor?: number | import('..').RectAnchor | {
4460
+ anchor?: string | number | {
4084
4461
  side: "north" | "south" | "east" | "west";
4085
4462
  t: number;
4086
4463
  } | undefined;
4464
+ boundary?: string | {
4465
+ type: string;
4466
+ params?: Record<string, import('./json').JsonValue> | undefined;
4467
+ } | undefined;
4087
4468
  } | {
4088
4469
  relative: [number, number];
4089
4470
  } | {
4090
4471
  relativeAccumulate: [number, number];
4091
4472
  } | import('./position').IRBetweenPosition;
4092
- kind: "line";
4093
4473
  label?: {
4094
4474
  text: string;
4095
4475
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -4105,22 +4485,26 @@ export declare const ScopeSchema: z.ZodObject<{
4105
4485
  } | undefined;
4106
4486
  }, {
4107
4487
  type: "step";
4488
+ kind: "line";
4108
4489
  to: [number, number] | import('./position').PolarPosition | {
4109
4490
  of: string | [number, number] | import('./position').PolarPosition;
4110
4491
  offset: [number, number];
4111
4492
  } | {
4112
4493
  id: string;
4113
4494
  offset?: [number, number] | undefined;
4114
- anchor?: number | import('..').RectAnchor | {
4495
+ anchor?: string | number | {
4115
4496
  side: "north" | "south" | "east" | "west";
4116
4497
  t: number;
4117
4498
  } | undefined;
4499
+ boundary?: string | {
4500
+ type: string;
4501
+ params?: Record<string, import('./json').JsonValue> | undefined;
4502
+ } | undefined;
4118
4503
  } | {
4119
4504
  relative: [number, number];
4120
4505
  } | {
4121
4506
  relativeAccumulate: [number, number];
4122
4507
  } | import('./position').IRBetweenPosition;
4123
- kind: "line";
4124
4508
  label?: {
4125
4509
  text: string;
4126
4510
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -4140,7 +4524,7 @@ export declare const ScopeSchema: z.ZodObject<{
4140
4524
  via: z.ZodEnum<["-|", "|-"]>;
4141
4525
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
4142
4526
  id: z.ZodString;
4143
- 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<{
4144
4528
  side: z.ZodEnum<["north", "south", "east", "west"]>;
4145
4529
  t: z.ZodNumber;
4146
4530
  }, "strip", z.ZodTypeAny, {
@@ -4151,20 +4535,38 @@ export declare const ScopeSchema: z.ZodObject<{
4151
4535
  t: number;
4152
4536
  }>]>>;
4153
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
+ }>]>>;
4154
4548
  }, "strip", z.ZodTypeAny, {
4155
4549
  id: string;
4156
4550
  offset?: [number, number] | undefined;
4157
- anchor?: number | import('..').RectAnchor | {
4551
+ anchor?: string | number | {
4158
4552
  side: "north" | "south" | "east" | "west";
4159
4553
  t: number;
4160
4554
  } | undefined;
4555
+ boundary?: string | {
4556
+ type: string;
4557
+ params?: Record<string, import('./json').JsonValue> | undefined;
4558
+ } | undefined;
4161
4559
  }, {
4162
4560
  id: string;
4163
4561
  offset?: [number, number] | undefined;
4164
- anchor?: number | import('..').RectAnchor | {
4562
+ anchor?: string | number | {
4165
4563
  side: "north" | "south" | "east" | "west";
4166
4564
  t: number;
4167
4565
  } | undefined;
4566
+ boundary?: string | {
4567
+ type: string;
4568
+ params?: Record<string, import('./json').JsonValue> | undefined;
4569
+ } | undefined;
4168
4570
  }>, z.ZodObject<{
4169
4571
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
4170
4572
  }, "strip", z.ZodTypeAny, {
@@ -4236,22 +4638,26 @@ export declare const ScopeSchema: z.ZodObject<{
4236
4638
  }>>;
4237
4639
  }, "strip", z.ZodTypeAny, {
4238
4640
  type: "step";
4641
+ kind: "step";
4239
4642
  to: [number, number] | import('./position').PolarPosition | {
4240
4643
  of: string | [number, number] | import('./position').PolarPosition;
4241
4644
  offset: [number, number];
4242
4645
  } | {
4243
4646
  id: string;
4244
4647
  offset?: [number, number] | undefined;
4245
- anchor?: number | import('..').RectAnchor | {
4648
+ anchor?: string | number | {
4246
4649
  side: "north" | "south" | "east" | "west";
4247
4650
  t: number;
4248
4651
  } | undefined;
4652
+ boundary?: string | {
4653
+ type: string;
4654
+ params?: Record<string, import('./json').JsonValue> | undefined;
4655
+ } | undefined;
4249
4656
  } | {
4250
4657
  relative: [number, number];
4251
4658
  } | {
4252
4659
  relativeAccumulate: [number, number];
4253
4660
  } | import('./position').IRBetweenPosition;
4254
- kind: "step";
4255
4661
  via: "-|" | "|-";
4256
4662
  label?: {
4257
4663
  text: string;
@@ -4268,22 +4674,26 @@ export declare const ScopeSchema: z.ZodObject<{
4268
4674
  } | undefined;
4269
4675
  }, {
4270
4676
  type: "step";
4677
+ kind: "step";
4271
4678
  to: [number, number] | import('./position').PolarPosition | {
4272
4679
  of: string | [number, number] | import('./position').PolarPosition;
4273
4680
  offset: [number, number];
4274
4681
  } | {
4275
4682
  id: string;
4276
4683
  offset?: [number, number] | undefined;
4277
- anchor?: number | import('..').RectAnchor | {
4684
+ anchor?: string | number | {
4278
4685
  side: "north" | "south" | "east" | "west";
4279
4686
  t: number;
4280
4687
  } | undefined;
4688
+ boundary?: string | {
4689
+ type: string;
4690
+ params?: Record<string, import('./json').JsonValue> | undefined;
4691
+ } | undefined;
4281
4692
  } | {
4282
4693
  relative: [number, number];
4283
4694
  } | {
4284
4695
  relativeAccumulate: [number, number];
4285
4696
  } | import('./position').IRBetweenPosition;
4286
- kind: "step";
4287
4697
  via: "-|" | "|-";
4288
4698
  label?: {
4289
4699
  text: string;
@@ -4312,7 +4722,7 @@ export declare const ScopeSchema: z.ZodObject<{
4312
4722
  kind: z.ZodLiteral<"curve">;
4313
4723
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
4314
4724
  id: z.ZodString;
4315
- 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<{
4316
4726
  side: z.ZodEnum<["north", "south", "east", "west"]>;
4317
4727
  t: z.ZodNumber;
4318
4728
  }, "strip", z.ZodTypeAny, {
@@ -4323,20 +4733,38 @@ export declare const ScopeSchema: z.ZodObject<{
4323
4733
  t: number;
4324
4734
  }>]>>;
4325
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
+ }>]>>;
4326
4746
  }, "strip", z.ZodTypeAny, {
4327
4747
  id: string;
4328
4748
  offset?: [number, number] | undefined;
4329
- anchor?: number | import('..').RectAnchor | {
4749
+ anchor?: string | number | {
4330
4750
  side: "north" | "south" | "east" | "west";
4331
4751
  t: number;
4332
4752
  } | undefined;
4753
+ boundary?: string | {
4754
+ type: string;
4755
+ params?: Record<string, import('./json').JsonValue> | undefined;
4756
+ } | undefined;
4333
4757
  }, {
4334
4758
  id: string;
4335
4759
  offset?: [number, number] | undefined;
4336
- anchor?: number | import('..').RectAnchor | {
4760
+ anchor?: string | number | {
4337
4761
  side: "north" | "south" | "east" | "west";
4338
4762
  t: number;
4339
4763
  } | undefined;
4764
+ boundary?: string | {
4765
+ type: string;
4766
+ params?: Record<string, import('./json').JsonValue> | undefined;
4767
+ } | undefined;
4340
4768
  }>, z.ZodObject<{
4341
4769
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
4342
4770
  }, "strip", z.ZodTypeAny, {
@@ -4409,22 +4837,26 @@ export declare const ScopeSchema: z.ZodObject<{
4409
4837
  }>>;
4410
4838
  }, "strip", z.ZodTypeAny, {
4411
4839
  type: "step";
4840
+ kind: "curve";
4412
4841
  to: [number, number] | import('./position').PolarPosition | {
4413
4842
  of: string | [number, number] | import('./position').PolarPosition;
4414
4843
  offset: [number, number];
4415
4844
  } | {
4416
4845
  id: string;
4417
4846
  offset?: [number, number] | undefined;
4418
- anchor?: number | import('..').RectAnchor | {
4847
+ anchor?: string | number | {
4419
4848
  side: "north" | "south" | "east" | "west";
4420
4849
  t: number;
4421
4850
  } | undefined;
4851
+ boundary?: string | {
4852
+ type: string;
4853
+ params?: Record<string, import('./json').JsonValue> | undefined;
4854
+ } | undefined;
4422
4855
  } | {
4423
4856
  relative: [number, number];
4424
4857
  } | {
4425
4858
  relativeAccumulate: [number, number];
4426
4859
  } | import('./position').IRBetweenPosition;
4427
- kind: "curve";
4428
4860
  control: [number, number];
4429
4861
  label?: {
4430
4862
  text: string;
@@ -4441,22 +4873,26 @@ export declare const ScopeSchema: z.ZodObject<{
4441
4873
  } | undefined;
4442
4874
  }, {
4443
4875
  type: "step";
4876
+ kind: "curve";
4444
4877
  to: [number, number] | import('./position').PolarPosition | {
4445
4878
  of: string | [number, number] | import('./position').PolarPosition;
4446
4879
  offset: [number, number];
4447
4880
  } | {
4448
4881
  id: string;
4449
4882
  offset?: [number, number] | undefined;
4450
- anchor?: number | import('..').RectAnchor | {
4883
+ anchor?: string | number | {
4451
4884
  side: "north" | "south" | "east" | "west";
4452
4885
  t: number;
4453
4886
  } | undefined;
4887
+ boundary?: string | {
4888
+ type: string;
4889
+ params?: Record<string, import('./json').JsonValue> | undefined;
4890
+ } | undefined;
4454
4891
  } | {
4455
4892
  relative: [number, number];
4456
4893
  } | {
4457
4894
  relativeAccumulate: [number, number];
4458
4895
  } | import('./position').IRBetweenPosition;
4459
- kind: "curve";
4460
4896
  control: [number, number];
4461
4897
  label?: {
4462
4898
  text: string;
@@ -4476,7 +4912,7 @@ export declare const ScopeSchema: z.ZodObject<{
4476
4912
  kind: z.ZodLiteral<"cubic">;
4477
4913
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
4478
4914
  id: z.ZodString;
4479
- 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<{
4480
4916
  side: z.ZodEnum<["north", "south", "east", "west"]>;
4481
4917
  t: z.ZodNumber;
4482
4918
  }, "strip", z.ZodTypeAny, {
@@ -4487,20 +4923,38 @@ export declare const ScopeSchema: z.ZodObject<{
4487
4923
  t: number;
4488
4924
  }>]>>;
4489
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
+ }>]>>;
4490
4936
  }, "strip", z.ZodTypeAny, {
4491
4937
  id: string;
4492
4938
  offset?: [number, number] | undefined;
4493
- anchor?: number | import('..').RectAnchor | {
4939
+ anchor?: string | number | {
4494
4940
  side: "north" | "south" | "east" | "west";
4495
4941
  t: number;
4496
4942
  } | undefined;
4943
+ boundary?: string | {
4944
+ type: string;
4945
+ params?: Record<string, import('./json').JsonValue> | undefined;
4946
+ } | undefined;
4497
4947
  }, {
4498
4948
  id: string;
4499
4949
  offset?: [number, number] | undefined;
4500
- anchor?: number | import('..').RectAnchor | {
4950
+ anchor?: string | number | {
4501
4951
  side: "north" | "south" | "east" | "west";
4502
4952
  t: number;
4503
4953
  } | undefined;
4954
+ boundary?: string | {
4955
+ type: string;
4956
+ params?: Record<string, import('./json').JsonValue> | undefined;
4957
+ } | undefined;
4504
4958
  }>, z.ZodObject<{
4505
4959
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
4506
4960
  }, "strip", z.ZodTypeAny, {
@@ -4574,22 +5028,26 @@ export declare const ScopeSchema: z.ZodObject<{
4574
5028
  }>>;
4575
5029
  }, "strip", z.ZodTypeAny, {
4576
5030
  type: "step";
5031
+ kind: "cubic";
4577
5032
  to: [number, number] | import('./position').PolarPosition | {
4578
5033
  of: string | [number, number] | import('./position').PolarPosition;
4579
5034
  offset: [number, number];
4580
5035
  } | {
4581
5036
  id: string;
4582
5037
  offset?: [number, number] | undefined;
4583
- anchor?: number | import('..').RectAnchor | {
5038
+ anchor?: string | number | {
4584
5039
  side: "north" | "south" | "east" | "west";
4585
5040
  t: number;
4586
5041
  } | undefined;
5042
+ boundary?: string | {
5043
+ type: string;
5044
+ params?: Record<string, import('./json').JsonValue> | undefined;
5045
+ } | undefined;
4587
5046
  } | {
4588
5047
  relative: [number, number];
4589
5048
  } | {
4590
5049
  relativeAccumulate: [number, number];
4591
5050
  } | import('./position').IRBetweenPosition;
4592
- kind: "cubic";
4593
5051
  control1: [number, number];
4594
5052
  control2: [number, number];
4595
5053
  label?: {
@@ -4607,22 +5065,26 @@ export declare const ScopeSchema: z.ZodObject<{
4607
5065
  } | undefined;
4608
5066
  }, {
4609
5067
  type: "step";
5068
+ kind: "cubic";
4610
5069
  to: [number, number] | import('./position').PolarPosition | {
4611
5070
  of: string | [number, number] | import('./position').PolarPosition;
4612
5071
  offset: [number, number];
4613
5072
  } | {
4614
5073
  id: string;
4615
5074
  offset?: [number, number] | undefined;
4616
- anchor?: number | import('..').RectAnchor | {
5075
+ anchor?: string | number | {
4617
5076
  side: "north" | "south" | "east" | "west";
4618
5077
  t: number;
4619
5078
  } | undefined;
5079
+ boundary?: string | {
5080
+ type: string;
5081
+ params?: Record<string, import('./json').JsonValue> | undefined;
5082
+ } | undefined;
4620
5083
  } | {
4621
5084
  relative: [number, number];
4622
5085
  } | {
4623
5086
  relativeAccumulate: [number, number];
4624
5087
  } | import('./position').IRBetweenPosition;
4625
- kind: "cubic";
4626
5088
  control1: [number, number];
4627
5089
  control2: [number, number];
4628
5090
  label?: {
@@ -4643,7 +5105,7 @@ export declare const ScopeSchema: z.ZodObject<{
4643
5105
  kind: z.ZodLiteral<"bend">;
4644
5106
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
4645
5107
  id: z.ZodString;
4646
- 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<{
4647
5109
  side: z.ZodEnum<["north", "south", "east", "west"]>;
4648
5110
  t: z.ZodNumber;
4649
5111
  }, "strip", z.ZodTypeAny, {
@@ -4654,20 +5116,38 @@ export declare const ScopeSchema: z.ZodObject<{
4654
5116
  t: number;
4655
5117
  }>]>>;
4656
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
+ }>]>>;
4657
5129
  }, "strip", z.ZodTypeAny, {
4658
5130
  id: string;
4659
5131
  offset?: [number, number] | undefined;
4660
- anchor?: number | import('..').RectAnchor | {
5132
+ anchor?: string | number | {
4661
5133
  side: "north" | "south" | "east" | "west";
4662
5134
  t: number;
4663
5135
  } | undefined;
5136
+ boundary?: string | {
5137
+ type: string;
5138
+ params?: Record<string, import('./json').JsonValue> | undefined;
5139
+ } | undefined;
4664
5140
  }, {
4665
5141
  id: string;
4666
5142
  offset?: [number, number] | undefined;
4667
- anchor?: number | import('..').RectAnchor | {
5143
+ anchor?: string | number | {
4668
5144
  side: "north" | "south" | "east" | "west";
4669
5145
  t: number;
4670
5146
  } | undefined;
5147
+ boundary?: string | {
5148
+ type: string;
5149
+ params?: Record<string, import('./json').JsonValue> | undefined;
5150
+ } | undefined;
4671
5151
  }>, z.ZodObject<{
4672
5152
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
4673
5153
  }, "strip", z.ZodTypeAny, {
@@ -4744,22 +5224,26 @@ export declare const ScopeSchema: z.ZodObject<{
4744
5224
  }>>;
4745
5225
  }, "strip", z.ZodTypeAny, {
4746
5226
  type: "step";
5227
+ kind: "bend";
4747
5228
  to: [number, number] | import('./position').PolarPosition | {
4748
5229
  of: string | [number, number] | import('./position').PolarPosition;
4749
5230
  offset: [number, number];
4750
5231
  } | {
4751
5232
  id: string;
4752
5233
  offset?: [number, number] | undefined;
4753
- anchor?: number | import('..').RectAnchor | {
5234
+ anchor?: string | number | {
4754
5235
  side: "north" | "south" | "east" | "west";
4755
5236
  t: number;
4756
5237
  } | undefined;
5238
+ boundary?: string | {
5239
+ type: string;
5240
+ params?: Record<string, import('./json').JsonValue> | undefined;
5241
+ } | undefined;
4757
5242
  } | {
4758
5243
  relative: [number, number];
4759
5244
  } | {
4760
5245
  relativeAccumulate: [number, number];
4761
5246
  } | import('./position').IRBetweenPosition;
4762
- kind: "bend";
4763
5247
  label?: {
4764
5248
  text: string;
4765
5249
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -4780,22 +5264,26 @@ export declare const ScopeSchema: z.ZodObject<{
4780
5264
  looseness?: number | undefined;
4781
5265
  }, {
4782
5266
  type: "step";
5267
+ kind: "bend";
4783
5268
  to: [number, number] | import('./position').PolarPosition | {
4784
5269
  of: string | [number, number] | import('./position').PolarPosition;
4785
5270
  offset: [number, number];
4786
5271
  } | {
4787
5272
  id: string;
4788
5273
  offset?: [number, number] | undefined;
4789
- anchor?: number | import('..').RectAnchor | {
5274
+ anchor?: string | number | {
4790
5275
  side: "north" | "south" | "east" | "west";
4791
5276
  t: number;
4792
5277
  } | undefined;
5278
+ boundary?: string | {
5279
+ type: string;
5280
+ params?: Record<string, import('./json').JsonValue> | undefined;
5281
+ } | undefined;
4793
5282
  } | {
4794
5283
  relative: [number, number];
4795
5284
  } | {
4796
5285
  relativeAccumulate: [number, number];
4797
5286
  } | import('./position').IRBetweenPosition;
4798
- kind: "bend";
4799
5287
  label?: {
4800
5288
  text: string;
4801
5289
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -4824,7 +5312,7 @@ export declare const ScopeSchema: z.ZodObject<{
4824
5312
  radiusY: z.ZodOptional<z.ZodNumber>;
4825
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<{
4826
5314
  id: z.ZodString;
4827
- 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<{
4828
5316
  side: z.ZodEnum<["north", "south", "east", "west"]>;
4829
5317
  t: z.ZodNumber;
4830
5318
  }, "strip", z.ZodTypeAny, {
@@ -4835,20 +5323,38 @@ export declare const ScopeSchema: z.ZodObject<{
4835
5323
  t: number;
4836
5324
  }>]>>;
4837
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
+ }>]>>;
4838
5336
  }, "strip", z.ZodTypeAny, {
4839
5337
  id: string;
4840
5338
  offset?: [number, number] | undefined;
4841
- anchor?: number | import('..').RectAnchor | {
5339
+ anchor?: string | number | {
4842
5340
  side: "north" | "south" | "east" | "west";
4843
5341
  t: number;
4844
5342
  } | undefined;
5343
+ boundary?: string | {
5344
+ type: string;
5345
+ params?: Record<string, import('./json').JsonValue> | undefined;
5346
+ } | undefined;
4845
5347
  }, {
4846
5348
  id: string;
4847
5349
  offset?: [number, number] | undefined;
4848
- anchor?: number | import('..').RectAnchor | {
5350
+ anchor?: string | number | {
4849
5351
  side: "north" | "south" | "east" | "west";
4850
5352
  t: number;
4851
5353
  } | undefined;
5354
+ boundary?: string | {
5355
+ type: string;
5356
+ params?: Record<string, import('./json').JsonValue> | undefined;
5357
+ } | undefined;
4852
5358
  }>, z.ZodObject<{
4853
5359
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
4854
5360
  }, "strip", z.ZodTypeAny, {
@@ -4920,9 +5426,9 @@ export declare const ScopeSchema: z.ZodObject<{
4920
5426
  }>>;
4921
5427
  }, "strip", z.ZodTypeAny, {
4922
5428
  type: "step";
5429
+ kind: "arc";
4923
5430
  startAngle: number;
4924
5431
  endAngle: number;
4925
- kind: "arc";
4926
5432
  radius?: number | undefined;
4927
5433
  center?: [number, number] | import('./position').PolarPosition | {
4928
5434
  of: string | [number, number] | import('./position').PolarPosition;
@@ -4930,10 +5436,14 @@ export declare const ScopeSchema: z.ZodObject<{
4930
5436
  } | {
4931
5437
  id: string;
4932
5438
  offset?: [number, number] | undefined;
4933
- anchor?: number | import('..').RectAnchor | {
5439
+ anchor?: string | number | {
4934
5440
  side: "north" | "south" | "east" | "west";
4935
5441
  t: number;
4936
5442
  } | undefined;
5443
+ boundary?: string | {
5444
+ type: string;
5445
+ params?: Record<string, import('./json').JsonValue> | undefined;
5446
+ } | undefined;
4937
5447
  } | {
4938
5448
  relative: [number, number];
4939
5449
  } | {
@@ -4956,9 +5466,9 @@ export declare const ScopeSchema: z.ZodObject<{
4956
5466
  radiusY?: number | undefined;
4957
5467
  }, {
4958
5468
  type: "step";
5469
+ kind: "arc";
4959
5470
  startAngle: number;
4960
5471
  endAngle: number;
4961
- kind: "arc";
4962
5472
  radius?: number | undefined;
4963
5473
  center?: [number, number] | import('./position').PolarPosition | {
4964
5474
  of: string | [number, number] | import('./position').PolarPosition;
@@ -4966,10 +5476,14 @@ export declare const ScopeSchema: z.ZodObject<{
4966
5476
  } | {
4967
5477
  id: string;
4968
5478
  offset?: [number, number] | undefined;
4969
- anchor?: number | import('..').RectAnchor | {
5479
+ anchor?: string | number | {
4970
5480
  side: "north" | "south" | "east" | "west";
4971
5481
  t: number;
4972
5482
  } | undefined;
5483
+ boundary?: string | {
5484
+ type: string;
5485
+ params?: Record<string, import('./json').JsonValue> | undefined;
5486
+ } | undefined;
4973
5487
  } | {
4974
5488
  relative: [number, number];
4975
5489
  } | {
@@ -5048,8 +5562,6 @@ export declare const ScopeSchema: z.ZodObject<{
5048
5562
  type: "step";
5049
5563
  radius: number;
5050
5564
  kind: "circlePath";
5051
- startAngle?: number | undefined;
5052
- endAngle?: number | undefined;
5053
5565
  label?: {
5054
5566
  text: string;
5055
5567
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -5063,13 +5575,13 @@ export declare const ScopeSchema: z.ZodObject<{
5063
5575
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
5064
5576
  textColor?: string | undefined;
5065
5577
  } | undefined;
5578
+ startAngle?: number | undefined;
5579
+ endAngle?: number | undefined;
5066
5580
  closed?: "open" | "closed" | "chord" | "sector" | undefined;
5067
5581
  }, {
5068
5582
  type: "step";
5069
5583
  radius: number;
5070
5584
  kind: "circlePath";
5071
- startAngle?: number | undefined;
5072
- endAngle?: number | undefined;
5073
5585
  label?: {
5074
5586
  text: string;
5075
5587
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -5083,6 +5595,8 @@ export declare const ScopeSchema: z.ZodObject<{
5083
5595
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
5084
5596
  textColor?: string | undefined;
5085
5597
  } | undefined;
5598
+ startAngle?: number | undefined;
5599
+ endAngle?: number | undefined;
5086
5600
  closed?: "open" | "closed" | "chord" | "sector" | undefined;
5087
5601
  }>, z.ZodObject<{
5088
5602
  type: z.ZodLiteral<"step">;
@@ -5144,8 +5658,6 @@ export declare const ScopeSchema: z.ZodObject<{
5144
5658
  kind: "ellipsePath";
5145
5659
  radiusX: number;
5146
5660
  radiusY: number;
5147
- startAngle?: number | undefined;
5148
- endAngle?: number | undefined;
5149
5661
  label?: {
5150
5662
  text: string;
5151
5663
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -5159,14 +5671,14 @@ export declare const ScopeSchema: z.ZodObject<{
5159
5671
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
5160
5672
  textColor?: string | undefined;
5161
5673
  } | undefined;
5674
+ startAngle?: number | undefined;
5675
+ endAngle?: number | undefined;
5162
5676
  closed?: "open" | "closed" | "chord" | "sector" | undefined;
5163
5677
  }, {
5164
5678
  type: "step";
5165
5679
  kind: "ellipsePath";
5166
5680
  radiusX: number;
5167
5681
  radiusY: number;
5168
- startAngle?: number | undefined;
5169
- endAngle?: number | undefined;
5170
5682
  label?: {
5171
5683
  text: string;
5172
5684
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -5180,13 +5692,15 @@ export declare const ScopeSchema: z.ZodObject<{
5180
5692
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
5181
5693
  textColor?: string | undefined;
5182
5694
  } | undefined;
5695
+ startAngle?: number | undefined;
5696
+ endAngle?: number | undefined;
5183
5697
  closed?: "open" | "closed" | "chord" | "sector" | undefined;
5184
5698
  }>, z.ZodObject<{
5185
5699
  type: z.ZodLiteral<"step">;
5186
5700
  kind: z.ZodLiteral<"rectangle">;
5187
5701
  from: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
5188
5702
  id: z.ZodString;
5189
- 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<{
5190
5704
  side: z.ZodEnum<["north", "south", "east", "west"]>;
5191
5705
  t: z.ZodNumber;
5192
5706
  }, "strip", z.ZodTypeAny, {
@@ -5197,20 +5711,38 @@ export declare const ScopeSchema: z.ZodObject<{
5197
5711
  t: number;
5198
5712
  }>]>>;
5199
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
+ }>]>>;
5200
5724
  }, "strip", z.ZodTypeAny, {
5201
5725
  id: string;
5202
5726
  offset?: [number, number] | undefined;
5203
- anchor?: number | import('..').RectAnchor | {
5727
+ anchor?: string | number | {
5204
5728
  side: "north" | "south" | "east" | "west";
5205
5729
  t: number;
5206
5730
  } | undefined;
5731
+ boundary?: string | {
5732
+ type: string;
5733
+ params?: Record<string, import('./json').JsonValue> | undefined;
5734
+ } | undefined;
5207
5735
  }, {
5208
5736
  id: string;
5209
5737
  offset?: [number, number] | undefined;
5210
- anchor?: number | import('..').RectAnchor | {
5738
+ anchor?: string | number | {
5211
5739
  side: "north" | "south" | "east" | "west";
5212
5740
  t: number;
5213
5741
  } | undefined;
5742
+ boundary?: string | {
5743
+ type: string;
5744
+ params?: Record<string, import('./json').JsonValue> | undefined;
5745
+ } | undefined;
5214
5746
  }>, z.ZodObject<{
5215
5747
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
5216
5748
  }, "strip", z.ZodTypeAny, {
@@ -5235,7 +5767,7 @@ export declare const ScopeSchema: z.ZodObject<{
5235
5767
  }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
5236
5768
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
5237
5769
  id: z.ZodString;
5238
- 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<{
5239
5771
  side: z.ZodEnum<["north", "south", "east", "west"]>;
5240
5772
  t: z.ZodNumber;
5241
5773
  }, "strip", z.ZodTypeAny, {
@@ -5246,20 +5778,38 @@ export declare const ScopeSchema: z.ZodObject<{
5246
5778
  t: number;
5247
5779
  }>]>>;
5248
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
+ }>]>>;
5249
5791
  }, "strip", z.ZodTypeAny, {
5250
5792
  id: string;
5251
5793
  offset?: [number, number] | undefined;
5252
- anchor?: number | import('..').RectAnchor | {
5794
+ anchor?: string | number | {
5253
5795
  side: "north" | "south" | "east" | "west";
5254
5796
  t: number;
5255
5797
  } | undefined;
5798
+ boundary?: string | {
5799
+ type: string;
5800
+ params?: Record<string, import('./json').JsonValue> | undefined;
5801
+ } | undefined;
5256
5802
  }, {
5257
5803
  id: string;
5258
5804
  offset?: [number, number] | undefined;
5259
- anchor?: number | import('..').RectAnchor | {
5805
+ anchor?: string | number | {
5260
5806
  side: "north" | "south" | "east" | "west";
5261
5807
  t: number;
5262
5808
  } | undefined;
5809
+ boundary?: string | {
5810
+ type: string;
5811
+ params?: Record<string, import('./json').JsonValue> | undefined;
5812
+ } | undefined;
5263
5813
  }>, z.ZodObject<{
5264
5814
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
5265
5815
  }, "strip", z.ZodTypeAny, {
@@ -5282,82 +5832,98 @@ export declare const ScopeSchema: z.ZodObject<{
5282
5832
  of: string | [number, number] | import('./position').PolarPosition;
5283
5833
  offset: [number, number];
5284
5834
  }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
5285
- roundedCorners: z.ZodOptional<z.ZodNumber>;
5835
+ cornerRadius: z.ZodOptional<z.ZodNumber>;
5286
5836
  }, "strip", z.ZodTypeAny, {
5287
5837
  type: "step";
5838
+ kind: "rectangle";
5288
5839
  to: [number, number] | import('./position').PolarPosition | {
5289
5840
  of: string | [number, number] | import('./position').PolarPosition;
5290
5841
  offset: [number, number];
5291
5842
  } | {
5292
5843
  id: string;
5293
5844
  offset?: [number, number] | undefined;
5294
- anchor?: number | import('..').RectAnchor | {
5845
+ anchor?: string | number | {
5295
5846
  side: "north" | "south" | "east" | "west";
5296
5847
  t: number;
5297
5848
  } | undefined;
5849
+ boundary?: string | {
5850
+ type: string;
5851
+ params?: Record<string, import('./json').JsonValue> | undefined;
5852
+ } | undefined;
5298
5853
  } | {
5299
5854
  relative: [number, number];
5300
5855
  } | {
5301
5856
  relativeAccumulate: [number, number];
5302
5857
  } | import('./position').IRBetweenPosition;
5303
- kind: "rectangle";
5304
5858
  from: [number, number] | import('./position').PolarPosition | {
5305
5859
  of: string | [number, number] | import('./position').PolarPosition;
5306
5860
  offset: [number, number];
5307
5861
  } | {
5308
5862
  id: string;
5309
5863
  offset?: [number, number] | undefined;
5310
- anchor?: number | import('..').RectAnchor | {
5864
+ anchor?: string | number | {
5311
5865
  side: "north" | "south" | "east" | "west";
5312
5866
  t: number;
5313
5867
  } | undefined;
5868
+ boundary?: string | {
5869
+ type: string;
5870
+ params?: Record<string, import('./json').JsonValue> | undefined;
5871
+ } | undefined;
5314
5872
  } | {
5315
5873
  relative: [number, number];
5316
5874
  } | {
5317
5875
  relativeAccumulate: [number, number];
5318
5876
  } | import('./position').IRBetweenPosition;
5319
- roundedCorners?: number | undefined;
5877
+ cornerRadius?: number | undefined;
5320
5878
  }, {
5321
5879
  type: "step";
5880
+ kind: "rectangle";
5322
5881
  to: [number, number] | import('./position').PolarPosition | {
5323
5882
  of: string | [number, number] | import('./position').PolarPosition;
5324
5883
  offset: [number, number];
5325
5884
  } | {
5326
5885
  id: string;
5327
5886
  offset?: [number, number] | undefined;
5328
- anchor?: number | import('..').RectAnchor | {
5887
+ anchor?: string | number | {
5329
5888
  side: "north" | "south" | "east" | "west";
5330
5889
  t: number;
5331
5890
  } | undefined;
5891
+ boundary?: string | {
5892
+ type: string;
5893
+ params?: Record<string, import('./json').JsonValue> | undefined;
5894
+ } | undefined;
5332
5895
  } | {
5333
5896
  relative: [number, number];
5334
5897
  } | {
5335
5898
  relativeAccumulate: [number, number];
5336
5899
  } | import('./position').IRBetweenPosition;
5337
- kind: "rectangle";
5338
5900
  from: [number, number] | import('./position').PolarPosition | {
5339
5901
  of: string | [number, number] | import('./position').PolarPosition;
5340
5902
  offset: [number, number];
5341
5903
  } | {
5342
5904
  id: string;
5343
5905
  offset?: [number, number] | undefined;
5344
- anchor?: number | import('..').RectAnchor | {
5906
+ anchor?: string | number | {
5345
5907
  side: "north" | "south" | "east" | "west";
5346
5908
  t: number;
5347
5909
  } | undefined;
5910
+ boundary?: string | {
5911
+ type: string;
5912
+ params?: Record<string, import('./json').JsonValue> | undefined;
5913
+ } | undefined;
5348
5914
  } | {
5349
5915
  relative: [number, number];
5350
5916
  } | {
5351
5917
  relativeAccumulate: [number, number];
5352
5918
  } | import('./position').IRBetweenPosition;
5353
- roundedCorners?: number | undefined;
5919
+ cornerRadius?: number | undefined;
5354
5920
  }>, z.ZodObject<{
5355
5921
  type: z.ZodLiteral<"step">;
5356
5922
  kind: z.ZodLiteral<"generator">;
5357
5923
  name: z.ZodString;
5358
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<{
5359
5925
  id: z.ZodString;
5360
- 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<{
5361
5927
  side: z.ZodEnum<["north", "south", "east", "west"]>;
5362
5928
  t: z.ZodNumber;
5363
5929
  }, "strip", z.ZodTypeAny, {
@@ -5368,20 +5934,38 @@ export declare const ScopeSchema: z.ZodObject<{
5368
5934
  t: number;
5369
5935
  }>]>>;
5370
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
+ }>]>>;
5371
5947
  }, "strip", z.ZodTypeAny, {
5372
5948
  id: string;
5373
5949
  offset?: [number, number] | undefined;
5374
- anchor?: number | import('..').RectAnchor | {
5950
+ anchor?: string | number | {
5375
5951
  side: "north" | "south" | "east" | "west";
5376
5952
  t: number;
5377
5953
  } | undefined;
5954
+ boundary?: string | {
5955
+ type: string;
5956
+ params?: Record<string, import('./json').JsonValue> | undefined;
5957
+ } | undefined;
5378
5958
  }, {
5379
5959
  id: string;
5380
5960
  offset?: [number, number] | undefined;
5381
- anchor?: number | import('..').RectAnchor | {
5961
+ anchor?: string | number | {
5382
5962
  side: "north" | "south" | "east" | "west";
5383
5963
  t: number;
5384
5964
  } | undefined;
5965
+ boundary?: string | {
5966
+ type: string;
5967
+ params?: Record<string, import('./json').JsonValue> | undefined;
5968
+ } | undefined;
5385
5969
  }>, z.ZodObject<{
5386
5970
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
5387
5971
  }, "strip", z.ZodTypeAny, {
@@ -5463,10 +6047,14 @@ export declare const ScopeSchema: z.ZodObject<{
5463
6047
  } | {
5464
6048
  id: string;
5465
6049
  offset?: [number, number] | undefined;
5466
- anchor?: number | import('..').RectAnchor | {
6050
+ anchor?: string | number | {
5467
6051
  side: "north" | "south" | "east" | "west";
5468
6052
  t: number;
5469
6053
  } | undefined;
6054
+ boundary?: string | {
6055
+ type: string;
6056
+ params?: Record<string, import('./json').JsonValue> | undefined;
6057
+ } | undefined;
5470
6058
  } | {
5471
6059
  relative: [number, number];
5472
6060
  } | {
@@ -5496,10 +6084,14 @@ export declare const ScopeSchema: z.ZodObject<{
5496
6084
  } | {
5497
6085
  id: string;
5498
6086
  offset?: [number, number] | undefined;
5499
- anchor?: number | import('..').RectAnchor | {
6087
+ anchor?: string | number | {
5500
6088
  side: "north" | "south" | "east" | "west";
5501
6089
  t: number;
5502
6090
  } | undefined;
6091
+ boundary?: string | {
6092
+ type: string;
6093
+ params?: Record<string, import('./json').JsonValue> | undefined;
6094
+ } | undefined;
5503
6095
  } | {
5504
6096
  relative: [number, number];
5505
6097
  } | {
@@ -5519,7 +6111,7 @@ export declare const ScopeSchema: z.ZodObject<{
5519
6111
  textColor?: string | undefined;
5520
6112
  } | undefined;
5521
6113
  }>]>, "many">;
5522
- }, "type" | "arrow" | "arrowDetail" | "zIndex" | "children">, "strict", z.ZodTypeAny, {
6114
+ }, "type" | "arrow" | "meta" | "arrowDetail" | "zIndex" | "children">, "strict", z.ZodTypeAny, {
5523
6115
  fill?: string | {
5524
6116
  type: "linearGradient";
5525
6117
  stops: {
@@ -5573,9 +6165,9 @@ export declare const ScopeSchema: z.ZodObject<{
5573
6165
  kind: "arrow";
5574
6166
  length?: number | undefined;
5575
6167
  fill?: string | undefined;
6168
+ shape?: string | undefined;
5576
6169
  color?: string | undefined;
5577
6170
  opacity?: number | undefined;
5578
- shape?: string | undefined;
5579
6171
  lineWidth?: number | undefined;
5580
6172
  width?: number | undefined;
5581
6173
  scale?: number | undefined;
@@ -5635,9 +6227,9 @@ export declare const ScopeSchema: z.ZodObject<{
5635
6227
  kind: "arrow";
5636
6228
  length?: number | undefined;
5637
6229
  fill?: string | undefined;
6230
+ shape?: string | undefined;
5638
6231
  color?: string | undefined;
5639
6232
  opacity?: number | undefined;
5640
- shape?: string | undefined;
5641
6233
  lineWidth?: number | undefined;
5642
6234
  width?: number | undefined;
5643
6235
  scale?: number | undefined;
@@ -5707,18 +6299,18 @@ export declare const ScopeSchema: z.ZodObject<{
5707
6299
  }, "strip", z.ZodTypeAny, {
5708
6300
  length?: number | undefined;
5709
6301
  fill?: string | undefined;
6302
+ shape?: string | undefined;
5710
6303
  color?: string | undefined;
5711
6304
  opacity?: number | undefined;
5712
- shape?: string | undefined;
5713
6305
  lineWidth?: number | undefined;
5714
6306
  width?: number | undefined;
5715
6307
  scale?: number | undefined;
5716
6308
  }, {
5717
6309
  length?: number | undefined;
5718
6310
  fill?: string | undefined;
6311
+ shape?: string | undefined;
5719
6312
  color?: string | undefined;
5720
6313
  opacity?: number | undefined;
5721
- shape?: string | undefined;
5722
6314
  lineWidth?: number | undefined;
5723
6315
  width?: number | undefined;
5724
6316
  scale?: number | undefined;
@@ -5735,18 +6327,18 @@ export declare const ScopeSchema: z.ZodObject<{
5735
6327
  }, "strip", z.ZodTypeAny, {
5736
6328
  length?: number | undefined;
5737
6329
  fill?: string | undefined;
6330
+ shape?: string | undefined;
5738
6331
  color?: string | undefined;
5739
6332
  opacity?: number | undefined;
5740
- shape?: string | undefined;
5741
6333
  lineWidth?: number | undefined;
5742
6334
  width?: number | undefined;
5743
6335
  scale?: number | undefined;
5744
6336
  }, {
5745
6337
  length?: number | undefined;
5746
6338
  fill?: string | undefined;
6339
+ shape?: string | undefined;
5747
6340
  color?: string | undefined;
5748
6341
  opacity?: number | undefined;
5749
- shape?: string | undefined;
5750
6342
  lineWidth?: number | undefined;
5751
6343
  width?: number | undefined;
5752
6344
  scale?: number | undefined;
@@ -5754,18 +6346,18 @@ export declare const ScopeSchema: z.ZodObject<{
5754
6346
  }, "strip", z.ZodTypeAny, {
5755
6347
  length?: number | undefined;
5756
6348
  fill?: string | undefined;
6349
+ shape?: string | undefined;
5757
6350
  color?: string | undefined;
5758
6351
  opacity?: number | undefined;
5759
- shape?: string | undefined;
5760
6352
  lineWidth?: number | undefined;
5761
6353
  width?: number | undefined;
5762
6354
  scale?: number | undefined;
5763
6355
  start?: {
5764
6356
  length?: number | undefined;
5765
6357
  fill?: string | undefined;
6358
+ shape?: string | undefined;
5766
6359
  color?: string | undefined;
5767
6360
  opacity?: number | undefined;
5768
- shape?: string | undefined;
5769
6361
  lineWidth?: number | undefined;
5770
6362
  width?: number | undefined;
5771
6363
  scale?: number | undefined;
@@ -5773,9 +6365,9 @@ export declare const ScopeSchema: z.ZodObject<{
5773
6365
  end?: {
5774
6366
  length?: number | undefined;
5775
6367
  fill?: string | undefined;
6368
+ shape?: string | undefined;
5776
6369
  color?: string | undefined;
5777
6370
  opacity?: number | undefined;
5778
- shape?: string | undefined;
5779
6371
  lineWidth?: number | undefined;
5780
6372
  width?: number | undefined;
5781
6373
  scale?: number | undefined;
@@ -5783,18 +6375,18 @@ export declare const ScopeSchema: z.ZodObject<{
5783
6375
  }, {
5784
6376
  length?: number | undefined;
5785
6377
  fill?: string | undefined;
6378
+ shape?: string | undefined;
5786
6379
  color?: string | undefined;
5787
6380
  opacity?: number | undefined;
5788
- shape?: string | undefined;
5789
6381
  lineWidth?: number | undefined;
5790
6382
  width?: number | undefined;
5791
6383
  scale?: number | undefined;
5792
6384
  start?: {
5793
6385
  length?: number | undefined;
5794
6386
  fill?: string | undefined;
6387
+ shape?: string | undefined;
5795
6388
  color?: string | undefined;
5796
6389
  opacity?: number | undefined;
5797
- shape?: string | undefined;
5798
6390
  lineWidth?: number | undefined;
5799
6391
  width?: number | undefined;
5800
6392
  scale?: number | undefined;
@@ -5802,9 +6394,9 @@ export declare const ScopeSchema: z.ZodObject<{
5802
6394
  end?: {
5803
6395
  length?: number | undefined;
5804
6396
  fill?: string | undefined;
6397
+ shape?: string | undefined;
5805
6398
  color?: string | undefined;
5806
6399
  opacity?: number | undefined;
5807
- shape?: string | undefined;
5808
6400
  lineWidth?: number | undefined;
5809
6401
  width?: number | undefined;
5810
6402
  scale?: number | undefined;
@@ -5873,6 +6465,7 @@ export declare const ScopeSchema: z.ZodObject<{
5873
6465
  kind: "polygon";
5874
6466
  points: [number, number][];
5875
6467
  }>]>>;
6468
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
5876
6469
  children: z.ZodArray<z.ZodLazy<z.ZodTypeAny>, "many">;
5877
6470
  }, "strip", z.ZodTypeAny, {
5878
6471
  type: "scope";
@@ -5910,6 +6503,7 @@ export declare const ScopeSchema: z.ZodObject<{
5910
6503
  id?: string | undefined;
5911
6504
  color?: string | undefined;
5912
6505
  opacity?: number | undefined;
6506
+ meta?: Record<string, import('./json').JsonValue> | undefined;
5913
6507
  stroke?: string | undefined;
5914
6508
  strokeWidth?: number | undefined;
5915
6509
  fillOpacity?: number | undefined;
@@ -5975,9 +6569,16 @@ export declare const ScopeSchema: z.ZodObject<{
5975
6569
  href: string;
5976
6570
  fit?: "fill" | "contain" | "cover" | undefined;
5977
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;
5978
6580
  color?: string | undefined;
5979
6581
  opacity?: number | undefined;
5980
- shape?: string | undefined;
5981
6582
  font?: {
5982
6583
  family?: string | undefined;
5983
6584
  size?: number | undefined;
@@ -5986,7 +6587,7 @@ export declare const ScopeSchema: z.ZodObject<{
5986
6587
  } | undefined;
5987
6588
  scale?: number | undefined;
5988
6589
  textColor?: string | undefined;
5989
- roundedCorners?: number | undefined;
6590
+ cornerRadius?: number | undefined;
5990
6591
  stroke?: string | undefined;
5991
6592
  strokeWidth?: number | undefined;
5992
6593
  fillOpacity?: number | undefined;
@@ -6063,9 +6664,9 @@ export declare const ScopeSchema: z.ZodObject<{
6063
6664
  kind: "arrow";
6064
6665
  length?: number | undefined;
6065
6666
  fill?: string | undefined;
6667
+ shape?: string | undefined;
6066
6668
  color?: string | undefined;
6067
6669
  opacity?: number | undefined;
6068
- shape?: string | undefined;
6069
6670
  lineWidth?: number | undefined;
6070
6671
  width?: number | undefined;
6071
6672
  scale?: number | undefined;
@@ -6086,18 +6687,18 @@ export declare const ScopeSchema: z.ZodObject<{
6086
6687
  arrowDefault?: {
6087
6688
  length?: number | undefined;
6088
6689
  fill?: string | undefined;
6690
+ shape?: string | undefined;
6089
6691
  color?: string | undefined;
6090
6692
  opacity?: number | undefined;
6091
- shape?: string | undefined;
6092
6693
  lineWidth?: number | undefined;
6093
6694
  width?: number | undefined;
6094
6695
  scale?: number | undefined;
6095
6696
  start?: {
6096
6697
  length?: number | undefined;
6097
6698
  fill?: string | undefined;
6699
+ shape?: string | undefined;
6098
6700
  color?: string | undefined;
6099
6701
  opacity?: number | undefined;
6100
- shape?: string | undefined;
6101
6702
  lineWidth?: number | undefined;
6102
6703
  width?: number | undefined;
6103
6704
  scale?: number | undefined;
@@ -6105,9 +6706,9 @@ export declare const ScopeSchema: z.ZodObject<{
6105
6706
  end?: {
6106
6707
  length?: number | undefined;
6107
6708
  fill?: string | undefined;
6709
+ shape?: string | undefined;
6108
6710
  color?: string | undefined;
6109
6711
  opacity?: number | undefined;
6110
- shape?: string | undefined;
6111
6712
  lineWidth?: number | undefined;
6112
6713
  width?: number | undefined;
6113
6714
  scale?: number | undefined;
@@ -6171,6 +6772,7 @@ export declare const ScopeSchema: z.ZodObject<{
6171
6772
  id?: string | undefined;
6172
6773
  color?: string | undefined;
6173
6774
  opacity?: number | undefined;
6775
+ meta?: Record<string, import('./json').JsonValue> | undefined;
6174
6776
  stroke?: string | undefined;
6175
6777
  strokeWidth?: number | undefined;
6176
6778
  fillOpacity?: number | undefined;
@@ -6236,9 +6838,16 @@ export declare const ScopeSchema: z.ZodObject<{
6236
6838
  href: string;
6237
6839
  fit?: "fill" | "contain" | "cover" | undefined;
6238
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;
6239
6849
  color?: string | undefined;
6240
6850
  opacity?: number | undefined;
6241
- shape?: string | undefined;
6242
6851
  font?: {
6243
6852
  family?: string | undefined;
6244
6853
  size?: number | undefined;
@@ -6247,7 +6856,7 @@ export declare const ScopeSchema: z.ZodObject<{
6247
6856
  } | undefined;
6248
6857
  scale?: number | undefined;
6249
6858
  textColor?: string | undefined;
6250
- roundedCorners?: number | undefined;
6859
+ cornerRadius?: number | undefined;
6251
6860
  stroke?: string | undefined;
6252
6861
  strokeWidth?: number | undefined;
6253
6862
  fillOpacity?: number | undefined;
@@ -6324,9 +6933,9 @@ export declare const ScopeSchema: z.ZodObject<{
6324
6933
  kind: "arrow";
6325
6934
  length?: number | undefined;
6326
6935
  fill?: string | undefined;
6936
+ shape?: string | undefined;
6327
6937
  color?: string | undefined;
6328
6938
  opacity?: number | undefined;
6329
- shape?: string | undefined;
6330
6939
  lineWidth?: number | undefined;
6331
6940
  width?: number | undefined;
6332
6941
  scale?: number | undefined;
@@ -6347,18 +6956,18 @@ export declare const ScopeSchema: z.ZodObject<{
6347
6956
  arrowDefault?: {
6348
6957
  length?: number | undefined;
6349
6958
  fill?: string | undefined;
6959
+ shape?: string | undefined;
6350
6960
  color?: string | undefined;
6351
6961
  opacity?: number | undefined;
6352
- shape?: string | undefined;
6353
6962
  lineWidth?: number | undefined;
6354
6963
  width?: number | undefined;
6355
6964
  scale?: number | undefined;
6356
6965
  start?: {
6357
6966
  length?: number | undefined;
6358
6967
  fill?: string | undefined;
6968
+ shape?: string | undefined;
6359
6969
  color?: string | undefined;
6360
6970
  opacity?: number | undefined;
6361
- shape?: string | undefined;
6362
6971
  lineWidth?: number | undefined;
6363
6972
  width?: number | undefined;
6364
6973
  scale?: number | undefined;
@@ -6366,9 +6975,9 @@ export declare const ScopeSchema: z.ZodObject<{
6366
6975
  end?: {
6367
6976
  length?: number | undefined;
6368
6977
  fill?: string | undefined;
6978
+ shape?: string | undefined;
6369
6979
  color?: string | undefined;
6370
6980
  opacity?: number | undefined;
6371
- shape?: string | undefined;
6372
6981
  lineWidth?: number | undefined;
6373
6982
  width?: number | undefined;
6374
6983
  scale?: number | undefined;