@retikz/core 0.2.0-alpha.7 → 0.2.0-alpha.9

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 (217) hide show
  1. package/dist/es/arrows/index.d.ts +13 -0
  2. package/dist/es/arrows/index.d.ts.map +1 -0
  3. package/dist/es/arrows/index.js +118 -0
  4. package/dist/es/arrows/types.d.ts +43 -0
  5. package/dist/es/arrows/types.d.ts.map +1 -0
  6. package/dist/es/compile/clip.d.ts +17 -0
  7. package/dist/es/compile/clip.d.ts.map +1 -0
  8. package/dist/es/compile/clip.js +84 -0
  9. package/dist/es/compile/compile.d.ts +26 -1
  10. package/dist/es/compile/compile.d.ts.map +1 -1
  11. package/dist/es/compile/compile.js +60 -7
  12. package/dist/es/compile/marker-prim.d.ts +22 -0
  13. package/dist/es/compile/marker-prim.d.ts.map +1 -0
  14. package/dist/es/compile/marker-prim.js +63 -0
  15. package/dist/es/compile/node.d.ts +2 -1
  16. package/dist/es/compile/node.d.ts.map +1 -1
  17. package/dist/es/compile/node.js +3 -3
  18. package/dist/es/compile/paint.d.ts +6 -1
  19. package/dist/es/compile/paint.d.ts.map +1 -1
  20. package/dist/es/compile/paint.js +60 -3
  21. package/dist/es/compile/path/anchor.d.ts.map +1 -1
  22. package/dist/es/compile/path/anchor.js +12 -0
  23. package/dist/es/compile/path/index.d.ts +15 -0
  24. package/dist/es/compile/path/index.d.ts.map +1 -1
  25. package/dist/es/compile/path/index.js +268 -12
  26. package/dist/es/compile/path/relative.d.ts.map +1 -1
  27. package/dist/es/compile/path/relative.js +8 -0
  28. package/dist/es/compile/path/shrink.d.ts +19 -6
  29. package/dist/es/compile/path/shrink.d.ts.map +1 -1
  30. package/dist/es/compile/path/shrink.js +147 -25
  31. package/dist/es/compile/position.d.ts +8 -2
  32. package/dist/es/compile/position.d.ts.map +1 -1
  33. package/dist/es/compile/position.js +7 -1
  34. package/dist/es/geometry/bend.d.ts +7 -0
  35. package/dist/es/geometry/bend.d.ts.map +1 -1
  36. package/dist/es/geometry/bend.js +26 -1
  37. package/dist/es/index.d.ts +16 -4
  38. package/dist/es/index.d.ts.map +1 -1
  39. package/dist/es/index.js +13 -7
  40. package/dist/es/ir/clip.d.ts +72 -0
  41. package/dist/es/ir/clip.d.ts.map +1 -0
  42. package/dist/es/ir/clip.js +37 -0
  43. package/dist/es/ir/coordinate.d.ts +3 -3
  44. package/dist/es/ir/coordinate.d.ts.map +1 -1
  45. package/dist/es/ir/coordinate.js +4 -2
  46. package/dist/es/ir/index.d.ts +2 -0
  47. package/dist/es/ir/index.d.ts.map +1 -1
  48. package/dist/es/ir/json.d.ts +22 -0
  49. package/dist/es/ir/json.d.ts.map +1 -0
  50. package/dist/es/ir/json.js +25 -0
  51. package/dist/es/ir/node.d.ts +10 -10
  52. package/dist/es/ir/node.d.ts.map +1 -1
  53. package/dist/es/ir/node.js +4 -2
  54. package/dist/es/ir/paint.d.ts +25 -3
  55. package/dist/es/ir/paint.d.ts.map +1 -1
  56. package/dist/es/ir/paint.js +12 -6
  57. package/dist/es/ir/path/arrow.d.ts +40 -60
  58. package/dist/es/ir/path/arrow.d.ts.map +1 -1
  59. package/dist/es/ir/path/arrow.js +5 -5
  60. package/dist/es/ir/path/path.d.ts +553 -164
  61. package/dist/es/ir/path/path.d.ts.map +1 -1
  62. package/dist/es/ir/path/path.js +21 -1
  63. package/dist/es/ir/path/step.d.ts +483 -128
  64. package/dist/es/ir/path/step.d.ts.map +1 -1
  65. package/dist/es/ir/path/step.js +18 -5
  66. package/dist/es/ir/path/target.d.ts +1 -1
  67. package/dist/es/ir/path/target.d.ts.map +1 -1
  68. package/dist/es/ir/path/target.js +4 -2
  69. package/dist/es/ir/position/between-position.d.ts +26 -0
  70. package/dist/es/ir/position/between-position.d.ts.map +1 -0
  71. package/dist/es/ir/position/between-position.js +21 -0
  72. package/dist/es/ir/position/index.d.ts +1 -0
  73. package/dist/es/ir/position/index.d.ts.map +1 -1
  74. package/dist/es/ir/scene.d.ts +51 -0
  75. package/dist/es/ir/scene.d.ts.map +1 -1
  76. package/dist/es/ir/scene.js +14 -2
  77. package/dist/es/ir/scope.d.ts +999 -380
  78. package/dist/es/ir/scope.d.ts.map +1 -1
  79. package/dist/es/ir/scope.js +2 -0
  80. package/dist/es/pathGenerators/define.d.ts +16 -0
  81. package/dist/es/pathGenerators/define.d.ts.map +1 -0
  82. package/dist/es/pathGenerators/define.js +23 -0
  83. package/dist/es/pathGenerators/index.d.ts +9 -0
  84. package/dist/es/pathGenerators/index.d.ts.map +1 -0
  85. package/dist/es/pathGenerators/types.d.ts +45 -0
  86. package/dist/es/pathGenerators/types.d.ts.map +1 -0
  87. package/dist/es/patterns/index.d.ts +10 -0
  88. package/dist/es/patterns/index.d.ts.map +1 -0
  89. package/dist/es/patterns/index.js +83 -0
  90. package/dist/es/patterns/types.d.ts +38 -0
  91. package/dist/es/patterns/types.d.ts.map +1 -0
  92. package/dist/es/primitive/clip.d.ts +18 -0
  93. package/dist/es/primitive/clip.d.ts.map +1 -0
  94. package/dist/es/primitive/group.d.ts +6 -0
  95. package/dist/es/primitive/group.d.ts.map +1 -1
  96. package/dist/es/primitive/index.d.ts +2 -0
  97. package/dist/es/primitive/index.d.ts.map +1 -1
  98. package/dist/es/primitive/marker.d.ts +160 -0
  99. package/dist/es/primitive/marker.d.ts.map +1 -0
  100. package/dist/es/primitive/paint.d.ts +32 -4
  101. package/dist/es/primitive/paint.d.ts.map +1 -1
  102. package/dist/es/primitive/path.d.ts +22 -18
  103. package/dist/es/primitive/path.d.ts.map +1 -1
  104. package/dist/es/primitive/scene.d.ts +2 -1
  105. package/dist/es/primitive/scene.d.ts.map +1 -1
  106. package/dist/lib/arrows/index.cjs +118 -0
  107. package/dist/lib/arrows/index.d.ts +13 -0
  108. package/dist/lib/arrows/index.d.ts.map +1 -0
  109. package/dist/lib/arrows/types.d.ts +43 -0
  110. package/dist/lib/arrows/types.d.ts.map +1 -0
  111. package/dist/lib/compile/clip.cjs +84 -0
  112. package/dist/lib/compile/clip.d.ts +17 -0
  113. package/dist/lib/compile/clip.d.ts.map +1 -0
  114. package/dist/lib/compile/compile.cjs +62 -9
  115. package/dist/lib/compile/compile.d.ts +26 -1
  116. package/dist/lib/compile/compile.d.ts.map +1 -1
  117. package/dist/lib/compile/marker-prim.cjs +63 -0
  118. package/dist/lib/compile/marker-prim.d.ts +22 -0
  119. package/dist/lib/compile/marker-prim.d.ts.map +1 -0
  120. package/dist/lib/compile/node.cjs +3 -3
  121. package/dist/lib/compile/node.d.ts +2 -1
  122. package/dist/lib/compile/node.d.ts.map +1 -1
  123. package/dist/lib/compile/paint.cjs +60 -3
  124. package/dist/lib/compile/paint.d.ts +6 -1
  125. package/dist/lib/compile/paint.d.ts.map +1 -1
  126. package/dist/lib/compile/path/anchor.cjs +12 -0
  127. package/dist/lib/compile/path/anchor.d.ts.map +1 -1
  128. package/dist/lib/compile/path/index.cjs +266 -10
  129. package/dist/lib/compile/path/index.d.ts +15 -0
  130. package/dist/lib/compile/path/index.d.ts.map +1 -1
  131. package/dist/lib/compile/path/relative.cjs +8 -0
  132. package/dist/lib/compile/path/relative.d.ts.map +1 -1
  133. package/dist/lib/compile/path/shrink.cjs +147 -25
  134. package/dist/lib/compile/path/shrink.d.ts +19 -6
  135. package/dist/lib/compile/path/shrink.d.ts.map +1 -1
  136. package/dist/lib/compile/position.cjs +7 -1
  137. package/dist/lib/compile/position.d.ts +8 -2
  138. package/dist/lib/compile/position.d.ts.map +1 -1
  139. package/dist/lib/geometry/bend.cjs +26 -0
  140. package/dist/lib/geometry/bend.d.ts +7 -0
  141. package/dist/lib/geometry/bend.d.ts.map +1 -1
  142. package/dist/lib/index.cjs +20 -3
  143. package/dist/lib/index.d.ts +16 -4
  144. package/dist/lib/index.d.ts.map +1 -1
  145. package/dist/lib/ir/clip.cjs +37 -0
  146. package/dist/lib/ir/clip.d.ts +72 -0
  147. package/dist/lib/ir/clip.d.ts.map +1 -0
  148. package/dist/lib/ir/coordinate.cjs +4 -2
  149. package/dist/lib/ir/coordinate.d.ts +3 -3
  150. package/dist/lib/ir/coordinate.d.ts.map +1 -1
  151. package/dist/lib/ir/index.d.ts +2 -0
  152. package/dist/lib/ir/index.d.ts.map +1 -1
  153. package/dist/lib/ir/json.cjs +26 -0
  154. package/dist/lib/ir/json.d.ts +22 -0
  155. package/dist/lib/ir/json.d.ts.map +1 -0
  156. package/dist/lib/ir/node.cjs +4 -2
  157. package/dist/lib/ir/node.d.ts +10 -10
  158. package/dist/lib/ir/node.d.ts.map +1 -1
  159. package/dist/lib/ir/paint.cjs +12 -5
  160. package/dist/lib/ir/paint.d.ts +25 -3
  161. package/dist/lib/ir/paint.d.ts.map +1 -1
  162. package/dist/lib/ir/path/arrow.cjs +5 -5
  163. package/dist/lib/ir/path/arrow.d.ts +40 -60
  164. package/dist/lib/ir/path/arrow.d.ts.map +1 -1
  165. package/dist/lib/ir/path/path.cjs +20 -0
  166. package/dist/lib/ir/path/path.d.ts +553 -164
  167. package/dist/lib/ir/path/path.d.ts.map +1 -1
  168. package/dist/lib/ir/path/step.cjs +18 -4
  169. package/dist/lib/ir/path/step.d.ts +483 -128
  170. package/dist/lib/ir/path/step.d.ts.map +1 -1
  171. package/dist/lib/ir/path/target.cjs +4 -2
  172. package/dist/lib/ir/path/target.d.ts +1 -1
  173. package/dist/lib/ir/path/target.d.ts.map +1 -1
  174. package/dist/lib/ir/position/between-position.cjs +22 -0
  175. package/dist/lib/ir/position/between-position.d.ts +26 -0
  176. package/dist/lib/ir/position/between-position.d.ts.map +1 -0
  177. package/dist/lib/ir/position/index.d.ts +1 -0
  178. package/dist/lib/ir/position/index.d.ts.map +1 -1
  179. package/dist/lib/ir/scene.cjs +14 -1
  180. package/dist/lib/ir/scene.d.ts +51 -0
  181. package/dist/lib/ir/scene.d.ts.map +1 -1
  182. package/dist/lib/ir/scope.cjs +2 -0
  183. package/dist/lib/ir/scope.d.ts +999 -380
  184. package/dist/lib/ir/scope.d.ts.map +1 -1
  185. package/dist/lib/pathGenerators/define.cjs +23 -0
  186. package/dist/lib/pathGenerators/define.d.ts +16 -0
  187. package/dist/lib/pathGenerators/define.d.ts.map +1 -0
  188. package/dist/lib/pathGenerators/index.d.ts +9 -0
  189. package/dist/lib/pathGenerators/index.d.ts.map +1 -0
  190. package/dist/lib/pathGenerators/types.d.ts +45 -0
  191. package/dist/lib/pathGenerators/types.d.ts.map +1 -0
  192. package/dist/lib/patterns/index.cjs +83 -0
  193. package/dist/lib/patterns/index.d.ts +10 -0
  194. package/dist/lib/patterns/index.d.ts.map +1 -0
  195. package/dist/lib/patterns/types.d.ts +38 -0
  196. package/dist/lib/patterns/types.d.ts.map +1 -0
  197. package/dist/lib/primitive/clip.d.ts +18 -0
  198. package/dist/lib/primitive/clip.d.ts.map +1 -0
  199. package/dist/lib/primitive/group.d.ts +6 -0
  200. package/dist/lib/primitive/group.d.ts.map +1 -1
  201. package/dist/lib/primitive/index.d.ts +2 -0
  202. package/dist/lib/primitive/index.d.ts.map +1 -1
  203. package/dist/lib/primitive/marker.d.ts +160 -0
  204. package/dist/lib/primitive/marker.d.ts.map +1 -0
  205. package/dist/lib/primitive/paint.d.ts +32 -4
  206. package/dist/lib/primitive/paint.d.ts.map +1 -1
  207. package/dist/lib/primitive/path.d.ts +22 -18
  208. package/dist/lib/primitive/path.d.ts.map +1 -1
  209. package/dist/lib/primitive/scene.d.ts +2 -1
  210. package/dist/lib/primitive/scene.d.ts.map +1 -1
  211. package/package.json +1 -1
  212. package/dist/es/compile/path/arrow-geometry.d.ts +0 -22
  213. package/dist/es/compile/path/arrow-geometry.d.ts.map +0 -1
  214. package/dist/es/compile/path/arrow-geometry.js +0 -40
  215. package/dist/lib/compile/path/arrow-geometry.cjs +0 -41
  216. package/dist/lib/compile/path/arrow-geometry.d.ts +0 -22
  217. package/dist/lib/compile/path/arrow-geometry.d.ts.map +0 -1
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ import { IRClipSpec } from './clip';
2
3
  import { IRCoordinate } from './coordinate';
3
4
  import { IRPaintSpec } from './paint';
4
5
  import { IRNode } from './node';
@@ -43,7 +44,7 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
43
44
  }, {
44
45
  of: string | [number, number] | import('./position').PolarPosition;
45
46
  offset: [number, number];
46
- }>]>;
47
+ }>, z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>]>;
47
48
  rotate: z.ZodOptional<z.ZodNumber>;
48
49
  text: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
49
50
  text: z.ZodString;
@@ -163,7 +164,7 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
163
164
  center?: [number, number] | undefined;
164
165
  }>, z.ZodObject<{
165
166
  type: z.ZodLiteral<"pattern">;
166
- shape: z.ZodEnum<["lines", "dots", "grid"]>;
167
+ shape: z.ZodString;
167
168
  color: z.ZodOptional<z.ZodString>;
168
169
  background: z.ZodOptional<z.ZodString>;
169
170
  size: z.ZodOptional<z.ZodNumber>;
@@ -171,7 +172,7 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
171
172
  rotation: z.ZodOptional<z.ZodNumber>;
172
173
  }, "strip", z.ZodTypeAny, {
173
174
  type: "pattern";
174
- shape: "lines" | "dots" | "grid";
175
+ shape: string;
175
176
  size?: number | undefined;
176
177
  color?: string | undefined;
177
178
  background?: string | undefined;
@@ -179,7 +180,7 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
179
180
  rotation?: number | undefined;
180
181
  }, {
181
182
  type: "pattern";
182
- shape: "lines" | "dots" | "grid";
183
+ shape: string;
183
184
  size?: number | undefined;
184
185
  color?: string | undefined;
185
186
  background?: string | undefined;
@@ -405,7 +406,7 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
405
406
  } | undefined;
406
407
  }>, "many">]>>;
407
408
  zIndex: z.ZodOptional<z.ZodNumber>;
408
- }, "type" | "text" | "id" | "position" | "label" | "zIndex">, "strict", z.ZodTypeAny, {
409
+ }, "type" | "id" | "text" | "position" | "label" | "zIndex">, "strict", z.ZodTypeAny, {
409
410
  fill?: string | {
410
411
  type: "linearGradient";
411
412
  stops: {
@@ -425,7 +426,7 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
425
426
  center?: [number, number] | undefined;
426
427
  } | {
427
428
  type: "pattern";
428
- shape: "lines" | "dots" | "grid";
429
+ shape: string;
429
430
  size?: number | undefined;
430
431
  color?: string | undefined;
431
432
  background?: string | undefined;
@@ -489,7 +490,7 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
489
490
  center?: [number, number] | undefined;
490
491
  } | {
491
492
  type: "pattern";
492
- shape: "lines" | "dots" | "grid";
493
+ shape: string;
493
494
  size?: number | undefined;
494
495
  color?: string | undefined;
495
496
  background?: string | undefined;
@@ -546,15 +547,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
546
547
  dashPattern: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
547
548
  arrow: z.ZodOptional<z.ZodEnum<["none", "->", "<-", "<->"]>>;
548
549
  arrowDetail: z.ZodOptional<z.ZodObject<{
549
- shape: z.ZodOptional<z.ZodNativeEnum<{
550
- readonly normal: "normal";
551
- readonly open: "open";
552
- readonly stealth: "stealth";
553
- readonly diamond: "diamond";
554
- readonly openDiamond: "openDiamond";
555
- readonly circle: "circle";
556
- readonly openCircle: "openCircle";
557
- }>>;
550
+ shape: z.ZodOptional<z.ZodString>;
558
551
  scale: z.ZodOptional<z.ZodNumber>;
559
552
  length: z.ZodOptional<z.ZodNumber>;
560
553
  width: z.ZodOptional<z.ZodNumber>;
@@ -564,15 +557,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
564
557
  lineWidth: z.ZodOptional<z.ZodNumber>;
565
558
  } & {
566
559
  start: z.ZodOptional<z.ZodObject<{
567
- shape: z.ZodOptional<z.ZodNativeEnum<{
568
- readonly normal: "normal";
569
- readonly open: "open";
570
- readonly stealth: "stealth";
571
- readonly diamond: "diamond";
572
- readonly openDiamond: "openDiamond";
573
- readonly circle: "circle";
574
- readonly openCircle: "openCircle";
575
- }>>;
560
+ shape: z.ZodOptional<z.ZodString>;
576
561
  scale: z.ZodOptional<z.ZodNumber>;
577
562
  length: z.ZodOptional<z.ZodNumber>;
578
563
  width: z.ZodOptional<z.ZodNumber>;
@@ -585,30 +570,22 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
585
570
  fill?: string | undefined;
586
571
  color?: string | undefined;
587
572
  opacity?: number | undefined;
588
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
573
+ shape?: string | undefined;
589
574
  lineWidth?: number | undefined;
590
- scale?: number | undefined;
591
575
  width?: number | undefined;
576
+ scale?: number | undefined;
592
577
  }, {
593
578
  length?: number | undefined;
594
579
  fill?: string | undefined;
595
580
  color?: string | undefined;
596
581
  opacity?: number | undefined;
597
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
582
+ shape?: string | undefined;
598
583
  lineWidth?: number | undefined;
599
- scale?: number | undefined;
600
584
  width?: number | undefined;
585
+ scale?: number | undefined;
601
586
  }>>;
602
587
  end: z.ZodOptional<z.ZodObject<{
603
- shape: z.ZodOptional<z.ZodNativeEnum<{
604
- readonly normal: "normal";
605
- readonly open: "open";
606
- readonly stealth: "stealth";
607
- readonly diamond: "diamond";
608
- readonly openDiamond: "openDiamond";
609
- readonly circle: "circle";
610
- readonly openCircle: "openCircle";
611
- }>>;
588
+ shape: z.ZodOptional<z.ZodString>;
612
589
  scale: z.ZodOptional<z.ZodNumber>;
613
590
  length: z.ZodOptional<z.ZodNumber>;
614
591
  width: z.ZodOptional<z.ZodNumber>;
@@ -621,77 +598,77 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
621
598
  fill?: string | undefined;
622
599
  color?: string | undefined;
623
600
  opacity?: number | undefined;
624
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
601
+ shape?: string | undefined;
625
602
  lineWidth?: number | undefined;
626
- scale?: number | undefined;
627
603
  width?: number | undefined;
604
+ scale?: number | undefined;
628
605
  }, {
629
606
  length?: number | undefined;
630
607
  fill?: string | undefined;
631
608
  color?: string | undefined;
632
609
  opacity?: number | undefined;
633
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
610
+ shape?: string | undefined;
634
611
  lineWidth?: number | undefined;
635
- scale?: number | undefined;
636
612
  width?: number | undefined;
613
+ scale?: number | undefined;
637
614
  }>>;
638
615
  }, "strip", z.ZodTypeAny, {
639
616
  length?: number | undefined;
640
617
  fill?: string | undefined;
641
618
  color?: string | undefined;
642
619
  opacity?: number | undefined;
643
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
620
+ shape?: string | undefined;
644
621
  lineWidth?: number | undefined;
645
- scale?: number | undefined;
646
622
  width?: number | undefined;
623
+ scale?: number | undefined;
647
624
  start?: {
648
625
  length?: number | undefined;
649
626
  fill?: string | undefined;
650
627
  color?: string | undefined;
651
628
  opacity?: number | undefined;
652
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
629
+ shape?: string | undefined;
653
630
  lineWidth?: number | undefined;
654
- scale?: number | undefined;
655
631
  width?: number | undefined;
632
+ scale?: number | undefined;
656
633
  } | undefined;
657
634
  end?: {
658
635
  length?: number | undefined;
659
636
  fill?: string | undefined;
660
637
  color?: string | undefined;
661
638
  opacity?: number | undefined;
662
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
639
+ shape?: string | undefined;
663
640
  lineWidth?: number | undefined;
664
- scale?: number | undefined;
665
641
  width?: number | undefined;
642
+ scale?: number | undefined;
666
643
  } | undefined;
667
644
  }, {
668
645
  length?: number | undefined;
669
646
  fill?: string | undefined;
670
647
  color?: string | undefined;
671
648
  opacity?: number | undefined;
672
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
649
+ shape?: string | undefined;
673
650
  lineWidth?: number | undefined;
674
- scale?: number | undefined;
675
651
  width?: number | undefined;
652
+ scale?: number | undefined;
676
653
  start?: {
677
654
  length?: number | undefined;
678
655
  fill?: string | undefined;
679
656
  color?: string | undefined;
680
657
  opacity?: number | undefined;
681
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
658
+ shape?: string | undefined;
682
659
  lineWidth?: number | undefined;
683
- scale?: number | undefined;
684
660
  width?: number | undefined;
661
+ scale?: number | undefined;
685
662
  } | undefined;
686
663
  end?: {
687
664
  length?: number | undefined;
688
665
  fill?: string | undefined;
689
666
  color?: string | undefined;
690
667
  opacity?: number | undefined;
691
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
668
+ shape?: string | undefined;
692
669
  lineWidth?: number | undefined;
693
- scale?: number | undefined;
694
670
  width?: number | undefined;
671
+ scale?: number | undefined;
695
672
  } | undefined;
696
673
  }>>;
697
674
  fill: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -763,7 +740,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
763
740
  center?: [number, number] | undefined;
764
741
  }>, z.ZodObject<{
765
742
  type: z.ZodLiteral<"pattern">;
766
- shape: z.ZodEnum<["lines", "dots", "grid"]>;
743
+ shape: z.ZodString;
767
744
  color: z.ZodOptional<z.ZodString>;
768
745
  background: z.ZodOptional<z.ZodString>;
769
746
  size: z.ZodOptional<z.ZodNumber>;
@@ -771,7 +748,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
771
748
  rotation: z.ZodOptional<z.ZodNumber>;
772
749
  }, "strip", z.ZodTypeAny, {
773
750
  type: "pattern";
774
- shape: "lines" | "dots" | "grid";
751
+ shape: string;
775
752
  size?: number | undefined;
776
753
  color?: string | undefined;
777
754
  background?: string | undefined;
@@ -779,7 +756,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
779
756
  rotation?: number | undefined;
780
757
  }, {
781
758
  type: "pattern";
782
- shape: "lines" | "dots" | "grid";
759
+ shape: string;
783
760
  size?: number | undefined;
784
761
  color?: string | undefined;
785
762
  background?: string | undefined;
@@ -806,6 +783,78 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
806
783
  fillOpacity: z.ZodOptional<z.ZodNumber>;
807
784
  drawOpacity: z.ZodOptional<z.ZodNumber>;
808
785
  zIndex: z.ZodOptional<z.ZodNumber>;
786
+ rotate: z.ZodOptional<z.ZodNumber>;
787
+ scale: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
788
+ x: z.ZodNumber;
789
+ y: z.ZodNumber;
790
+ }, "strip", z.ZodTypeAny, {
791
+ x: number;
792
+ y: number;
793
+ }, {
794
+ x: number;
795
+ y: number;
796
+ }>]>>;
797
+ marks: z.ZodOptional<z.ZodArray<z.ZodObject<{
798
+ pos: z.ZodNumber;
799
+ mark: z.ZodObject<{
800
+ shape: z.ZodOptional<z.ZodString>;
801
+ scale: z.ZodOptional<z.ZodNumber>;
802
+ length: z.ZodOptional<z.ZodNumber>;
803
+ width: z.ZodOptional<z.ZodNumber>;
804
+ color: z.ZodOptional<z.ZodString>;
805
+ fill: z.ZodOptional<z.ZodString>;
806
+ opacity: z.ZodOptional<z.ZodNumber>;
807
+ lineWidth: z.ZodOptional<z.ZodNumber>;
808
+ } & {
809
+ kind: z.ZodLiteral<"arrow">;
810
+ }, "strip", z.ZodTypeAny, {
811
+ kind: "arrow";
812
+ length?: number | undefined;
813
+ fill?: string | undefined;
814
+ color?: string | undefined;
815
+ opacity?: number | undefined;
816
+ shape?: string | undefined;
817
+ lineWidth?: number | undefined;
818
+ width?: number | undefined;
819
+ scale?: number | undefined;
820
+ }, {
821
+ kind: "arrow";
822
+ length?: number | undefined;
823
+ fill?: string | undefined;
824
+ color?: string | undefined;
825
+ opacity?: number | undefined;
826
+ shape?: string | undefined;
827
+ lineWidth?: number | undefined;
828
+ width?: number | undefined;
829
+ scale?: number | undefined;
830
+ }>;
831
+ }, "strip", z.ZodTypeAny, {
832
+ pos: number;
833
+ mark: {
834
+ kind: "arrow";
835
+ length?: number | undefined;
836
+ fill?: string | undefined;
837
+ color?: string | undefined;
838
+ opacity?: number | undefined;
839
+ shape?: string | undefined;
840
+ lineWidth?: number | undefined;
841
+ width?: number | undefined;
842
+ scale?: number | undefined;
843
+ };
844
+ }, {
845
+ pos: number;
846
+ mark: {
847
+ kind: "arrow";
848
+ length?: number | undefined;
849
+ fill?: string | undefined;
850
+ color?: string | undefined;
851
+ opacity?: number | undefined;
852
+ shape?: string | undefined;
853
+ lineWidth?: number | undefined;
854
+ width?: number | undefined;
855
+ scale?: number | undefined;
856
+ };
857
+ }>, "many">>;
809
858
  children: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
810
859
  type: z.ZodLiteral<"step">;
811
860
  kind: z.ZodLiteral<"move">;
@@ -857,7 +906,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
857
906
  }, {
858
907
  of: string | [number, number] | import('./position').PolarPosition;
859
908
  offset: [number, number];
860
- }>]>;
909
+ }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
861
910
  }, "strip", z.ZodTypeAny, {
862
911
  type: "step";
863
912
  to: [number, number] | import('./position').PolarPosition | {
@@ -874,7 +923,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
874
923
  relative: [number, number];
875
924
  } | {
876
925
  relativeAccumulate: [number, number];
877
- };
926
+ } | import('./position').IRBetweenPosition;
878
927
  kind: "move";
879
928
  }, {
880
929
  type: "step";
@@ -892,7 +941,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
892
941
  relative: [number, number];
893
942
  } | {
894
943
  relativeAccumulate: [number, number];
895
- };
944
+ } | import('./position').IRBetweenPosition;
896
945
  kind: "move";
897
946
  }>, z.ZodObject<{
898
947
  type: z.ZodLiteral<"step">;
@@ -945,7 +994,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
945
994
  }, {
946
995
  of: string | [number, number] | import('./position').PolarPosition;
947
996
  offset: [number, number];
948
- }>]>;
997
+ }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
949
998
  label: z.ZodOptional<z.ZodObject<{
950
999
  text: z.ZodString;
951
1000
  position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["at-start", "very-near-start", "near-start", "midway", "near-end", "very-near-end", "at-end"]>, z.ZodNumber]>>;
@@ -970,6 +1019,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
970
1019
  }>>;
971
1020
  }, "strip", z.ZodTypeAny, {
972
1021
  text: string;
1022
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
973
1023
  opacity?: number | undefined;
974
1024
  font?: {
975
1025
  family?: string | undefined;
@@ -977,11 +1027,11 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
977
1027
  weight?: number | "normal" | "bold" | undefined;
978
1028
  style?: "normal" | "italic" | "oblique" | undefined;
979
1029
  } | undefined;
980
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
981
1030
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
982
1031
  textColor?: string | undefined;
983
1032
  }, {
984
1033
  text: string;
1034
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
985
1035
  opacity?: number | undefined;
986
1036
  font?: {
987
1037
  family?: string | undefined;
@@ -989,7 +1039,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
989
1039
  weight?: number | "normal" | "bold" | undefined;
990
1040
  style?: "normal" | "italic" | "oblique" | undefined;
991
1041
  } | undefined;
992
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
993
1042
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
994
1043
  textColor?: string | undefined;
995
1044
  }>>;
@@ -1009,10 +1058,11 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1009
1058
  relative: [number, number];
1010
1059
  } | {
1011
1060
  relativeAccumulate: [number, number];
1012
- };
1061
+ } | import('./position').IRBetweenPosition;
1013
1062
  kind: "line";
1014
1063
  label?: {
1015
1064
  text: string;
1065
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1016
1066
  opacity?: number | undefined;
1017
1067
  font?: {
1018
1068
  family?: string | undefined;
@@ -1020,7 +1070,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1020
1070
  weight?: number | "normal" | "bold" | undefined;
1021
1071
  style?: "normal" | "italic" | "oblique" | undefined;
1022
1072
  } | undefined;
1023
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1024
1073
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
1025
1074
  textColor?: string | undefined;
1026
1075
  } | undefined;
@@ -1040,10 +1089,11 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1040
1089
  relative: [number, number];
1041
1090
  } | {
1042
1091
  relativeAccumulate: [number, number];
1043
- };
1092
+ } | import('./position').IRBetweenPosition;
1044
1093
  kind: "line";
1045
1094
  label?: {
1046
1095
  text: string;
1096
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1047
1097
  opacity?: number | undefined;
1048
1098
  font?: {
1049
1099
  family?: string | undefined;
@@ -1051,7 +1101,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1051
1101
  weight?: number | "normal" | "bold" | undefined;
1052
1102
  style?: "normal" | "italic" | "oblique" | undefined;
1053
1103
  } | undefined;
1054
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1055
1104
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
1056
1105
  textColor?: string | undefined;
1057
1106
  } | undefined;
@@ -1107,7 +1156,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1107
1156
  }, {
1108
1157
  of: string | [number, number] | import('./position').PolarPosition;
1109
1158
  offset: [number, number];
1110
- }>]>;
1159
+ }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
1111
1160
  label: z.ZodOptional<z.ZodObject<{
1112
1161
  text: z.ZodString;
1113
1162
  position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["at-start", "very-near-start", "near-start", "midway", "near-end", "very-near-end", "at-end"]>, z.ZodNumber]>>;
@@ -1132,6 +1181,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1132
1181
  }>>;
1133
1182
  }, "strip", z.ZodTypeAny, {
1134
1183
  text: string;
1184
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1135
1185
  opacity?: number | undefined;
1136
1186
  font?: {
1137
1187
  family?: string | undefined;
@@ -1139,11 +1189,11 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1139
1189
  weight?: number | "normal" | "bold" | undefined;
1140
1190
  style?: "normal" | "italic" | "oblique" | undefined;
1141
1191
  } | undefined;
1142
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1143
1192
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
1144
1193
  textColor?: string | undefined;
1145
1194
  }, {
1146
1195
  text: string;
1196
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1147
1197
  opacity?: number | undefined;
1148
1198
  font?: {
1149
1199
  family?: string | undefined;
@@ -1151,7 +1201,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1151
1201
  weight?: number | "normal" | "bold" | undefined;
1152
1202
  style?: "normal" | "italic" | "oblique" | undefined;
1153
1203
  } | undefined;
1154
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1155
1204
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
1156
1205
  textColor?: string | undefined;
1157
1206
  }>>;
@@ -1171,11 +1220,12 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1171
1220
  relative: [number, number];
1172
1221
  } | {
1173
1222
  relativeAccumulate: [number, number];
1174
- };
1223
+ } | import('./position').IRBetweenPosition;
1175
1224
  kind: "step";
1176
1225
  via: "-|" | "|-";
1177
1226
  label?: {
1178
1227
  text: string;
1228
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1179
1229
  opacity?: number | undefined;
1180
1230
  font?: {
1181
1231
  family?: string | undefined;
@@ -1183,7 +1233,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1183
1233
  weight?: number | "normal" | "bold" | undefined;
1184
1234
  style?: "normal" | "italic" | "oblique" | undefined;
1185
1235
  } | undefined;
1186
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1187
1236
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
1188
1237
  textColor?: string | undefined;
1189
1238
  } | undefined;
@@ -1203,11 +1252,12 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1203
1252
  relative: [number, number];
1204
1253
  } | {
1205
1254
  relativeAccumulate: [number, number];
1206
- };
1255
+ } | import('./position').IRBetweenPosition;
1207
1256
  kind: "step";
1208
1257
  via: "-|" | "|-";
1209
1258
  label?: {
1210
1259
  text: string;
1260
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1211
1261
  opacity?: number | undefined;
1212
1262
  font?: {
1213
1263
  family?: string | undefined;
@@ -1215,7 +1265,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1215
1265
  weight?: number | "normal" | "bold" | undefined;
1216
1266
  style?: "normal" | "italic" | "oblique" | undefined;
1217
1267
  } | undefined;
1218
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1219
1268
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
1220
1269
  textColor?: string | undefined;
1221
1270
  } | undefined;
@@ -1279,7 +1328,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1279
1328
  }, {
1280
1329
  of: string | [number, number] | import('./position').PolarPosition;
1281
1330
  offset: [number, number];
1282
- }>]>;
1331
+ }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
1283
1332
  control: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1284
1333
  label: z.ZodOptional<z.ZodObject<{
1285
1334
  text: z.ZodString;
@@ -1305,6 +1354,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1305
1354
  }>>;
1306
1355
  }, "strip", z.ZodTypeAny, {
1307
1356
  text: string;
1357
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1308
1358
  opacity?: number | undefined;
1309
1359
  font?: {
1310
1360
  family?: string | undefined;
@@ -1312,11 +1362,11 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1312
1362
  weight?: number | "normal" | "bold" | undefined;
1313
1363
  style?: "normal" | "italic" | "oblique" | undefined;
1314
1364
  } | undefined;
1315
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1316
1365
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
1317
1366
  textColor?: string | undefined;
1318
1367
  }, {
1319
1368
  text: string;
1369
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1320
1370
  opacity?: number | undefined;
1321
1371
  font?: {
1322
1372
  family?: string | undefined;
@@ -1324,7 +1374,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1324
1374
  weight?: number | "normal" | "bold" | undefined;
1325
1375
  style?: "normal" | "italic" | "oblique" | undefined;
1326
1376
  } | undefined;
1327
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1328
1377
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
1329
1378
  textColor?: string | undefined;
1330
1379
  }>>;
@@ -1344,11 +1393,12 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1344
1393
  relative: [number, number];
1345
1394
  } | {
1346
1395
  relativeAccumulate: [number, number];
1347
- };
1396
+ } | import('./position').IRBetweenPosition;
1348
1397
  kind: "curve";
1349
1398
  control: [number, number];
1350
1399
  label?: {
1351
1400
  text: string;
1401
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1352
1402
  opacity?: number | undefined;
1353
1403
  font?: {
1354
1404
  family?: string | undefined;
@@ -1356,7 +1406,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1356
1406
  weight?: number | "normal" | "bold" | undefined;
1357
1407
  style?: "normal" | "italic" | "oblique" | undefined;
1358
1408
  } | undefined;
1359
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1360
1409
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
1361
1410
  textColor?: string | undefined;
1362
1411
  } | undefined;
@@ -1376,11 +1425,12 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1376
1425
  relative: [number, number];
1377
1426
  } | {
1378
1427
  relativeAccumulate: [number, number];
1379
- };
1428
+ } | import('./position').IRBetweenPosition;
1380
1429
  kind: "curve";
1381
1430
  control: [number, number];
1382
1431
  label?: {
1383
1432
  text: string;
1433
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1384
1434
  opacity?: number | undefined;
1385
1435
  font?: {
1386
1436
  family?: string | undefined;
@@ -1388,7 +1438,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1388
1438
  weight?: number | "normal" | "bold" | undefined;
1389
1439
  style?: "normal" | "italic" | "oblique" | undefined;
1390
1440
  } | undefined;
1391
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1392
1441
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
1393
1442
  textColor?: string | undefined;
1394
1443
  } | undefined;
@@ -1443,7 +1492,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1443
1492
  }, {
1444
1493
  of: string | [number, number] | import('./position').PolarPosition;
1445
1494
  offset: [number, number];
1446
- }>]>;
1495
+ }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
1447
1496
  control1: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1448
1497
  control2: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1449
1498
  label: z.ZodOptional<z.ZodObject<{
@@ -1470,6 +1519,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1470
1519
  }>>;
1471
1520
  }, "strip", z.ZodTypeAny, {
1472
1521
  text: string;
1522
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1473
1523
  opacity?: number | undefined;
1474
1524
  font?: {
1475
1525
  family?: string | undefined;
@@ -1477,11 +1527,11 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1477
1527
  weight?: number | "normal" | "bold" | undefined;
1478
1528
  style?: "normal" | "italic" | "oblique" | undefined;
1479
1529
  } | undefined;
1480
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1481
1530
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
1482
1531
  textColor?: string | undefined;
1483
1532
  }, {
1484
1533
  text: string;
1534
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1485
1535
  opacity?: number | undefined;
1486
1536
  font?: {
1487
1537
  family?: string | undefined;
@@ -1489,7 +1539,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1489
1539
  weight?: number | "normal" | "bold" | undefined;
1490
1540
  style?: "normal" | "italic" | "oblique" | undefined;
1491
1541
  } | undefined;
1492
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1493
1542
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
1494
1543
  textColor?: string | undefined;
1495
1544
  }>>;
@@ -1509,12 +1558,13 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1509
1558
  relative: [number, number];
1510
1559
  } | {
1511
1560
  relativeAccumulate: [number, number];
1512
- };
1561
+ } | import('./position').IRBetweenPosition;
1513
1562
  kind: "cubic";
1514
1563
  control1: [number, number];
1515
1564
  control2: [number, number];
1516
1565
  label?: {
1517
1566
  text: string;
1567
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1518
1568
  opacity?: number | undefined;
1519
1569
  font?: {
1520
1570
  family?: string | undefined;
@@ -1522,7 +1572,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1522
1572
  weight?: number | "normal" | "bold" | undefined;
1523
1573
  style?: "normal" | "italic" | "oblique" | undefined;
1524
1574
  } | undefined;
1525
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1526
1575
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
1527
1576
  textColor?: string | undefined;
1528
1577
  } | undefined;
@@ -1542,12 +1591,13 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1542
1591
  relative: [number, number];
1543
1592
  } | {
1544
1593
  relativeAccumulate: [number, number];
1545
- };
1594
+ } | import('./position').IRBetweenPosition;
1546
1595
  kind: "cubic";
1547
1596
  control1: [number, number];
1548
1597
  control2: [number, number];
1549
1598
  label?: {
1550
1599
  text: string;
1600
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1551
1601
  opacity?: number | undefined;
1552
1602
  font?: {
1553
1603
  family?: string | undefined;
@@ -1555,7 +1605,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1555
1605
  weight?: number | "normal" | "bold" | undefined;
1556
1606
  style?: "normal" | "italic" | "oblique" | undefined;
1557
1607
  } | undefined;
1558
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1559
1608
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
1560
1609
  textColor?: string | undefined;
1561
1610
  } | undefined;
@@ -1610,9 +1659,12 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1610
1659
  }, {
1611
1660
  of: string | [number, number] | import('./position').PolarPosition;
1612
1661
  offset: [number, number];
1613
- }>]>;
1614
- bendDirection: z.ZodEnum<["left", "right"]>;
1662
+ }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
1663
+ bendDirection: z.ZodOptional<z.ZodEnum<["left", "right"]>>;
1615
1664
  bendAngle: z.ZodOptional<z.ZodNumber>;
1665
+ outAngle: z.ZodOptional<z.ZodNumber>;
1666
+ inAngle: z.ZodOptional<z.ZodNumber>;
1667
+ looseness: z.ZodOptional<z.ZodNumber>;
1616
1668
  label: z.ZodOptional<z.ZodObject<{
1617
1669
  text: z.ZodString;
1618
1670
  position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["at-start", "very-near-start", "near-start", "midway", "near-end", "very-near-end", "at-end"]>, z.ZodNumber]>>;
@@ -1637,6 +1689,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1637
1689
  }>>;
1638
1690
  }, "strip", z.ZodTypeAny, {
1639
1691
  text: string;
1692
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1640
1693
  opacity?: number | undefined;
1641
1694
  font?: {
1642
1695
  family?: string | undefined;
@@ -1644,11 +1697,11 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1644
1697
  weight?: number | "normal" | "bold" | undefined;
1645
1698
  style?: "normal" | "italic" | "oblique" | undefined;
1646
1699
  } | undefined;
1647
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1648
1700
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
1649
1701
  textColor?: string | undefined;
1650
1702
  }, {
1651
1703
  text: string;
1704
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1652
1705
  opacity?: number | undefined;
1653
1706
  font?: {
1654
1707
  family?: string | undefined;
@@ -1656,7 +1709,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1656
1709
  weight?: number | "normal" | "bold" | undefined;
1657
1710
  style?: "normal" | "italic" | "oblique" | undefined;
1658
1711
  } | undefined;
1659
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1660
1712
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
1661
1713
  textColor?: string | undefined;
1662
1714
  }>>;
@@ -1676,11 +1728,11 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1676
1728
  relative: [number, number];
1677
1729
  } | {
1678
1730
  relativeAccumulate: [number, number];
1679
- };
1731
+ } | import('./position').IRBetweenPosition;
1680
1732
  kind: "bend";
1681
- bendDirection: "left" | "right";
1682
1733
  label?: {
1683
1734
  text: string;
1735
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1684
1736
  opacity?: number | undefined;
1685
1737
  font?: {
1686
1738
  family?: string | undefined;
@@ -1688,11 +1740,14 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1688
1740
  weight?: number | "normal" | "bold" | undefined;
1689
1741
  style?: "normal" | "italic" | "oblique" | undefined;
1690
1742
  } | undefined;
1691
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1692
1743
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
1693
1744
  textColor?: string | undefined;
1694
1745
  } | undefined;
1746
+ bendDirection?: "left" | "right" | undefined;
1695
1747
  bendAngle?: number | undefined;
1748
+ outAngle?: number | undefined;
1749
+ inAngle?: number | undefined;
1750
+ looseness?: number | undefined;
1696
1751
  }, {
1697
1752
  type: "step";
1698
1753
  to: [number, number] | import('./position').PolarPosition | {
@@ -1709,11 +1764,11 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1709
1764
  relative: [number, number];
1710
1765
  } | {
1711
1766
  relativeAccumulate: [number, number];
1712
- };
1767
+ } | import('./position').IRBetweenPosition;
1713
1768
  kind: "bend";
1714
- bendDirection: "left" | "right";
1715
1769
  label?: {
1716
1770
  text: string;
1771
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1717
1772
  opacity?: number | undefined;
1718
1773
  font?: {
1719
1774
  family?: string | undefined;
@@ -1721,11 +1776,14 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1721
1776
  weight?: number | "normal" | "bold" | undefined;
1722
1777
  style?: "normal" | "italic" | "oblique" | undefined;
1723
1778
  } | undefined;
1724
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1725
1779
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
1726
1780
  textColor?: string | undefined;
1727
1781
  } | undefined;
1782
+ bendDirection?: "left" | "right" | undefined;
1728
1783
  bendAngle?: number | undefined;
1784
+ outAngle?: number | undefined;
1785
+ inAngle?: number | undefined;
1786
+ looseness?: number | undefined;
1729
1787
  }>, z.ZodObject<{
1730
1788
  type: z.ZodLiteral<"step">;
1731
1789
  kind: z.ZodLiteral<"arc">;
@@ -1782,7 +1840,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1782
1840
  }, {
1783
1841
  of: string | [number, number] | import('./position').PolarPosition;
1784
1842
  offset: [number, number];
1785
- }>]>>;
1843
+ }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>>;
1786
1844
  label: z.ZodOptional<z.ZodObject<{
1787
1845
  text: z.ZodString;
1788
1846
  position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["at-start", "very-near-start", "near-start", "midway", "near-end", "very-near-end", "at-end"]>, z.ZodNumber]>>;
@@ -1807,6 +1865,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1807
1865
  }>>;
1808
1866
  }, "strip", z.ZodTypeAny, {
1809
1867
  text: string;
1868
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1810
1869
  opacity?: number | undefined;
1811
1870
  font?: {
1812
1871
  family?: string | undefined;
@@ -1814,11 +1873,11 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1814
1873
  weight?: number | "normal" | "bold" | undefined;
1815
1874
  style?: "normal" | "italic" | "oblique" | undefined;
1816
1875
  } | undefined;
1817
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1818
1876
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
1819
1877
  textColor?: string | undefined;
1820
1878
  }, {
1821
1879
  text: string;
1880
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1822
1881
  opacity?: number | undefined;
1823
1882
  font?: {
1824
1883
  family?: string | undefined;
@@ -1826,7 +1885,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1826
1885
  weight?: number | "normal" | "bold" | undefined;
1827
1886
  style?: "normal" | "italic" | "oblique" | undefined;
1828
1887
  } | undefined;
1829
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1830
1888
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
1831
1889
  textColor?: string | undefined;
1832
1890
  }>>;
@@ -1850,9 +1908,10 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1850
1908
  relative: [number, number];
1851
1909
  } | {
1852
1910
  relativeAccumulate: [number, number];
1853
- } | undefined;
1911
+ } | import('./position').IRBetweenPosition | undefined;
1854
1912
  label?: {
1855
1913
  text: string;
1914
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1856
1915
  opacity?: number | undefined;
1857
1916
  font?: {
1858
1917
  family?: string | undefined;
@@ -1860,7 +1919,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1860
1919
  weight?: number | "normal" | "bold" | undefined;
1861
1920
  style?: "normal" | "italic" | "oblique" | undefined;
1862
1921
  } | undefined;
1863
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1864
1922
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
1865
1923
  textColor?: string | undefined;
1866
1924
  } | undefined;
@@ -1886,9 +1944,10 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1886
1944
  relative: [number, number];
1887
1945
  } | {
1888
1946
  relativeAccumulate: [number, number];
1889
- } | undefined;
1947
+ } | import('./position').IRBetweenPosition | undefined;
1890
1948
  label?: {
1891
1949
  text: string;
1950
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1892
1951
  opacity?: number | undefined;
1893
1952
  font?: {
1894
1953
  family?: string | undefined;
@@ -1896,7 +1955,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1896
1955
  weight?: number | "normal" | "bold" | undefined;
1897
1956
  style?: "normal" | "italic" | "oblique" | undefined;
1898
1957
  } | undefined;
1899
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1900
1958
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
1901
1959
  textColor?: string | undefined;
1902
1960
  } | undefined;
@@ -1933,6 +1991,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1933
1991
  }>>;
1934
1992
  }, "strip", z.ZodTypeAny, {
1935
1993
  text: string;
1994
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1936
1995
  opacity?: number | undefined;
1937
1996
  font?: {
1938
1997
  family?: string | undefined;
@@ -1940,11 +1999,11 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1940
1999
  weight?: number | "normal" | "bold" | undefined;
1941
2000
  style?: "normal" | "italic" | "oblique" | undefined;
1942
2001
  } | undefined;
1943
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1944
2002
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
1945
2003
  textColor?: string | undefined;
1946
2004
  }, {
1947
2005
  text: string;
2006
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1948
2007
  opacity?: number | undefined;
1949
2008
  font?: {
1950
2009
  family?: string | undefined;
@@ -1952,7 +2011,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1952
2011
  weight?: number | "normal" | "bold" | undefined;
1953
2012
  style?: "normal" | "italic" | "oblique" | undefined;
1954
2013
  } | undefined;
1955
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1956
2014
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
1957
2015
  textColor?: string | undefined;
1958
2016
  }>>;
@@ -1964,6 +2022,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1964
2022
  endAngle?: number | undefined;
1965
2023
  label?: {
1966
2024
  text: string;
2025
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1967
2026
  opacity?: number | undefined;
1968
2027
  font?: {
1969
2028
  family?: string | undefined;
@@ -1971,7 +2030,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1971
2030
  weight?: number | "normal" | "bold" | undefined;
1972
2031
  style?: "normal" | "italic" | "oblique" | undefined;
1973
2032
  } | undefined;
1974
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1975
2033
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
1976
2034
  textColor?: string | undefined;
1977
2035
  } | undefined;
@@ -1984,6 +2042,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1984
2042
  endAngle?: number | undefined;
1985
2043
  label?: {
1986
2044
  text: string;
2045
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1987
2046
  opacity?: number | undefined;
1988
2047
  font?: {
1989
2048
  family?: string | undefined;
@@ -1991,7 +2050,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1991
2050
  weight?: number | "normal" | "bold" | undefined;
1992
2051
  style?: "normal" | "italic" | "oblique" | undefined;
1993
2052
  } | undefined;
1994
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
1995
2053
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
1996
2054
  textColor?: string | undefined;
1997
2055
  } | undefined;
@@ -2028,6 +2086,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2028
2086
  }>>;
2029
2087
  }, "strip", z.ZodTypeAny, {
2030
2088
  text: string;
2089
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
2031
2090
  opacity?: number | undefined;
2032
2091
  font?: {
2033
2092
  family?: string | undefined;
@@ -2035,11 +2094,11 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2035
2094
  weight?: number | "normal" | "bold" | undefined;
2036
2095
  style?: "normal" | "italic" | "oblique" | undefined;
2037
2096
  } | undefined;
2038
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
2039
2097
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
2040
2098
  textColor?: string | undefined;
2041
2099
  }, {
2042
2100
  text: string;
2101
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
2043
2102
  opacity?: number | undefined;
2044
2103
  font?: {
2045
2104
  family?: string | undefined;
@@ -2047,7 +2106,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2047
2106
  weight?: number | "normal" | "bold" | undefined;
2048
2107
  style?: "normal" | "italic" | "oblique" | undefined;
2049
2108
  } | undefined;
2050
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
2051
2109
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
2052
2110
  textColor?: string | undefined;
2053
2111
  }>>;
@@ -2060,6 +2118,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2060
2118
  endAngle?: number | undefined;
2061
2119
  label?: {
2062
2120
  text: string;
2121
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
2063
2122
  opacity?: number | undefined;
2064
2123
  font?: {
2065
2124
  family?: string | undefined;
@@ -2067,7 +2126,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2067
2126
  weight?: number | "normal" | "bold" | undefined;
2068
2127
  style?: "normal" | "italic" | "oblique" | undefined;
2069
2128
  } | undefined;
2070
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
2071
2129
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
2072
2130
  textColor?: string | undefined;
2073
2131
  } | undefined;
@@ -2081,6 +2139,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2081
2139
  endAngle?: number | undefined;
2082
2140
  label?: {
2083
2141
  text: string;
2142
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
2084
2143
  opacity?: number | undefined;
2085
2144
  font?: {
2086
2145
  family?: string | undefined;
@@ -2088,7 +2147,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2088
2147
  weight?: number | "normal" | "bold" | undefined;
2089
2148
  style?: "normal" | "italic" | "oblique" | undefined;
2090
2149
  } | undefined;
2091
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
2092
2150
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
2093
2151
  textColor?: string | undefined;
2094
2152
  } | undefined;
@@ -2144,7 +2202,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2144
2202
  }, {
2145
2203
  of: string | [number, number] | import('./position').PolarPosition;
2146
2204
  offset: [number, number];
2147
- }>]>;
2205
+ }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
2148
2206
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
2149
2207
  id: z.ZodString;
2150
2208
  anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
@@ -2193,7 +2251,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2193
2251
  }, {
2194
2252
  of: string | [number, number] | import('./position').PolarPosition;
2195
2253
  offset: [number, number];
2196
- }>]>;
2254
+ }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
2197
2255
  roundedCorners: z.ZodOptional<z.ZodNumber>;
2198
2256
  }, "strip", z.ZodTypeAny, {
2199
2257
  type: "step";
@@ -2211,7 +2269,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2211
2269
  relative: [number, number];
2212
2270
  } | {
2213
2271
  relativeAccumulate: [number, number];
2214
- };
2272
+ } | import('./position').IRBetweenPosition;
2215
2273
  kind: "rectangle";
2216
2274
  from: [number, number] | import('./position').PolarPosition | {
2217
2275
  of: string | [number, number] | import('./position').PolarPosition;
@@ -2227,7 +2285,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2227
2285
  relative: [number, number];
2228
2286
  } | {
2229
2287
  relativeAccumulate: [number, number];
2230
- };
2288
+ } | import('./position').IRBetweenPosition;
2231
2289
  roundedCorners?: number | undefined;
2232
2290
  }, {
2233
2291
  type: "step";
@@ -2245,7 +2303,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2245
2303
  relative: [number, number];
2246
2304
  } | {
2247
2305
  relativeAccumulate: [number, number];
2248
- };
2306
+ } | import('./position').IRBetweenPosition;
2249
2307
  kind: "rectangle";
2250
2308
  from: [number, number] | import('./position').PolarPosition | {
2251
2309
  of: string | [number, number] | import('./position').PolarPosition;
@@ -2261,31 +2319,198 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2261
2319
  relative: [number, number];
2262
2320
  } | {
2263
2321
  relativeAccumulate: [number, number];
2264
- };
2322
+ } | import('./position').IRBetweenPosition;
2265
2323
  roundedCorners?: number | undefined;
2266
- }>]>, "many">;
2267
- }, "type" | "arrow" | "arrowDetail" | "zIndex" | "children">, "strict", z.ZodTypeAny, {
2268
- fill?: string | {
2269
- type: "linearGradient";
2270
- stops: {
2271
- offset: number;
2272
- color: string;
2273
- opacity?: number | undefined;
2274
- }[];
2275
- angle?: number | undefined;
2276
- } | {
2277
- type: "radialGradient";
2278
- stops: {
2279
- offset: number;
2280
- color: string;
2324
+ }>, z.ZodObject<{
2325
+ type: z.ZodLiteral<"step">;
2326
+ kind: z.ZodLiteral<"generator">;
2327
+ name: z.ZodString;
2328
+ to: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
2329
+ id: z.ZodString;
2330
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
2331
+ side: z.ZodEnum<["north", "south", "east", "west"]>;
2332
+ t: z.ZodNumber;
2333
+ }, "strip", z.ZodTypeAny, {
2334
+ side: "north" | "south" | "east" | "west";
2335
+ t: number;
2336
+ }, {
2337
+ side: "north" | "south" | "east" | "west";
2338
+ t: number;
2339
+ }>]>>;
2340
+ offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
2341
+ }, "strip", z.ZodTypeAny, {
2342
+ id: string;
2343
+ offset?: [number, number] | undefined;
2344
+ anchor?: number | import('..').RectAnchor | {
2345
+ side: "north" | "south" | "east" | "west";
2346
+ t: number;
2347
+ } | undefined;
2348
+ }, {
2349
+ id: string;
2350
+ offset?: [number, number] | undefined;
2351
+ anchor?: number | import('..').RectAnchor | {
2352
+ side: "north" | "south" | "east" | "west";
2353
+ t: number;
2354
+ } | undefined;
2355
+ }>, z.ZodObject<{
2356
+ relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
2357
+ }, "strip", z.ZodTypeAny, {
2358
+ relative: [number, number];
2359
+ }, {
2360
+ relative: [number, number];
2361
+ }>, z.ZodObject<{
2362
+ relativeAccumulate: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
2363
+ }, "strip", z.ZodTypeAny, {
2364
+ relativeAccumulate: [number, number];
2365
+ }, {
2366
+ relativeAccumulate: [number, number];
2367
+ }>, z.ZodObject<{
2368
+ of: z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>]>;
2369
+ offset: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
2370
+ }, "strip", z.ZodTypeAny, {
2371
+ of: string | [number, number] | import('./position').PolarPosition;
2372
+ offset: [number, number];
2373
+ }, {
2374
+ of: string | [number, number] | import('./position').PolarPosition;
2375
+ offset: [number, number];
2376
+ }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>>;
2377
+ params: z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>;
2378
+ label: z.ZodOptional<z.ZodObject<{
2379
+ text: z.ZodString;
2380
+ position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["at-start", "very-near-start", "near-start", "midway", "near-end", "very-near-end", "at-end"]>, z.ZodNumber]>>;
2381
+ side: z.ZodOptional<z.ZodEnum<["above", "below", "left", "right", "sloped"]>>;
2382
+ textColor: z.ZodOptional<z.ZodString>;
2383
+ opacity: z.ZodOptional<z.ZodNumber>;
2384
+ font: z.ZodOptional<z.ZodObject<{
2385
+ family: z.ZodOptional<z.ZodString>;
2386
+ size: z.ZodOptional<z.ZodNumber>;
2387
+ weight: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["normal", "bold"]>, z.ZodNumber]>>;
2388
+ style: z.ZodOptional<z.ZodEnum<["normal", "italic", "oblique"]>>;
2389
+ }, "strip", z.ZodTypeAny, {
2390
+ family?: string | undefined;
2391
+ size?: number | undefined;
2392
+ weight?: number | "normal" | "bold" | undefined;
2393
+ style?: "normal" | "italic" | "oblique" | undefined;
2394
+ }, {
2395
+ family?: string | undefined;
2396
+ size?: number | undefined;
2397
+ weight?: number | "normal" | "bold" | undefined;
2398
+ style?: "normal" | "italic" | "oblique" | undefined;
2399
+ }>>;
2400
+ }, "strip", z.ZodTypeAny, {
2401
+ text: string;
2402
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
2281
2403
  opacity?: number | undefined;
2282
- }[];
2283
- radius?: number | undefined;
2284
- center?: [number, number] | undefined;
2285
- } | {
2286
- type: "pattern";
2287
- shape: "lines" | "dots" | "grid";
2288
- size?: number | undefined;
2404
+ font?: {
2405
+ family?: string | undefined;
2406
+ size?: number | undefined;
2407
+ weight?: number | "normal" | "bold" | undefined;
2408
+ style?: "normal" | "italic" | "oblique" | undefined;
2409
+ } | undefined;
2410
+ position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
2411
+ textColor?: string | undefined;
2412
+ }, {
2413
+ text: string;
2414
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
2415
+ opacity?: number | undefined;
2416
+ font?: {
2417
+ family?: string | undefined;
2418
+ size?: number | undefined;
2419
+ weight?: number | "normal" | "bold" | undefined;
2420
+ style?: "normal" | "italic" | "oblique" | undefined;
2421
+ } | undefined;
2422
+ position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
2423
+ textColor?: string | undefined;
2424
+ }>>;
2425
+ }, "strip", z.ZodTypeAny, {
2426
+ params: Record<string, import('./json').JsonValue>;
2427
+ type: "step";
2428
+ kind: "generator";
2429
+ name: string;
2430
+ to?: [number, number] | import('./position').PolarPosition | {
2431
+ of: string | [number, number] | import('./position').PolarPosition;
2432
+ offset: [number, number];
2433
+ } | {
2434
+ id: string;
2435
+ offset?: [number, number] | undefined;
2436
+ anchor?: number | import('..').RectAnchor | {
2437
+ side: "north" | "south" | "east" | "west";
2438
+ t: number;
2439
+ } | undefined;
2440
+ } | {
2441
+ relative: [number, number];
2442
+ } | {
2443
+ relativeAccumulate: [number, number];
2444
+ } | import('./position').IRBetweenPosition | undefined;
2445
+ label?: {
2446
+ text: string;
2447
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
2448
+ opacity?: number | undefined;
2449
+ font?: {
2450
+ family?: string | undefined;
2451
+ size?: number | undefined;
2452
+ weight?: number | "normal" | "bold" | undefined;
2453
+ style?: "normal" | "italic" | "oblique" | undefined;
2454
+ } | undefined;
2455
+ position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
2456
+ textColor?: string | undefined;
2457
+ } | undefined;
2458
+ }, {
2459
+ params: Record<string, import('./json').JsonValue>;
2460
+ type: "step";
2461
+ kind: "generator";
2462
+ name: string;
2463
+ to?: [number, number] | import('./position').PolarPosition | {
2464
+ of: string | [number, number] | import('./position').PolarPosition;
2465
+ offset: [number, number];
2466
+ } | {
2467
+ id: string;
2468
+ offset?: [number, number] | undefined;
2469
+ anchor?: number | import('..').RectAnchor | {
2470
+ side: "north" | "south" | "east" | "west";
2471
+ t: number;
2472
+ } | undefined;
2473
+ } | {
2474
+ relative: [number, number];
2475
+ } | {
2476
+ relativeAccumulate: [number, number];
2477
+ } | import('./position').IRBetweenPosition | undefined;
2478
+ label?: {
2479
+ text: string;
2480
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
2481
+ opacity?: number | undefined;
2482
+ font?: {
2483
+ family?: string | undefined;
2484
+ size?: number | undefined;
2485
+ weight?: number | "normal" | "bold" | undefined;
2486
+ style?: "normal" | "italic" | "oblique" | undefined;
2487
+ } | undefined;
2488
+ position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
2489
+ textColor?: string | undefined;
2490
+ } | undefined;
2491
+ }>]>, "many">;
2492
+ }, "type" | "arrow" | "arrowDetail" | "zIndex" | "children">, "strict", z.ZodTypeAny, {
2493
+ fill?: string | {
2494
+ type: "linearGradient";
2495
+ stops: {
2496
+ offset: number;
2497
+ color: string;
2498
+ opacity?: number | undefined;
2499
+ }[];
2500
+ angle?: number | undefined;
2501
+ } | {
2502
+ type: "radialGradient";
2503
+ stops: {
2504
+ offset: number;
2505
+ color: string;
2506
+ opacity?: number | undefined;
2507
+ }[];
2508
+ radius?: number | undefined;
2509
+ center?: [number, number] | undefined;
2510
+ } | {
2511
+ type: "pattern";
2512
+ shape: string;
2513
+ size?: number | undefined;
2289
2514
  color?: string | undefined;
2290
2515
  background?: string | undefined;
2291
2516
  lineWidth?: number | undefined;
@@ -2297,6 +2522,10 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2297
2522
  } | undefined;
2298
2523
  color?: string | undefined;
2299
2524
  opacity?: number | undefined;
2525
+ scale?: number | {
2526
+ x: number;
2527
+ y: number;
2528
+ } | undefined;
2300
2529
  stroke?: string | undefined;
2301
2530
  strokeWidth?: number | undefined;
2302
2531
  dashPattern?: number[] | undefined;
@@ -2306,6 +2535,21 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2306
2535
  thickness?: "ultraThin" | "veryThin" | "thin" | "semithick" | "thick" | "veryThick" | "ultraThick" | undefined;
2307
2536
  fillOpacity?: number | undefined;
2308
2537
  drawOpacity?: number | undefined;
2538
+ rotate?: number | undefined;
2539
+ marks?: {
2540
+ pos: number;
2541
+ mark: {
2542
+ kind: "arrow";
2543
+ length?: number | undefined;
2544
+ fill?: string | undefined;
2545
+ color?: string | undefined;
2546
+ opacity?: number | undefined;
2547
+ shape?: string | undefined;
2548
+ lineWidth?: number | undefined;
2549
+ width?: number | undefined;
2550
+ scale?: number | undefined;
2551
+ };
2552
+ }[] | undefined;
2309
2553
  }, {
2310
2554
  fill?: string | {
2311
2555
  type: "linearGradient";
@@ -2326,7 +2570,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2326
2570
  center?: [number, number] | undefined;
2327
2571
  } | {
2328
2572
  type: "pattern";
2329
- shape: "lines" | "dots" | "grid";
2573
+ shape: string;
2330
2574
  size?: number | undefined;
2331
2575
  color?: string | undefined;
2332
2576
  background?: string | undefined;
@@ -2339,6 +2583,10 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2339
2583
  } | undefined;
2340
2584
  color?: string | undefined;
2341
2585
  opacity?: number | undefined;
2586
+ scale?: number | {
2587
+ x: number;
2588
+ y: number;
2589
+ } | undefined;
2342
2590
  stroke?: string | undefined;
2343
2591
  strokeWidth?: number | undefined;
2344
2592
  dashPattern?: number[] | undefined;
@@ -2348,6 +2596,21 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2348
2596
  thickness?: "ultraThin" | "veryThin" | "thin" | "semithick" | "thick" | "veryThick" | "ultraThick" | undefined;
2349
2597
  fillOpacity?: number | undefined;
2350
2598
  drawOpacity?: number | undefined;
2599
+ rotate?: number | undefined;
2600
+ marks?: {
2601
+ pos: number;
2602
+ mark: {
2603
+ kind: "arrow";
2604
+ length?: number | undefined;
2605
+ fill?: string | undefined;
2606
+ color?: string | undefined;
2607
+ opacity?: number | undefined;
2608
+ shape?: string | undefined;
2609
+ lineWidth?: number | undefined;
2610
+ width?: number | undefined;
2611
+ scale?: number | undefined;
2612
+ };
2613
+ }[] | undefined;
2351
2614
  }>;
2352
2615
  /**
2353
2616
  * every label 默认样式 schema(node label 与 step label 共享)
@@ -2399,15 +2662,7 @@ export declare const LabelDefaultSchema: z.ZodObject<{
2399
2662
  * @description 直接复用 ArrowDetailSchema(shape / scale / length / width / color / fill / opacity / lineWidth + start / end)
2400
2663
  */
2401
2664
  export declare const ArrowDefaultSchema: z.ZodObject<{
2402
- shape: z.ZodOptional<z.ZodNativeEnum<{
2403
- readonly normal: "normal";
2404
- readonly open: "open";
2405
- readonly stealth: "stealth";
2406
- readonly diamond: "diamond";
2407
- readonly openDiamond: "openDiamond";
2408
- readonly circle: "circle";
2409
- readonly openCircle: "openCircle";
2410
- }>>;
2665
+ shape: z.ZodOptional<z.ZodString>;
2411
2666
  scale: z.ZodOptional<z.ZodNumber>;
2412
2667
  length: z.ZodOptional<z.ZodNumber>;
2413
2668
  width: z.ZodOptional<z.ZodNumber>;
@@ -2417,15 +2672,7 @@ export declare const ArrowDefaultSchema: z.ZodObject<{
2417
2672
  lineWidth: z.ZodOptional<z.ZodNumber>;
2418
2673
  } & {
2419
2674
  start: z.ZodOptional<z.ZodObject<{
2420
- shape: z.ZodOptional<z.ZodNativeEnum<{
2421
- readonly normal: "normal";
2422
- readonly open: "open";
2423
- readonly stealth: "stealth";
2424
- readonly diamond: "diamond";
2425
- readonly openDiamond: "openDiamond";
2426
- readonly circle: "circle";
2427
- readonly openCircle: "openCircle";
2428
- }>>;
2675
+ shape: z.ZodOptional<z.ZodString>;
2429
2676
  scale: z.ZodOptional<z.ZodNumber>;
2430
2677
  length: z.ZodOptional<z.ZodNumber>;
2431
2678
  width: z.ZodOptional<z.ZodNumber>;
@@ -2438,30 +2685,22 @@ export declare const ArrowDefaultSchema: z.ZodObject<{
2438
2685
  fill?: string | undefined;
2439
2686
  color?: string | undefined;
2440
2687
  opacity?: number | undefined;
2441
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
2688
+ shape?: string | undefined;
2442
2689
  lineWidth?: number | undefined;
2443
- scale?: number | undefined;
2444
2690
  width?: number | undefined;
2691
+ scale?: number | undefined;
2445
2692
  }, {
2446
2693
  length?: number | undefined;
2447
2694
  fill?: string | undefined;
2448
2695
  color?: string | undefined;
2449
2696
  opacity?: number | undefined;
2450
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
2697
+ shape?: string | undefined;
2451
2698
  lineWidth?: number | undefined;
2452
- scale?: number | undefined;
2453
2699
  width?: number | undefined;
2700
+ scale?: number | undefined;
2454
2701
  }>>;
2455
2702
  end: z.ZodOptional<z.ZodObject<{
2456
- shape: z.ZodOptional<z.ZodNativeEnum<{
2457
- readonly normal: "normal";
2458
- readonly open: "open";
2459
- readonly stealth: "stealth";
2460
- readonly diamond: "diamond";
2461
- readonly openDiamond: "openDiamond";
2462
- readonly circle: "circle";
2463
- readonly openCircle: "openCircle";
2464
- }>>;
2703
+ shape: z.ZodOptional<z.ZodString>;
2465
2704
  scale: z.ZodOptional<z.ZodNumber>;
2466
2705
  length: z.ZodOptional<z.ZodNumber>;
2467
2706
  width: z.ZodOptional<z.ZodNumber>;
@@ -2474,77 +2713,77 @@ export declare const ArrowDefaultSchema: z.ZodObject<{
2474
2713
  fill?: string | undefined;
2475
2714
  color?: string | undefined;
2476
2715
  opacity?: number | undefined;
2477
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
2716
+ shape?: string | undefined;
2478
2717
  lineWidth?: number | undefined;
2479
- scale?: number | undefined;
2480
2718
  width?: number | undefined;
2719
+ scale?: number | undefined;
2481
2720
  }, {
2482
2721
  length?: number | undefined;
2483
2722
  fill?: string | undefined;
2484
2723
  color?: string | undefined;
2485
2724
  opacity?: number | undefined;
2486
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
2725
+ shape?: string | undefined;
2487
2726
  lineWidth?: number | undefined;
2488
- scale?: number | undefined;
2489
2727
  width?: number | undefined;
2728
+ scale?: number | undefined;
2490
2729
  }>>;
2491
2730
  }, "strip", z.ZodTypeAny, {
2492
2731
  length?: number | undefined;
2493
2732
  fill?: string | undefined;
2494
2733
  color?: string | undefined;
2495
2734
  opacity?: number | undefined;
2496
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
2735
+ shape?: string | undefined;
2497
2736
  lineWidth?: number | undefined;
2498
- scale?: number | undefined;
2499
2737
  width?: number | undefined;
2738
+ scale?: number | undefined;
2500
2739
  start?: {
2501
2740
  length?: number | undefined;
2502
2741
  fill?: string | undefined;
2503
2742
  color?: string | undefined;
2504
2743
  opacity?: number | undefined;
2505
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
2744
+ shape?: string | undefined;
2506
2745
  lineWidth?: number | undefined;
2507
- scale?: number | undefined;
2508
2746
  width?: number | undefined;
2747
+ scale?: number | undefined;
2509
2748
  } | undefined;
2510
2749
  end?: {
2511
2750
  length?: number | undefined;
2512
2751
  fill?: string | undefined;
2513
2752
  color?: string | undefined;
2514
2753
  opacity?: number | undefined;
2515
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
2754
+ shape?: string | undefined;
2516
2755
  lineWidth?: number | undefined;
2517
- scale?: number | undefined;
2518
2756
  width?: number | undefined;
2757
+ scale?: number | undefined;
2519
2758
  } | undefined;
2520
2759
  }, {
2521
2760
  length?: number | undefined;
2522
2761
  fill?: string | undefined;
2523
2762
  color?: string | undefined;
2524
2763
  opacity?: number | undefined;
2525
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
2764
+ shape?: string | undefined;
2526
2765
  lineWidth?: number | undefined;
2527
- scale?: number | undefined;
2528
2766
  width?: number | undefined;
2767
+ scale?: number | undefined;
2529
2768
  start?: {
2530
2769
  length?: number | undefined;
2531
2770
  fill?: string | undefined;
2532
2771
  color?: string | undefined;
2533
2772
  opacity?: number | undefined;
2534
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
2773
+ shape?: string | undefined;
2535
2774
  lineWidth?: number | undefined;
2536
- scale?: number | undefined;
2537
2775
  width?: number | undefined;
2776
+ scale?: number | undefined;
2538
2777
  } | undefined;
2539
2778
  end?: {
2540
2779
  length?: number | undefined;
2541
2780
  fill?: string | undefined;
2542
2781
  color?: string | undefined;
2543
2782
  opacity?: number | undefined;
2544
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
2783
+ shape?: string | undefined;
2545
2784
  lineWidth?: number | undefined;
2546
- scale?: number | undefined;
2547
2785
  width?: number | undefined;
2786
+ scale?: number | undefined;
2548
2787
  } | undefined;
2549
2788
  }>;
2550
2789
  /** every node 默认样式(排除 type / id / position / text / label 的全部 node 样式字段) */
@@ -2580,6 +2819,7 @@ export type IRScope = {
2580
2819
  arrowDefault?: IRArrowDefault;
2581
2820
  resetStyle?: boolean | Array<StyleChannel>;
2582
2821
  zIndex?: number;
2822
+ clip?: IRClipSpec;
2583
2823
  children: Array<IRNode | IRPath | IRCoordinate | IRScope>;
2584
2824
  };
2585
2825
  /**
@@ -2760,7 +3000,7 @@ export declare const ScopeSchema: z.ZodObject<{
2760
3000
  center?: [number, number] | undefined;
2761
3001
  }>, z.ZodObject<{
2762
3002
  type: z.ZodLiteral<"pattern">;
2763
- shape: z.ZodEnum<["lines", "dots", "grid"]>;
3003
+ shape: z.ZodString;
2764
3004
  color: z.ZodOptional<z.ZodString>;
2765
3005
  background: z.ZodOptional<z.ZodString>;
2766
3006
  size: z.ZodOptional<z.ZodNumber>;
@@ -2768,7 +3008,7 @@ export declare const ScopeSchema: z.ZodObject<{
2768
3008
  rotation: z.ZodOptional<z.ZodNumber>;
2769
3009
  }, "strip", z.ZodTypeAny, {
2770
3010
  type: "pattern";
2771
- shape: "lines" | "dots" | "grid";
3011
+ shape: string;
2772
3012
  size?: number | undefined;
2773
3013
  color?: string | undefined;
2774
3014
  background?: string | undefined;
@@ -2776,7 +3016,7 @@ export declare const ScopeSchema: z.ZodObject<{
2776
3016
  rotation?: number | undefined;
2777
3017
  }, {
2778
3018
  type: "pattern";
2779
- shape: "lines" | "dots" | "grid";
3019
+ shape: string;
2780
3020
  size?: number | undefined;
2781
3021
  color?: string | undefined;
2782
3022
  background?: string | undefined;
@@ -2833,7 +3073,7 @@ export declare const ScopeSchema: z.ZodObject<{
2833
3073
  }, {
2834
3074
  of: string | [number, number] | import('./position').PolarPosition;
2835
3075
  offset: [number, number];
2836
- }>]>;
3076
+ }>, z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>]>;
2837
3077
  rotate: z.ZodOptional<z.ZodNumber>;
2838
3078
  text: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
2839
3079
  text: z.ZodString;
@@ -2953,7 +3193,7 @@ export declare const ScopeSchema: z.ZodObject<{
2953
3193
  center?: [number, number] | undefined;
2954
3194
  }>, z.ZodObject<{
2955
3195
  type: z.ZodLiteral<"pattern">;
2956
- shape: z.ZodEnum<["lines", "dots", "grid"]>;
3196
+ shape: z.ZodString;
2957
3197
  color: z.ZodOptional<z.ZodString>;
2958
3198
  background: z.ZodOptional<z.ZodString>;
2959
3199
  size: z.ZodOptional<z.ZodNumber>;
@@ -2961,7 +3201,7 @@ export declare const ScopeSchema: z.ZodObject<{
2961
3201
  rotation: z.ZodOptional<z.ZodNumber>;
2962
3202
  }, "strip", z.ZodTypeAny, {
2963
3203
  type: "pattern";
2964
- shape: "lines" | "dots" | "grid";
3204
+ shape: string;
2965
3205
  size?: number | undefined;
2966
3206
  color?: string | undefined;
2967
3207
  background?: string | undefined;
@@ -2969,7 +3209,7 @@ export declare const ScopeSchema: z.ZodObject<{
2969
3209
  rotation?: number | undefined;
2970
3210
  }, {
2971
3211
  type: "pattern";
2972
- shape: "lines" | "dots" | "grid";
3212
+ shape: string;
2973
3213
  size?: number | undefined;
2974
3214
  color?: string | undefined;
2975
3215
  background?: string | undefined;
@@ -3195,7 +3435,7 @@ export declare const ScopeSchema: z.ZodObject<{
3195
3435
  } | undefined;
3196
3436
  }>, "many">]>>;
3197
3437
  zIndex: z.ZodOptional<z.ZodNumber>;
3198
- }, "type" | "text" | "id" | "position" | "label" | "zIndex">, "strict", z.ZodTypeAny, {
3438
+ }, "type" | "id" | "text" | "position" | "label" | "zIndex">, "strict", z.ZodTypeAny, {
3199
3439
  fill?: string | {
3200
3440
  type: "linearGradient";
3201
3441
  stops: {
@@ -3215,7 +3455,7 @@ export declare const ScopeSchema: z.ZodObject<{
3215
3455
  center?: [number, number] | undefined;
3216
3456
  } | {
3217
3457
  type: "pattern";
3218
- shape: "lines" | "dots" | "grid";
3458
+ shape: string;
3219
3459
  size?: number | undefined;
3220
3460
  color?: string | undefined;
3221
3461
  background?: string | undefined;
@@ -3279,7 +3519,7 @@ export declare const ScopeSchema: z.ZodObject<{
3279
3519
  center?: [number, number] | undefined;
3280
3520
  } | {
3281
3521
  type: "pattern";
3282
- shape: "lines" | "dots" | "grid";
3522
+ shape: string;
3283
3523
  size?: number | undefined;
3284
3524
  color?: string | undefined;
3285
3525
  background?: string | undefined;
@@ -3332,15 +3572,7 @@ export declare const ScopeSchema: z.ZodObject<{
3332
3572
  dashPattern: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
3333
3573
  arrow: z.ZodOptional<z.ZodEnum<["none", "->", "<-", "<->"]>>;
3334
3574
  arrowDetail: z.ZodOptional<z.ZodObject<{
3335
- shape: z.ZodOptional<z.ZodNativeEnum<{
3336
- readonly normal: "normal";
3337
- readonly open: "open";
3338
- readonly stealth: "stealth";
3339
- readonly diamond: "diamond";
3340
- readonly openDiamond: "openDiamond";
3341
- readonly circle: "circle";
3342
- readonly openCircle: "openCircle";
3343
- }>>;
3575
+ shape: z.ZodOptional<z.ZodString>;
3344
3576
  scale: z.ZodOptional<z.ZodNumber>;
3345
3577
  length: z.ZodOptional<z.ZodNumber>;
3346
3578
  width: z.ZodOptional<z.ZodNumber>;
@@ -3350,15 +3582,7 @@ export declare const ScopeSchema: z.ZodObject<{
3350
3582
  lineWidth: z.ZodOptional<z.ZodNumber>;
3351
3583
  } & {
3352
3584
  start: z.ZodOptional<z.ZodObject<{
3353
- shape: z.ZodOptional<z.ZodNativeEnum<{
3354
- readonly normal: "normal";
3355
- readonly open: "open";
3356
- readonly stealth: "stealth";
3357
- readonly diamond: "diamond";
3358
- readonly openDiamond: "openDiamond";
3359
- readonly circle: "circle";
3360
- readonly openCircle: "openCircle";
3361
- }>>;
3585
+ shape: z.ZodOptional<z.ZodString>;
3362
3586
  scale: z.ZodOptional<z.ZodNumber>;
3363
3587
  length: z.ZodOptional<z.ZodNumber>;
3364
3588
  width: z.ZodOptional<z.ZodNumber>;
@@ -3371,30 +3595,22 @@ export declare const ScopeSchema: z.ZodObject<{
3371
3595
  fill?: string | undefined;
3372
3596
  color?: string | undefined;
3373
3597
  opacity?: number | undefined;
3374
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
3598
+ shape?: string | undefined;
3375
3599
  lineWidth?: number | undefined;
3376
- scale?: number | undefined;
3377
3600
  width?: number | undefined;
3601
+ scale?: number | undefined;
3378
3602
  }, {
3379
3603
  length?: number | undefined;
3380
3604
  fill?: string | undefined;
3381
3605
  color?: string | undefined;
3382
3606
  opacity?: number | undefined;
3383
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
3607
+ shape?: string | undefined;
3384
3608
  lineWidth?: number | undefined;
3385
- scale?: number | undefined;
3386
3609
  width?: number | undefined;
3610
+ scale?: number | undefined;
3387
3611
  }>>;
3388
3612
  end: z.ZodOptional<z.ZodObject<{
3389
- shape: z.ZodOptional<z.ZodNativeEnum<{
3390
- readonly normal: "normal";
3391
- readonly open: "open";
3392
- readonly stealth: "stealth";
3393
- readonly diamond: "diamond";
3394
- readonly openDiamond: "openDiamond";
3395
- readonly circle: "circle";
3396
- readonly openCircle: "openCircle";
3397
- }>>;
3613
+ shape: z.ZodOptional<z.ZodString>;
3398
3614
  scale: z.ZodOptional<z.ZodNumber>;
3399
3615
  length: z.ZodOptional<z.ZodNumber>;
3400
3616
  width: z.ZodOptional<z.ZodNumber>;
@@ -3407,77 +3623,77 @@ export declare const ScopeSchema: z.ZodObject<{
3407
3623
  fill?: string | undefined;
3408
3624
  color?: string | undefined;
3409
3625
  opacity?: number | undefined;
3410
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
3626
+ shape?: string | undefined;
3411
3627
  lineWidth?: number | undefined;
3412
- scale?: number | undefined;
3413
3628
  width?: number | undefined;
3629
+ scale?: number | undefined;
3414
3630
  }, {
3415
3631
  length?: number | undefined;
3416
3632
  fill?: string | undefined;
3417
3633
  color?: string | undefined;
3418
3634
  opacity?: number | undefined;
3419
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
3635
+ shape?: string | undefined;
3420
3636
  lineWidth?: number | undefined;
3421
- scale?: number | undefined;
3422
3637
  width?: number | undefined;
3638
+ scale?: number | undefined;
3423
3639
  }>>;
3424
3640
  }, "strip", z.ZodTypeAny, {
3425
3641
  length?: number | undefined;
3426
3642
  fill?: string | undefined;
3427
3643
  color?: string | undefined;
3428
3644
  opacity?: number | undefined;
3429
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
3645
+ shape?: string | undefined;
3430
3646
  lineWidth?: number | undefined;
3431
- scale?: number | undefined;
3432
3647
  width?: number | undefined;
3648
+ scale?: number | undefined;
3433
3649
  start?: {
3434
3650
  length?: number | undefined;
3435
3651
  fill?: string | undefined;
3436
3652
  color?: string | undefined;
3437
3653
  opacity?: number | undefined;
3438
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
3654
+ shape?: string | undefined;
3439
3655
  lineWidth?: number | undefined;
3440
- scale?: number | undefined;
3441
3656
  width?: number | undefined;
3657
+ scale?: number | undefined;
3442
3658
  } | undefined;
3443
3659
  end?: {
3444
3660
  length?: number | undefined;
3445
3661
  fill?: string | undefined;
3446
3662
  color?: string | undefined;
3447
3663
  opacity?: number | undefined;
3448
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
3664
+ shape?: string | undefined;
3449
3665
  lineWidth?: number | undefined;
3450
- scale?: number | undefined;
3451
3666
  width?: number | undefined;
3667
+ scale?: number | undefined;
3452
3668
  } | undefined;
3453
3669
  }, {
3454
3670
  length?: number | undefined;
3455
3671
  fill?: string | undefined;
3456
3672
  color?: string | undefined;
3457
3673
  opacity?: number | undefined;
3458
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
3674
+ shape?: string | undefined;
3459
3675
  lineWidth?: number | undefined;
3460
- scale?: number | undefined;
3461
3676
  width?: number | undefined;
3677
+ scale?: number | undefined;
3462
3678
  start?: {
3463
3679
  length?: number | undefined;
3464
3680
  fill?: string | undefined;
3465
3681
  color?: string | undefined;
3466
3682
  opacity?: number | undefined;
3467
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
3683
+ shape?: string | undefined;
3468
3684
  lineWidth?: number | undefined;
3469
- scale?: number | undefined;
3470
3685
  width?: number | undefined;
3686
+ scale?: number | undefined;
3471
3687
  } | undefined;
3472
3688
  end?: {
3473
3689
  length?: number | undefined;
3474
3690
  fill?: string | undefined;
3475
3691
  color?: string | undefined;
3476
3692
  opacity?: number | undefined;
3477
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
3693
+ shape?: string | undefined;
3478
3694
  lineWidth?: number | undefined;
3479
- scale?: number | undefined;
3480
3695
  width?: number | undefined;
3696
+ scale?: number | undefined;
3481
3697
  } | undefined;
3482
3698
  }>>;
3483
3699
  fill: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -3549,7 +3765,7 @@ export declare const ScopeSchema: z.ZodObject<{
3549
3765
  center?: [number, number] | undefined;
3550
3766
  }>, z.ZodObject<{
3551
3767
  type: z.ZodLiteral<"pattern">;
3552
- shape: z.ZodEnum<["lines", "dots", "grid"]>;
3768
+ shape: z.ZodString;
3553
3769
  color: z.ZodOptional<z.ZodString>;
3554
3770
  background: z.ZodOptional<z.ZodString>;
3555
3771
  size: z.ZodOptional<z.ZodNumber>;
@@ -3557,7 +3773,7 @@ export declare const ScopeSchema: z.ZodObject<{
3557
3773
  rotation: z.ZodOptional<z.ZodNumber>;
3558
3774
  }, "strip", z.ZodTypeAny, {
3559
3775
  type: "pattern";
3560
- shape: "lines" | "dots" | "grid";
3776
+ shape: string;
3561
3777
  size?: number | undefined;
3562
3778
  color?: string | undefined;
3563
3779
  background?: string | undefined;
@@ -3565,7 +3781,7 @@ export declare const ScopeSchema: z.ZodObject<{
3565
3781
  rotation?: number | undefined;
3566
3782
  }, {
3567
3783
  type: "pattern";
3568
- shape: "lines" | "dots" | "grid";
3784
+ shape: string;
3569
3785
  size?: number | undefined;
3570
3786
  color?: string | undefined;
3571
3787
  background?: string | undefined;
@@ -3592,6 +3808,78 @@ export declare const ScopeSchema: z.ZodObject<{
3592
3808
  fillOpacity: z.ZodOptional<z.ZodNumber>;
3593
3809
  drawOpacity: z.ZodOptional<z.ZodNumber>;
3594
3810
  zIndex: z.ZodOptional<z.ZodNumber>;
3811
+ rotate: z.ZodOptional<z.ZodNumber>;
3812
+ scale: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
3813
+ x: z.ZodNumber;
3814
+ y: z.ZodNumber;
3815
+ }, "strip", z.ZodTypeAny, {
3816
+ x: number;
3817
+ y: number;
3818
+ }, {
3819
+ x: number;
3820
+ y: number;
3821
+ }>]>>;
3822
+ marks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3823
+ pos: z.ZodNumber;
3824
+ mark: z.ZodObject<{
3825
+ shape: z.ZodOptional<z.ZodString>;
3826
+ scale: z.ZodOptional<z.ZodNumber>;
3827
+ length: z.ZodOptional<z.ZodNumber>;
3828
+ width: z.ZodOptional<z.ZodNumber>;
3829
+ color: z.ZodOptional<z.ZodString>;
3830
+ fill: z.ZodOptional<z.ZodString>;
3831
+ opacity: z.ZodOptional<z.ZodNumber>;
3832
+ lineWidth: z.ZodOptional<z.ZodNumber>;
3833
+ } & {
3834
+ kind: z.ZodLiteral<"arrow">;
3835
+ }, "strip", z.ZodTypeAny, {
3836
+ kind: "arrow";
3837
+ length?: number | undefined;
3838
+ fill?: string | undefined;
3839
+ color?: string | undefined;
3840
+ opacity?: number | undefined;
3841
+ shape?: string | undefined;
3842
+ lineWidth?: number | undefined;
3843
+ width?: number | undefined;
3844
+ scale?: number | undefined;
3845
+ }, {
3846
+ kind: "arrow";
3847
+ length?: number | undefined;
3848
+ fill?: string | undefined;
3849
+ color?: string | undefined;
3850
+ opacity?: number | undefined;
3851
+ shape?: string | undefined;
3852
+ lineWidth?: number | undefined;
3853
+ width?: number | undefined;
3854
+ scale?: number | undefined;
3855
+ }>;
3856
+ }, "strip", z.ZodTypeAny, {
3857
+ pos: number;
3858
+ mark: {
3859
+ kind: "arrow";
3860
+ length?: number | undefined;
3861
+ fill?: string | undefined;
3862
+ color?: string | undefined;
3863
+ opacity?: number | undefined;
3864
+ shape?: string | undefined;
3865
+ lineWidth?: number | undefined;
3866
+ width?: number | undefined;
3867
+ scale?: number | undefined;
3868
+ };
3869
+ }, {
3870
+ pos: number;
3871
+ mark: {
3872
+ kind: "arrow";
3873
+ length?: number | undefined;
3874
+ fill?: string | undefined;
3875
+ color?: string | undefined;
3876
+ opacity?: number | undefined;
3877
+ shape?: string | undefined;
3878
+ lineWidth?: number | undefined;
3879
+ width?: number | undefined;
3880
+ scale?: number | undefined;
3881
+ };
3882
+ }>, "many">>;
3595
3883
  children: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
3596
3884
  type: z.ZodLiteral<"step">;
3597
3885
  kind: z.ZodLiteral<"move">;
@@ -3643,7 +3931,7 @@ export declare const ScopeSchema: z.ZodObject<{
3643
3931
  }, {
3644
3932
  of: string | [number, number] | import('./position').PolarPosition;
3645
3933
  offset: [number, number];
3646
- }>]>;
3934
+ }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
3647
3935
  }, "strip", z.ZodTypeAny, {
3648
3936
  type: "step";
3649
3937
  to: [number, number] | import('./position').PolarPosition | {
@@ -3660,7 +3948,7 @@ export declare const ScopeSchema: z.ZodObject<{
3660
3948
  relative: [number, number];
3661
3949
  } | {
3662
3950
  relativeAccumulate: [number, number];
3663
- };
3951
+ } | import('./position').IRBetweenPosition;
3664
3952
  kind: "move";
3665
3953
  }, {
3666
3954
  type: "step";
@@ -3678,7 +3966,7 @@ export declare const ScopeSchema: z.ZodObject<{
3678
3966
  relative: [number, number];
3679
3967
  } | {
3680
3968
  relativeAccumulate: [number, number];
3681
- };
3969
+ } | import('./position').IRBetweenPosition;
3682
3970
  kind: "move";
3683
3971
  }>, z.ZodObject<{
3684
3972
  type: z.ZodLiteral<"step">;
@@ -3731,7 +4019,7 @@ export declare const ScopeSchema: z.ZodObject<{
3731
4019
  }, {
3732
4020
  of: string | [number, number] | import('./position').PolarPosition;
3733
4021
  offset: [number, number];
3734
- }>]>;
4022
+ }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
3735
4023
  label: z.ZodOptional<z.ZodObject<{
3736
4024
  text: z.ZodString;
3737
4025
  position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["at-start", "very-near-start", "near-start", "midway", "near-end", "very-near-end", "at-end"]>, z.ZodNumber]>>;
@@ -3756,6 +4044,7 @@ export declare const ScopeSchema: z.ZodObject<{
3756
4044
  }>>;
3757
4045
  }, "strip", z.ZodTypeAny, {
3758
4046
  text: string;
4047
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
3759
4048
  opacity?: number | undefined;
3760
4049
  font?: {
3761
4050
  family?: string | undefined;
@@ -3763,11 +4052,11 @@ export declare const ScopeSchema: z.ZodObject<{
3763
4052
  weight?: number | "normal" | "bold" | undefined;
3764
4053
  style?: "normal" | "italic" | "oblique" | undefined;
3765
4054
  } | undefined;
3766
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
3767
4055
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
3768
4056
  textColor?: string | undefined;
3769
4057
  }, {
3770
4058
  text: string;
4059
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
3771
4060
  opacity?: number | undefined;
3772
4061
  font?: {
3773
4062
  family?: string | undefined;
@@ -3775,7 +4064,6 @@ export declare const ScopeSchema: z.ZodObject<{
3775
4064
  weight?: number | "normal" | "bold" | undefined;
3776
4065
  style?: "normal" | "italic" | "oblique" | undefined;
3777
4066
  } | undefined;
3778
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
3779
4067
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
3780
4068
  textColor?: string | undefined;
3781
4069
  }>>;
@@ -3795,10 +4083,11 @@ export declare const ScopeSchema: z.ZodObject<{
3795
4083
  relative: [number, number];
3796
4084
  } | {
3797
4085
  relativeAccumulate: [number, number];
3798
- };
4086
+ } | import('./position').IRBetweenPosition;
3799
4087
  kind: "line";
3800
4088
  label?: {
3801
4089
  text: string;
4090
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
3802
4091
  opacity?: number | undefined;
3803
4092
  font?: {
3804
4093
  family?: string | undefined;
@@ -3806,7 +4095,6 @@ export declare const ScopeSchema: z.ZodObject<{
3806
4095
  weight?: number | "normal" | "bold" | undefined;
3807
4096
  style?: "normal" | "italic" | "oblique" | undefined;
3808
4097
  } | undefined;
3809
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
3810
4098
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
3811
4099
  textColor?: string | undefined;
3812
4100
  } | undefined;
@@ -3826,10 +4114,11 @@ export declare const ScopeSchema: z.ZodObject<{
3826
4114
  relative: [number, number];
3827
4115
  } | {
3828
4116
  relativeAccumulate: [number, number];
3829
- };
4117
+ } | import('./position').IRBetweenPosition;
3830
4118
  kind: "line";
3831
4119
  label?: {
3832
4120
  text: string;
4121
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
3833
4122
  opacity?: number | undefined;
3834
4123
  font?: {
3835
4124
  family?: string | undefined;
@@ -3837,7 +4126,6 @@ export declare const ScopeSchema: z.ZodObject<{
3837
4126
  weight?: number | "normal" | "bold" | undefined;
3838
4127
  style?: "normal" | "italic" | "oblique" | undefined;
3839
4128
  } | undefined;
3840
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
3841
4129
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
3842
4130
  textColor?: string | undefined;
3843
4131
  } | undefined;
@@ -3893,7 +4181,7 @@ export declare const ScopeSchema: z.ZodObject<{
3893
4181
  }, {
3894
4182
  of: string | [number, number] | import('./position').PolarPosition;
3895
4183
  offset: [number, number];
3896
- }>]>;
4184
+ }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
3897
4185
  label: z.ZodOptional<z.ZodObject<{
3898
4186
  text: z.ZodString;
3899
4187
  position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["at-start", "very-near-start", "near-start", "midway", "near-end", "very-near-end", "at-end"]>, z.ZodNumber]>>;
@@ -3918,6 +4206,7 @@ export declare const ScopeSchema: z.ZodObject<{
3918
4206
  }>>;
3919
4207
  }, "strip", z.ZodTypeAny, {
3920
4208
  text: string;
4209
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
3921
4210
  opacity?: number | undefined;
3922
4211
  font?: {
3923
4212
  family?: string | undefined;
@@ -3925,11 +4214,11 @@ export declare const ScopeSchema: z.ZodObject<{
3925
4214
  weight?: number | "normal" | "bold" | undefined;
3926
4215
  style?: "normal" | "italic" | "oblique" | undefined;
3927
4216
  } | undefined;
3928
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
3929
4217
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
3930
4218
  textColor?: string | undefined;
3931
4219
  }, {
3932
4220
  text: string;
4221
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
3933
4222
  opacity?: number | undefined;
3934
4223
  font?: {
3935
4224
  family?: string | undefined;
@@ -3937,7 +4226,6 @@ export declare const ScopeSchema: z.ZodObject<{
3937
4226
  weight?: number | "normal" | "bold" | undefined;
3938
4227
  style?: "normal" | "italic" | "oblique" | undefined;
3939
4228
  } | undefined;
3940
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
3941
4229
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
3942
4230
  textColor?: string | undefined;
3943
4231
  }>>;
@@ -3957,11 +4245,12 @@ export declare const ScopeSchema: z.ZodObject<{
3957
4245
  relative: [number, number];
3958
4246
  } | {
3959
4247
  relativeAccumulate: [number, number];
3960
- };
4248
+ } | import('./position').IRBetweenPosition;
3961
4249
  kind: "step";
3962
4250
  via: "-|" | "|-";
3963
4251
  label?: {
3964
4252
  text: string;
4253
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
3965
4254
  opacity?: number | undefined;
3966
4255
  font?: {
3967
4256
  family?: string | undefined;
@@ -3969,7 +4258,6 @@ export declare const ScopeSchema: z.ZodObject<{
3969
4258
  weight?: number | "normal" | "bold" | undefined;
3970
4259
  style?: "normal" | "italic" | "oblique" | undefined;
3971
4260
  } | undefined;
3972
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
3973
4261
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
3974
4262
  textColor?: string | undefined;
3975
4263
  } | undefined;
@@ -3989,11 +4277,12 @@ export declare const ScopeSchema: z.ZodObject<{
3989
4277
  relative: [number, number];
3990
4278
  } | {
3991
4279
  relativeAccumulate: [number, number];
3992
- };
4280
+ } | import('./position').IRBetweenPosition;
3993
4281
  kind: "step";
3994
4282
  via: "-|" | "|-";
3995
4283
  label?: {
3996
4284
  text: string;
4285
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
3997
4286
  opacity?: number | undefined;
3998
4287
  font?: {
3999
4288
  family?: string | undefined;
@@ -4001,7 +4290,6 @@ export declare const ScopeSchema: z.ZodObject<{
4001
4290
  weight?: number | "normal" | "bold" | undefined;
4002
4291
  style?: "normal" | "italic" | "oblique" | undefined;
4003
4292
  } | undefined;
4004
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4005
4293
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
4006
4294
  textColor?: string | undefined;
4007
4295
  } | undefined;
@@ -4065,7 +4353,7 @@ export declare const ScopeSchema: z.ZodObject<{
4065
4353
  }, {
4066
4354
  of: string | [number, number] | import('./position').PolarPosition;
4067
4355
  offset: [number, number];
4068
- }>]>;
4356
+ }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
4069
4357
  control: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
4070
4358
  label: z.ZodOptional<z.ZodObject<{
4071
4359
  text: z.ZodString;
@@ -4091,6 +4379,7 @@ export declare const ScopeSchema: z.ZodObject<{
4091
4379
  }>>;
4092
4380
  }, "strip", z.ZodTypeAny, {
4093
4381
  text: string;
4382
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4094
4383
  opacity?: number | undefined;
4095
4384
  font?: {
4096
4385
  family?: string | undefined;
@@ -4098,11 +4387,11 @@ export declare const ScopeSchema: z.ZodObject<{
4098
4387
  weight?: number | "normal" | "bold" | undefined;
4099
4388
  style?: "normal" | "italic" | "oblique" | undefined;
4100
4389
  } | undefined;
4101
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4102
4390
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
4103
4391
  textColor?: string | undefined;
4104
4392
  }, {
4105
4393
  text: string;
4394
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4106
4395
  opacity?: number | undefined;
4107
4396
  font?: {
4108
4397
  family?: string | undefined;
@@ -4110,7 +4399,6 @@ export declare const ScopeSchema: z.ZodObject<{
4110
4399
  weight?: number | "normal" | "bold" | undefined;
4111
4400
  style?: "normal" | "italic" | "oblique" | undefined;
4112
4401
  } | undefined;
4113
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4114
4402
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
4115
4403
  textColor?: string | undefined;
4116
4404
  }>>;
@@ -4130,11 +4418,12 @@ export declare const ScopeSchema: z.ZodObject<{
4130
4418
  relative: [number, number];
4131
4419
  } | {
4132
4420
  relativeAccumulate: [number, number];
4133
- };
4421
+ } | import('./position').IRBetweenPosition;
4134
4422
  kind: "curve";
4135
4423
  control: [number, number];
4136
4424
  label?: {
4137
4425
  text: string;
4426
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4138
4427
  opacity?: number | undefined;
4139
4428
  font?: {
4140
4429
  family?: string | undefined;
@@ -4142,7 +4431,6 @@ export declare const ScopeSchema: z.ZodObject<{
4142
4431
  weight?: number | "normal" | "bold" | undefined;
4143
4432
  style?: "normal" | "italic" | "oblique" | undefined;
4144
4433
  } | undefined;
4145
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4146
4434
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
4147
4435
  textColor?: string | undefined;
4148
4436
  } | undefined;
@@ -4162,11 +4450,12 @@ export declare const ScopeSchema: z.ZodObject<{
4162
4450
  relative: [number, number];
4163
4451
  } | {
4164
4452
  relativeAccumulate: [number, number];
4165
- };
4453
+ } | import('./position').IRBetweenPosition;
4166
4454
  kind: "curve";
4167
4455
  control: [number, number];
4168
4456
  label?: {
4169
4457
  text: string;
4458
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4170
4459
  opacity?: number | undefined;
4171
4460
  font?: {
4172
4461
  family?: string | undefined;
@@ -4174,7 +4463,6 @@ export declare const ScopeSchema: z.ZodObject<{
4174
4463
  weight?: number | "normal" | "bold" | undefined;
4175
4464
  style?: "normal" | "italic" | "oblique" | undefined;
4176
4465
  } | undefined;
4177
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4178
4466
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
4179
4467
  textColor?: string | undefined;
4180
4468
  } | undefined;
@@ -4229,7 +4517,7 @@ export declare const ScopeSchema: z.ZodObject<{
4229
4517
  }, {
4230
4518
  of: string | [number, number] | import('./position').PolarPosition;
4231
4519
  offset: [number, number];
4232
- }>]>;
4520
+ }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
4233
4521
  control1: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
4234
4522
  control2: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
4235
4523
  label: z.ZodOptional<z.ZodObject<{
@@ -4256,6 +4544,7 @@ export declare const ScopeSchema: z.ZodObject<{
4256
4544
  }>>;
4257
4545
  }, "strip", z.ZodTypeAny, {
4258
4546
  text: string;
4547
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4259
4548
  opacity?: number | undefined;
4260
4549
  font?: {
4261
4550
  family?: string | undefined;
@@ -4263,11 +4552,11 @@ export declare const ScopeSchema: z.ZodObject<{
4263
4552
  weight?: number | "normal" | "bold" | undefined;
4264
4553
  style?: "normal" | "italic" | "oblique" | undefined;
4265
4554
  } | undefined;
4266
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4267
4555
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
4268
4556
  textColor?: string | undefined;
4269
4557
  }, {
4270
4558
  text: string;
4559
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4271
4560
  opacity?: number | undefined;
4272
4561
  font?: {
4273
4562
  family?: string | undefined;
@@ -4275,7 +4564,6 @@ export declare const ScopeSchema: z.ZodObject<{
4275
4564
  weight?: number | "normal" | "bold" | undefined;
4276
4565
  style?: "normal" | "italic" | "oblique" | undefined;
4277
4566
  } | undefined;
4278
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4279
4567
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
4280
4568
  textColor?: string | undefined;
4281
4569
  }>>;
@@ -4295,12 +4583,13 @@ export declare const ScopeSchema: z.ZodObject<{
4295
4583
  relative: [number, number];
4296
4584
  } | {
4297
4585
  relativeAccumulate: [number, number];
4298
- };
4586
+ } | import('./position').IRBetweenPosition;
4299
4587
  kind: "cubic";
4300
4588
  control1: [number, number];
4301
4589
  control2: [number, number];
4302
4590
  label?: {
4303
4591
  text: string;
4592
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4304
4593
  opacity?: number | undefined;
4305
4594
  font?: {
4306
4595
  family?: string | undefined;
@@ -4308,7 +4597,6 @@ export declare const ScopeSchema: z.ZodObject<{
4308
4597
  weight?: number | "normal" | "bold" | undefined;
4309
4598
  style?: "normal" | "italic" | "oblique" | undefined;
4310
4599
  } | undefined;
4311
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4312
4600
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
4313
4601
  textColor?: string | undefined;
4314
4602
  } | undefined;
@@ -4328,12 +4616,13 @@ export declare const ScopeSchema: z.ZodObject<{
4328
4616
  relative: [number, number];
4329
4617
  } | {
4330
4618
  relativeAccumulate: [number, number];
4331
- };
4619
+ } | import('./position').IRBetweenPosition;
4332
4620
  kind: "cubic";
4333
4621
  control1: [number, number];
4334
4622
  control2: [number, number];
4335
4623
  label?: {
4336
4624
  text: string;
4625
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4337
4626
  opacity?: number | undefined;
4338
4627
  font?: {
4339
4628
  family?: string | undefined;
@@ -4341,7 +4630,6 @@ export declare const ScopeSchema: z.ZodObject<{
4341
4630
  weight?: number | "normal" | "bold" | undefined;
4342
4631
  style?: "normal" | "italic" | "oblique" | undefined;
4343
4632
  } | undefined;
4344
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4345
4633
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
4346
4634
  textColor?: string | undefined;
4347
4635
  } | undefined;
@@ -4396,9 +4684,12 @@ export declare const ScopeSchema: z.ZodObject<{
4396
4684
  }, {
4397
4685
  of: string | [number, number] | import('./position').PolarPosition;
4398
4686
  offset: [number, number];
4399
- }>]>;
4400
- bendDirection: z.ZodEnum<["left", "right"]>;
4687
+ }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
4688
+ bendDirection: z.ZodOptional<z.ZodEnum<["left", "right"]>>;
4401
4689
  bendAngle: z.ZodOptional<z.ZodNumber>;
4690
+ outAngle: z.ZodOptional<z.ZodNumber>;
4691
+ inAngle: z.ZodOptional<z.ZodNumber>;
4692
+ looseness: z.ZodOptional<z.ZodNumber>;
4402
4693
  label: z.ZodOptional<z.ZodObject<{
4403
4694
  text: z.ZodString;
4404
4695
  position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["at-start", "very-near-start", "near-start", "midway", "near-end", "very-near-end", "at-end"]>, z.ZodNumber]>>;
@@ -4423,6 +4714,7 @@ export declare const ScopeSchema: z.ZodObject<{
4423
4714
  }>>;
4424
4715
  }, "strip", z.ZodTypeAny, {
4425
4716
  text: string;
4717
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4426
4718
  opacity?: number | undefined;
4427
4719
  font?: {
4428
4720
  family?: string | undefined;
@@ -4430,11 +4722,11 @@ export declare const ScopeSchema: z.ZodObject<{
4430
4722
  weight?: number | "normal" | "bold" | undefined;
4431
4723
  style?: "normal" | "italic" | "oblique" | undefined;
4432
4724
  } | undefined;
4433
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4434
4725
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
4435
4726
  textColor?: string | undefined;
4436
4727
  }, {
4437
4728
  text: string;
4729
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4438
4730
  opacity?: number | undefined;
4439
4731
  font?: {
4440
4732
  family?: string | undefined;
@@ -4442,7 +4734,6 @@ export declare const ScopeSchema: z.ZodObject<{
4442
4734
  weight?: number | "normal" | "bold" | undefined;
4443
4735
  style?: "normal" | "italic" | "oblique" | undefined;
4444
4736
  } | undefined;
4445
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4446
4737
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
4447
4738
  textColor?: string | undefined;
4448
4739
  }>>;
@@ -4462,11 +4753,11 @@ export declare const ScopeSchema: z.ZodObject<{
4462
4753
  relative: [number, number];
4463
4754
  } | {
4464
4755
  relativeAccumulate: [number, number];
4465
- };
4756
+ } | import('./position').IRBetweenPosition;
4466
4757
  kind: "bend";
4467
- bendDirection: "left" | "right";
4468
4758
  label?: {
4469
4759
  text: string;
4760
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4470
4761
  opacity?: number | undefined;
4471
4762
  font?: {
4472
4763
  family?: string | undefined;
@@ -4474,11 +4765,14 @@ export declare const ScopeSchema: z.ZodObject<{
4474
4765
  weight?: number | "normal" | "bold" | undefined;
4475
4766
  style?: "normal" | "italic" | "oblique" | undefined;
4476
4767
  } | undefined;
4477
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4478
4768
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
4479
4769
  textColor?: string | undefined;
4480
4770
  } | undefined;
4771
+ bendDirection?: "left" | "right" | undefined;
4481
4772
  bendAngle?: number | undefined;
4773
+ outAngle?: number | undefined;
4774
+ inAngle?: number | undefined;
4775
+ looseness?: number | undefined;
4482
4776
  }, {
4483
4777
  type: "step";
4484
4778
  to: [number, number] | import('./position').PolarPosition | {
@@ -4495,11 +4789,11 @@ export declare const ScopeSchema: z.ZodObject<{
4495
4789
  relative: [number, number];
4496
4790
  } | {
4497
4791
  relativeAccumulate: [number, number];
4498
- };
4792
+ } | import('./position').IRBetweenPosition;
4499
4793
  kind: "bend";
4500
- bendDirection: "left" | "right";
4501
4794
  label?: {
4502
4795
  text: string;
4796
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4503
4797
  opacity?: number | undefined;
4504
4798
  font?: {
4505
4799
  family?: string | undefined;
@@ -4507,11 +4801,14 @@ export declare const ScopeSchema: z.ZodObject<{
4507
4801
  weight?: number | "normal" | "bold" | undefined;
4508
4802
  style?: "normal" | "italic" | "oblique" | undefined;
4509
4803
  } | undefined;
4510
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4511
4804
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
4512
4805
  textColor?: string | undefined;
4513
4806
  } | undefined;
4807
+ bendDirection?: "left" | "right" | undefined;
4514
4808
  bendAngle?: number | undefined;
4809
+ outAngle?: number | undefined;
4810
+ inAngle?: number | undefined;
4811
+ looseness?: number | undefined;
4515
4812
  }>, z.ZodObject<{
4516
4813
  type: z.ZodLiteral<"step">;
4517
4814
  kind: z.ZodLiteral<"arc">;
@@ -4568,7 +4865,7 @@ export declare const ScopeSchema: z.ZodObject<{
4568
4865
  }, {
4569
4866
  of: string | [number, number] | import('./position').PolarPosition;
4570
4867
  offset: [number, number];
4571
- }>]>>;
4868
+ }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>>;
4572
4869
  label: z.ZodOptional<z.ZodObject<{
4573
4870
  text: z.ZodString;
4574
4871
  position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["at-start", "very-near-start", "near-start", "midway", "near-end", "very-near-end", "at-end"]>, z.ZodNumber]>>;
@@ -4593,6 +4890,7 @@ export declare const ScopeSchema: z.ZodObject<{
4593
4890
  }>>;
4594
4891
  }, "strip", z.ZodTypeAny, {
4595
4892
  text: string;
4893
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4596
4894
  opacity?: number | undefined;
4597
4895
  font?: {
4598
4896
  family?: string | undefined;
@@ -4600,11 +4898,11 @@ export declare const ScopeSchema: z.ZodObject<{
4600
4898
  weight?: number | "normal" | "bold" | undefined;
4601
4899
  style?: "normal" | "italic" | "oblique" | undefined;
4602
4900
  } | undefined;
4603
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4604
4901
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
4605
4902
  textColor?: string | undefined;
4606
4903
  }, {
4607
4904
  text: string;
4905
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4608
4906
  opacity?: number | undefined;
4609
4907
  font?: {
4610
4908
  family?: string | undefined;
@@ -4612,7 +4910,6 @@ export declare const ScopeSchema: z.ZodObject<{
4612
4910
  weight?: number | "normal" | "bold" | undefined;
4613
4911
  style?: "normal" | "italic" | "oblique" | undefined;
4614
4912
  } | undefined;
4615
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4616
4913
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
4617
4914
  textColor?: string | undefined;
4618
4915
  }>>;
@@ -4636,9 +4933,10 @@ export declare const ScopeSchema: z.ZodObject<{
4636
4933
  relative: [number, number];
4637
4934
  } | {
4638
4935
  relativeAccumulate: [number, number];
4639
- } | undefined;
4936
+ } | import('./position').IRBetweenPosition | undefined;
4640
4937
  label?: {
4641
4938
  text: string;
4939
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4642
4940
  opacity?: number | undefined;
4643
4941
  font?: {
4644
4942
  family?: string | undefined;
@@ -4646,7 +4944,6 @@ export declare const ScopeSchema: z.ZodObject<{
4646
4944
  weight?: number | "normal" | "bold" | undefined;
4647
4945
  style?: "normal" | "italic" | "oblique" | undefined;
4648
4946
  } | undefined;
4649
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4650
4947
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
4651
4948
  textColor?: string | undefined;
4652
4949
  } | undefined;
@@ -4672,9 +4969,10 @@ export declare const ScopeSchema: z.ZodObject<{
4672
4969
  relative: [number, number];
4673
4970
  } | {
4674
4971
  relativeAccumulate: [number, number];
4675
- } | undefined;
4972
+ } | import('./position').IRBetweenPosition | undefined;
4676
4973
  label?: {
4677
4974
  text: string;
4975
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4678
4976
  opacity?: number | undefined;
4679
4977
  font?: {
4680
4978
  family?: string | undefined;
@@ -4682,7 +4980,6 @@ export declare const ScopeSchema: z.ZodObject<{
4682
4980
  weight?: number | "normal" | "bold" | undefined;
4683
4981
  style?: "normal" | "italic" | "oblique" | undefined;
4684
4982
  } | undefined;
4685
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4686
4983
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
4687
4984
  textColor?: string | undefined;
4688
4985
  } | undefined;
@@ -4719,6 +5016,7 @@ export declare const ScopeSchema: z.ZodObject<{
4719
5016
  }>>;
4720
5017
  }, "strip", z.ZodTypeAny, {
4721
5018
  text: string;
5019
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4722
5020
  opacity?: number | undefined;
4723
5021
  font?: {
4724
5022
  family?: string | undefined;
@@ -4726,11 +5024,11 @@ export declare const ScopeSchema: z.ZodObject<{
4726
5024
  weight?: number | "normal" | "bold" | undefined;
4727
5025
  style?: "normal" | "italic" | "oblique" | undefined;
4728
5026
  } | undefined;
4729
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4730
5027
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
4731
5028
  textColor?: string | undefined;
4732
5029
  }, {
4733
5030
  text: string;
5031
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4734
5032
  opacity?: number | undefined;
4735
5033
  font?: {
4736
5034
  family?: string | undefined;
@@ -4738,7 +5036,6 @@ export declare const ScopeSchema: z.ZodObject<{
4738
5036
  weight?: number | "normal" | "bold" | undefined;
4739
5037
  style?: "normal" | "italic" | "oblique" | undefined;
4740
5038
  } | undefined;
4741
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4742
5039
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
4743
5040
  textColor?: string | undefined;
4744
5041
  }>>;
@@ -4750,6 +5047,7 @@ export declare const ScopeSchema: z.ZodObject<{
4750
5047
  endAngle?: number | undefined;
4751
5048
  label?: {
4752
5049
  text: string;
5050
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4753
5051
  opacity?: number | undefined;
4754
5052
  font?: {
4755
5053
  family?: string | undefined;
@@ -4757,7 +5055,6 @@ export declare const ScopeSchema: z.ZodObject<{
4757
5055
  weight?: number | "normal" | "bold" | undefined;
4758
5056
  style?: "normal" | "italic" | "oblique" | undefined;
4759
5057
  } | undefined;
4760
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4761
5058
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
4762
5059
  textColor?: string | undefined;
4763
5060
  } | undefined;
@@ -4770,6 +5067,7 @@ export declare const ScopeSchema: z.ZodObject<{
4770
5067
  endAngle?: number | undefined;
4771
5068
  label?: {
4772
5069
  text: string;
5070
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4773
5071
  opacity?: number | undefined;
4774
5072
  font?: {
4775
5073
  family?: string | undefined;
@@ -4777,7 +5075,6 @@ export declare const ScopeSchema: z.ZodObject<{
4777
5075
  weight?: number | "normal" | "bold" | undefined;
4778
5076
  style?: "normal" | "italic" | "oblique" | undefined;
4779
5077
  } | undefined;
4780
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4781
5078
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
4782
5079
  textColor?: string | undefined;
4783
5080
  } | undefined;
@@ -4814,6 +5111,7 @@ export declare const ScopeSchema: z.ZodObject<{
4814
5111
  }>>;
4815
5112
  }, "strip", z.ZodTypeAny, {
4816
5113
  text: string;
5114
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4817
5115
  opacity?: number | undefined;
4818
5116
  font?: {
4819
5117
  family?: string | undefined;
@@ -4821,11 +5119,11 @@ export declare const ScopeSchema: z.ZodObject<{
4821
5119
  weight?: number | "normal" | "bold" | undefined;
4822
5120
  style?: "normal" | "italic" | "oblique" | undefined;
4823
5121
  } | undefined;
4824
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4825
5122
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
4826
5123
  textColor?: string | undefined;
4827
5124
  }, {
4828
5125
  text: string;
5126
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4829
5127
  opacity?: number | undefined;
4830
5128
  font?: {
4831
5129
  family?: string | undefined;
@@ -4833,7 +5131,6 @@ export declare const ScopeSchema: z.ZodObject<{
4833
5131
  weight?: number | "normal" | "bold" | undefined;
4834
5132
  style?: "normal" | "italic" | "oblique" | undefined;
4835
5133
  } | undefined;
4836
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4837
5134
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
4838
5135
  textColor?: string | undefined;
4839
5136
  }>>;
@@ -4846,6 +5143,7 @@ export declare const ScopeSchema: z.ZodObject<{
4846
5143
  endAngle?: number | undefined;
4847
5144
  label?: {
4848
5145
  text: string;
5146
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4849
5147
  opacity?: number | undefined;
4850
5148
  font?: {
4851
5149
  family?: string | undefined;
@@ -4853,7 +5151,6 @@ export declare const ScopeSchema: z.ZodObject<{
4853
5151
  weight?: number | "normal" | "bold" | undefined;
4854
5152
  style?: "normal" | "italic" | "oblique" | undefined;
4855
5153
  } | undefined;
4856
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4857
5154
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
4858
5155
  textColor?: string | undefined;
4859
5156
  } | undefined;
@@ -4867,6 +5164,7 @@ export declare const ScopeSchema: z.ZodObject<{
4867
5164
  endAngle?: number | undefined;
4868
5165
  label?: {
4869
5166
  text: string;
5167
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4870
5168
  opacity?: number | undefined;
4871
5169
  font?: {
4872
5170
  family?: string | undefined;
@@ -4874,7 +5172,6 @@ export declare const ScopeSchema: z.ZodObject<{
4874
5172
  weight?: number | "normal" | "bold" | undefined;
4875
5173
  style?: "normal" | "italic" | "oblique" | undefined;
4876
5174
  } | undefined;
4877
- side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
4878
5175
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
4879
5176
  textColor?: string | undefined;
4880
5177
  } | undefined;
@@ -4930,7 +5227,7 @@ export declare const ScopeSchema: z.ZodObject<{
4930
5227
  }, {
4931
5228
  of: string | [number, number] | import('./position').PolarPosition;
4932
5229
  offset: [number, number];
4933
- }>]>;
5230
+ }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
4934
5231
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
4935
5232
  id: z.ZodString;
4936
5233
  anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
@@ -4979,7 +5276,7 @@ export declare const ScopeSchema: z.ZodObject<{
4979
5276
  }, {
4980
5277
  of: string | [number, number] | import('./position').PolarPosition;
4981
5278
  offset: [number, number];
4982
- }>]>;
5279
+ }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
4983
5280
  roundedCorners: z.ZodOptional<z.ZodNumber>;
4984
5281
  }, "strip", z.ZodTypeAny, {
4985
5282
  type: "step";
@@ -4997,7 +5294,7 @@ export declare const ScopeSchema: z.ZodObject<{
4997
5294
  relative: [number, number];
4998
5295
  } | {
4999
5296
  relativeAccumulate: [number, number];
5000
- };
5297
+ } | import('./position').IRBetweenPosition;
5001
5298
  kind: "rectangle";
5002
5299
  from: [number, number] | import('./position').PolarPosition | {
5003
5300
  of: string | [number, number] | import('./position').PolarPosition;
@@ -5013,7 +5310,7 @@ export declare const ScopeSchema: z.ZodObject<{
5013
5310
  relative: [number, number];
5014
5311
  } | {
5015
5312
  relativeAccumulate: [number, number];
5016
- };
5313
+ } | import('./position').IRBetweenPosition;
5017
5314
  roundedCorners?: number | undefined;
5018
5315
  }, {
5019
5316
  type: "step";
@@ -5031,7 +5328,7 @@ export declare const ScopeSchema: z.ZodObject<{
5031
5328
  relative: [number, number];
5032
5329
  } | {
5033
5330
  relativeAccumulate: [number, number];
5034
- };
5331
+ } | import('./position').IRBetweenPosition;
5035
5332
  kind: "rectangle";
5036
5333
  from: [number, number] | import('./position').PolarPosition | {
5037
5334
  of: string | [number, number] | import('./position').PolarPosition;
@@ -5047,8 +5344,175 @@ export declare const ScopeSchema: z.ZodObject<{
5047
5344
  relative: [number, number];
5048
5345
  } | {
5049
5346
  relativeAccumulate: [number, number];
5050
- };
5347
+ } | import('./position').IRBetweenPosition;
5051
5348
  roundedCorners?: number | undefined;
5349
+ }>, z.ZodObject<{
5350
+ type: z.ZodLiteral<"step">;
5351
+ kind: z.ZodLiteral<"generator">;
5352
+ name: z.ZodString;
5353
+ to: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
5354
+ id: z.ZodString;
5355
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
5356
+ side: z.ZodEnum<["north", "south", "east", "west"]>;
5357
+ t: z.ZodNumber;
5358
+ }, "strip", z.ZodTypeAny, {
5359
+ side: "north" | "south" | "east" | "west";
5360
+ t: number;
5361
+ }, {
5362
+ side: "north" | "south" | "east" | "west";
5363
+ t: number;
5364
+ }>]>>;
5365
+ offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
5366
+ }, "strip", z.ZodTypeAny, {
5367
+ id: string;
5368
+ offset?: [number, number] | undefined;
5369
+ anchor?: number | import('..').RectAnchor | {
5370
+ side: "north" | "south" | "east" | "west";
5371
+ t: number;
5372
+ } | undefined;
5373
+ }, {
5374
+ id: string;
5375
+ offset?: [number, number] | undefined;
5376
+ anchor?: number | import('..').RectAnchor | {
5377
+ side: "north" | "south" | "east" | "west";
5378
+ t: number;
5379
+ } | undefined;
5380
+ }>, z.ZodObject<{
5381
+ relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
5382
+ }, "strip", z.ZodTypeAny, {
5383
+ relative: [number, number];
5384
+ }, {
5385
+ relative: [number, number];
5386
+ }>, z.ZodObject<{
5387
+ relativeAccumulate: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
5388
+ }, "strip", z.ZodTypeAny, {
5389
+ relativeAccumulate: [number, number];
5390
+ }, {
5391
+ relativeAccumulate: [number, number];
5392
+ }>, z.ZodObject<{
5393
+ of: z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>]>;
5394
+ offset: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
5395
+ }, "strip", z.ZodTypeAny, {
5396
+ of: string | [number, number] | import('./position').PolarPosition;
5397
+ offset: [number, number];
5398
+ }, {
5399
+ of: string | [number, number] | import('./position').PolarPosition;
5400
+ offset: [number, number];
5401
+ }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>>;
5402
+ params: z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>;
5403
+ label: z.ZodOptional<z.ZodObject<{
5404
+ text: z.ZodString;
5405
+ position: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["at-start", "very-near-start", "near-start", "midway", "near-end", "very-near-end", "at-end"]>, z.ZodNumber]>>;
5406
+ side: z.ZodOptional<z.ZodEnum<["above", "below", "left", "right", "sloped"]>>;
5407
+ textColor: z.ZodOptional<z.ZodString>;
5408
+ opacity: z.ZodOptional<z.ZodNumber>;
5409
+ font: z.ZodOptional<z.ZodObject<{
5410
+ family: z.ZodOptional<z.ZodString>;
5411
+ size: z.ZodOptional<z.ZodNumber>;
5412
+ weight: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["normal", "bold"]>, z.ZodNumber]>>;
5413
+ style: z.ZodOptional<z.ZodEnum<["normal", "italic", "oblique"]>>;
5414
+ }, "strip", z.ZodTypeAny, {
5415
+ family?: string | undefined;
5416
+ size?: number | undefined;
5417
+ weight?: number | "normal" | "bold" | undefined;
5418
+ style?: "normal" | "italic" | "oblique" | undefined;
5419
+ }, {
5420
+ family?: string | undefined;
5421
+ size?: number | undefined;
5422
+ weight?: number | "normal" | "bold" | undefined;
5423
+ style?: "normal" | "italic" | "oblique" | undefined;
5424
+ }>>;
5425
+ }, "strip", z.ZodTypeAny, {
5426
+ text: string;
5427
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
5428
+ opacity?: number | undefined;
5429
+ font?: {
5430
+ family?: string | undefined;
5431
+ size?: number | undefined;
5432
+ weight?: number | "normal" | "bold" | undefined;
5433
+ style?: "normal" | "italic" | "oblique" | undefined;
5434
+ } | undefined;
5435
+ position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
5436
+ textColor?: string | undefined;
5437
+ }, {
5438
+ text: string;
5439
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
5440
+ opacity?: number | undefined;
5441
+ font?: {
5442
+ family?: string | undefined;
5443
+ size?: number | undefined;
5444
+ weight?: number | "normal" | "bold" | undefined;
5445
+ style?: "normal" | "italic" | "oblique" | undefined;
5446
+ } | undefined;
5447
+ position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
5448
+ textColor?: string | undefined;
5449
+ }>>;
5450
+ }, "strip", z.ZodTypeAny, {
5451
+ params: Record<string, import('./json').JsonValue>;
5452
+ type: "step";
5453
+ kind: "generator";
5454
+ name: string;
5455
+ to?: [number, number] | import('./position').PolarPosition | {
5456
+ of: string | [number, number] | import('./position').PolarPosition;
5457
+ offset: [number, number];
5458
+ } | {
5459
+ id: string;
5460
+ offset?: [number, number] | undefined;
5461
+ anchor?: number | import('..').RectAnchor | {
5462
+ side: "north" | "south" | "east" | "west";
5463
+ t: number;
5464
+ } | undefined;
5465
+ } | {
5466
+ relative: [number, number];
5467
+ } | {
5468
+ relativeAccumulate: [number, number];
5469
+ } | import('./position').IRBetweenPosition | undefined;
5470
+ label?: {
5471
+ text: string;
5472
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
5473
+ opacity?: number | undefined;
5474
+ font?: {
5475
+ family?: string | undefined;
5476
+ size?: number | undefined;
5477
+ weight?: number | "normal" | "bold" | undefined;
5478
+ style?: "normal" | "italic" | "oblique" | undefined;
5479
+ } | undefined;
5480
+ position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
5481
+ textColor?: string | undefined;
5482
+ } | undefined;
5483
+ }, {
5484
+ params: Record<string, import('./json').JsonValue>;
5485
+ type: "step";
5486
+ kind: "generator";
5487
+ name: string;
5488
+ to?: [number, number] | import('./position').PolarPosition | {
5489
+ of: string | [number, number] | import('./position').PolarPosition;
5490
+ offset: [number, number];
5491
+ } | {
5492
+ id: string;
5493
+ offset?: [number, number] | undefined;
5494
+ anchor?: number | import('..').RectAnchor | {
5495
+ side: "north" | "south" | "east" | "west";
5496
+ t: number;
5497
+ } | undefined;
5498
+ } | {
5499
+ relative: [number, number];
5500
+ } | {
5501
+ relativeAccumulate: [number, number];
5502
+ } | import('./position').IRBetweenPosition | undefined;
5503
+ label?: {
5504
+ text: string;
5505
+ side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
5506
+ opacity?: number | undefined;
5507
+ font?: {
5508
+ family?: string | undefined;
5509
+ size?: number | undefined;
5510
+ weight?: number | "normal" | "bold" | undefined;
5511
+ style?: "normal" | "italic" | "oblique" | undefined;
5512
+ } | undefined;
5513
+ position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
5514
+ textColor?: string | undefined;
5515
+ } | undefined;
5052
5516
  }>]>, "many">;
5053
5517
  }, "type" | "arrow" | "arrowDetail" | "zIndex" | "children">, "strict", z.ZodTypeAny, {
5054
5518
  fill?: string | {
@@ -5070,7 +5534,7 @@ export declare const ScopeSchema: z.ZodObject<{
5070
5534
  center?: [number, number] | undefined;
5071
5535
  } | {
5072
5536
  type: "pattern";
5073
- shape: "lines" | "dots" | "grid";
5537
+ shape: string;
5074
5538
  size?: number | undefined;
5075
5539
  color?: string | undefined;
5076
5540
  background?: string | undefined;
@@ -5083,6 +5547,10 @@ export declare const ScopeSchema: z.ZodObject<{
5083
5547
  } | undefined;
5084
5548
  color?: string | undefined;
5085
5549
  opacity?: number | undefined;
5550
+ scale?: number | {
5551
+ x: number;
5552
+ y: number;
5553
+ } | undefined;
5086
5554
  stroke?: string | undefined;
5087
5555
  strokeWidth?: number | undefined;
5088
5556
  dashPattern?: number[] | undefined;
@@ -5092,6 +5560,21 @@ export declare const ScopeSchema: z.ZodObject<{
5092
5560
  thickness?: "ultraThin" | "veryThin" | "thin" | "semithick" | "thick" | "veryThick" | "ultraThick" | undefined;
5093
5561
  fillOpacity?: number | undefined;
5094
5562
  drawOpacity?: number | undefined;
5563
+ rotate?: number | undefined;
5564
+ marks?: {
5565
+ pos: number;
5566
+ mark: {
5567
+ kind: "arrow";
5568
+ length?: number | undefined;
5569
+ fill?: string | undefined;
5570
+ color?: string | undefined;
5571
+ opacity?: number | undefined;
5572
+ shape?: string | undefined;
5573
+ lineWidth?: number | undefined;
5574
+ width?: number | undefined;
5575
+ scale?: number | undefined;
5576
+ };
5577
+ }[] | undefined;
5095
5578
  }, {
5096
5579
  fill?: string | {
5097
5580
  type: "linearGradient";
@@ -5112,7 +5595,7 @@ export declare const ScopeSchema: z.ZodObject<{
5112
5595
  center?: [number, number] | undefined;
5113
5596
  } | {
5114
5597
  type: "pattern";
5115
- shape: "lines" | "dots" | "grid";
5598
+ shape: string;
5116
5599
  size?: number | undefined;
5117
5600
  color?: string | undefined;
5118
5601
  background?: string | undefined;
@@ -5125,6 +5608,10 @@ export declare const ScopeSchema: z.ZodObject<{
5125
5608
  } | undefined;
5126
5609
  color?: string | undefined;
5127
5610
  opacity?: number | undefined;
5611
+ scale?: number | {
5612
+ x: number;
5613
+ y: number;
5614
+ } | undefined;
5128
5615
  stroke?: string | undefined;
5129
5616
  strokeWidth?: number | undefined;
5130
5617
  dashPattern?: number[] | undefined;
@@ -5134,6 +5621,21 @@ export declare const ScopeSchema: z.ZodObject<{
5134
5621
  thickness?: "ultraThin" | "veryThin" | "thin" | "semithick" | "thick" | "veryThick" | "ultraThick" | undefined;
5135
5622
  fillOpacity?: number | undefined;
5136
5623
  drawOpacity?: number | undefined;
5624
+ rotate?: number | undefined;
5625
+ marks?: {
5626
+ pos: number;
5627
+ mark: {
5628
+ kind: "arrow";
5629
+ length?: number | undefined;
5630
+ fill?: string | undefined;
5631
+ color?: string | undefined;
5632
+ opacity?: number | undefined;
5633
+ shape?: string | undefined;
5634
+ lineWidth?: number | undefined;
5635
+ width?: number | undefined;
5636
+ scale?: number | undefined;
5637
+ };
5638
+ }[] | undefined;
5137
5639
  }>>;
5138
5640
  labelDefault: z.ZodOptional<z.ZodObject<{
5139
5641
  color: z.ZodOptional<z.ZodString>;
@@ -5177,15 +5679,7 @@ export declare const ScopeSchema: z.ZodObject<{
5177
5679
  textColor?: string | undefined;
5178
5680
  }>>;
5179
5681
  arrowDefault: z.ZodOptional<z.ZodObject<{
5180
- shape: z.ZodOptional<z.ZodNativeEnum<{
5181
- readonly normal: "normal";
5182
- readonly open: "open";
5183
- readonly stealth: "stealth";
5184
- readonly diamond: "diamond";
5185
- readonly openDiamond: "openDiamond";
5186
- readonly circle: "circle";
5187
- readonly openCircle: "openCircle";
5188
- }>>;
5682
+ shape: z.ZodOptional<z.ZodString>;
5189
5683
  scale: z.ZodOptional<z.ZodNumber>;
5190
5684
  length: z.ZodOptional<z.ZodNumber>;
5191
5685
  width: z.ZodOptional<z.ZodNumber>;
@@ -5195,15 +5689,7 @@ export declare const ScopeSchema: z.ZodObject<{
5195
5689
  lineWidth: z.ZodOptional<z.ZodNumber>;
5196
5690
  } & {
5197
5691
  start: z.ZodOptional<z.ZodObject<{
5198
- shape: z.ZodOptional<z.ZodNativeEnum<{
5199
- readonly normal: "normal";
5200
- readonly open: "open";
5201
- readonly stealth: "stealth";
5202
- readonly diamond: "diamond";
5203
- readonly openDiamond: "openDiamond";
5204
- readonly circle: "circle";
5205
- readonly openCircle: "openCircle";
5206
- }>>;
5692
+ shape: z.ZodOptional<z.ZodString>;
5207
5693
  scale: z.ZodOptional<z.ZodNumber>;
5208
5694
  length: z.ZodOptional<z.ZodNumber>;
5209
5695
  width: z.ZodOptional<z.ZodNumber>;
@@ -5216,30 +5702,22 @@ export declare const ScopeSchema: z.ZodObject<{
5216
5702
  fill?: string | undefined;
5217
5703
  color?: string | undefined;
5218
5704
  opacity?: number | undefined;
5219
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
5705
+ shape?: string | undefined;
5220
5706
  lineWidth?: number | undefined;
5221
- scale?: number | undefined;
5222
5707
  width?: number | undefined;
5708
+ scale?: number | undefined;
5223
5709
  }, {
5224
5710
  length?: number | undefined;
5225
5711
  fill?: string | undefined;
5226
5712
  color?: string | undefined;
5227
5713
  opacity?: number | undefined;
5228
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
5714
+ shape?: string | undefined;
5229
5715
  lineWidth?: number | undefined;
5230
- scale?: number | undefined;
5231
5716
  width?: number | undefined;
5717
+ scale?: number | undefined;
5232
5718
  }>>;
5233
5719
  end: z.ZodOptional<z.ZodObject<{
5234
- shape: z.ZodOptional<z.ZodNativeEnum<{
5235
- readonly normal: "normal";
5236
- readonly open: "open";
5237
- readonly stealth: "stealth";
5238
- readonly diamond: "diamond";
5239
- readonly openDiamond: "openDiamond";
5240
- readonly circle: "circle";
5241
- readonly openCircle: "openCircle";
5242
- }>>;
5720
+ shape: z.ZodOptional<z.ZodString>;
5243
5721
  scale: z.ZodOptional<z.ZodNumber>;
5244
5722
  length: z.ZodOptional<z.ZodNumber>;
5245
5723
  width: z.ZodOptional<z.ZodNumber>;
@@ -5252,81 +5730,142 @@ export declare const ScopeSchema: z.ZodObject<{
5252
5730
  fill?: string | undefined;
5253
5731
  color?: string | undefined;
5254
5732
  opacity?: number | undefined;
5255
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
5733
+ shape?: string | undefined;
5256
5734
  lineWidth?: number | undefined;
5257
- scale?: number | undefined;
5258
5735
  width?: number | undefined;
5736
+ scale?: number | undefined;
5259
5737
  }, {
5260
5738
  length?: number | undefined;
5261
5739
  fill?: string | undefined;
5262
5740
  color?: string | undefined;
5263
5741
  opacity?: number | undefined;
5264
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
5742
+ shape?: string | undefined;
5265
5743
  lineWidth?: number | undefined;
5266
- scale?: number | undefined;
5267
5744
  width?: number | undefined;
5745
+ scale?: number | undefined;
5268
5746
  }>>;
5269
5747
  }, "strip", z.ZodTypeAny, {
5270
5748
  length?: number | undefined;
5271
5749
  fill?: string | undefined;
5272
5750
  color?: string | undefined;
5273
5751
  opacity?: number | undefined;
5274
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
5752
+ shape?: string | undefined;
5275
5753
  lineWidth?: number | undefined;
5276
- scale?: number | undefined;
5277
5754
  width?: number | undefined;
5755
+ scale?: number | undefined;
5278
5756
  start?: {
5279
5757
  length?: number | undefined;
5280
5758
  fill?: string | undefined;
5281
5759
  color?: string | undefined;
5282
5760
  opacity?: number | undefined;
5283
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
5761
+ shape?: string | undefined;
5284
5762
  lineWidth?: number | undefined;
5285
- scale?: number | undefined;
5286
5763
  width?: number | undefined;
5764
+ scale?: number | undefined;
5287
5765
  } | undefined;
5288
5766
  end?: {
5289
5767
  length?: number | undefined;
5290
5768
  fill?: string | undefined;
5291
5769
  color?: string | undefined;
5292
5770
  opacity?: number | undefined;
5293
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
5771
+ shape?: string | undefined;
5294
5772
  lineWidth?: number | undefined;
5295
- scale?: number | undefined;
5296
5773
  width?: number | undefined;
5774
+ scale?: number | undefined;
5297
5775
  } | undefined;
5298
5776
  }, {
5299
5777
  length?: number | undefined;
5300
5778
  fill?: string | undefined;
5301
5779
  color?: string | undefined;
5302
5780
  opacity?: number | undefined;
5303
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
5781
+ shape?: string | undefined;
5304
5782
  lineWidth?: number | undefined;
5305
- scale?: number | undefined;
5306
5783
  width?: number | undefined;
5784
+ scale?: number | undefined;
5307
5785
  start?: {
5308
5786
  length?: number | undefined;
5309
5787
  fill?: string | undefined;
5310
5788
  color?: string | undefined;
5311
5789
  opacity?: number | undefined;
5312
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
5790
+ shape?: string | undefined;
5313
5791
  lineWidth?: number | undefined;
5314
- scale?: number | undefined;
5315
5792
  width?: number | undefined;
5793
+ scale?: number | undefined;
5316
5794
  } | undefined;
5317
5795
  end?: {
5318
5796
  length?: number | undefined;
5319
5797
  fill?: string | undefined;
5320
5798
  color?: string | undefined;
5321
5799
  opacity?: number | undefined;
5322
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
5800
+ shape?: string | undefined;
5323
5801
  lineWidth?: number | undefined;
5324
- scale?: number | undefined;
5325
5802
  width?: number | undefined;
5803
+ scale?: number | undefined;
5326
5804
  } | undefined;
5327
5805
  }>>;
5328
5806
  resetStyle: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEnum<["node", "path", "label", "arrow"]>, "many">]>>;
5329
5807
  zIndex: z.ZodOptional<z.ZodNumber>;
5808
+ clip: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
5809
+ kind: z.ZodLiteral<"rect">;
5810
+ x: z.ZodNumber;
5811
+ y: z.ZodNumber;
5812
+ width: z.ZodNumber;
5813
+ height: z.ZodNumber;
5814
+ }, "strip", z.ZodTypeAny, {
5815
+ kind: "rect";
5816
+ x: number;
5817
+ y: number;
5818
+ width: number;
5819
+ height: number;
5820
+ }, {
5821
+ kind: "rect";
5822
+ x: number;
5823
+ y: number;
5824
+ width: number;
5825
+ height: number;
5826
+ }>, z.ZodObject<{
5827
+ kind: z.ZodLiteral<"circle">;
5828
+ cx: z.ZodNumber;
5829
+ cy: z.ZodNumber;
5830
+ r: z.ZodNumber;
5831
+ }, "strip", z.ZodTypeAny, {
5832
+ kind: "circle";
5833
+ cx: number;
5834
+ cy: number;
5835
+ r: number;
5836
+ }, {
5837
+ kind: "circle";
5838
+ cx: number;
5839
+ cy: number;
5840
+ r: number;
5841
+ }>, z.ZodObject<{
5842
+ kind: z.ZodLiteral<"ellipse">;
5843
+ cx: z.ZodNumber;
5844
+ cy: z.ZodNumber;
5845
+ rx: z.ZodNumber;
5846
+ ry: z.ZodNumber;
5847
+ }, "strip", z.ZodTypeAny, {
5848
+ kind: "ellipse";
5849
+ cx: number;
5850
+ cy: number;
5851
+ rx: number;
5852
+ ry: number;
5853
+ }, {
5854
+ kind: "ellipse";
5855
+ cx: number;
5856
+ cy: number;
5857
+ rx: number;
5858
+ ry: number;
5859
+ }>, z.ZodObject<{
5860
+ kind: z.ZodLiteral<"polygon">;
5861
+ points: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">;
5862
+ }, "strip", z.ZodTypeAny, {
5863
+ kind: "polygon";
5864
+ points: [number, number][];
5865
+ }, {
5866
+ kind: "polygon";
5867
+ points: [number, number][];
5868
+ }>]>>;
5330
5869
  children: z.ZodArray<z.ZodLazy<z.ZodTypeAny>, "many">;
5331
5870
  }, "strip", z.ZodTypeAny, {
5332
5871
  type: "scope";
@@ -5350,7 +5889,7 @@ export declare const ScopeSchema: z.ZodObject<{
5350
5889
  center?: [number, number] | undefined;
5351
5890
  } | {
5352
5891
  type: "pattern";
5353
- shape: "lines" | "dots" | "grid";
5892
+ shape: string;
5354
5893
  size?: number | undefined;
5355
5894
  color?: string | undefined;
5356
5895
  background?: string | undefined;
@@ -5361,9 +5900,9 @@ export declare const ScopeSchema: z.ZodObject<{
5361
5900
  href: string;
5362
5901
  fit?: "fill" | "contain" | "cover" | undefined;
5363
5902
  } | undefined;
5903
+ id?: string | undefined;
5364
5904
  color?: string | undefined;
5365
5905
  opacity?: number | undefined;
5366
- id?: string | undefined;
5367
5906
  stroke?: string | undefined;
5368
5907
  strokeWidth?: number | undefined;
5369
5908
  fillOpacity?: number | undefined;
@@ -5418,7 +5957,7 @@ export declare const ScopeSchema: z.ZodObject<{
5418
5957
  center?: [number, number] | undefined;
5419
5958
  } | {
5420
5959
  type: "pattern";
5421
- shape: "lines" | "dots" | "grid";
5960
+ shape: string;
5422
5961
  size?: number | undefined;
5423
5962
  color?: string | undefined;
5424
5963
  background?: string | undefined;
@@ -5483,7 +6022,7 @@ export declare const ScopeSchema: z.ZodObject<{
5483
6022
  center?: [number, number] | undefined;
5484
6023
  } | {
5485
6024
  type: "pattern";
5486
- shape: "lines" | "dots" | "grid";
6025
+ shape: string;
5487
6026
  size?: number | undefined;
5488
6027
  color?: string | undefined;
5489
6028
  background?: string | undefined;
@@ -5496,6 +6035,10 @@ export declare const ScopeSchema: z.ZodObject<{
5496
6035
  } | undefined;
5497
6036
  color?: string | undefined;
5498
6037
  opacity?: number | undefined;
6038
+ scale?: number | {
6039
+ x: number;
6040
+ y: number;
6041
+ } | undefined;
5499
6042
  stroke?: string | undefined;
5500
6043
  strokeWidth?: number | undefined;
5501
6044
  dashPattern?: number[] | undefined;
@@ -5505,6 +6048,21 @@ export declare const ScopeSchema: z.ZodObject<{
5505
6048
  thickness?: "ultraThin" | "veryThin" | "thin" | "semithick" | "thick" | "veryThick" | "ultraThick" | undefined;
5506
6049
  fillOpacity?: number | undefined;
5507
6050
  drawOpacity?: number | undefined;
6051
+ rotate?: number | undefined;
6052
+ marks?: {
6053
+ pos: number;
6054
+ mark: {
6055
+ kind: "arrow";
6056
+ length?: number | undefined;
6057
+ fill?: string | undefined;
6058
+ color?: string | undefined;
6059
+ opacity?: number | undefined;
6060
+ shape?: string | undefined;
6061
+ lineWidth?: number | undefined;
6062
+ width?: number | undefined;
6063
+ scale?: number | undefined;
6064
+ };
6065
+ }[] | undefined;
5508
6066
  } | undefined;
5509
6067
  labelDefault?: {
5510
6068
  color?: string | undefined;
@@ -5522,32 +6080,53 @@ export declare const ScopeSchema: z.ZodObject<{
5522
6080
  fill?: string | undefined;
5523
6081
  color?: string | undefined;
5524
6082
  opacity?: number | undefined;
5525
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
6083
+ shape?: string | undefined;
5526
6084
  lineWidth?: number | undefined;
5527
- scale?: number | undefined;
5528
6085
  width?: number | undefined;
6086
+ scale?: number | undefined;
5529
6087
  start?: {
5530
6088
  length?: number | undefined;
5531
6089
  fill?: string | undefined;
5532
6090
  color?: string | undefined;
5533
6091
  opacity?: number | undefined;
5534
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
6092
+ shape?: string | undefined;
5535
6093
  lineWidth?: number | undefined;
5536
- scale?: number | undefined;
5537
6094
  width?: number | undefined;
6095
+ scale?: number | undefined;
5538
6096
  } | undefined;
5539
6097
  end?: {
5540
6098
  length?: number | undefined;
5541
6099
  fill?: string | undefined;
5542
6100
  color?: string | undefined;
5543
6101
  opacity?: number | undefined;
5544
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
6102
+ shape?: string | undefined;
5545
6103
  lineWidth?: number | undefined;
5546
- scale?: number | undefined;
5547
6104
  width?: number | undefined;
6105
+ scale?: number | undefined;
5548
6106
  } | undefined;
5549
6107
  } | undefined;
5550
6108
  resetStyle?: boolean | ("path" | "label" | "arrow" | "node")[] | undefined;
6109
+ clip?: {
6110
+ kind: "rect";
6111
+ x: number;
6112
+ y: number;
6113
+ width: number;
6114
+ height: number;
6115
+ } | {
6116
+ kind: "circle";
6117
+ cx: number;
6118
+ cy: number;
6119
+ r: number;
6120
+ } | {
6121
+ kind: "ellipse";
6122
+ cx: number;
6123
+ cy: number;
6124
+ rx: number;
6125
+ ry: number;
6126
+ } | {
6127
+ kind: "polygon";
6128
+ points: [number, number][];
6129
+ } | undefined;
5551
6130
  }, {
5552
6131
  type: "scope";
5553
6132
  children: any[];
@@ -5570,7 +6149,7 @@ export declare const ScopeSchema: z.ZodObject<{
5570
6149
  center?: [number, number] | undefined;
5571
6150
  } | {
5572
6151
  type: "pattern";
5573
- shape: "lines" | "dots" | "grid";
6152
+ shape: string;
5574
6153
  size?: number | undefined;
5575
6154
  color?: string | undefined;
5576
6155
  background?: string | undefined;
@@ -5581,9 +6160,9 @@ export declare const ScopeSchema: z.ZodObject<{
5581
6160
  href: string;
5582
6161
  fit?: "fill" | "contain" | "cover" | undefined;
5583
6162
  } | undefined;
6163
+ id?: string | undefined;
5584
6164
  color?: string | undefined;
5585
6165
  opacity?: number | undefined;
5586
- id?: string | undefined;
5587
6166
  stroke?: string | undefined;
5588
6167
  strokeWidth?: number | undefined;
5589
6168
  fillOpacity?: number | undefined;
@@ -5638,7 +6217,7 @@ export declare const ScopeSchema: z.ZodObject<{
5638
6217
  center?: [number, number] | undefined;
5639
6218
  } | {
5640
6219
  type: "pattern";
5641
- shape: "lines" | "dots" | "grid";
6220
+ shape: string;
5642
6221
  size?: number | undefined;
5643
6222
  color?: string | undefined;
5644
6223
  background?: string | undefined;
@@ -5703,7 +6282,7 @@ export declare const ScopeSchema: z.ZodObject<{
5703
6282
  center?: [number, number] | undefined;
5704
6283
  } | {
5705
6284
  type: "pattern";
5706
- shape: "lines" | "dots" | "grid";
6285
+ shape: string;
5707
6286
  size?: number | undefined;
5708
6287
  color?: string | undefined;
5709
6288
  background?: string | undefined;
@@ -5716,6 +6295,10 @@ export declare const ScopeSchema: z.ZodObject<{
5716
6295
  } | undefined;
5717
6296
  color?: string | undefined;
5718
6297
  opacity?: number | undefined;
6298
+ scale?: number | {
6299
+ x: number;
6300
+ y: number;
6301
+ } | undefined;
5719
6302
  stroke?: string | undefined;
5720
6303
  strokeWidth?: number | undefined;
5721
6304
  dashPattern?: number[] | undefined;
@@ -5725,6 +6308,21 @@ export declare const ScopeSchema: z.ZodObject<{
5725
6308
  thickness?: "ultraThin" | "veryThin" | "thin" | "semithick" | "thick" | "veryThick" | "ultraThick" | undefined;
5726
6309
  fillOpacity?: number | undefined;
5727
6310
  drawOpacity?: number | undefined;
6311
+ rotate?: number | undefined;
6312
+ marks?: {
6313
+ pos: number;
6314
+ mark: {
6315
+ kind: "arrow";
6316
+ length?: number | undefined;
6317
+ fill?: string | undefined;
6318
+ color?: string | undefined;
6319
+ opacity?: number | undefined;
6320
+ shape?: string | undefined;
6321
+ lineWidth?: number | undefined;
6322
+ width?: number | undefined;
6323
+ scale?: number | undefined;
6324
+ };
6325
+ }[] | undefined;
5728
6326
  } | undefined;
5729
6327
  labelDefault?: {
5730
6328
  color?: string | undefined;
@@ -5742,31 +6340,52 @@ export declare const ScopeSchema: z.ZodObject<{
5742
6340
  fill?: string | undefined;
5743
6341
  color?: string | undefined;
5744
6342
  opacity?: number | undefined;
5745
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
6343
+ shape?: string | undefined;
5746
6344
  lineWidth?: number | undefined;
5747
- scale?: number | undefined;
5748
6345
  width?: number | undefined;
6346
+ scale?: number | undefined;
5749
6347
  start?: {
5750
6348
  length?: number | undefined;
5751
6349
  fill?: string | undefined;
5752
6350
  color?: string | undefined;
5753
6351
  opacity?: number | undefined;
5754
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
6352
+ shape?: string | undefined;
5755
6353
  lineWidth?: number | undefined;
5756
- scale?: number | undefined;
5757
6354
  width?: number | undefined;
6355
+ scale?: number | undefined;
5758
6356
  } | undefined;
5759
6357
  end?: {
5760
6358
  length?: number | undefined;
5761
6359
  fill?: string | undefined;
5762
6360
  color?: string | undefined;
5763
6361
  opacity?: number | undefined;
5764
- shape?: "normal" | "open" | "stealth" | "diamond" | "openDiamond" | "circle" | "openCircle" | undefined;
6362
+ shape?: string | undefined;
5765
6363
  lineWidth?: number | undefined;
5766
- scale?: number | undefined;
5767
6364
  width?: number | undefined;
6365
+ scale?: number | undefined;
5768
6366
  } | undefined;
5769
6367
  } | undefined;
5770
6368
  resetStyle?: boolean | ("path" | "label" | "arrow" | "node")[] | undefined;
6369
+ clip?: {
6370
+ kind: "rect";
6371
+ x: number;
6372
+ y: number;
6373
+ width: number;
6374
+ height: number;
6375
+ } | {
6376
+ kind: "circle";
6377
+ cx: number;
6378
+ cy: number;
6379
+ r: number;
6380
+ } | {
6381
+ kind: "ellipse";
6382
+ cx: number;
6383
+ cy: number;
6384
+ rx: number;
6385
+ ry: number;
6386
+ } | {
6387
+ kind: "polygon";
6388
+ points: [number, number][];
6389
+ } | undefined;
5771
6390
  }>;
5772
6391
  //# sourceMappingURL=scope.d.ts.map