@retikz/core 0.3.0-alpha.3 → 0.3.0-alpha.5

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 (242) hide show
  1. package/README.md +41 -41
  2. package/dist/es/compile/anchor-cache.d.ts +5 -3
  3. package/dist/es/compile/anchor-cache.d.ts.map +1 -1
  4. package/dist/es/compile/anchor-cache.js +14 -10
  5. package/dist/es/compile/boundary.d.ts +19 -0
  6. package/dist/es/compile/boundary.d.ts.map +1 -0
  7. package/dist/es/compile/boundary.js +64 -0
  8. package/dist/es/compile/compile.d.ts +1 -1
  9. package/dist/es/compile/compile.d.ts.map +1 -1
  10. package/dist/es/compile/compile.js +49 -5
  11. package/dist/es/compile/node.d.ts +26 -8
  12. package/dist/es/compile/node.d.ts.map +1 -1
  13. package/dist/es/compile/node.js +103 -16
  14. package/dist/es/compile/path/anchor.d.ts.map +1 -1
  15. package/dist/es/compile/path/anchor.js +7 -6
  16. package/dist/es/compile/path/index.d.ts.map +1 -1
  17. package/dist/es/compile/path/index.js +7 -3
  18. package/dist/es/compile/path/relative.js +1 -1
  19. package/dist/es/compile/scope.d.ts.map +1 -1
  20. package/dist/es/compile/scope.js +2 -1
  21. package/dist/es/geometry/arc.d.ts +14 -0
  22. package/dist/es/geometry/arc.d.ts.map +1 -1
  23. package/dist/es/geometry/arc.js +65 -9
  24. package/dist/es/geometry/index.d.ts +1 -0
  25. package/dist/es/geometry/index.d.ts.map +1 -1
  26. package/dist/es/geometry/rect.d.ts +2 -2
  27. package/dist/es/geometry/rect.d.ts.map +1 -1
  28. package/dist/es/geometry/rect.js +3 -3
  29. package/dist/es/geometry/roundedContour.d.ts +88 -0
  30. package/dist/es/geometry/roundedContour.d.ts.map +1 -0
  31. package/dist/es/geometry/roundedContour.js +417 -0
  32. package/dist/es/index.d.ts +9 -5
  33. package/dist/es/index.d.ts.map +1 -1
  34. package/dist/es/index.js +11 -6
  35. package/dist/es/ir/animation.d.ts +218 -0
  36. package/dist/es/ir/animation.d.ts.map +1 -0
  37. package/dist/es/ir/animation.js +118 -0
  38. package/dist/es/ir/boundary.d.ts +25 -0
  39. package/dist/es/ir/boundary.d.ts.map +1 -0
  40. package/dist/es/ir/boundary.js +14 -0
  41. package/dist/es/ir/index.d.ts +3 -0
  42. package/dist/es/ir/index.d.ts.map +1 -1
  43. package/dist/es/ir/node.d.ts +219 -27
  44. package/dist/es/ir/node.d.ts.map +1 -1
  45. package/dist/es/ir/node.js +10 -3
  46. package/dist/es/ir/path/arrow.d.ts +36 -36
  47. package/dist/es/ir/path/path.d.ts +702 -203
  48. package/dist/es/ir/path/path.d.ts.map +1 -1
  49. package/dist/es/ir/path/path.js +4 -0
  50. package/dist/es/ir/path/step.d.ts +674 -154
  51. package/dist/es/ir/path/step.d.ts.map +1 -1
  52. package/dist/es/ir/path/step.js +2 -2
  53. package/dist/es/ir/path/target.d.ts +43 -8
  54. package/dist/es/ir/path/target.d.ts.map +1 -1
  55. package/dist/es/ir/path/target.js +4 -5
  56. package/dist/es/ir/scene.d.ts +156 -0
  57. package/dist/es/ir/scene.d.ts.map +1 -1
  58. package/dist/es/ir/scene.js +3 -1
  59. package/dist/es/ir/scope.d.ts +1671 -424
  60. package/dist/es/ir/scope.d.ts.map +1 -1
  61. package/dist/es/ir/scope.js +10 -2
  62. package/dist/es/ir/shape.d.ts +14 -0
  63. package/dist/es/ir/shape.d.ts.map +1 -0
  64. package/dist/es/ir/shape.js +9 -0
  65. package/dist/es/parsers/parseNodeTarget.d.ts.map +1 -1
  66. package/dist/es/parsers/parseNodeTarget.js +4 -2
  67. package/dist/es/presets/animation.d.ts +123 -0
  68. package/dist/es/presets/animation.d.ts.map +1 -0
  69. package/dist/es/presets/animation.js +272 -0
  70. package/dist/es/presets/index.d.ts +3 -0
  71. package/dist/es/presets/index.d.ts.map +1 -0
  72. package/dist/es/primitive/ellipse.d.ts +6 -0
  73. package/dist/es/primitive/ellipse.d.ts.map +1 -1
  74. package/dist/es/primitive/group.d.ts +6 -0
  75. package/dist/es/primitive/group.d.ts.map +1 -1
  76. package/dist/es/primitive/path.d.ts +6 -0
  77. package/dist/es/primitive/path.d.ts.map +1 -1
  78. package/dist/es/primitive/rect.d.ts +6 -0
  79. package/dist/es/primitive/rect.d.ts.map +1 -1
  80. package/dist/es/primitive/scene.d.ts +3 -0
  81. package/dist/es/primitive/scene.d.ts.map +1 -1
  82. package/dist/es/primitive/text.d.ts +6 -0
  83. package/dist/es/primitive/text.d.ts.map +1 -1
  84. package/dist/es/shapes/_contour.d.ts +19 -0
  85. package/dist/es/shapes/_contour.d.ts.map +1 -0
  86. package/dist/es/shapes/_contour.js +60 -0
  87. package/dist/es/shapes/_shared.d.ts +54 -0
  88. package/dist/es/shapes/_shared.d.ts.map +1 -1
  89. package/dist/es/shapes/_shared.js +68 -1
  90. package/dist/es/shapes/arc.d.ts +8 -0
  91. package/dist/es/shapes/arc.d.ts.map +1 -0
  92. package/dist/es/shapes/arc.js +104 -0
  93. package/dist/es/shapes/define.d.ts +13 -0
  94. package/dist/es/shapes/define.d.ts.map +1 -0
  95. package/dist/es/shapes/define.js +13 -0
  96. package/dist/es/shapes/ellipse.d.ts +5 -4
  97. package/dist/es/shapes/ellipse.d.ts.map +1 -1
  98. package/dist/es/shapes/ellipse.js +15 -7
  99. package/dist/es/shapes/index.d.ts +9 -6
  100. package/dist/es/shapes/index.d.ts.map +1 -1
  101. package/dist/es/shapes/index.js +10 -5
  102. package/dist/es/shapes/polygon.d.ts +13 -0
  103. package/dist/es/shapes/polygon.d.ts.map +1 -0
  104. package/dist/es/shapes/polygon.js +104 -0
  105. package/dist/es/shapes/rectangle.d.ts +7 -5
  106. package/dist/es/shapes/rectangle.d.ts.map +1 -1
  107. package/dist/es/shapes/rectangle.js +37 -8
  108. package/dist/es/shapes/sector.d.ts +9 -0
  109. package/dist/es/shapes/sector.d.ts.map +1 -0
  110. package/dist/es/shapes/sector.js +143 -0
  111. package/dist/es/shapes/star.d.ts +15 -0
  112. package/dist/es/shapes/star.d.ts.map +1 -0
  113. package/dist/es/shapes/star.js +113 -0
  114. package/dist/es/shapes/types.d.ts +47 -14
  115. package/dist/es/shapes/types.d.ts.map +1 -1
  116. package/dist/lib/compile/anchor-cache.cjs +14 -10
  117. package/dist/lib/compile/anchor-cache.d.ts +5 -3
  118. package/dist/lib/compile/anchor-cache.d.ts.map +1 -1
  119. package/dist/lib/compile/boundary.cjs +65 -0
  120. package/dist/lib/compile/boundary.d.ts +19 -0
  121. package/dist/lib/compile/boundary.d.ts.map +1 -0
  122. package/dist/lib/compile/compile.cjs +49 -5
  123. package/dist/lib/compile/compile.d.ts +1 -1
  124. package/dist/lib/compile/compile.d.ts.map +1 -1
  125. package/dist/lib/compile/node.cjs +103 -16
  126. package/dist/lib/compile/node.d.ts +26 -8
  127. package/dist/lib/compile/node.d.ts.map +1 -1
  128. package/dist/lib/compile/path/anchor.cjs +7 -6
  129. package/dist/lib/compile/path/anchor.d.ts.map +1 -1
  130. package/dist/lib/compile/path/index.cjs +7 -3
  131. package/dist/lib/compile/path/index.d.ts.map +1 -1
  132. package/dist/lib/compile/path/relative.cjs +1 -1
  133. package/dist/lib/compile/scope.cjs +2 -1
  134. package/dist/lib/compile/scope.d.ts.map +1 -1
  135. package/dist/lib/geometry/arc.cjs +66 -8
  136. package/dist/lib/geometry/arc.d.ts +14 -0
  137. package/dist/lib/geometry/arc.d.ts.map +1 -1
  138. package/dist/lib/geometry/index.d.ts +1 -0
  139. package/dist/lib/geometry/index.d.ts.map +1 -1
  140. package/dist/lib/geometry/rect.cjs +3 -3
  141. package/dist/lib/geometry/rect.d.ts +2 -2
  142. package/dist/lib/geometry/rect.d.ts.map +1 -1
  143. package/dist/lib/geometry/roundedContour.cjs +418 -0
  144. package/dist/lib/geometry/roundedContour.d.ts +88 -0
  145. package/dist/lib/geometry/roundedContour.d.ts.map +1 -0
  146. package/dist/lib/index.cjs +41 -7
  147. package/dist/lib/index.d.ts +9 -5
  148. package/dist/lib/index.d.ts.map +1 -1
  149. package/dist/lib/ir/animation.cjs +127 -0
  150. package/dist/lib/ir/animation.d.ts +218 -0
  151. package/dist/lib/ir/animation.d.ts.map +1 -0
  152. package/dist/lib/ir/boundary.cjs +15 -0
  153. package/dist/lib/ir/boundary.d.ts +25 -0
  154. package/dist/lib/ir/boundary.d.ts.map +1 -0
  155. package/dist/lib/ir/index.d.ts +3 -0
  156. package/dist/lib/ir/index.d.ts.map +1 -1
  157. package/dist/lib/ir/node.cjs +10 -3
  158. package/dist/lib/ir/node.d.ts +219 -27
  159. package/dist/lib/ir/node.d.ts.map +1 -1
  160. package/dist/lib/ir/path/arrow.d.ts +36 -36
  161. package/dist/lib/ir/path/path.cjs +4 -0
  162. package/dist/lib/ir/path/path.d.ts +702 -203
  163. package/dist/lib/ir/path/path.d.ts.map +1 -1
  164. package/dist/lib/ir/path/step.cjs +2 -2
  165. package/dist/lib/ir/path/step.d.ts +674 -154
  166. package/dist/lib/ir/path/step.d.ts.map +1 -1
  167. package/dist/lib/ir/path/target.cjs +4 -5
  168. package/dist/lib/ir/path/target.d.ts +43 -8
  169. package/dist/lib/ir/path/target.d.ts.map +1 -1
  170. package/dist/lib/ir/scene.cjs +3 -1
  171. package/dist/lib/ir/scene.d.ts +156 -0
  172. package/dist/lib/ir/scene.d.ts.map +1 -1
  173. package/dist/lib/ir/scope.cjs +10 -2
  174. package/dist/lib/ir/scope.d.ts +1671 -424
  175. package/dist/lib/ir/scope.d.ts.map +1 -1
  176. package/dist/lib/ir/shape.cjs +9 -0
  177. package/dist/lib/ir/shape.d.ts +14 -0
  178. package/dist/lib/ir/shape.d.ts.map +1 -0
  179. package/dist/lib/parsers/parseNodeTarget.cjs +4 -2
  180. package/dist/lib/parsers/parseNodeTarget.d.ts.map +1 -1
  181. package/dist/lib/presets/animation.cjs +286 -0
  182. package/dist/lib/presets/animation.d.ts +123 -0
  183. package/dist/lib/presets/animation.d.ts.map +1 -0
  184. package/dist/lib/presets/index.d.ts +3 -0
  185. package/dist/lib/presets/index.d.ts.map +1 -0
  186. package/dist/lib/primitive/ellipse.d.ts +6 -0
  187. package/dist/lib/primitive/ellipse.d.ts.map +1 -1
  188. package/dist/lib/primitive/group.d.ts +6 -0
  189. package/dist/lib/primitive/group.d.ts.map +1 -1
  190. package/dist/lib/primitive/path.d.ts +6 -0
  191. package/dist/lib/primitive/path.d.ts.map +1 -1
  192. package/dist/lib/primitive/rect.d.ts +6 -0
  193. package/dist/lib/primitive/rect.d.ts.map +1 -1
  194. package/dist/lib/primitive/scene.d.ts +3 -0
  195. package/dist/lib/primitive/scene.d.ts.map +1 -1
  196. package/dist/lib/primitive/text.d.ts +6 -0
  197. package/dist/lib/primitive/text.d.ts.map +1 -1
  198. package/dist/lib/shapes/_contour.cjs +61 -0
  199. package/dist/lib/shapes/_contour.d.ts +19 -0
  200. package/dist/lib/shapes/_contour.d.ts.map +1 -0
  201. package/dist/lib/shapes/_shared.cjs +70 -0
  202. package/dist/lib/shapes/_shared.d.ts +54 -0
  203. package/dist/lib/shapes/_shared.d.ts.map +1 -1
  204. package/dist/lib/shapes/arc.cjs +104 -0
  205. package/dist/lib/shapes/arc.d.ts +8 -0
  206. package/dist/lib/shapes/arc.d.ts.map +1 -0
  207. package/dist/lib/shapes/define.cjs +13 -0
  208. package/dist/lib/shapes/define.d.ts +13 -0
  209. package/dist/lib/shapes/define.d.ts.map +1 -0
  210. package/dist/lib/shapes/ellipse.cjs +15 -7
  211. package/dist/lib/shapes/ellipse.d.ts +5 -4
  212. package/dist/lib/shapes/ellipse.d.ts.map +1 -1
  213. package/dist/lib/shapes/index.cjs +12 -6
  214. package/dist/lib/shapes/index.d.ts +9 -6
  215. package/dist/lib/shapes/index.d.ts.map +1 -1
  216. package/dist/lib/shapes/polygon.cjs +104 -0
  217. package/dist/lib/shapes/polygon.d.ts +13 -0
  218. package/dist/lib/shapes/polygon.d.ts.map +1 -0
  219. package/dist/lib/shapes/rectangle.cjs +37 -8
  220. package/dist/lib/shapes/rectangle.d.ts +7 -5
  221. package/dist/lib/shapes/rectangle.d.ts.map +1 -1
  222. package/dist/lib/shapes/sector.cjs +143 -0
  223. package/dist/lib/shapes/sector.d.ts +9 -0
  224. package/dist/lib/shapes/sector.d.ts.map +1 -0
  225. package/dist/lib/shapes/star.cjs +113 -0
  226. package/dist/lib/shapes/star.d.ts +15 -0
  227. package/dist/lib/shapes/star.d.ts.map +1 -0
  228. package/dist/lib/shapes/types.d.ts +47 -14
  229. package/dist/lib/shapes/types.d.ts.map +1 -1
  230. package/package.json +2 -2
  231. package/dist/es/shapes/circle.d.ts +0 -8
  232. package/dist/es/shapes/circle.d.ts.map +0 -1
  233. package/dist/es/shapes/circle.js +0 -34
  234. package/dist/es/shapes/diamond.d.ts +0 -8
  235. package/dist/es/shapes/diamond.d.ts.map +0 -1
  236. package/dist/es/shapes/diamond.js +0 -66
  237. package/dist/lib/shapes/circle.cjs +0 -34
  238. package/dist/lib/shapes/circle.d.ts +0 -8
  239. package/dist/lib/shapes/circle.d.ts.map +0 -1
  240. package/dist/lib/shapes/diamond.cjs +0 -66
  241. package/dist/lib/shapes/diamond.d.ts +0 -8
  242. package/dist/lib/shapes/diamond.d.ts.map +0 -1
@@ -1,7 +1,9 @@
1
1
  import { z } from 'zod';
2
+ import { IRAnimationTrack } from './animation';
2
3
  import { IRClipSpec } from './clip';
3
4
  import { IRComposite } from './composite';
4
5
  import { IRCoordinate } from './coordinate';
6
+ import { IRJsonObject } from './json';
5
7
  import { IRPaintSpec } from './paint';
6
8
  import { IRNode } from './node';
7
9
  import { IRPath } from './path';
@@ -14,7 +16,147 @@ import { IRTransform } from './transform';
14
16
  export declare const NodeDefaultSchema: z.ZodObject<Omit<{
15
17
  type: z.ZodLiteral<"node">;
16
18
  id: z.ZodOptional<z.ZodString>;
17
- shape: z.ZodOptional<z.ZodString>;
19
+ shape: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
20
+ type: z.ZodString;
21
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
22
+ }, "strip", z.ZodTypeAny, {
23
+ type: string;
24
+ params?: Record<string, import('./json').JsonValue> | undefined;
25
+ }, {
26
+ type: string;
27
+ params?: Record<string, import('./json').JsonValue> | undefined;
28
+ }>]>>;
29
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
30
+ type: z.ZodString;
31
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
32
+ }, "strip", z.ZodTypeAny, {
33
+ type: string;
34
+ params?: Record<string, import('./json').JsonValue> | undefined;
35
+ }, {
36
+ type: string;
37
+ params?: Record<string, import('./json').JsonValue> | undefined;
38
+ }>]>>;
39
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
40
+ animations: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
41
+ property: z.ZodString;
42
+ keyframes: z.ZodEffects<z.ZodArray<z.ZodObject<{
43
+ at: z.ZodNumber;
44
+ value: z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>;
45
+ easing: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>]>>;
46
+ }, "strip", z.ZodTypeAny, {
47
+ value: import('./json').JsonValue;
48
+ at: number;
49
+ easing?: string | [number, number, number, number] | undefined;
50
+ }, {
51
+ value: import('./json').JsonValue;
52
+ at: number;
53
+ easing?: string | [number, number, number, number] | undefined;
54
+ }>, "many">, {
55
+ value: import('./json').JsonValue;
56
+ at: number;
57
+ easing?: string | [number, number, number, number] | undefined;
58
+ }[], {
59
+ value: import('./json').JsonValue;
60
+ at: number;
61
+ easing?: string | [number, number, number, number] | undefined;
62
+ }[]>;
63
+ duration: z.ZodNumber;
64
+ delay: z.ZodOptional<z.ZodNumber>;
65
+ easing: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>]>>;
66
+ iterations: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"infinite">]>>;
67
+ direction: z.ZodOptional<z.ZodNativeEnum<{
68
+ readonly Normal: "normal";
69
+ readonly Reverse: "reverse";
70
+ readonly Alternate: "alternate";
71
+ readonly AlternateReverse: "alternate-reverse";
72
+ }>>;
73
+ fill: z.ZodOptional<z.ZodNativeEnum<{
74
+ readonly None: "none";
75
+ readonly Forwards: "forwards";
76
+ readonly Backwards: "backwards";
77
+ readonly Both: "both";
78
+ }>>;
79
+ trigger: z.ZodOptional<z.ZodUnion<[z.ZodNativeEnum<{
80
+ readonly Load: "load";
81
+ readonly Visible: "visible";
82
+ readonly Manual: "manual";
83
+ }>, z.ZodObject<{
84
+ onEvent: z.ZodString;
85
+ }, "strip", z.ZodTypeAny, {
86
+ onEvent: string;
87
+ }, {
88
+ onEvent: string;
89
+ }>]>>;
90
+ origin: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>]>>;
91
+ }, "strip", z.ZodTypeAny, {
92
+ property: string;
93
+ keyframes: {
94
+ value: import('./json').JsonValue;
95
+ at: number;
96
+ easing?: string | [number, number, number, number] | undefined;
97
+ }[];
98
+ duration: number;
99
+ fill?: "none" | "forwards" | "backwards" | "both" | undefined;
100
+ origin?: string | [number, number] | undefined;
101
+ direction?: "reverse" | "normal" | "alternate" | "alternate-reverse" | undefined;
102
+ easing?: string | [number, number, number, number] | undefined;
103
+ delay?: number | undefined;
104
+ iterations?: number | "infinite" | undefined;
105
+ trigger?: "load" | "visible" | "manual" | {
106
+ onEvent: string;
107
+ } | undefined;
108
+ }, {
109
+ property: string;
110
+ keyframes: {
111
+ value: import('./json').JsonValue;
112
+ at: number;
113
+ easing?: string | [number, number, number, number] | undefined;
114
+ }[];
115
+ duration: number;
116
+ fill?: "none" | "forwards" | "backwards" | "both" | undefined;
117
+ origin?: string | [number, number] | undefined;
118
+ direction?: "reverse" | "normal" | "alternate" | "alternate-reverse" | undefined;
119
+ easing?: string | [number, number, number, number] | undefined;
120
+ delay?: number | undefined;
121
+ iterations?: number | "infinite" | undefined;
122
+ trigger?: "load" | "visible" | "manual" | {
123
+ onEvent: string;
124
+ } | undefined;
125
+ }>, {
126
+ property: string;
127
+ keyframes: {
128
+ value: import('./json').JsonValue;
129
+ at: number;
130
+ easing?: string | [number, number, number, number] | undefined;
131
+ }[];
132
+ duration: number;
133
+ fill?: "none" | "forwards" | "backwards" | "both" | undefined;
134
+ origin?: string | [number, number] | undefined;
135
+ direction?: "reverse" | "normal" | "alternate" | "alternate-reverse" | undefined;
136
+ easing?: string | [number, number, number, number] | undefined;
137
+ delay?: number | undefined;
138
+ iterations?: number | "infinite" | undefined;
139
+ trigger?: "load" | "visible" | "manual" | {
140
+ onEvent: string;
141
+ } | undefined;
142
+ }, {
143
+ property: string;
144
+ keyframes: {
145
+ value: import('./json').JsonValue;
146
+ at: number;
147
+ easing?: string | [number, number, number, number] | undefined;
148
+ }[];
149
+ duration: number;
150
+ fill?: "none" | "forwards" | "backwards" | "both" | undefined;
151
+ origin?: string | [number, number] | undefined;
152
+ direction?: "reverse" | "normal" | "alternate" | "alternate-reverse" | undefined;
153
+ easing?: string | [number, number, number, number] | undefined;
154
+ delay?: number | undefined;
155
+ iterations?: number | "infinite" | undefined;
156
+ trigger?: "load" | "visible" | "manual" | {
157
+ onEvent: string;
158
+ } | undefined;
159
+ }>, "many">>;
18
160
  position: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
19
161
  direction: z.ZodNativeEnum<{
20
162
  readonly above: "above";
@@ -207,7 +349,7 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
207
349
  dashed: z.ZodOptional<z.ZodBoolean>;
208
350
  dotted: z.ZodOptional<z.ZodBoolean>;
209
351
  dashArray: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
210
- roundedCorners: z.ZodOptional<z.ZodNumber>;
352
+ cornerRadius: z.ZodOptional<z.ZodNumber>;
211
353
  minimumWidth: z.ZodOptional<z.ZodNumber>;
212
354
  minimumHeight: z.ZodOptional<z.ZodNumber>;
213
355
  minimumSize: z.ZodOptional<z.ZodNumber>;
@@ -287,6 +429,7 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
287
429
  text: string;
288
430
  distance?: number | undefined;
289
431
  opacity?: number | undefined;
432
+ rotate?: number | "none" | "radial" | "tangent" | undefined;
290
433
  font?: {
291
434
  family?: string | undefined;
292
435
  size?: number | undefined;
@@ -295,7 +438,6 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
295
438
  } | undefined;
296
439
  position?: number | "above" | "below" | "left" | "right" | "above-left" | "above-right" | "below-left" | "below-right" | undefined;
297
440
  textColor?: string | undefined;
298
- rotate?: number | "none" | "radial" | "tangent" | undefined;
299
441
  keepUpright?: boolean | undefined;
300
442
  pin?: boolean | {
301
443
  stroke?: string | undefined;
@@ -306,6 +448,7 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
306
448
  text: string;
307
449
  distance?: number | undefined;
308
450
  opacity?: number | undefined;
451
+ rotate?: number | "none" | "radial" | "tangent" | undefined;
309
452
  font?: {
310
453
  family?: string | undefined;
311
454
  size?: number | undefined;
@@ -314,7 +457,6 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
314
457
  } | undefined;
315
458
  position?: number | "above" | "below" | "left" | "right" | "above-left" | "above-right" | "below-left" | "below-right" | undefined;
316
459
  textColor?: string | undefined;
317
- rotate?: number | "none" | "radial" | "tangent" | undefined;
318
460
  keepUpright?: boolean | undefined;
319
461
  pin?: boolean | {
320
462
  stroke?: string | undefined;
@@ -371,6 +513,7 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
371
513
  text: string;
372
514
  distance?: number | undefined;
373
515
  opacity?: number | undefined;
516
+ rotate?: number | "none" | "radial" | "tangent" | undefined;
374
517
  font?: {
375
518
  family?: string | undefined;
376
519
  size?: number | undefined;
@@ -379,7 +522,6 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
379
522
  } | undefined;
380
523
  position?: number | "above" | "below" | "left" | "right" | "above-left" | "above-right" | "below-left" | "below-right" | undefined;
381
524
  textColor?: string | undefined;
382
- rotate?: number | "none" | "radial" | "tangent" | undefined;
383
525
  keepUpright?: boolean | undefined;
384
526
  pin?: boolean | {
385
527
  stroke?: string | undefined;
@@ -390,6 +532,7 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
390
532
  text: string;
391
533
  distance?: number | undefined;
392
534
  opacity?: number | undefined;
535
+ rotate?: number | "none" | "radial" | "tangent" | undefined;
393
536
  font?: {
394
537
  family?: string | undefined;
395
538
  size?: number | undefined;
@@ -398,7 +541,6 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
398
541
  } | undefined;
399
542
  position?: number | "above" | "below" | "left" | "right" | "above-left" | "above-right" | "below-left" | "below-right" | undefined;
400
543
  textColor?: string | undefined;
401
- rotate?: number | "none" | "radial" | "tangent" | undefined;
402
544
  keepUpright?: boolean | undefined;
403
545
  pin?: boolean | {
404
546
  stroke?: string | undefined;
@@ -407,7 +549,7 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
407
549
  } | undefined;
408
550
  }>, "many">]>>;
409
551
  zIndex: z.ZodOptional<z.ZodNumber>;
410
- }, "type" | "id" | "text" | "position" | "label" | "zIndex">, "strict", z.ZodTypeAny, {
552
+ }, "type" | "id" | "text" | "position" | "label" | "meta" | "animations" | "zIndex">, "strict", z.ZodTypeAny, {
411
553
  fill?: string | {
412
554
  type: "linearGradient";
413
555
  stops: {
@@ -438,23 +580,30 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
438
580
  href: string;
439
581
  fit?: "fill" | "contain" | "cover" | undefined;
440
582
  } | undefined;
441
- color?: string | undefined;
583
+ shape?: string | {
584
+ type: string;
585
+ params?: Record<string, import('./json').JsonValue> | undefined;
586
+ } | undefined;
587
+ boundary?: string | {
588
+ type: string;
589
+ params?: Record<string, import('./json').JsonValue> | undefined;
590
+ } | undefined;
442
591
  opacity?: number | undefined;
443
- shape?: string | undefined;
592
+ stroke?: string | undefined;
593
+ strokeWidth?: number | undefined;
594
+ rotate?: number | undefined;
595
+ scale?: number | undefined;
596
+ color?: string | undefined;
444
597
  font?: {
445
598
  family?: string | undefined;
446
599
  size?: number | undefined;
447
600
  weight?: number | "normal" | "bold" | undefined;
448
601
  style?: "normal" | "italic" | "oblique" | undefined;
449
602
  } | undefined;
450
- scale?: number | undefined;
451
603
  textColor?: string | undefined;
452
- roundedCorners?: number | undefined;
453
- stroke?: string | undefined;
454
- strokeWidth?: number | undefined;
604
+ cornerRadius?: number | undefined;
455
605
  fillOpacity?: number | undefined;
456
606
  drawOpacity?: number | undefined;
457
- rotate?: number | undefined;
458
607
  align?: "left" | "right" | "center" | undefined;
459
608
  lineHeight?: number | undefined;
460
609
  maxTextWidth?: number | undefined;
@@ -502,23 +651,30 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
502
651
  href: string;
503
652
  fit?: "fill" | "contain" | "cover" | undefined;
504
653
  } | undefined;
505
- color?: string | undefined;
654
+ shape?: string | {
655
+ type: string;
656
+ params?: Record<string, import('./json').JsonValue> | undefined;
657
+ } | undefined;
658
+ boundary?: string | {
659
+ type: string;
660
+ params?: Record<string, import('./json').JsonValue> | undefined;
661
+ } | undefined;
506
662
  opacity?: number | undefined;
507
- shape?: string | undefined;
663
+ stroke?: string | undefined;
664
+ strokeWidth?: number | undefined;
665
+ rotate?: number | undefined;
666
+ scale?: number | undefined;
667
+ color?: string | undefined;
508
668
  font?: {
509
669
  family?: string | undefined;
510
670
  size?: number | undefined;
511
671
  weight?: number | "normal" | "bold" | undefined;
512
672
  style?: "normal" | "italic" | "oblique" | undefined;
513
673
  } | undefined;
514
- scale?: number | undefined;
515
674
  textColor?: string | undefined;
516
- roundedCorners?: number | undefined;
517
- stroke?: string | undefined;
518
- strokeWidth?: number | undefined;
675
+ cornerRadius?: number | undefined;
519
676
  fillOpacity?: number | undefined;
520
677
  drawOpacity?: number | undefined;
521
- rotate?: number | undefined;
522
678
  align?: "left" | "right" | "center" | undefined;
523
679
  lineHeight?: number | undefined;
524
680
  maxTextWidth?: number | undefined;
@@ -543,6 +699,127 @@ export declare const NodeDefaultSchema: z.ZodObject<Omit<{
543
699
  export declare const PathDefaultSchema: z.ZodObject<Omit<{
544
700
  type: z.ZodLiteral<"path">;
545
701
  id: z.ZodOptional<z.ZodString>;
702
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
703
+ animations: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
704
+ property: z.ZodString;
705
+ keyframes: z.ZodEffects<z.ZodArray<z.ZodObject<{
706
+ at: z.ZodNumber;
707
+ value: z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>;
708
+ easing: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>]>>;
709
+ }, "strip", z.ZodTypeAny, {
710
+ value: import('./json').JsonValue;
711
+ at: number;
712
+ easing?: string | [number, number, number, number] | undefined;
713
+ }, {
714
+ value: import('./json').JsonValue;
715
+ at: number;
716
+ easing?: string | [number, number, number, number] | undefined;
717
+ }>, "many">, {
718
+ value: import('./json').JsonValue;
719
+ at: number;
720
+ easing?: string | [number, number, number, number] | undefined;
721
+ }[], {
722
+ value: import('./json').JsonValue;
723
+ at: number;
724
+ easing?: string | [number, number, number, number] | undefined;
725
+ }[]>;
726
+ duration: z.ZodNumber;
727
+ delay: z.ZodOptional<z.ZodNumber>;
728
+ easing: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>]>>;
729
+ iterations: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"infinite">]>>;
730
+ direction: z.ZodOptional<z.ZodNativeEnum<{
731
+ readonly Normal: "normal";
732
+ readonly Reverse: "reverse";
733
+ readonly Alternate: "alternate";
734
+ readonly AlternateReverse: "alternate-reverse";
735
+ }>>;
736
+ fill: z.ZodOptional<z.ZodNativeEnum<{
737
+ readonly None: "none";
738
+ readonly Forwards: "forwards";
739
+ readonly Backwards: "backwards";
740
+ readonly Both: "both";
741
+ }>>;
742
+ trigger: z.ZodOptional<z.ZodUnion<[z.ZodNativeEnum<{
743
+ readonly Load: "load";
744
+ readonly Visible: "visible";
745
+ readonly Manual: "manual";
746
+ }>, z.ZodObject<{
747
+ onEvent: z.ZodString;
748
+ }, "strip", z.ZodTypeAny, {
749
+ onEvent: string;
750
+ }, {
751
+ onEvent: string;
752
+ }>]>>;
753
+ origin: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>]>>;
754
+ }, "strip", z.ZodTypeAny, {
755
+ property: string;
756
+ keyframes: {
757
+ value: import('./json').JsonValue;
758
+ at: number;
759
+ easing?: string | [number, number, number, number] | undefined;
760
+ }[];
761
+ duration: number;
762
+ fill?: "none" | "forwards" | "backwards" | "both" | undefined;
763
+ origin?: string | [number, number] | undefined;
764
+ direction?: "reverse" | "normal" | "alternate" | "alternate-reverse" | undefined;
765
+ easing?: string | [number, number, number, number] | undefined;
766
+ delay?: number | undefined;
767
+ iterations?: number | "infinite" | undefined;
768
+ trigger?: "load" | "visible" | "manual" | {
769
+ onEvent: string;
770
+ } | undefined;
771
+ }, {
772
+ property: string;
773
+ keyframes: {
774
+ value: import('./json').JsonValue;
775
+ at: number;
776
+ easing?: string | [number, number, number, number] | undefined;
777
+ }[];
778
+ duration: number;
779
+ fill?: "none" | "forwards" | "backwards" | "both" | undefined;
780
+ origin?: string | [number, number] | undefined;
781
+ direction?: "reverse" | "normal" | "alternate" | "alternate-reverse" | undefined;
782
+ easing?: string | [number, number, number, number] | undefined;
783
+ delay?: number | undefined;
784
+ iterations?: number | "infinite" | undefined;
785
+ trigger?: "load" | "visible" | "manual" | {
786
+ onEvent: string;
787
+ } | undefined;
788
+ }>, {
789
+ property: string;
790
+ keyframes: {
791
+ value: import('./json').JsonValue;
792
+ at: number;
793
+ easing?: string | [number, number, number, number] | undefined;
794
+ }[];
795
+ duration: number;
796
+ fill?: "none" | "forwards" | "backwards" | "both" | undefined;
797
+ origin?: string | [number, number] | undefined;
798
+ direction?: "reverse" | "normal" | "alternate" | "alternate-reverse" | undefined;
799
+ easing?: string | [number, number, number, number] | undefined;
800
+ delay?: number | undefined;
801
+ iterations?: number | "infinite" | undefined;
802
+ trigger?: "load" | "visible" | "manual" | {
803
+ onEvent: string;
804
+ } | undefined;
805
+ }, {
806
+ property: string;
807
+ keyframes: {
808
+ value: import('./json').JsonValue;
809
+ at: number;
810
+ easing?: string | [number, number, number, number] | undefined;
811
+ }[];
812
+ duration: number;
813
+ fill?: "none" | "forwards" | "backwards" | "both" | undefined;
814
+ origin?: string | [number, number] | undefined;
815
+ direction?: "reverse" | "normal" | "alternate" | "alternate-reverse" | undefined;
816
+ easing?: string | [number, number, number, number] | undefined;
817
+ delay?: number | undefined;
818
+ iterations?: number | "infinite" | undefined;
819
+ trigger?: "load" | "visible" | "manual" | {
820
+ onEvent: string;
821
+ } | undefined;
822
+ }>, "many">>;
546
823
  color: z.ZodOptional<z.ZodString>;
547
824
  stroke: z.ZodOptional<z.ZodString>;
548
825
  strokeWidth: z.ZodOptional<z.ZodNumber>;
@@ -570,21 +847,21 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
570
847
  }, "strip", z.ZodTypeAny, {
571
848
  length?: number | undefined;
572
849
  fill?: string | undefined;
573
- color?: string | undefined;
574
- opacity?: number | undefined;
575
850
  shape?: string | undefined;
851
+ opacity?: number | undefined;
852
+ scale?: number | undefined;
853
+ color?: string | undefined;
576
854
  lineWidth?: number | undefined;
577
855
  width?: number | undefined;
578
- scale?: number | undefined;
579
856
  }, {
580
857
  length?: number | undefined;
581
858
  fill?: string | undefined;
582
- color?: string | undefined;
583
- opacity?: number | undefined;
584
859
  shape?: string | undefined;
860
+ opacity?: number | undefined;
861
+ scale?: number | undefined;
862
+ color?: string | undefined;
585
863
  lineWidth?: number | undefined;
586
864
  width?: number | undefined;
587
- scale?: number | undefined;
588
865
  }>>;
589
866
  end: z.ZodOptional<z.ZodObject<{
590
867
  shape: z.ZodOptional<z.ZodString>;
@@ -598,79 +875,79 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
598
875
  }, "strip", z.ZodTypeAny, {
599
876
  length?: number | undefined;
600
877
  fill?: string | undefined;
601
- color?: string | undefined;
602
- opacity?: number | undefined;
603
878
  shape?: string | undefined;
879
+ opacity?: number | undefined;
880
+ scale?: number | undefined;
881
+ color?: string | undefined;
604
882
  lineWidth?: number | undefined;
605
883
  width?: number | undefined;
606
- scale?: number | undefined;
607
884
  }, {
608
885
  length?: number | undefined;
609
886
  fill?: string | undefined;
610
- color?: string | undefined;
611
- opacity?: number | undefined;
612
887
  shape?: string | undefined;
888
+ opacity?: number | undefined;
889
+ scale?: number | undefined;
890
+ color?: string | undefined;
613
891
  lineWidth?: number | undefined;
614
892
  width?: number | undefined;
615
- scale?: number | undefined;
616
893
  }>>;
617
894
  }, "strip", z.ZodTypeAny, {
618
895
  length?: number | undefined;
619
896
  fill?: string | undefined;
620
- color?: string | undefined;
621
- opacity?: number | undefined;
622
897
  shape?: string | undefined;
898
+ opacity?: number | undefined;
899
+ scale?: number | undefined;
900
+ color?: string | undefined;
623
901
  lineWidth?: number | undefined;
624
902
  width?: number | undefined;
625
- scale?: number | undefined;
626
903
  start?: {
627
904
  length?: number | undefined;
628
905
  fill?: string | undefined;
629
- color?: string | undefined;
630
- opacity?: number | undefined;
631
906
  shape?: string | undefined;
907
+ opacity?: number | undefined;
908
+ scale?: number | undefined;
909
+ color?: string | undefined;
632
910
  lineWidth?: number | undefined;
633
911
  width?: number | undefined;
634
- scale?: number | undefined;
635
912
  } | undefined;
636
913
  end?: {
637
914
  length?: number | undefined;
638
915
  fill?: string | undefined;
639
- color?: string | undefined;
640
- opacity?: number | undefined;
641
916
  shape?: string | undefined;
917
+ opacity?: number | undefined;
918
+ scale?: number | undefined;
919
+ color?: string | undefined;
642
920
  lineWidth?: number | undefined;
643
921
  width?: number | undefined;
644
- scale?: number | undefined;
645
922
  } | undefined;
646
923
  }, {
647
924
  length?: number | undefined;
648
925
  fill?: string | undefined;
649
- color?: string | undefined;
650
- opacity?: number | undefined;
651
926
  shape?: string | undefined;
927
+ opacity?: number | undefined;
928
+ scale?: number | undefined;
929
+ color?: string | undefined;
652
930
  lineWidth?: number | undefined;
653
931
  width?: number | undefined;
654
- scale?: number | undefined;
655
932
  start?: {
656
933
  length?: number | undefined;
657
934
  fill?: string | undefined;
658
- color?: string | undefined;
659
- opacity?: number | undefined;
660
935
  shape?: string | undefined;
936
+ opacity?: number | undefined;
937
+ scale?: number | undefined;
938
+ color?: string | undefined;
661
939
  lineWidth?: number | undefined;
662
940
  width?: number | undefined;
663
- scale?: number | undefined;
664
941
  } | undefined;
665
942
  end?: {
666
943
  length?: number | undefined;
667
944
  fill?: string | undefined;
668
- color?: string | undefined;
669
- opacity?: number | undefined;
670
945
  shape?: string | undefined;
946
+ opacity?: number | undefined;
947
+ scale?: number | undefined;
948
+ color?: string | undefined;
671
949
  lineWidth?: number | undefined;
672
950
  width?: number | undefined;
673
- scale?: number | undefined;
674
951
  } | undefined;
675
952
  }>>;
676
953
  fill: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -813,22 +1090,22 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
813
1090
  kind: "arrow";
814
1091
  length?: number | undefined;
815
1092
  fill?: string | undefined;
816
- color?: string | undefined;
817
- opacity?: number | undefined;
818
1093
  shape?: string | undefined;
1094
+ opacity?: number | undefined;
1095
+ scale?: number | undefined;
1096
+ color?: string | undefined;
819
1097
  lineWidth?: number | undefined;
820
1098
  width?: number | undefined;
821
- scale?: number | undefined;
822
1099
  }, {
823
1100
  kind: "arrow";
824
1101
  length?: number | undefined;
825
1102
  fill?: string | undefined;
826
- color?: string | undefined;
827
- opacity?: number | undefined;
828
1103
  shape?: string | undefined;
1104
+ opacity?: number | undefined;
1105
+ scale?: number | undefined;
1106
+ color?: string | undefined;
829
1107
  lineWidth?: number | undefined;
830
1108
  width?: number | undefined;
831
- scale?: number | undefined;
832
1109
  }>;
833
1110
  }, "strip", z.ZodTypeAny, {
834
1111
  pos: number;
@@ -836,12 +1113,12 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
836
1113
  kind: "arrow";
837
1114
  length?: number | undefined;
838
1115
  fill?: string | undefined;
839
- color?: string | undefined;
840
- opacity?: number | undefined;
841
1116
  shape?: string | undefined;
1117
+ opacity?: number | undefined;
1118
+ scale?: number | undefined;
1119
+ color?: string | undefined;
842
1120
  lineWidth?: number | undefined;
843
1121
  width?: number | undefined;
844
- scale?: number | undefined;
845
1122
  };
846
1123
  }, {
847
1124
  pos: number;
@@ -849,12 +1126,12 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
849
1126
  kind: "arrow";
850
1127
  length?: number | undefined;
851
1128
  fill?: string | undefined;
852
- color?: string | undefined;
853
- opacity?: number | undefined;
854
1129
  shape?: string | undefined;
1130
+ opacity?: number | undefined;
1131
+ scale?: number | undefined;
1132
+ color?: string | undefined;
855
1133
  lineWidth?: number | undefined;
856
1134
  width?: number | undefined;
857
- scale?: number | undefined;
858
1135
  };
859
1136
  }>, "many">>;
860
1137
  children: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
@@ -862,7 +1139,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
862
1139
  kind: z.ZodLiteral<"move">;
863
1140
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
864
1141
  id: z.ZodString;
865
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
1142
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
866
1143
  side: z.ZodEnum<["north", "south", "east", "west"]>;
867
1144
  t: z.ZodNumber;
868
1145
  }, "strip", z.ZodTypeAny, {
@@ -873,20 +1150,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
873
1150
  t: number;
874
1151
  }>]>>;
875
1152
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
1153
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1154
+ type: z.ZodString;
1155
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
1156
+ }, "strip", z.ZodTypeAny, {
1157
+ type: string;
1158
+ params?: Record<string, import('./json').JsonValue> | undefined;
1159
+ }, {
1160
+ type: string;
1161
+ params?: Record<string, import('./json').JsonValue> | undefined;
1162
+ }>]>>;
876
1163
  }, "strip", z.ZodTypeAny, {
877
1164
  id: string;
878
1165
  offset?: [number, number] | undefined;
879
- anchor?: number | import('..').RectAnchor | {
1166
+ anchor?: string | number | {
880
1167
  side: "north" | "south" | "east" | "west";
881
1168
  t: number;
882
1169
  } | undefined;
1170
+ boundary?: string | {
1171
+ type: string;
1172
+ params?: Record<string, import('./json').JsonValue> | undefined;
1173
+ } | undefined;
883
1174
  }, {
884
1175
  id: string;
885
1176
  offset?: [number, number] | undefined;
886
- anchor?: number | import('..').RectAnchor | {
1177
+ anchor?: string | number | {
887
1178
  side: "north" | "south" | "east" | "west";
888
1179
  t: number;
889
1180
  } | undefined;
1181
+ boundary?: string | {
1182
+ type: string;
1183
+ params?: Record<string, import('./json').JsonValue> | undefined;
1184
+ } | undefined;
890
1185
  }>, z.ZodObject<{
891
1186
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
892
1187
  }, "strip", z.ZodTypeAny, {
@@ -911,46 +1206,54 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
911
1206
  }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
912
1207
  }, "strip", z.ZodTypeAny, {
913
1208
  type: "step";
1209
+ kind: "move";
914
1210
  to: [number, number] | import('./position').PolarPosition | {
915
1211
  of: string | [number, number] | import('./position').PolarPosition;
916
1212
  offset: [number, number];
917
1213
  } | {
918
1214
  id: string;
919
1215
  offset?: [number, number] | undefined;
920
- anchor?: number | import('..').RectAnchor | {
1216
+ anchor?: string | number | {
921
1217
  side: "north" | "south" | "east" | "west";
922
1218
  t: number;
923
1219
  } | undefined;
1220
+ boundary?: string | {
1221
+ type: string;
1222
+ params?: Record<string, import('./json').JsonValue> | undefined;
1223
+ } | undefined;
924
1224
  } | {
925
1225
  relative: [number, number];
926
1226
  } | {
927
1227
  relativeAccumulate: [number, number];
928
1228
  } | import('./position').IRBetweenPosition;
929
- kind: "move";
930
1229
  }, {
931
1230
  type: "step";
1231
+ kind: "move";
932
1232
  to: [number, number] | import('./position').PolarPosition | {
933
1233
  of: string | [number, number] | import('./position').PolarPosition;
934
1234
  offset: [number, number];
935
1235
  } | {
936
1236
  id: string;
937
1237
  offset?: [number, number] | undefined;
938
- anchor?: number | import('..').RectAnchor | {
1238
+ anchor?: string | number | {
939
1239
  side: "north" | "south" | "east" | "west";
940
1240
  t: number;
941
1241
  } | undefined;
1242
+ boundary?: string | {
1243
+ type: string;
1244
+ params?: Record<string, import('./json').JsonValue> | undefined;
1245
+ } | undefined;
942
1246
  } | {
943
1247
  relative: [number, number];
944
1248
  } | {
945
1249
  relativeAccumulate: [number, number];
946
1250
  } | import('./position').IRBetweenPosition;
947
- kind: "move";
948
1251
  }>, z.ZodObject<{
949
1252
  type: z.ZodLiteral<"step">;
950
1253
  kind: z.ZodLiteral<"line">;
951
1254
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
952
1255
  id: z.ZodString;
953
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
1256
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
954
1257
  side: z.ZodEnum<["north", "south", "east", "west"]>;
955
1258
  t: z.ZodNumber;
956
1259
  }, "strip", z.ZodTypeAny, {
@@ -961,20 +1264,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
961
1264
  t: number;
962
1265
  }>]>>;
963
1266
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
1267
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1268
+ type: z.ZodString;
1269
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
1270
+ }, "strip", z.ZodTypeAny, {
1271
+ type: string;
1272
+ params?: Record<string, import('./json').JsonValue> | undefined;
1273
+ }, {
1274
+ type: string;
1275
+ params?: Record<string, import('./json').JsonValue> | undefined;
1276
+ }>]>>;
964
1277
  }, "strip", z.ZodTypeAny, {
965
1278
  id: string;
966
1279
  offset?: [number, number] | undefined;
967
- anchor?: number | import('..').RectAnchor | {
1280
+ anchor?: string | number | {
968
1281
  side: "north" | "south" | "east" | "west";
969
1282
  t: number;
970
1283
  } | undefined;
1284
+ boundary?: string | {
1285
+ type: string;
1286
+ params?: Record<string, import('./json').JsonValue> | undefined;
1287
+ } | undefined;
971
1288
  }, {
972
1289
  id: string;
973
1290
  offset?: [number, number] | undefined;
974
- anchor?: number | import('..').RectAnchor | {
1291
+ anchor?: string | number | {
975
1292
  side: "north" | "south" | "east" | "west";
976
1293
  t: number;
977
1294
  } | undefined;
1295
+ boundary?: string | {
1296
+ type: string;
1297
+ params?: Record<string, import('./json').JsonValue> | undefined;
1298
+ } | undefined;
978
1299
  }>, z.ZodObject<{
979
1300
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
980
1301
  }, "strip", z.ZodTypeAny, {
@@ -1046,22 +1367,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1046
1367
  }>>;
1047
1368
  }, "strip", z.ZodTypeAny, {
1048
1369
  type: "step";
1370
+ kind: "line";
1049
1371
  to: [number, number] | import('./position').PolarPosition | {
1050
1372
  of: string | [number, number] | import('./position').PolarPosition;
1051
1373
  offset: [number, number];
1052
1374
  } | {
1053
1375
  id: string;
1054
1376
  offset?: [number, number] | undefined;
1055
- anchor?: number | import('..').RectAnchor | {
1377
+ anchor?: string | number | {
1056
1378
  side: "north" | "south" | "east" | "west";
1057
1379
  t: number;
1058
1380
  } | undefined;
1381
+ boundary?: string | {
1382
+ type: string;
1383
+ params?: Record<string, import('./json').JsonValue> | undefined;
1384
+ } | undefined;
1059
1385
  } | {
1060
1386
  relative: [number, number];
1061
1387
  } | {
1062
1388
  relativeAccumulate: [number, number];
1063
1389
  } | import('./position').IRBetweenPosition;
1064
- kind: "line";
1065
1390
  label?: {
1066
1391
  text: string;
1067
1392
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -1077,22 +1402,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1077
1402
  } | undefined;
1078
1403
  }, {
1079
1404
  type: "step";
1405
+ kind: "line";
1080
1406
  to: [number, number] | import('./position').PolarPosition | {
1081
1407
  of: string | [number, number] | import('./position').PolarPosition;
1082
1408
  offset: [number, number];
1083
1409
  } | {
1084
1410
  id: string;
1085
1411
  offset?: [number, number] | undefined;
1086
- anchor?: number | import('..').RectAnchor | {
1412
+ anchor?: string | number | {
1087
1413
  side: "north" | "south" | "east" | "west";
1088
1414
  t: number;
1089
1415
  } | undefined;
1416
+ boundary?: string | {
1417
+ type: string;
1418
+ params?: Record<string, import('./json').JsonValue> | undefined;
1419
+ } | undefined;
1090
1420
  } | {
1091
1421
  relative: [number, number];
1092
1422
  } | {
1093
1423
  relativeAccumulate: [number, number];
1094
1424
  } | import('./position').IRBetweenPosition;
1095
- kind: "line";
1096
1425
  label?: {
1097
1426
  text: string;
1098
1427
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -1112,7 +1441,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1112
1441
  via: z.ZodEnum<["-|", "|-"]>;
1113
1442
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
1114
1443
  id: z.ZodString;
1115
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
1444
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
1116
1445
  side: z.ZodEnum<["north", "south", "east", "west"]>;
1117
1446
  t: z.ZodNumber;
1118
1447
  }, "strip", z.ZodTypeAny, {
@@ -1123,20 +1452,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1123
1452
  t: number;
1124
1453
  }>]>>;
1125
1454
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
1455
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1456
+ type: z.ZodString;
1457
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
1458
+ }, "strip", z.ZodTypeAny, {
1459
+ type: string;
1460
+ params?: Record<string, import('./json').JsonValue> | undefined;
1461
+ }, {
1462
+ type: string;
1463
+ params?: Record<string, import('./json').JsonValue> | undefined;
1464
+ }>]>>;
1126
1465
  }, "strip", z.ZodTypeAny, {
1127
1466
  id: string;
1128
1467
  offset?: [number, number] | undefined;
1129
- anchor?: number | import('..').RectAnchor | {
1468
+ anchor?: string | number | {
1130
1469
  side: "north" | "south" | "east" | "west";
1131
1470
  t: number;
1132
1471
  } | undefined;
1472
+ boundary?: string | {
1473
+ type: string;
1474
+ params?: Record<string, import('./json').JsonValue> | undefined;
1475
+ } | undefined;
1133
1476
  }, {
1134
1477
  id: string;
1135
1478
  offset?: [number, number] | undefined;
1136
- anchor?: number | import('..').RectAnchor | {
1479
+ anchor?: string | number | {
1137
1480
  side: "north" | "south" | "east" | "west";
1138
1481
  t: number;
1139
1482
  } | undefined;
1483
+ boundary?: string | {
1484
+ type: string;
1485
+ params?: Record<string, import('./json').JsonValue> | undefined;
1486
+ } | undefined;
1140
1487
  }>, z.ZodObject<{
1141
1488
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1142
1489
  }, "strip", z.ZodTypeAny, {
@@ -1208,22 +1555,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1208
1555
  }>>;
1209
1556
  }, "strip", z.ZodTypeAny, {
1210
1557
  type: "step";
1558
+ kind: "step";
1211
1559
  to: [number, number] | import('./position').PolarPosition | {
1212
1560
  of: string | [number, number] | import('./position').PolarPosition;
1213
1561
  offset: [number, number];
1214
1562
  } | {
1215
1563
  id: string;
1216
1564
  offset?: [number, number] | undefined;
1217
- anchor?: number | import('..').RectAnchor | {
1565
+ anchor?: string | number | {
1218
1566
  side: "north" | "south" | "east" | "west";
1219
1567
  t: number;
1220
1568
  } | undefined;
1569
+ boundary?: string | {
1570
+ type: string;
1571
+ params?: Record<string, import('./json').JsonValue> | undefined;
1572
+ } | undefined;
1221
1573
  } | {
1222
1574
  relative: [number, number];
1223
1575
  } | {
1224
1576
  relativeAccumulate: [number, number];
1225
1577
  } | import('./position').IRBetweenPosition;
1226
- kind: "step";
1227
1578
  via: "-|" | "|-";
1228
1579
  label?: {
1229
1580
  text: string;
@@ -1240,22 +1591,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1240
1591
  } | undefined;
1241
1592
  }, {
1242
1593
  type: "step";
1594
+ kind: "step";
1243
1595
  to: [number, number] | import('./position').PolarPosition | {
1244
1596
  of: string | [number, number] | import('./position').PolarPosition;
1245
1597
  offset: [number, number];
1246
1598
  } | {
1247
1599
  id: string;
1248
1600
  offset?: [number, number] | undefined;
1249
- anchor?: number | import('..').RectAnchor | {
1601
+ anchor?: string | number | {
1250
1602
  side: "north" | "south" | "east" | "west";
1251
1603
  t: number;
1252
1604
  } | undefined;
1605
+ boundary?: string | {
1606
+ type: string;
1607
+ params?: Record<string, import('./json').JsonValue> | undefined;
1608
+ } | undefined;
1253
1609
  } | {
1254
1610
  relative: [number, number];
1255
1611
  } | {
1256
1612
  relativeAccumulate: [number, number];
1257
1613
  } | import('./position').IRBetweenPosition;
1258
- kind: "step";
1259
1614
  via: "-|" | "|-";
1260
1615
  label?: {
1261
1616
  text: string;
@@ -1284,7 +1639,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1284
1639
  kind: z.ZodLiteral<"curve">;
1285
1640
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
1286
1641
  id: z.ZodString;
1287
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
1642
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
1288
1643
  side: z.ZodEnum<["north", "south", "east", "west"]>;
1289
1644
  t: z.ZodNumber;
1290
1645
  }, "strip", z.ZodTypeAny, {
@@ -1295,20 +1650,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1295
1650
  t: number;
1296
1651
  }>]>>;
1297
1652
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
1653
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1654
+ type: z.ZodString;
1655
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
1656
+ }, "strip", z.ZodTypeAny, {
1657
+ type: string;
1658
+ params?: Record<string, import('./json').JsonValue> | undefined;
1659
+ }, {
1660
+ type: string;
1661
+ params?: Record<string, import('./json').JsonValue> | undefined;
1662
+ }>]>>;
1298
1663
  }, "strip", z.ZodTypeAny, {
1299
1664
  id: string;
1300
1665
  offset?: [number, number] | undefined;
1301
- anchor?: number | import('..').RectAnchor | {
1666
+ anchor?: string | number | {
1302
1667
  side: "north" | "south" | "east" | "west";
1303
1668
  t: number;
1304
1669
  } | undefined;
1670
+ boundary?: string | {
1671
+ type: string;
1672
+ params?: Record<string, import('./json').JsonValue> | undefined;
1673
+ } | undefined;
1305
1674
  }, {
1306
1675
  id: string;
1307
1676
  offset?: [number, number] | undefined;
1308
- anchor?: number | import('..').RectAnchor | {
1677
+ anchor?: string | number | {
1309
1678
  side: "north" | "south" | "east" | "west";
1310
1679
  t: number;
1311
1680
  } | undefined;
1681
+ boundary?: string | {
1682
+ type: string;
1683
+ params?: Record<string, import('./json').JsonValue> | undefined;
1684
+ } | undefined;
1312
1685
  }>, z.ZodObject<{
1313
1686
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1314
1687
  }, "strip", z.ZodTypeAny, {
@@ -1381,22 +1754,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1381
1754
  }>>;
1382
1755
  }, "strip", z.ZodTypeAny, {
1383
1756
  type: "step";
1757
+ kind: "curve";
1384
1758
  to: [number, number] | import('./position').PolarPosition | {
1385
1759
  of: string | [number, number] | import('./position').PolarPosition;
1386
1760
  offset: [number, number];
1387
1761
  } | {
1388
1762
  id: string;
1389
1763
  offset?: [number, number] | undefined;
1390
- anchor?: number | import('..').RectAnchor | {
1764
+ anchor?: string | number | {
1391
1765
  side: "north" | "south" | "east" | "west";
1392
1766
  t: number;
1393
1767
  } | undefined;
1768
+ boundary?: string | {
1769
+ type: string;
1770
+ params?: Record<string, import('./json').JsonValue> | undefined;
1771
+ } | undefined;
1394
1772
  } | {
1395
1773
  relative: [number, number];
1396
1774
  } | {
1397
1775
  relativeAccumulate: [number, number];
1398
1776
  } | import('./position').IRBetweenPosition;
1399
- kind: "curve";
1400
1777
  control: [number, number];
1401
1778
  label?: {
1402
1779
  text: string;
@@ -1413,22 +1790,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1413
1790
  } | undefined;
1414
1791
  }, {
1415
1792
  type: "step";
1793
+ kind: "curve";
1416
1794
  to: [number, number] | import('./position').PolarPosition | {
1417
1795
  of: string | [number, number] | import('./position').PolarPosition;
1418
1796
  offset: [number, number];
1419
1797
  } | {
1420
1798
  id: string;
1421
1799
  offset?: [number, number] | undefined;
1422
- anchor?: number | import('..').RectAnchor | {
1800
+ anchor?: string | number | {
1423
1801
  side: "north" | "south" | "east" | "west";
1424
1802
  t: number;
1425
1803
  } | undefined;
1804
+ boundary?: string | {
1805
+ type: string;
1806
+ params?: Record<string, import('./json').JsonValue> | undefined;
1807
+ } | undefined;
1426
1808
  } | {
1427
1809
  relative: [number, number];
1428
1810
  } | {
1429
1811
  relativeAccumulate: [number, number];
1430
1812
  } | import('./position').IRBetweenPosition;
1431
- kind: "curve";
1432
1813
  control: [number, number];
1433
1814
  label?: {
1434
1815
  text: string;
@@ -1448,7 +1829,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1448
1829
  kind: z.ZodLiteral<"cubic">;
1449
1830
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
1450
1831
  id: z.ZodString;
1451
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
1832
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
1452
1833
  side: z.ZodEnum<["north", "south", "east", "west"]>;
1453
1834
  t: z.ZodNumber;
1454
1835
  }, "strip", z.ZodTypeAny, {
@@ -1459,20 +1840,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1459
1840
  t: number;
1460
1841
  }>]>>;
1461
1842
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
1843
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1844
+ type: z.ZodString;
1845
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
1846
+ }, "strip", z.ZodTypeAny, {
1847
+ type: string;
1848
+ params?: Record<string, import('./json').JsonValue> | undefined;
1849
+ }, {
1850
+ type: string;
1851
+ params?: Record<string, import('./json').JsonValue> | undefined;
1852
+ }>]>>;
1462
1853
  }, "strip", z.ZodTypeAny, {
1463
1854
  id: string;
1464
1855
  offset?: [number, number] | undefined;
1465
- anchor?: number | import('..').RectAnchor | {
1856
+ anchor?: string | number | {
1466
1857
  side: "north" | "south" | "east" | "west";
1467
1858
  t: number;
1468
1859
  } | undefined;
1860
+ boundary?: string | {
1861
+ type: string;
1862
+ params?: Record<string, import('./json').JsonValue> | undefined;
1863
+ } | undefined;
1469
1864
  }, {
1470
1865
  id: string;
1471
1866
  offset?: [number, number] | undefined;
1472
- anchor?: number | import('..').RectAnchor | {
1867
+ anchor?: string | number | {
1473
1868
  side: "north" | "south" | "east" | "west";
1474
1869
  t: number;
1475
1870
  } | undefined;
1871
+ boundary?: string | {
1872
+ type: string;
1873
+ params?: Record<string, import('./json').JsonValue> | undefined;
1874
+ } | undefined;
1476
1875
  }>, z.ZodObject<{
1477
1876
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1478
1877
  }, "strip", z.ZodTypeAny, {
@@ -1546,22 +1945,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1546
1945
  }>>;
1547
1946
  }, "strip", z.ZodTypeAny, {
1548
1947
  type: "step";
1948
+ kind: "cubic";
1549
1949
  to: [number, number] | import('./position').PolarPosition | {
1550
1950
  of: string | [number, number] | import('./position').PolarPosition;
1551
1951
  offset: [number, number];
1552
1952
  } | {
1553
1953
  id: string;
1554
1954
  offset?: [number, number] | undefined;
1555
- anchor?: number | import('..').RectAnchor | {
1955
+ anchor?: string | number | {
1556
1956
  side: "north" | "south" | "east" | "west";
1557
1957
  t: number;
1558
1958
  } | undefined;
1959
+ boundary?: string | {
1960
+ type: string;
1961
+ params?: Record<string, import('./json').JsonValue> | undefined;
1962
+ } | undefined;
1559
1963
  } | {
1560
1964
  relative: [number, number];
1561
1965
  } | {
1562
1966
  relativeAccumulate: [number, number];
1563
1967
  } | import('./position').IRBetweenPosition;
1564
- kind: "cubic";
1565
1968
  control1: [number, number];
1566
1969
  control2: [number, number];
1567
1970
  label?: {
@@ -1579,22 +1982,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1579
1982
  } | undefined;
1580
1983
  }, {
1581
1984
  type: "step";
1985
+ kind: "cubic";
1582
1986
  to: [number, number] | import('./position').PolarPosition | {
1583
1987
  of: string | [number, number] | import('./position').PolarPosition;
1584
1988
  offset: [number, number];
1585
1989
  } | {
1586
1990
  id: string;
1587
1991
  offset?: [number, number] | undefined;
1588
- anchor?: number | import('..').RectAnchor | {
1992
+ anchor?: string | number | {
1589
1993
  side: "north" | "south" | "east" | "west";
1590
1994
  t: number;
1591
1995
  } | undefined;
1996
+ boundary?: string | {
1997
+ type: string;
1998
+ params?: Record<string, import('./json').JsonValue> | undefined;
1999
+ } | undefined;
1592
2000
  } | {
1593
2001
  relative: [number, number];
1594
2002
  } | {
1595
2003
  relativeAccumulate: [number, number];
1596
2004
  } | import('./position').IRBetweenPosition;
1597
- kind: "cubic";
1598
2005
  control1: [number, number];
1599
2006
  control2: [number, number];
1600
2007
  label?: {
@@ -1615,7 +2022,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1615
2022
  kind: z.ZodLiteral<"bend">;
1616
2023
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
1617
2024
  id: z.ZodString;
1618
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
2025
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
1619
2026
  side: z.ZodEnum<["north", "south", "east", "west"]>;
1620
2027
  t: z.ZodNumber;
1621
2028
  }, "strip", z.ZodTypeAny, {
@@ -1626,20 +2033,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1626
2033
  t: number;
1627
2034
  }>]>>;
1628
2035
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
2036
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
2037
+ type: z.ZodString;
2038
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
2039
+ }, "strip", z.ZodTypeAny, {
2040
+ type: string;
2041
+ params?: Record<string, import('./json').JsonValue> | undefined;
2042
+ }, {
2043
+ type: string;
2044
+ params?: Record<string, import('./json').JsonValue> | undefined;
2045
+ }>]>>;
1629
2046
  }, "strip", z.ZodTypeAny, {
1630
2047
  id: string;
1631
2048
  offset?: [number, number] | undefined;
1632
- anchor?: number | import('..').RectAnchor | {
2049
+ anchor?: string | number | {
1633
2050
  side: "north" | "south" | "east" | "west";
1634
2051
  t: number;
1635
2052
  } | undefined;
2053
+ boundary?: string | {
2054
+ type: string;
2055
+ params?: Record<string, import('./json').JsonValue> | undefined;
2056
+ } | undefined;
1636
2057
  }, {
1637
2058
  id: string;
1638
2059
  offset?: [number, number] | undefined;
1639
- anchor?: number | import('..').RectAnchor | {
2060
+ anchor?: string | number | {
1640
2061
  side: "north" | "south" | "east" | "west";
1641
2062
  t: number;
1642
2063
  } | undefined;
2064
+ boundary?: string | {
2065
+ type: string;
2066
+ params?: Record<string, import('./json').JsonValue> | undefined;
2067
+ } | undefined;
1643
2068
  }>, z.ZodObject<{
1644
2069
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1645
2070
  }, "strip", z.ZodTypeAny, {
@@ -1716,22 +2141,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1716
2141
  }>>;
1717
2142
  }, "strip", z.ZodTypeAny, {
1718
2143
  type: "step";
2144
+ kind: "bend";
1719
2145
  to: [number, number] | import('./position').PolarPosition | {
1720
2146
  of: string | [number, number] | import('./position').PolarPosition;
1721
2147
  offset: [number, number];
1722
2148
  } | {
1723
2149
  id: string;
1724
2150
  offset?: [number, number] | undefined;
1725
- anchor?: number | import('..').RectAnchor | {
2151
+ anchor?: string | number | {
1726
2152
  side: "north" | "south" | "east" | "west";
1727
2153
  t: number;
1728
2154
  } | undefined;
2155
+ boundary?: string | {
2156
+ type: string;
2157
+ params?: Record<string, import('./json').JsonValue> | undefined;
2158
+ } | undefined;
1729
2159
  } | {
1730
2160
  relative: [number, number];
1731
2161
  } | {
1732
2162
  relativeAccumulate: [number, number];
1733
2163
  } | import('./position').IRBetweenPosition;
1734
- kind: "bend";
1735
2164
  label?: {
1736
2165
  text: string;
1737
2166
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -1752,22 +2181,26 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1752
2181
  looseness?: number | undefined;
1753
2182
  }, {
1754
2183
  type: "step";
2184
+ kind: "bend";
1755
2185
  to: [number, number] | import('./position').PolarPosition | {
1756
2186
  of: string | [number, number] | import('./position').PolarPosition;
1757
2187
  offset: [number, number];
1758
2188
  } | {
1759
2189
  id: string;
1760
2190
  offset?: [number, number] | undefined;
1761
- anchor?: number | import('..').RectAnchor | {
2191
+ anchor?: string | number | {
1762
2192
  side: "north" | "south" | "east" | "west";
1763
2193
  t: number;
1764
2194
  } | undefined;
2195
+ boundary?: string | {
2196
+ type: string;
2197
+ params?: Record<string, import('./json').JsonValue> | undefined;
2198
+ } | undefined;
1765
2199
  } | {
1766
2200
  relative: [number, number];
1767
2201
  } | {
1768
2202
  relativeAccumulate: [number, number];
1769
2203
  } | import('./position').IRBetweenPosition;
1770
- kind: "bend";
1771
2204
  label?: {
1772
2205
  text: string;
1773
2206
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -1796,7 +2229,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1796
2229
  radiusY: z.ZodOptional<z.ZodNumber>;
1797
2230
  center: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
1798
2231
  id: z.ZodString;
1799
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
2232
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
1800
2233
  side: z.ZodEnum<["north", "south", "east", "west"]>;
1801
2234
  t: z.ZodNumber;
1802
2235
  }, "strip", z.ZodTypeAny, {
@@ -1807,20 +2240,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1807
2240
  t: number;
1808
2241
  }>]>>;
1809
2242
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
2243
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
2244
+ type: z.ZodString;
2245
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
2246
+ }, "strip", z.ZodTypeAny, {
2247
+ type: string;
2248
+ params?: Record<string, import('./json').JsonValue> | undefined;
2249
+ }, {
2250
+ type: string;
2251
+ params?: Record<string, import('./json').JsonValue> | undefined;
2252
+ }>]>>;
1810
2253
  }, "strip", z.ZodTypeAny, {
1811
2254
  id: string;
1812
2255
  offset?: [number, number] | undefined;
1813
- anchor?: number | import('..').RectAnchor | {
2256
+ anchor?: string | number | {
1814
2257
  side: "north" | "south" | "east" | "west";
1815
2258
  t: number;
1816
2259
  } | undefined;
2260
+ boundary?: string | {
2261
+ type: string;
2262
+ params?: Record<string, import('./json').JsonValue> | undefined;
2263
+ } | undefined;
1817
2264
  }, {
1818
2265
  id: string;
1819
2266
  offset?: [number, number] | undefined;
1820
- anchor?: number | import('..').RectAnchor | {
2267
+ anchor?: string | number | {
1821
2268
  side: "north" | "south" | "east" | "west";
1822
2269
  t: number;
1823
2270
  } | undefined;
2271
+ boundary?: string | {
2272
+ type: string;
2273
+ params?: Record<string, import('./json').JsonValue> | undefined;
2274
+ } | undefined;
1824
2275
  }>, z.ZodObject<{
1825
2276
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1826
2277
  }, "strip", z.ZodTypeAny, {
@@ -1892,9 +2343,9 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1892
2343
  }>>;
1893
2344
  }, "strip", z.ZodTypeAny, {
1894
2345
  type: "step";
2346
+ kind: "arc";
1895
2347
  startAngle: number;
1896
2348
  endAngle: number;
1897
- kind: "arc";
1898
2349
  radius?: number | undefined;
1899
2350
  center?: [number, number] | import('./position').PolarPosition | {
1900
2351
  of: string | [number, number] | import('./position').PolarPosition;
@@ -1902,10 +2353,14 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1902
2353
  } | {
1903
2354
  id: string;
1904
2355
  offset?: [number, number] | undefined;
1905
- anchor?: number | import('..').RectAnchor | {
2356
+ anchor?: string | number | {
1906
2357
  side: "north" | "south" | "east" | "west";
1907
2358
  t: number;
1908
2359
  } | undefined;
2360
+ boundary?: string | {
2361
+ type: string;
2362
+ params?: Record<string, import('./json').JsonValue> | undefined;
2363
+ } | undefined;
1909
2364
  } | {
1910
2365
  relative: [number, number];
1911
2366
  } | {
@@ -1928,9 +2383,9 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1928
2383
  radiusY?: number | undefined;
1929
2384
  }, {
1930
2385
  type: "step";
2386
+ kind: "arc";
1931
2387
  startAngle: number;
1932
2388
  endAngle: number;
1933
- kind: "arc";
1934
2389
  radius?: number | undefined;
1935
2390
  center?: [number, number] | import('./position').PolarPosition | {
1936
2391
  of: string | [number, number] | import('./position').PolarPosition;
@@ -1938,10 +2393,14 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
1938
2393
  } | {
1939
2394
  id: string;
1940
2395
  offset?: [number, number] | undefined;
1941
- anchor?: number | import('..').RectAnchor | {
2396
+ anchor?: string | number | {
1942
2397
  side: "north" | "south" | "east" | "west";
1943
2398
  t: number;
1944
2399
  } | undefined;
2400
+ boundary?: string | {
2401
+ type: string;
2402
+ params?: Record<string, import('./json').JsonValue> | undefined;
2403
+ } | undefined;
1945
2404
  } | {
1946
2405
  relative: [number, number];
1947
2406
  } | {
@@ -2020,8 +2479,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2020
2479
  type: "step";
2021
2480
  radius: number;
2022
2481
  kind: "circlePath";
2023
- startAngle?: number | undefined;
2024
- endAngle?: number | undefined;
2025
2482
  label?: {
2026
2483
  text: string;
2027
2484
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -2035,13 +2492,13 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2035
2492
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
2036
2493
  textColor?: string | undefined;
2037
2494
  } | undefined;
2495
+ startAngle?: number | undefined;
2496
+ endAngle?: number | undefined;
2038
2497
  closed?: "open" | "closed" | "chord" | "sector" | undefined;
2039
2498
  }, {
2040
2499
  type: "step";
2041
2500
  radius: number;
2042
2501
  kind: "circlePath";
2043
- startAngle?: number | undefined;
2044
- endAngle?: number | undefined;
2045
2502
  label?: {
2046
2503
  text: string;
2047
2504
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -2055,6 +2512,8 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2055
2512
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
2056
2513
  textColor?: string | undefined;
2057
2514
  } | undefined;
2515
+ startAngle?: number | undefined;
2516
+ endAngle?: number | undefined;
2058
2517
  closed?: "open" | "closed" | "chord" | "sector" | undefined;
2059
2518
  }>, z.ZodObject<{
2060
2519
  type: z.ZodLiteral<"step">;
@@ -2116,8 +2575,6 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2116
2575
  kind: "ellipsePath";
2117
2576
  radiusX: number;
2118
2577
  radiusY: number;
2119
- startAngle?: number | undefined;
2120
- endAngle?: number | undefined;
2121
2578
  label?: {
2122
2579
  text: string;
2123
2580
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -2131,14 +2588,14 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2131
2588
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
2132
2589
  textColor?: string | undefined;
2133
2590
  } | undefined;
2591
+ startAngle?: number | undefined;
2592
+ endAngle?: number | undefined;
2134
2593
  closed?: "open" | "closed" | "chord" | "sector" | undefined;
2135
2594
  }, {
2136
2595
  type: "step";
2137
2596
  kind: "ellipsePath";
2138
2597
  radiusX: number;
2139
2598
  radiusY: number;
2140
- startAngle?: number | undefined;
2141
- endAngle?: number | undefined;
2142
2599
  label?: {
2143
2600
  text: string;
2144
2601
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -2152,13 +2609,15 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2152
2609
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
2153
2610
  textColor?: string | undefined;
2154
2611
  } | undefined;
2612
+ startAngle?: number | undefined;
2613
+ endAngle?: number | undefined;
2155
2614
  closed?: "open" | "closed" | "chord" | "sector" | undefined;
2156
2615
  }>, z.ZodObject<{
2157
2616
  type: z.ZodLiteral<"step">;
2158
2617
  kind: z.ZodLiteral<"rectangle">;
2159
2618
  from: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
2160
2619
  id: z.ZodString;
2161
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
2620
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
2162
2621
  side: z.ZodEnum<["north", "south", "east", "west"]>;
2163
2622
  t: z.ZodNumber;
2164
2623
  }, "strip", z.ZodTypeAny, {
@@ -2169,20 +2628,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2169
2628
  t: number;
2170
2629
  }>]>>;
2171
2630
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
2631
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
2632
+ type: z.ZodString;
2633
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
2634
+ }, "strip", z.ZodTypeAny, {
2635
+ type: string;
2636
+ params?: Record<string, import('./json').JsonValue> | undefined;
2637
+ }, {
2638
+ type: string;
2639
+ params?: Record<string, import('./json').JsonValue> | undefined;
2640
+ }>]>>;
2172
2641
  }, "strip", z.ZodTypeAny, {
2173
2642
  id: string;
2174
2643
  offset?: [number, number] | undefined;
2175
- anchor?: number | import('..').RectAnchor | {
2644
+ anchor?: string | number | {
2176
2645
  side: "north" | "south" | "east" | "west";
2177
2646
  t: number;
2178
2647
  } | undefined;
2648
+ boundary?: string | {
2649
+ type: string;
2650
+ params?: Record<string, import('./json').JsonValue> | undefined;
2651
+ } | undefined;
2179
2652
  }, {
2180
2653
  id: string;
2181
2654
  offset?: [number, number] | undefined;
2182
- anchor?: number | import('..').RectAnchor | {
2655
+ anchor?: string | number | {
2183
2656
  side: "north" | "south" | "east" | "west";
2184
2657
  t: number;
2185
2658
  } | undefined;
2659
+ boundary?: string | {
2660
+ type: string;
2661
+ params?: Record<string, import('./json').JsonValue> | undefined;
2662
+ } | undefined;
2186
2663
  }>, z.ZodObject<{
2187
2664
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
2188
2665
  }, "strip", z.ZodTypeAny, {
@@ -2207,7 +2684,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2207
2684
  }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
2208
2685
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
2209
2686
  id: z.ZodString;
2210
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
2687
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
2211
2688
  side: z.ZodEnum<["north", "south", "east", "west"]>;
2212
2689
  t: z.ZodNumber;
2213
2690
  }, "strip", z.ZodTypeAny, {
@@ -2218,20 +2695,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2218
2695
  t: number;
2219
2696
  }>]>>;
2220
2697
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
2698
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
2699
+ type: z.ZodString;
2700
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
2701
+ }, "strip", z.ZodTypeAny, {
2702
+ type: string;
2703
+ params?: Record<string, import('./json').JsonValue> | undefined;
2704
+ }, {
2705
+ type: string;
2706
+ params?: Record<string, import('./json').JsonValue> | undefined;
2707
+ }>]>>;
2221
2708
  }, "strip", z.ZodTypeAny, {
2222
2709
  id: string;
2223
2710
  offset?: [number, number] | undefined;
2224
- anchor?: number | import('..').RectAnchor | {
2711
+ anchor?: string | number | {
2225
2712
  side: "north" | "south" | "east" | "west";
2226
2713
  t: number;
2227
2714
  } | undefined;
2715
+ boundary?: string | {
2716
+ type: string;
2717
+ params?: Record<string, import('./json').JsonValue> | undefined;
2718
+ } | undefined;
2228
2719
  }, {
2229
2720
  id: string;
2230
2721
  offset?: [number, number] | undefined;
2231
- anchor?: number | import('..').RectAnchor | {
2722
+ anchor?: string | number | {
2232
2723
  side: "north" | "south" | "east" | "west";
2233
2724
  t: number;
2234
2725
  } | undefined;
2726
+ boundary?: string | {
2727
+ type: string;
2728
+ params?: Record<string, import('./json').JsonValue> | undefined;
2729
+ } | undefined;
2235
2730
  }>, z.ZodObject<{
2236
2731
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
2237
2732
  }, "strip", z.ZodTypeAny, {
@@ -2254,82 +2749,98 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2254
2749
  of: string | [number, number] | import('./position').PolarPosition;
2255
2750
  offset: [number, number];
2256
2751
  }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
2257
- roundedCorners: z.ZodOptional<z.ZodNumber>;
2752
+ cornerRadius: z.ZodOptional<z.ZodNumber>;
2258
2753
  }, "strip", z.ZodTypeAny, {
2259
2754
  type: "step";
2755
+ kind: "rectangle";
2260
2756
  to: [number, number] | import('./position').PolarPosition | {
2261
2757
  of: string | [number, number] | import('./position').PolarPosition;
2262
2758
  offset: [number, number];
2263
2759
  } | {
2264
2760
  id: string;
2265
2761
  offset?: [number, number] | undefined;
2266
- anchor?: number | import('..').RectAnchor | {
2762
+ anchor?: string | number | {
2267
2763
  side: "north" | "south" | "east" | "west";
2268
2764
  t: number;
2269
2765
  } | undefined;
2766
+ boundary?: string | {
2767
+ type: string;
2768
+ params?: Record<string, import('./json').JsonValue> | undefined;
2769
+ } | undefined;
2270
2770
  } | {
2271
2771
  relative: [number, number];
2272
2772
  } | {
2273
2773
  relativeAccumulate: [number, number];
2274
2774
  } | import('./position').IRBetweenPosition;
2275
- kind: "rectangle";
2276
2775
  from: [number, number] | import('./position').PolarPosition | {
2277
2776
  of: string | [number, number] | import('./position').PolarPosition;
2278
2777
  offset: [number, number];
2279
2778
  } | {
2280
2779
  id: string;
2281
2780
  offset?: [number, number] | undefined;
2282
- anchor?: number | import('..').RectAnchor | {
2781
+ anchor?: string | number | {
2283
2782
  side: "north" | "south" | "east" | "west";
2284
2783
  t: number;
2285
2784
  } | undefined;
2785
+ boundary?: string | {
2786
+ type: string;
2787
+ params?: Record<string, import('./json').JsonValue> | undefined;
2788
+ } | undefined;
2286
2789
  } | {
2287
2790
  relative: [number, number];
2288
2791
  } | {
2289
2792
  relativeAccumulate: [number, number];
2290
2793
  } | import('./position').IRBetweenPosition;
2291
- roundedCorners?: number | undefined;
2794
+ cornerRadius?: number | undefined;
2292
2795
  }, {
2293
2796
  type: "step";
2797
+ kind: "rectangle";
2294
2798
  to: [number, number] | import('./position').PolarPosition | {
2295
2799
  of: string | [number, number] | import('./position').PolarPosition;
2296
2800
  offset: [number, number];
2297
2801
  } | {
2298
2802
  id: string;
2299
2803
  offset?: [number, number] | undefined;
2300
- anchor?: number | import('..').RectAnchor | {
2804
+ anchor?: string | number | {
2301
2805
  side: "north" | "south" | "east" | "west";
2302
2806
  t: number;
2303
2807
  } | undefined;
2808
+ boundary?: string | {
2809
+ type: string;
2810
+ params?: Record<string, import('./json').JsonValue> | undefined;
2811
+ } | undefined;
2304
2812
  } | {
2305
2813
  relative: [number, number];
2306
2814
  } | {
2307
2815
  relativeAccumulate: [number, number];
2308
2816
  } | import('./position').IRBetweenPosition;
2309
- kind: "rectangle";
2310
2817
  from: [number, number] | import('./position').PolarPosition | {
2311
2818
  of: string | [number, number] | import('./position').PolarPosition;
2312
2819
  offset: [number, number];
2313
2820
  } | {
2314
2821
  id: string;
2315
2822
  offset?: [number, number] | undefined;
2316
- anchor?: number | import('..').RectAnchor | {
2823
+ anchor?: string | number | {
2317
2824
  side: "north" | "south" | "east" | "west";
2318
2825
  t: number;
2319
2826
  } | undefined;
2827
+ boundary?: string | {
2828
+ type: string;
2829
+ params?: Record<string, import('./json').JsonValue> | undefined;
2830
+ } | undefined;
2320
2831
  } | {
2321
2832
  relative: [number, number];
2322
2833
  } | {
2323
2834
  relativeAccumulate: [number, number];
2324
2835
  } | import('./position').IRBetweenPosition;
2325
- roundedCorners?: number | undefined;
2836
+ cornerRadius?: number | undefined;
2326
2837
  }>, z.ZodObject<{
2327
2838
  type: z.ZodLiteral<"step">;
2328
2839
  kind: z.ZodLiteral<"generator">;
2329
2840
  name: z.ZodString;
2330
2841
  to: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
2331
2842
  id: z.ZodString;
2332
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
2843
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
2333
2844
  side: z.ZodEnum<["north", "south", "east", "west"]>;
2334
2845
  t: z.ZodNumber;
2335
2846
  }, "strip", z.ZodTypeAny, {
@@ -2340,20 +2851,38 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2340
2851
  t: number;
2341
2852
  }>]>>;
2342
2853
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
2854
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
2855
+ type: z.ZodString;
2856
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
2857
+ }, "strip", z.ZodTypeAny, {
2858
+ type: string;
2859
+ params?: Record<string, import('./json').JsonValue> | undefined;
2860
+ }, {
2861
+ type: string;
2862
+ params?: Record<string, import('./json').JsonValue> | undefined;
2863
+ }>]>>;
2343
2864
  }, "strip", z.ZodTypeAny, {
2344
2865
  id: string;
2345
2866
  offset?: [number, number] | undefined;
2346
- anchor?: number | import('..').RectAnchor | {
2867
+ anchor?: string | number | {
2347
2868
  side: "north" | "south" | "east" | "west";
2348
2869
  t: number;
2349
2870
  } | undefined;
2871
+ boundary?: string | {
2872
+ type: string;
2873
+ params?: Record<string, import('./json').JsonValue> | undefined;
2874
+ } | undefined;
2350
2875
  }, {
2351
2876
  id: string;
2352
2877
  offset?: [number, number] | undefined;
2353
- anchor?: number | import('..').RectAnchor | {
2878
+ anchor?: string | number | {
2354
2879
  side: "north" | "south" | "east" | "west";
2355
2880
  t: number;
2356
2881
  } | undefined;
2882
+ boundary?: string | {
2883
+ type: string;
2884
+ params?: Record<string, import('./json').JsonValue> | undefined;
2885
+ } | undefined;
2357
2886
  }>, z.ZodObject<{
2358
2887
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
2359
2888
  }, "strip", z.ZodTypeAny, {
@@ -2435,10 +2964,14 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2435
2964
  } | {
2436
2965
  id: string;
2437
2966
  offset?: [number, number] | undefined;
2438
- anchor?: number | import('..').RectAnchor | {
2967
+ anchor?: string | number | {
2439
2968
  side: "north" | "south" | "east" | "west";
2440
2969
  t: number;
2441
2970
  } | undefined;
2971
+ boundary?: string | {
2972
+ type: string;
2973
+ params?: Record<string, import('./json').JsonValue> | undefined;
2974
+ } | undefined;
2442
2975
  } | {
2443
2976
  relative: [number, number];
2444
2977
  } | {
@@ -2468,10 +3001,14 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2468
3001
  } | {
2469
3002
  id: string;
2470
3003
  offset?: [number, number] | undefined;
2471
- anchor?: number | import('..').RectAnchor | {
3004
+ anchor?: string | number | {
2472
3005
  side: "north" | "south" | "east" | "west";
2473
3006
  t: number;
2474
3007
  } | undefined;
3008
+ boundary?: string | {
3009
+ type: string;
3010
+ params?: Record<string, import('./json').JsonValue> | undefined;
3011
+ } | undefined;
2475
3012
  } | {
2476
3013
  relative: [number, number];
2477
3014
  } | {
@@ -2491,7 +3028,7 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2491
3028
  textColor?: string | undefined;
2492
3029
  } | undefined;
2493
3030
  }>]>, "many">;
2494
- }, "type" | "arrow" | "arrowDetail" | "zIndex" | "children">, "strict", z.ZodTypeAny, {
3031
+ }, "type" | "arrow" | "meta" | "animations" | "arrowDetail" | "zIndex" | "children">, "strict", z.ZodTypeAny, {
2495
3032
  fill?: string | {
2496
3033
  type: "linearGradient";
2497
3034
  stops: {
@@ -2523,14 +3060,15 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2523
3060
  fit?: "fill" | "contain" | "cover" | undefined;
2524
3061
  } | undefined;
2525
3062
  id?: string | undefined;
2526
- color?: string | undefined;
2527
3063
  opacity?: number | undefined;
3064
+ stroke?: string | undefined;
3065
+ strokeWidth?: number | undefined;
3066
+ rotate?: number | undefined;
2528
3067
  scale?: number | {
2529
3068
  x: number;
2530
3069
  y: number;
2531
3070
  } | undefined;
2532
- stroke?: string | undefined;
2533
- strokeWidth?: number | undefined;
3071
+ color?: string | undefined;
2534
3072
  dashPattern?: number[] | undefined;
2535
3073
  fillRule?: "nonzero" | "evenodd" | undefined;
2536
3074
  lineCap?: "butt" | "round" | "square" | undefined;
@@ -2538,19 +3076,18 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2538
3076
  thickness?: "ultraThin" | "veryThin" | "thin" | "semithick" | "thick" | "veryThick" | "ultraThick" | undefined;
2539
3077
  fillOpacity?: number | undefined;
2540
3078
  drawOpacity?: number | undefined;
2541
- rotate?: number | undefined;
2542
3079
  marks?: {
2543
3080
  pos: number;
2544
3081
  mark: {
2545
3082
  kind: "arrow";
2546
3083
  length?: number | undefined;
2547
3084
  fill?: string | undefined;
2548
- color?: string | undefined;
2549
- opacity?: number | undefined;
2550
3085
  shape?: string | undefined;
3086
+ opacity?: number | undefined;
3087
+ scale?: number | undefined;
3088
+ color?: string | undefined;
2551
3089
  lineWidth?: number | undefined;
2552
3090
  width?: number | undefined;
2553
- scale?: number | undefined;
2554
3091
  };
2555
3092
  }[] | undefined;
2556
3093
  }, {
@@ -2585,14 +3122,15 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2585
3122
  fit?: "fill" | "contain" | "cover" | undefined;
2586
3123
  } | undefined;
2587
3124
  id?: string | undefined;
2588
- color?: string | undefined;
2589
3125
  opacity?: number | undefined;
3126
+ stroke?: string | undefined;
3127
+ strokeWidth?: number | undefined;
3128
+ rotate?: number | undefined;
2590
3129
  scale?: number | {
2591
3130
  x: number;
2592
3131
  y: number;
2593
3132
  } | undefined;
2594
- stroke?: string | undefined;
2595
- strokeWidth?: number | undefined;
3133
+ color?: string | undefined;
2596
3134
  dashPattern?: number[] | undefined;
2597
3135
  fillRule?: "nonzero" | "evenodd" | undefined;
2598
3136
  lineCap?: "butt" | "round" | "square" | undefined;
@@ -2600,19 +3138,18 @@ export declare const PathDefaultSchema: z.ZodObject<Omit<{
2600
3138
  thickness?: "ultraThin" | "veryThin" | "thin" | "semithick" | "thick" | "veryThick" | "ultraThick" | undefined;
2601
3139
  fillOpacity?: number | undefined;
2602
3140
  drawOpacity?: number | undefined;
2603
- rotate?: number | undefined;
2604
3141
  marks?: {
2605
3142
  pos: number;
2606
3143
  mark: {
2607
3144
  kind: "arrow";
2608
3145
  length?: number | undefined;
2609
3146
  fill?: string | undefined;
2610
- color?: string | undefined;
2611
- opacity?: number | undefined;
2612
3147
  shape?: string | undefined;
3148
+ opacity?: number | undefined;
3149
+ scale?: number | undefined;
3150
+ color?: string | undefined;
2613
3151
  lineWidth?: number | undefined;
2614
3152
  width?: number | undefined;
2615
- scale?: number | undefined;
2616
3153
  };
2617
3154
  }[] | undefined;
2618
3155
  }>;
@@ -2641,8 +3178,8 @@ export declare const LabelDefaultSchema: z.ZodObject<{
2641
3178
  style?: "normal" | "italic" | "oblique" | undefined;
2642
3179
  }>>;
2643
3180
  }, "strict", z.ZodTypeAny, {
2644
- color?: string | undefined;
2645
3181
  opacity?: number | undefined;
3182
+ color?: string | undefined;
2646
3183
  font?: {
2647
3184
  family?: string | undefined;
2648
3185
  size?: number | undefined;
@@ -2651,8 +3188,8 @@ export declare const LabelDefaultSchema: z.ZodObject<{
2651
3188
  } | undefined;
2652
3189
  textColor?: string | undefined;
2653
3190
  }, {
2654
- color?: string | undefined;
2655
3191
  opacity?: number | undefined;
3192
+ color?: string | undefined;
2656
3193
  font?: {
2657
3194
  family?: string | undefined;
2658
3195
  size?: number | undefined;
@@ -2687,21 +3224,21 @@ export declare const ArrowDefaultSchema: z.ZodObject<{
2687
3224
  }, "strip", z.ZodTypeAny, {
2688
3225
  length?: number | undefined;
2689
3226
  fill?: string | undefined;
2690
- color?: string | undefined;
2691
- opacity?: number | undefined;
2692
3227
  shape?: string | undefined;
3228
+ opacity?: number | undefined;
3229
+ scale?: number | undefined;
3230
+ color?: string | undefined;
2693
3231
  lineWidth?: number | undefined;
2694
3232
  width?: number | undefined;
2695
- scale?: number | undefined;
2696
3233
  }, {
2697
3234
  length?: number | undefined;
2698
3235
  fill?: string | undefined;
2699
- color?: string | undefined;
2700
- opacity?: number | undefined;
2701
3236
  shape?: string | undefined;
3237
+ opacity?: number | undefined;
3238
+ scale?: number | undefined;
3239
+ color?: string | undefined;
2702
3240
  lineWidth?: number | undefined;
2703
3241
  width?: number | undefined;
2704
- scale?: number | undefined;
2705
3242
  }>>;
2706
3243
  end: z.ZodOptional<z.ZodObject<{
2707
3244
  shape: z.ZodOptional<z.ZodString>;
@@ -2715,79 +3252,79 @@ export declare const ArrowDefaultSchema: z.ZodObject<{
2715
3252
  }, "strip", z.ZodTypeAny, {
2716
3253
  length?: number | undefined;
2717
3254
  fill?: string | undefined;
2718
- color?: string | undefined;
2719
- opacity?: number | undefined;
2720
3255
  shape?: string | undefined;
3256
+ opacity?: number | undefined;
3257
+ scale?: number | undefined;
3258
+ color?: string | undefined;
2721
3259
  lineWidth?: number | undefined;
2722
3260
  width?: number | undefined;
2723
- scale?: number | undefined;
2724
3261
  }, {
2725
3262
  length?: number | undefined;
2726
3263
  fill?: string | undefined;
2727
- color?: string | undefined;
2728
- opacity?: number | undefined;
2729
3264
  shape?: string | undefined;
3265
+ opacity?: number | undefined;
3266
+ scale?: number | undefined;
3267
+ color?: string | undefined;
2730
3268
  lineWidth?: number | undefined;
2731
3269
  width?: number | undefined;
2732
- scale?: number | undefined;
2733
3270
  }>>;
2734
3271
  }, "strip", z.ZodTypeAny, {
2735
3272
  length?: number | undefined;
2736
3273
  fill?: string | undefined;
2737
- color?: string | undefined;
2738
- opacity?: number | undefined;
2739
3274
  shape?: string | undefined;
3275
+ opacity?: number | undefined;
3276
+ scale?: number | undefined;
3277
+ color?: string | undefined;
2740
3278
  lineWidth?: number | undefined;
2741
3279
  width?: number | undefined;
2742
- scale?: number | undefined;
2743
3280
  start?: {
2744
3281
  length?: number | undefined;
2745
3282
  fill?: string | undefined;
2746
- color?: string | undefined;
2747
- opacity?: number | undefined;
2748
3283
  shape?: string | undefined;
3284
+ opacity?: number | undefined;
3285
+ scale?: number | undefined;
3286
+ color?: string | undefined;
2749
3287
  lineWidth?: number | undefined;
2750
3288
  width?: number | undefined;
2751
- scale?: number | undefined;
2752
3289
  } | undefined;
2753
3290
  end?: {
2754
3291
  length?: number | undefined;
2755
3292
  fill?: string | undefined;
2756
- color?: string | undefined;
2757
- opacity?: number | undefined;
2758
3293
  shape?: string | undefined;
3294
+ opacity?: number | undefined;
3295
+ scale?: number | undefined;
3296
+ color?: string | undefined;
2759
3297
  lineWidth?: number | undefined;
2760
3298
  width?: number | undefined;
2761
- scale?: number | undefined;
2762
3299
  } | undefined;
2763
3300
  }, {
2764
3301
  length?: number | undefined;
2765
3302
  fill?: string | undefined;
2766
- color?: string | undefined;
2767
- opacity?: number | undefined;
2768
3303
  shape?: string | undefined;
3304
+ opacity?: number | undefined;
3305
+ scale?: number | undefined;
3306
+ color?: string | undefined;
2769
3307
  lineWidth?: number | undefined;
2770
3308
  width?: number | undefined;
2771
- scale?: number | undefined;
2772
3309
  start?: {
2773
3310
  length?: number | undefined;
2774
3311
  fill?: string | undefined;
2775
- color?: string | undefined;
2776
- opacity?: number | undefined;
2777
3312
  shape?: string | undefined;
3313
+ opacity?: number | undefined;
3314
+ scale?: number | undefined;
3315
+ color?: string | undefined;
2778
3316
  lineWidth?: number | undefined;
2779
3317
  width?: number | undefined;
2780
- scale?: number | undefined;
2781
3318
  } | undefined;
2782
3319
  end?: {
2783
3320
  length?: number | undefined;
2784
3321
  fill?: string | undefined;
2785
- color?: string | undefined;
2786
- opacity?: number | undefined;
2787
3322
  shape?: string | undefined;
3323
+ opacity?: number | undefined;
3324
+ scale?: number | undefined;
3325
+ color?: string | undefined;
2788
3326
  lineWidth?: number | undefined;
2789
3327
  width?: number | undefined;
2790
- scale?: number | undefined;
2791
3328
  } | undefined;
2792
3329
  }>;
2793
3330
  /** every node 默认样式(排除 type / id / position / text / label 的全部 node 样式字段) */
@@ -2824,6 +3361,8 @@ export type IRScope = {
2824
3361
  resetStyle?: boolean | Array<StyleChannel>;
2825
3362
  zIndex?: number;
2826
3363
  clip?: IRClipSpec;
3364
+ meta?: IRJsonObject;
3365
+ animations?: Array<IRAnimationTrack>;
2827
3366
  children: Array<IRNode | IRPath | IRCoordinate | IRScope | IRComposite>;
2828
3367
  };
2829
3368
  /**
@@ -3046,7 +3585,147 @@ export declare const ScopeSchema: z.ZodObject<{
3046
3585
  nodeDefault: z.ZodOptional<z.ZodObject<Omit<{
3047
3586
  type: z.ZodLiteral<"node">;
3048
3587
  id: z.ZodOptional<z.ZodString>;
3049
- shape: z.ZodOptional<z.ZodString>;
3588
+ shape: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
3589
+ type: z.ZodString;
3590
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
3591
+ }, "strip", z.ZodTypeAny, {
3592
+ type: string;
3593
+ params?: Record<string, import('./json').JsonValue> | undefined;
3594
+ }, {
3595
+ type: string;
3596
+ params?: Record<string, import('./json').JsonValue> | undefined;
3597
+ }>]>>;
3598
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
3599
+ type: z.ZodString;
3600
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
3601
+ }, "strip", z.ZodTypeAny, {
3602
+ type: string;
3603
+ params?: Record<string, import('./json').JsonValue> | undefined;
3604
+ }, {
3605
+ type: string;
3606
+ params?: Record<string, import('./json').JsonValue> | undefined;
3607
+ }>]>>;
3608
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
3609
+ animations: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
3610
+ property: z.ZodString;
3611
+ keyframes: z.ZodEffects<z.ZodArray<z.ZodObject<{
3612
+ at: z.ZodNumber;
3613
+ value: z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>;
3614
+ easing: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>]>>;
3615
+ }, "strip", z.ZodTypeAny, {
3616
+ value: import('./json').JsonValue;
3617
+ at: number;
3618
+ easing?: string | [number, number, number, number] | undefined;
3619
+ }, {
3620
+ value: import('./json').JsonValue;
3621
+ at: number;
3622
+ easing?: string | [number, number, number, number] | undefined;
3623
+ }>, "many">, {
3624
+ value: import('./json').JsonValue;
3625
+ at: number;
3626
+ easing?: string | [number, number, number, number] | undefined;
3627
+ }[], {
3628
+ value: import('./json').JsonValue;
3629
+ at: number;
3630
+ easing?: string | [number, number, number, number] | undefined;
3631
+ }[]>;
3632
+ duration: z.ZodNumber;
3633
+ delay: z.ZodOptional<z.ZodNumber>;
3634
+ easing: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>]>>;
3635
+ iterations: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"infinite">]>>;
3636
+ direction: z.ZodOptional<z.ZodNativeEnum<{
3637
+ readonly Normal: "normal";
3638
+ readonly Reverse: "reverse";
3639
+ readonly Alternate: "alternate";
3640
+ readonly AlternateReverse: "alternate-reverse";
3641
+ }>>;
3642
+ fill: z.ZodOptional<z.ZodNativeEnum<{
3643
+ readonly None: "none";
3644
+ readonly Forwards: "forwards";
3645
+ readonly Backwards: "backwards";
3646
+ readonly Both: "both";
3647
+ }>>;
3648
+ trigger: z.ZodOptional<z.ZodUnion<[z.ZodNativeEnum<{
3649
+ readonly Load: "load";
3650
+ readonly Visible: "visible";
3651
+ readonly Manual: "manual";
3652
+ }>, z.ZodObject<{
3653
+ onEvent: z.ZodString;
3654
+ }, "strip", z.ZodTypeAny, {
3655
+ onEvent: string;
3656
+ }, {
3657
+ onEvent: string;
3658
+ }>]>>;
3659
+ origin: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>]>>;
3660
+ }, "strip", z.ZodTypeAny, {
3661
+ property: string;
3662
+ keyframes: {
3663
+ value: import('./json').JsonValue;
3664
+ at: number;
3665
+ easing?: string | [number, number, number, number] | undefined;
3666
+ }[];
3667
+ duration: number;
3668
+ fill?: "none" | "forwards" | "backwards" | "both" | undefined;
3669
+ origin?: string | [number, number] | undefined;
3670
+ direction?: "reverse" | "normal" | "alternate" | "alternate-reverse" | undefined;
3671
+ easing?: string | [number, number, number, number] | undefined;
3672
+ delay?: number | undefined;
3673
+ iterations?: number | "infinite" | undefined;
3674
+ trigger?: "load" | "visible" | "manual" | {
3675
+ onEvent: string;
3676
+ } | undefined;
3677
+ }, {
3678
+ property: string;
3679
+ keyframes: {
3680
+ value: import('./json').JsonValue;
3681
+ at: number;
3682
+ easing?: string | [number, number, number, number] | undefined;
3683
+ }[];
3684
+ duration: number;
3685
+ fill?: "none" | "forwards" | "backwards" | "both" | undefined;
3686
+ origin?: string | [number, number] | undefined;
3687
+ direction?: "reverse" | "normal" | "alternate" | "alternate-reverse" | undefined;
3688
+ easing?: string | [number, number, number, number] | undefined;
3689
+ delay?: number | undefined;
3690
+ iterations?: number | "infinite" | undefined;
3691
+ trigger?: "load" | "visible" | "manual" | {
3692
+ onEvent: string;
3693
+ } | undefined;
3694
+ }>, {
3695
+ property: string;
3696
+ keyframes: {
3697
+ value: import('./json').JsonValue;
3698
+ at: number;
3699
+ easing?: string | [number, number, number, number] | undefined;
3700
+ }[];
3701
+ duration: number;
3702
+ fill?: "none" | "forwards" | "backwards" | "both" | undefined;
3703
+ origin?: string | [number, number] | undefined;
3704
+ direction?: "reverse" | "normal" | "alternate" | "alternate-reverse" | undefined;
3705
+ easing?: string | [number, number, number, number] | undefined;
3706
+ delay?: number | undefined;
3707
+ iterations?: number | "infinite" | undefined;
3708
+ trigger?: "load" | "visible" | "manual" | {
3709
+ onEvent: string;
3710
+ } | undefined;
3711
+ }, {
3712
+ property: string;
3713
+ keyframes: {
3714
+ value: import('./json').JsonValue;
3715
+ at: number;
3716
+ easing?: string | [number, number, number, number] | undefined;
3717
+ }[];
3718
+ duration: number;
3719
+ fill?: "none" | "forwards" | "backwards" | "both" | undefined;
3720
+ origin?: string | [number, number] | undefined;
3721
+ direction?: "reverse" | "normal" | "alternate" | "alternate-reverse" | undefined;
3722
+ easing?: string | [number, number, number, number] | undefined;
3723
+ delay?: number | undefined;
3724
+ iterations?: number | "infinite" | undefined;
3725
+ trigger?: "load" | "visible" | "manual" | {
3726
+ onEvent: string;
3727
+ } | undefined;
3728
+ }>, "many">>;
3050
3729
  position: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
3051
3730
  direction: z.ZodNativeEnum<{
3052
3731
  readonly above: "above";
@@ -3239,7 +3918,7 @@ export declare const ScopeSchema: z.ZodObject<{
3239
3918
  dashed: z.ZodOptional<z.ZodBoolean>;
3240
3919
  dotted: z.ZodOptional<z.ZodBoolean>;
3241
3920
  dashArray: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
3242
- roundedCorners: z.ZodOptional<z.ZodNumber>;
3921
+ cornerRadius: z.ZodOptional<z.ZodNumber>;
3243
3922
  minimumWidth: z.ZodOptional<z.ZodNumber>;
3244
3923
  minimumHeight: z.ZodOptional<z.ZodNumber>;
3245
3924
  minimumSize: z.ZodOptional<z.ZodNumber>;
@@ -3319,6 +3998,7 @@ export declare const ScopeSchema: z.ZodObject<{
3319
3998
  text: string;
3320
3999
  distance?: number | undefined;
3321
4000
  opacity?: number | undefined;
4001
+ rotate?: number | "none" | "radial" | "tangent" | undefined;
3322
4002
  font?: {
3323
4003
  family?: string | undefined;
3324
4004
  size?: number | undefined;
@@ -3327,7 +4007,6 @@ export declare const ScopeSchema: z.ZodObject<{
3327
4007
  } | undefined;
3328
4008
  position?: number | "above" | "below" | "left" | "right" | "above-left" | "above-right" | "below-left" | "below-right" | undefined;
3329
4009
  textColor?: string | undefined;
3330
- rotate?: number | "none" | "radial" | "tangent" | undefined;
3331
4010
  keepUpright?: boolean | undefined;
3332
4011
  pin?: boolean | {
3333
4012
  stroke?: string | undefined;
@@ -3338,6 +4017,7 @@ export declare const ScopeSchema: z.ZodObject<{
3338
4017
  text: string;
3339
4018
  distance?: number | undefined;
3340
4019
  opacity?: number | undefined;
4020
+ rotate?: number | "none" | "radial" | "tangent" | undefined;
3341
4021
  font?: {
3342
4022
  family?: string | undefined;
3343
4023
  size?: number | undefined;
@@ -3346,7 +4026,6 @@ export declare const ScopeSchema: z.ZodObject<{
3346
4026
  } | undefined;
3347
4027
  position?: number | "above" | "below" | "left" | "right" | "above-left" | "above-right" | "below-left" | "below-right" | undefined;
3348
4028
  textColor?: string | undefined;
3349
- rotate?: number | "none" | "radial" | "tangent" | undefined;
3350
4029
  keepUpright?: boolean | undefined;
3351
4030
  pin?: boolean | {
3352
4031
  stroke?: string | undefined;
@@ -3403,6 +4082,7 @@ export declare const ScopeSchema: z.ZodObject<{
3403
4082
  text: string;
3404
4083
  distance?: number | undefined;
3405
4084
  opacity?: number | undefined;
4085
+ rotate?: number | "none" | "radial" | "tangent" | undefined;
3406
4086
  font?: {
3407
4087
  family?: string | undefined;
3408
4088
  size?: number | undefined;
@@ -3411,7 +4091,6 @@ export declare const ScopeSchema: z.ZodObject<{
3411
4091
  } | undefined;
3412
4092
  position?: number | "above" | "below" | "left" | "right" | "above-left" | "above-right" | "below-left" | "below-right" | undefined;
3413
4093
  textColor?: string | undefined;
3414
- rotate?: number | "none" | "radial" | "tangent" | undefined;
3415
4094
  keepUpright?: boolean | undefined;
3416
4095
  pin?: boolean | {
3417
4096
  stroke?: string | undefined;
@@ -3422,6 +4101,7 @@ export declare const ScopeSchema: z.ZodObject<{
3422
4101
  text: string;
3423
4102
  distance?: number | undefined;
3424
4103
  opacity?: number | undefined;
4104
+ rotate?: number | "none" | "radial" | "tangent" | undefined;
3425
4105
  font?: {
3426
4106
  family?: string | undefined;
3427
4107
  size?: number | undefined;
@@ -3430,7 +4110,6 @@ export declare const ScopeSchema: z.ZodObject<{
3430
4110
  } | undefined;
3431
4111
  position?: number | "above" | "below" | "left" | "right" | "above-left" | "above-right" | "below-left" | "below-right" | undefined;
3432
4112
  textColor?: string | undefined;
3433
- rotate?: number | "none" | "radial" | "tangent" | undefined;
3434
4113
  keepUpright?: boolean | undefined;
3435
4114
  pin?: boolean | {
3436
4115
  stroke?: string | undefined;
@@ -3439,7 +4118,7 @@ export declare const ScopeSchema: z.ZodObject<{
3439
4118
  } | undefined;
3440
4119
  }>, "many">]>>;
3441
4120
  zIndex: z.ZodOptional<z.ZodNumber>;
3442
- }, "type" | "id" | "text" | "position" | "label" | "zIndex">, "strict", z.ZodTypeAny, {
4121
+ }, "type" | "id" | "text" | "position" | "label" | "meta" | "animations" | "zIndex">, "strict", z.ZodTypeAny, {
3443
4122
  fill?: string | {
3444
4123
  type: "linearGradient";
3445
4124
  stops: {
@@ -3470,23 +4149,30 @@ export declare const ScopeSchema: z.ZodObject<{
3470
4149
  href: string;
3471
4150
  fit?: "fill" | "contain" | "cover" | undefined;
3472
4151
  } | undefined;
3473
- color?: string | undefined;
4152
+ shape?: string | {
4153
+ type: string;
4154
+ params?: Record<string, import('./json').JsonValue> | undefined;
4155
+ } | undefined;
4156
+ boundary?: string | {
4157
+ type: string;
4158
+ params?: Record<string, import('./json').JsonValue> | undefined;
4159
+ } | undefined;
3474
4160
  opacity?: number | undefined;
3475
- shape?: string | undefined;
4161
+ stroke?: string | undefined;
4162
+ strokeWidth?: number | undefined;
4163
+ rotate?: number | undefined;
4164
+ scale?: number | undefined;
4165
+ color?: string | undefined;
3476
4166
  font?: {
3477
4167
  family?: string | undefined;
3478
4168
  size?: number | undefined;
3479
4169
  weight?: number | "normal" | "bold" | undefined;
3480
4170
  style?: "normal" | "italic" | "oblique" | undefined;
3481
4171
  } | undefined;
3482
- scale?: number | undefined;
3483
4172
  textColor?: string | undefined;
3484
- roundedCorners?: number | undefined;
3485
- stroke?: string | undefined;
3486
- strokeWidth?: number | undefined;
4173
+ cornerRadius?: number | undefined;
3487
4174
  fillOpacity?: number | undefined;
3488
4175
  drawOpacity?: number | undefined;
3489
- rotate?: number | undefined;
3490
4176
  align?: "left" | "right" | "center" | undefined;
3491
4177
  lineHeight?: number | undefined;
3492
4178
  maxTextWidth?: number | undefined;
@@ -3534,23 +4220,30 @@ export declare const ScopeSchema: z.ZodObject<{
3534
4220
  href: string;
3535
4221
  fit?: "fill" | "contain" | "cover" | undefined;
3536
4222
  } | undefined;
3537
- color?: string | undefined;
4223
+ shape?: string | {
4224
+ type: string;
4225
+ params?: Record<string, import('./json').JsonValue> | undefined;
4226
+ } | undefined;
4227
+ boundary?: string | {
4228
+ type: string;
4229
+ params?: Record<string, import('./json').JsonValue> | undefined;
4230
+ } | undefined;
3538
4231
  opacity?: number | undefined;
3539
- shape?: string | undefined;
4232
+ stroke?: string | undefined;
4233
+ strokeWidth?: number | undefined;
4234
+ rotate?: number | undefined;
4235
+ scale?: number | undefined;
4236
+ color?: string | undefined;
3540
4237
  font?: {
3541
4238
  family?: string | undefined;
3542
4239
  size?: number | undefined;
3543
4240
  weight?: number | "normal" | "bold" | undefined;
3544
4241
  style?: "normal" | "italic" | "oblique" | undefined;
3545
4242
  } | undefined;
3546
- scale?: number | undefined;
3547
4243
  textColor?: string | undefined;
3548
- roundedCorners?: number | undefined;
3549
- stroke?: string | undefined;
3550
- strokeWidth?: number | undefined;
4244
+ cornerRadius?: number | undefined;
3551
4245
  fillOpacity?: number | undefined;
3552
4246
  drawOpacity?: number | undefined;
3553
- rotate?: number | undefined;
3554
4247
  align?: "left" | "right" | "center" | undefined;
3555
4248
  lineHeight?: number | undefined;
3556
4249
  maxTextWidth?: number | undefined;
@@ -3571,6 +4264,127 @@ export declare const ScopeSchema: z.ZodObject<{
3571
4264
  pathDefault: z.ZodOptional<z.ZodObject<Omit<{
3572
4265
  type: z.ZodLiteral<"path">;
3573
4266
  id: z.ZodOptional<z.ZodString>;
4267
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
4268
+ animations: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
4269
+ property: z.ZodString;
4270
+ keyframes: z.ZodEffects<z.ZodArray<z.ZodObject<{
4271
+ at: z.ZodNumber;
4272
+ value: z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>;
4273
+ easing: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>]>>;
4274
+ }, "strip", z.ZodTypeAny, {
4275
+ value: import('./json').JsonValue;
4276
+ at: number;
4277
+ easing?: string | [number, number, number, number] | undefined;
4278
+ }, {
4279
+ value: import('./json').JsonValue;
4280
+ at: number;
4281
+ easing?: string | [number, number, number, number] | undefined;
4282
+ }>, "many">, {
4283
+ value: import('./json').JsonValue;
4284
+ at: number;
4285
+ easing?: string | [number, number, number, number] | undefined;
4286
+ }[], {
4287
+ value: import('./json').JsonValue;
4288
+ at: number;
4289
+ easing?: string | [number, number, number, number] | undefined;
4290
+ }[]>;
4291
+ duration: z.ZodNumber;
4292
+ delay: z.ZodOptional<z.ZodNumber>;
4293
+ easing: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>]>>;
4294
+ iterations: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"infinite">]>>;
4295
+ direction: z.ZodOptional<z.ZodNativeEnum<{
4296
+ readonly Normal: "normal";
4297
+ readonly Reverse: "reverse";
4298
+ readonly Alternate: "alternate";
4299
+ readonly AlternateReverse: "alternate-reverse";
4300
+ }>>;
4301
+ fill: z.ZodOptional<z.ZodNativeEnum<{
4302
+ readonly None: "none";
4303
+ readonly Forwards: "forwards";
4304
+ readonly Backwards: "backwards";
4305
+ readonly Both: "both";
4306
+ }>>;
4307
+ trigger: z.ZodOptional<z.ZodUnion<[z.ZodNativeEnum<{
4308
+ readonly Load: "load";
4309
+ readonly Visible: "visible";
4310
+ readonly Manual: "manual";
4311
+ }>, z.ZodObject<{
4312
+ onEvent: z.ZodString;
4313
+ }, "strip", z.ZodTypeAny, {
4314
+ onEvent: string;
4315
+ }, {
4316
+ onEvent: string;
4317
+ }>]>>;
4318
+ origin: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>]>>;
4319
+ }, "strip", z.ZodTypeAny, {
4320
+ property: string;
4321
+ keyframes: {
4322
+ value: import('./json').JsonValue;
4323
+ at: number;
4324
+ easing?: string | [number, number, number, number] | undefined;
4325
+ }[];
4326
+ duration: number;
4327
+ fill?: "none" | "forwards" | "backwards" | "both" | undefined;
4328
+ origin?: string | [number, number] | undefined;
4329
+ direction?: "reverse" | "normal" | "alternate" | "alternate-reverse" | undefined;
4330
+ easing?: string | [number, number, number, number] | undefined;
4331
+ delay?: number | undefined;
4332
+ iterations?: number | "infinite" | undefined;
4333
+ trigger?: "load" | "visible" | "manual" | {
4334
+ onEvent: string;
4335
+ } | undefined;
4336
+ }, {
4337
+ property: string;
4338
+ keyframes: {
4339
+ value: import('./json').JsonValue;
4340
+ at: number;
4341
+ easing?: string | [number, number, number, number] | undefined;
4342
+ }[];
4343
+ duration: number;
4344
+ fill?: "none" | "forwards" | "backwards" | "both" | undefined;
4345
+ origin?: string | [number, number] | undefined;
4346
+ direction?: "reverse" | "normal" | "alternate" | "alternate-reverse" | undefined;
4347
+ easing?: string | [number, number, number, number] | undefined;
4348
+ delay?: number | undefined;
4349
+ iterations?: number | "infinite" | undefined;
4350
+ trigger?: "load" | "visible" | "manual" | {
4351
+ onEvent: string;
4352
+ } | undefined;
4353
+ }>, {
4354
+ property: string;
4355
+ keyframes: {
4356
+ value: import('./json').JsonValue;
4357
+ at: number;
4358
+ easing?: string | [number, number, number, number] | undefined;
4359
+ }[];
4360
+ duration: number;
4361
+ fill?: "none" | "forwards" | "backwards" | "both" | undefined;
4362
+ origin?: string | [number, number] | undefined;
4363
+ direction?: "reverse" | "normal" | "alternate" | "alternate-reverse" | undefined;
4364
+ easing?: string | [number, number, number, number] | undefined;
4365
+ delay?: number | undefined;
4366
+ iterations?: number | "infinite" | undefined;
4367
+ trigger?: "load" | "visible" | "manual" | {
4368
+ onEvent: string;
4369
+ } | undefined;
4370
+ }, {
4371
+ property: string;
4372
+ keyframes: {
4373
+ value: import('./json').JsonValue;
4374
+ at: number;
4375
+ easing?: string | [number, number, number, number] | undefined;
4376
+ }[];
4377
+ duration: number;
4378
+ fill?: "none" | "forwards" | "backwards" | "both" | undefined;
4379
+ origin?: string | [number, number] | undefined;
4380
+ direction?: "reverse" | "normal" | "alternate" | "alternate-reverse" | undefined;
4381
+ easing?: string | [number, number, number, number] | undefined;
4382
+ delay?: number | undefined;
4383
+ iterations?: number | "infinite" | undefined;
4384
+ trigger?: "load" | "visible" | "manual" | {
4385
+ onEvent: string;
4386
+ } | undefined;
4387
+ }>, "many">>;
3574
4388
  color: z.ZodOptional<z.ZodString>;
3575
4389
  stroke: z.ZodOptional<z.ZodString>;
3576
4390
  strokeWidth: z.ZodOptional<z.ZodNumber>;
@@ -3598,21 +4412,21 @@ export declare const ScopeSchema: z.ZodObject<{
3598
4412
  }, "strip", z.ZodTypeAny, {
3599
4413
  length?: number | undefined;
3600
4414
  fill?: string | undefined;
3601
- color?: string | undefined;
3602
- opacity?: number | undefined;
3603
4415
  shape?: string | undefined;
4416
+ opacity?: number | undefined;
4417
+ scale?: number | undefined;
4418
+ color?: string | undefined;
3604
4419
  lineWidth?: number | undefined;
3605
4420
  width?: number | undefined;
3606
- scale?: number | undefined;
3607
4421
  }, {
3608
4422
  length?: number | undefined;
3609
4423
  fill?: string | undefined;
3610
- color?: string | undefined;
3611
- opacity?: number | undefined;
3612
4424
  shape?: string | undefined;
4425
+ opacity?: number | undefined;
4426
+ scale?: number | undefined;
4427
+ color?: string | undefined;
3613
4428
  lineWidth?: number | undefined;
3614
4429
  width?: number | undefined;
3615
- scale?: number | undefined;
3616
4430
  }>>;
3617
4431
  end: z.ZodOptional<z.ZodObject<{
3618
4432
  shape: z.ZodOptional<z.ZodString>;
@@ -3626,79 +4440,79 @@ export declare const ScopeSchema: z.ZodObject<{
3626
4440
  }, "strip", z.ZodTypeAny, {
3627
4441
  length?: number | undefined;
3628
4442
  fill?: string | undefined;
3629
- color?: string | undefined;
3630
- opacity?: number | undefined;
3631
4443
  shape?: string | undefined;
4444
+ opacity?: number | undefined;
4445
+ scale?: number | undefined;
4446
+ color?: string | undefined;
3632
4447
  lineWidth?: number | undefined;
3633
4448
  width?: number | undefined;
3634
- scale?: number | undefined;
3635
4449
  }, {
3636
4450
  length?: number | undefined;
3637
4451
  fill?: string | undefined;
3638
- color?: string | undefined;
3639
- opacity?: number | undefined;
3640
4452
  shape?: string | undefined;
4453
+ opacity?: number | undefined;
4454
+ scale?: number | undefined;
4455
+ color?: string | undefined;
3641
4456
  lineWidth?: number | undefined;
3642
4457
  width?: number | undefined;
3643
- scale?: number | undefined;
3644
4458
  }>>;
3645
4459
  }, "strip", z.ZodTypeAny, {
3646
4460
  length?: number | undefined;
3647
4461
  fill?: string | undefined;
3648
- color?: string | undefined;
3649
- opacity?: number | undefined;
3650
4462
  shape?: string | undefined;
4463
+ opacity?: number | undefined;
4464
+ scale?: number | undefined;
4465
+ color?: string | undefined;
3651
4466
  lineWidth?: number | undefined;
3652
4467
  width?: number | undefined;
3653
- scale?: number | undefined;
3654
4468
  start?: {
3655
4469
  length?: number | undefined;
3656
4470
  fill?: string | undefined;
3657
- color?: string | undefined;
3658
- opacity?: number | undefined;
3659
4471
  shape?: string | undefined;
4472
+ opacity?: number | undefined;
4473
+ scale?: number | undefined;
4474
+ color?: string | undefined;
3660
4475
  lineWidth?: number | undefined;
3661
4476
  width?: number | undefined;
3662
- scale?: number | undefined;
3663
4477
  } | undefined;
3664
4478
  end?: {
3665
4479
  length?: number | undefined;
3666
4480
  fill?: string | undefined;
3667
- color?: string | undefined;
3668
- opacity?: number | undefined;
3669
4481
  shape?: string | undefined;
4482
+ opacity?: number | undefined;
4483
+ scale?: number | undefined;
4484
+ color?: string | undefined;
3670
4485
  lineWidth?: number | undefined;
3671
4486
  width?: number | undefined;
3672
- scale?: number | undefined;
3673
4487
  } | undefined;
3674
4488
  }, {
3675
4489
  length?: number | undefined;
3676
4490
  fill?: string | undefined;
3677
- color?: string | undefined;
3678
- opacity?: number | undefined;
3679
4491
  shape?: string | undefined;
4492
+ opacity?: number | undefined;
4493
+ scale?: number | undefined;
4494
+ color?: string | undefined;
3680
4495
  lineWidth?: number | undefined;
3681
4496
  width?: number | undefined;
3682
- scale?: number | undefined;
3683
4497
  start?: {
3684
4498
  length?: number | undefined;
3685
4499
  fill?: string | undefined;
3686
- color?: string | undefined;
3687
- opacity?: number | undefined;
3688
4500
  shape?: string | undefined;
4501
+ opacity?: number | undefined;
4502
+ scale?: number | undefined;
4503
+ color?: string | undefined;
3689
4504
  lineWidth?: number | undefined;
3690
4505
  width?: number | undefined;
3691
- scale?: number | undefined;
3692
4506
  } | undefined;
3693
4507
  end?: {
3694
4508
  length?: number | undefined;
3695
4509
  fill?: string | undefined;
3696
- color?: string | undefined;
3697
- opacity?: number | undefined;
3698
4510
  shape?: string | undefined;
4511
+ opacity?: number | undefined;
4512
+ scale?: number | undefined;
4513
+ color?: string | undefined;
3699
4514
  lineWidth?: number | undefined;
3700
4515
  width?: number | undefined;
3701
- scale?: number | undefined;
3702
4516
  } | undefined;
3703
4517
  }>>;
3704
4518
  fill: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -3841,22 +4655,22 @@ export declare const ScopeSchema: z.ZodObject<{
3841
4655
  kind: "arrow";
3842
4656
  length?: number | undefined;
3843
4657
  fill?: string | undefined;
3844
- color?: string | undefined;
3845
- opacity?: number | undefined;
3846
4658
  shape?: string | undefined;
4659
+ opacity?: number | undefined;
4660
+ scale?: number | undefined;
4661
+ color?: string | undefined;
3847
4662
  lineWidth?: number | undefined;
3848
4663
  width?: number | undefined;
3849
- scale?: number | undefined;
3850
4664
  }, {
3851
4665
  kind: "arrow";
3852
4666
  length?: number | undefined;
3853
4667
  fill?: string | undefined;
3854
- color?: string | undefined;
3855
- opacity?: number | undefined;
3856
4668
  shape?: string | undefined;
4669
+ opacity?: number | undefined;
4670
+ scale?: number | undefined;
4671
+ color?: string | undefined;
3857
4672
  lineWidth?: number | undefined;
3858
4673
  width?: number | undefined;
3859
- scale?: number | undefined;
3860
4674
  }>;
3861
4675
  }, "strip", z.ZodTypeAny, {
3862
4676
  pos: number;
@@ -3864,12 +4678,12 @@ export declare const ScopeSchema: z.ZodObject<{
3864
4678
  kind: "arrow";
3865
4679
  length?: number | undefined;
3866
4680
  fill?: string | undefined;
3867
- color?: string | undefined;
3868
- opacity?: number | undefined;
3869
4681
  shape?: string | undefined;
4682
+ opacity?: number | undefined;
4683
+ scale?: number | undefined;
4684
+ color?: string | undefined;
3870
4685
  lineWidth?: number | undefined;
3871
4686
  width?: number | undefined;
3872
- scale?: number | undefined;
3873
4687
  };
3874
4688
  }, {
3875
4689
  pos: number;
@@ -3877,12 +4691,12 @@ export declare const ScopeSchema: z.ZodObject<{
3877
4691
  kind: "arrow";
3878
4692
  length?: number | undefined;
3879
4693
  fill?: string | undefined;
3880
- color?: string | undefined;
3881
- opacity?: number | undefined;
3882
4694
  shape?: string | undefined;
4695
+ opacity?: number | undefined;
4696
+ scale?: number | undefined;
4697
+ color?: string | undefined;
3883
4698
  lineWidth?: number | undefined;
3884
4699
  width?: number | undefined;
3885
- scale?: number | undefined;
3886
4700
  };
3887
4701
  }>, "many">>;
3888
4702
  children: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
@@ -3890,7 +4704,7 @@ export declare const ScopeSchema: z.ZodObject<{
3890
4704
  kind: z.ZodLiteral<"move">;
3891
4705
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
3892
4706
  id: z.ZodString;
3893
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
4707
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
3894
4708
  side: z.ZodEnum<["north", "south", "east", "west"]>;
3895
4709
  t: z.ZodNumber;
3896
4710
  }, "strip", z.ZodTypeAny, {
@@ -3901,20 +4715,38 @@ export declare const ScopeSchema: z.ZodObject<{
3901
4715
  t: number;
3902
4716
  }>]>>;
3903
4717
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
4718
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
4719
+ type: z.ZodString;
4720
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
4721
+ }, "strip", z.ZodTypeAny, {
4722
+ type: string;
4723
+ params?: Record<string, import('./json').JsonValue> | undefined;
4724
+ }, {
4725
+ type: string;
4726
+ params?: Record<string, import('./json').JsonValue> | undefined;
4727
+ }>]>>;
3904
4728
  }, "strip", z.ZodTypeAny, {
3905
4729
  id: string;
3906
4730
  offset?: [number, number] | undefined;
3907
- anchor?: number | import('..').RectAnchor | {
4731
+ anchor?: string | number | {
3908
4732
  side: "north" | "south" | "east" | "west";
3909
4733
  t: number;
3910
4734
  } | undefined;
4735
+ boundary?: string | {
4736
+ type: string;
4737
+ params?: Record<string, import('./json').JsonValue> | undefined;
4738
+ } | undefined;
3911
4739
  }, {
3912
4740
  id: string;
3913
4741
  offset?: [number, number] | undefined;
3914
- anchor?: number | import('..').RectAnchor | {
4742
+ anchor?: string | number | {
3915
4743
  side: "north" | "south" | "east" | "west";
3916
4744
  t: number;
3917
4745
  } | undefined;
4746
+ boundary?: string | {
4747
+ type: string;
4748
+ params?: Record<string, import('./json').JsonValue> | undefined;
4749
+ } | undefined;
3918
4750
  }>, z.ZodObject<{
3919
4751
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
3920
4752
  }, "strip", z.ZodTypeAny, {
@@ -3939,46 +4771,54 @@ export declare const ScopeSchema: z.ZodObject<{
3939
4771
  }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
3940
4772
  }, "strip", z.ZodTypeAny, {
3941
4773
  type: "step";
4774
+ kind: "move";
3942
4775
  to: [number, number] | import('./position').PolarPosition | {
3943
4776
  of: string | [number, number] | import('./position').PolarPosition;
3944
4777
  offset: [number, number];
3945
4778
  } | {
3946
4779
  id: string;
3947
4780
  offset?: [number, number] | undefined;
3948
- anchor?: number | import('..').RectAnchor | {
4781
+ anchor?: string | number | {
3949
4782
  side: "north" | "south" | "east" | "west";
3950
4783
  t: number;
3951
4784
  } | undefined;
4785
+ boundary?: string | {
4786
+ type: string;
4787
+ params?: Record<string, import('./json').JsonValue> | undefined;
4788
+ } | undefined;
3952
4789
  } | {
3953
4790
  relative: [number, number];
3954
4791
  } | {
3955
4792
  relativeAccumulate: [number, number];
3956
4793
  } | import('./position').IRBetweenPosition;
3957
- kind: "move";
3958
4794
  }, {
3959
4795
  type: "step";
4796
+ kind: "move";
3960
4797
  to: [number, number] | import('./position').PolarPosition | {
3961
4798
  of: string | [number, number] | import('./position').PolarPosition;
3962
4799
  offset: [number, number];
3963
4800
  } | {
3964
4801
  id: string;
3965
4802
  offset?: [number, number] | undefined;
3966
- anchor?: number | import('..').RectAnchor | {
4803
+ anchor?: string | number | {
3967
4804
  side: "north" | "south" | "east" | "west";
3968
4805
  t: number;
3969
4806
  } | undefined;
4807
+ boundary?: string | {
4808
+ type: string;
4809
+ params?: Record<string, import('./json').JsonValue> | undefined;
4810
+ } | undefined;
3970
4811
  } | {
3971
4812
  relative: [number, number];
3972
4813
  } | {
3973
4814
  relativeAccumulate: [number, number];
3974
4815
  } | import('./position').IRBetweenPosition;
3975
- kind: "move";
3976
4816
  }>, z.ZodObject<{
3977
4817
  type: z.ZodLiteral<"step">;
3978
4818
  kind: z.ZodLiteral<"line">;
3979
4819
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
3980
4820
  id: z.ZodString;
3981
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
4821
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
3982
4822
  side: z.ZodEnum<["north", "south", "east", "west"]>;
3983
4823
  t: z.ZodNumber;
3984
4824
  }, "strip", z.ZodTypeAny, {
@@ -3989,20 +4829,38 @@ export declare const ScopeSchema: z.ZodObject<{
3989
4829
  t: number;
3990
4830
  }>]>>;
3991
4831
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
4832
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
4833
+ type: z.ZodString;
4834
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
4835
+ }, "strip", z.ZodTypeAny, {
4836
+ type: string;
4837
+ params?: Record<string, import('./json').JsonValue> | undefined;
4838
+ }, {
4839
+ type: string;
4840
+ params?: Record<string, import('./json').JsonValue> | undefined;
4841
+ }>]>>;
3992
4842
  }, "strip", z.ZodTypeAny, {
3993
4843
  id: string;
3994
4844
  offset?: [number, number] | undefined;
3995
- anchor?: number | import('..').RectAnchor | {
4845
+ anchor?: string | number | {
3996
4846
  side: "north" | "south" | "east" | "west";
3997
4847
  t: number;
3998
4848
  } | undefined;
4849
+ boundary?: string | {
4850
+ type: string;
4851
+ params?: Record<string, import('./json').JsonValue> | undefined;
4852
+ } | undefined;
3999
4853
  }, {
4000
4854
  id: string;
4001
4855
  offset?: [number, number] | undefined;
4002
- anchor?: number | import('..').RectAnchor | {
4856
+ anchor?: string | number | {
4003
4857
  side: "north" | "south" | "east" | "west";
4004
4858
  t: number;
4005
4859
  } | undefined;
4860
+ boundary?: string | {
4861
+ type: string;
4862
+ params?: Record<string, import('./json').JsonValue> | undefined;
4863
+ } | undefined;
4006
4864
  }>, z.ZodObject<{
4007
4865
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
4008
4866
  }, "strip", z.ZodTypeAny, {
@@ -4074,22 +4932,26 @@ export declare const ScopeSchema: z.ZodObject<{
4074
4932
  }>>;
4075
4933
  }, "strip", z.ZodTypeAny, {
4076
4934
  type: "step";
4935
+ kind: "line";
4077
4936
  to: [number, number] | import('./position').PolarPosition | {
4078
4937
  of: string | [number, number] | import('./position').PolarPosition;
4079
4938
  offset: [number, number];
4080
4939
  } | {
4081
4940
  id: string;
4082
4941
  offset?: [number, number] | undefined;
4083
- anchor?: number | import('..').RectAnchor | {
4942
+ anchor?: string | number | {
4084
4943
  side: "north" | "south" | "east" | "west";
4085
4944
  t: number;
4086
4945
  } | undefined;
4946
+ boundary?: string | {
4947
+ type: string;
4948
+ params?: Record<string, import('./json').JsonValue> | undefined;
4949
+ } | undefined;
4087
4950
  } | {
4088
4951
  relative: [number, number];
4089
4952
  } | {
4090
4953
  relativeAccumulate: [number, number];
4091
4954
  } | import('./position').IRBetweenPosition;
4092
- kind: "line";
4093
4955
  label?: {
4094
4956
  text: string;
4095
4957
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -4105,22 +4967,26 @@ export declare const ScopeSchema: z.ZodObject<{
4105
4967
  } | undefined;
4106
4968
  }, {
4107
4969
  type: "step";
4970
+ kind: "line";
4108
4971
  to: [number, number] | import('./position').PolarPosition | {
4109
4972
  of: string | [number, number] | import('./position').PolarPosition;
4110
4973
  offset: [number, number];
4111
4974
  } | {
4112
4975
  id: string;
4113
4976
  offset?: [number, number] | undefined;
4114
- anchor?: number | import('..').RectAnchor | {
4977
+ anchor?: string | number | {
4115
4978
  side: "north" | "south" | "east" | "west";
4116
4979
  t: number;
4117
4980
  } | undefined;
4981
+ boundary?: string | {
4982
+ type: string;
4983
+ params?: Record<string, import('./json').JsonValue> | undefined;
4984
+ } | undefined;
4118
4985
  } | {
4119
4986
  relative: [number, number];
4120
4987
  } | {
4121
4988
  relativeAccumulate: [number, number];
4122
4989
  } | import('./position').IRBetweenPosition;
4123
- kind: "line";
4124
4990
  label?: {
4125
4991
  text: string;
4126
4992
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -4140,7 +5006,7 @@ export declare const ScopeSchema: z.ZodObject<{
4140
5006
  via: z.ZodEnum<["-|", "|-"]>;
4141
5007
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
4142
5008
  id: z.ZodString;
4143
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
5009
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
4144
5010
  side: z.ZodEnum<["north", "south", "east", "west"]>;
4145
5011
  t: z.ZodNumber;
4146
5012
  }, "strip", z.ZodTypeAny, {
@@ -4151,20 +5017,38 @@ export declare const ScopeSchema: z.ZodObject<{
4151
5017
  t: number;
4152
5018
  }>]>>;
4153
5019
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
5020
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
5021
+ type: z.ZodString;
5022
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
5023
+ }, "strip", z.ZodTypeAny, {
5024
+ type: string;
5025
+ params?: Record<string, import('./json').JsonValue> | undefined;
5026
+ }, {
5027
+ type: string;
5028
+ params?: Record<string, import('./json').JsonValue> | undefined;
5029
+ }>]>>;
4154
5030
  }, "strip", z.ZodTypeAny, {
4155
5031
  id: string;
4156
5032
  offset?: [number, number] | undefined;
4157
- anchor?: number | import('..').RectAnchor | {
5033
+ anchor?: string | number | {
4158
5034
  side: "north" | "south" | "east" | "west";
4159
5035
  t: number;
4160
5036
  } | undefined;
5037
+ boundary?: string | {
5038
+ type: string;
5039
+ params?: Record<string, import('./json').JsonValue> | undefined;
5040
+ } | undefined;
4161
5041
  }, {
4162
5042
  id: string;
4163
5043
  offset?: [number, number] | undefined;
4164
- anchor?: number | import('..').RectAnchor | {
5044
+ anchor?: string | number | {
4165
5045
  side: "north" | "south" | "east" | "west";
4166
5046
  t: number;
4167
5047
  } | undefined;
5048
+ boundary?: string | {
5049
+ type: string;
5050
+ params?: Record<string, import('./json').JsonValue> | undefined;
5051
+ } | undefined;
4168
5052
  }>, z.ZodObject<{
4169
5053
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
4170
5054
  }, "strip", z.ZodTypeAny, {
@@ -4236,22 +5120,26 @@ export declare const ScopeSchema: z.ZodObject<{
4236
5120
  }>>;
4237
5121
  }, "strip", z.ZodTypeAny, {
4238
5122
  type: "step";
5123
+ kind: "step";
4239
5124
  to: [number, number] | import('./position').PolarPosition | {
4240
5125
  of: string | [number, number] | import('./position').PolarPosition;
4241
5126
  offset: [number, number];
4242
5127
  } | {
4243
5128
  id: string;
4244
5129
  offset?: [number, number] | undefined;
4245
- anchor?: number | import('..').RectAnchor | {
5130
+ anchor?: string | number | {
4246
5131
  side: "north" | "south" | "east" | "west";
4247
5132
  t: number;
4248
5133
  } | undefined;
5134
+ boundary?: string | {
5135
+ type: string;
5136
+ params?: Record<string, import('./json').JsonValue> | undefined;
5137
+ } | undefined;
4249
5138
  } | {
4250
5139
  relative: [number, number];
4251
5140
  } | {
4252
5141
  relativeAccumulate: [number, number];
4253
5142
  } | import('./position').IRBetweenPosition;
4254
- kind: "step";
4255
5143
  via: "-|" | "|-";
4256
5144
  label?: {
4257
5145
  text: string;
@@ -4268,22 +5156,26 @@ export declare const ScopeSchema: z.ZodObject<{
4268
5156
  } | undefined;
4269
5157
  }, {
4270
5158
  type: "step";
5159
+ kind: "step";
4271
5160
  to: [number, number] | import('./position').PolarPosition | {
4272
5161
  of: string | [number, number] | import('./position').PolarPosition;
4273
5162
  offset: [number, number];
4274
5163
  } | {
4275
5164
  id: string;
4276
5165
  offset?: [number, number] | undefined;
4277
- anchor?: number | import('..').RectAnchor | {
5166
+ anchor?: string | number | {
4278
5167
  side: "north" | "south" | "east" | "west";
4279
5168
  t: number;
4280
5169
  } | undefined;
5170
+ boundary?: string | {
5171
+ type: string;
5172
+ params?: Record<string, import('./json').JsonValue> | undefined;
5173
+ } | undefined;
4281
5174
  } | {
4282
5175
  relative: [number, number];
4283
5176
  } | {
4284
5177
  relativeAccumulate: [number, number];
4285
5178
  } | import('./position').IRBetweenPosition;
4286
- kind: "step";
4287
5179
  via: "-|" | "|-";
4288
5180
  label?: {
4289
5181
  text: string;
@@ -4312,7 +5204,7 @@ export declare const ScopeSchema: z.ZodObject<{
4312
5204
  kind: z.ZodLiteral<"curve">;
4313
5205
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
4314
5206
  id: z.ZodString;
4315
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
5207
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
4316
5208
  side: z.ZodEnum<["north", "south", "east", "west"]>;
4317
5209
  t: z.ZodNumber;
4318
5210
  }, "strip", z.ZodTypeAny, {
@@ -4323,20 +5215,38 @@ export declare const ScopeSchema: z.ZodObject<{
4323
5215
  t: number;
4324
5216
  }>]>>;
4325
5217
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
5218
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
5219
+ type: z.ZodString;
5220
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
5221
+ }, "strip", z.ZodTypeAny, {
5222
+ type: string;
5223
+ params?: Record<string, import('./json').JsonValue> | undefined;
5224
+ }, {
5225
+ type: string;
5226
+ params?: Record<string, import('./json').JsonValue> | undefined;
5227
+ }>]>>;
4326
5228
  }, "strip", z.ZodTypeAny, {
4327
5229
  id: string;
4328
5230
  offset?: [number, number] | undefined;
4329
- anchor?: number | import('..').RectAnchor | {
5231
+ anchor?: string | number | {
4330
5232
  side: "north" | "south" | "east" | "west";
4331
5233
  t: number;
4332
5234
  } | undefined;
5235
+ boundary?: string | {
5236
+ type: string;
5237
+ params?: Record<string, import('./json').JsonValue> | undefined;
5238
+ } | undefined;
4333
5239
  }, {
4334
5240
  id: string;
4335
5241
  offset?: [number, number] | undefined;
4336
- anchor?: number | import('..').RectAnchor | {
5242
+ anchor?: string | number | {
4337
5243
  side: "north" | "south" | "east" | "west";
4338
5244
  t: number;
4339
5245
  } | undefined;
5246
+ boundary?: string | {
5247
+ type: string;
5248
+ params?: Record<string, import('./json').JsonValue> | undefined;
5249
+ } | undefined;
4340
5250
  }>, z.ZodObject<{
4341
5251
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
4342
5252
  }, "strip", z.ZodTypeAny, {
@@ -4409,22 +5319,26 @@ export declare const ScopeSchema: z.ZodObject<{
4409
5319
  }>>;
4410
5320
  }, "strip", z.ZodTypeAny, {
4411
5321
  type: "step";
5322
+ kind: "curve";
4412
5323
  to: [number, number] | import('./position').PolarPosition | {
4413
5324
  of: string | [number, number] | import('./position').PolarPosition;
4414
5325
  offset: [number, number];
4415
5326
  } | {
4416
5327
  id: string;
4417
5328
  offset?: [number, number] | undefined;
4418
- anchor?: number | import('..').RectAnchor | {
5329
+ anchor?: string | number | {
4419
5330
  side: "north" | "south" | "east" | "west";
4420
5331
  t: number;
4421
5332
  } | undefined;
5333
+ boundary?: string | {
5334
+ type: string;
5335
+ params?: Record<string, import('./json').JsonValue> | undefined;
5336
+ } | undefined;
4422
5337
  } | {
4423
5338
  relative: [number, number];
4424
5339
  } | {
4425
5340
  relativeAccumulate: [number, number];
4426
5341
  } | import('./position').IRBetweenPosition;
4427
- kind: "curve";
4428
5342
  control: [number, number];
4429
5343
  label?: {
4430
5344
  text: string;
@@ -4441,22 +5355,26 @@ export declare const ScopeSchema: z.ZodObject<{
4441
5355
  } | undefined;
4442
5356
  }, {
4443
5357
  type: "step";
5358
+ kind: "curve";
4444
5359
  to: [number, number] | import('./position').PolarPosition | {
4445
5360
  of: string | [number, number] | import('./position').PolarPosition;
4446
5361
  offset: [number, number];
4447
5362
  } | {
4448
5363
  id: string;
4449
5364
  offset?: [number, number] | undefined;
4450
- anchor?: number | import('..').RectAnchor | {
5365
+ anchor?: string | number | {
4451
5366
  side: "north" | "south" | "east" | "west";
4452
5367
  t: number;
4453
5368
  } | undefined;
5369
+ boundary?: string | {
5370
+ type: string;
5371
+ params?: Record<string, import('./json').JsonValue> | undefined;
5372
+ } | undefined;
4454
5373
  } | {
4455
5374
  relative: [number, number];
4456
5375
  } | {
4457
5376
  relativeAccumulate: [number, number];
4458
5377
  } | import('./position').IRBetweenPosition;
4459
- kind: "curve";
4460
5378
  control: [number, number];
4461
5379
  label?: {
4462
5380
  text: string;
@@ -4476,7 +5394,7 @@ export declare const ScopeSchema: z.ZodObject<{
4476
5394
  kind: z.ZodLiteral<"cubic">;
4477
5395
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
4478
5396
  id: z.ZodString;
4479
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
5397
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
4480
5398
  side: z.ZodEnum<["north", "south", "east", "west"]>;
4481
5399
  t: z.ZodNumber;
4482
5400
  }, "strip", z.ZodTypeAny, {
@@ -4487,20 +5405,38 @@ export declare const ScopeSchema: z.ZodObject<{
4487
5405
  t: number;
4488
5406
  }>]>>;
4489
5407
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
5408
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
5409
+ type: z.ZodString;
5410
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
5411
+ }, "strip", z.ZodTypeAny, {
5412
+ type: string;
5413
+ params?: Record<string, import('./json').JsonValue> | undefined;
5414
+ }, {
5415
+ type: string;
5416
+ params?: Record<string, import('./json').JsonValue> | undefined;
5417
+ }>]>>;
4490
5418
  }, "strip", z.ZodTypeAny, {
4491
5419
  id: string;
4492
5420
  offset?: [number, number] | undefined;
4493
- anchor?: number | import('..').RectAnchor | {
5421
+ anchor?: string | number | {
4494
5422
  side: "north" | "south" | "east" | "west";
4495
5423
  t: number;
4496
5424
  } | undefined;
5425
+ boundary?: string | {
5426
+ type: string;
5427
+ params?: Record<string, import('./json').JsonValue> | undefined;
5428
+ } | undefined;
4497
5429
  }, {
4498
5430
  id: string;
4499
5431
  offset?: [number, number] | undefined;
4500
- anchor?: number | import('..').RectAnchor | {
5432
+ anchor?: string | number | {
4501
5433
  side: "north" | "south" | "east" | "west";
4502
5434
  t: number;
4503
5435
  } | undefined;
5436
+ boundary?: string | {
5437
+ type: string;
5438
+ params?: Record<string, import('./json').JsonValue> | undefined;
5439
+ } | undefined;
4504
5440
  }>, z.ZodObject<{
4505
5441
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
4506
5442
  }, "strip", z.ZodTypeAny, {
@@ -4574,22 +5510,26 @@ export declare const ScopeSchema: z.ZodObject<{
4574
5510
  }>>;
4575
5511
  }, "strip", z.ZodTypeAny, {
4576
5512
  type: "step";
5513
+ kind: "cubic";
4577
5514
  to: [number, number] | import('./position').PolarPosition | {
4578
5515
  of: string | [number, number] | import('./position').PolarPosition;
4579
5516
  offset: [number, number];
4580
5517
  } | {
4581
5518
  id: string;
4582
5519
  offset?: [number, number] | undefined;
4583
- anchor?: number | import('..').RectAnchor | {
5520
+ anchor?: string | number | {
4584
5521
  side: "north" | "south" | "east" | "west";
4585
5522
  t: number;
4586
5523
  } | undefined;
5524
+ boundary?: string | {
5525
+ type: string;
5526
+ params?: Record<string, import('./json').JsonValue> | undefined;
5527
+ } | undefined;
4587
5528
  } | {
4588
5529
  relative: [number, number];
4589
5530
  } | {
4590
5531
  relativeAccumulate: [number, number];
4591
5532
  } | import('./position').IRBetweenPosition;
4592
- kind: "cubic";
4593
5533
  control1: [number, number];
4594
5534
  control2: [number, number];
4595
5535
  label?: {
@@ -4607,22 +5547,26 @@ export declare const ScopeSchema: z.ZodObject<{
4607
5547
  } | undefined;
4608
5548
  }, {
4609
5549
  type: "step";
5550
+ kind: "cubic";
4610
5551
  to: [number, number] | import('./position').PolarPosition | {
4611
5552
  of: string | [number, number] | import('./position').PolarPosition;
4612
5553
  offset: [number, number];
4613
5554
  } | {
4614
5555
  id: string;
4615
5556
  offset?: [number, number] | undefined;
4616
- anchor?: number | import('..').RectAnchor | {
5557
+ anchor?: string | number | {
4617
5558
  side: "north" | "south" | "east" | "west";
4618
5559
  t: number;
4619
5560
  } | undefined;
5561
+ boundary?: string | {
5562
+ type: string;
5563
+ params?: Record<string, import('./json').JsonValue> | undefined;
5564
+ } | undefined;
4620
5565
  } | {
4621
5566
  relative: [number, number];
4622
5567
  } | {
4623
5568
  relativeAccumulate: [number, number];
4624
5569
  } | import('./position').IRBetweenPosition;
4625
- kind: "cubic";
4626
5570
  control1: [number, number];
4627
5571
  control2: [number, number];
4628
5572
  label?: {
@@ -4643,7 +5587,7 @@ export declare const ScopeSchema: z.ZodObject<{
4643
5587
  kind: z.ZodLiteral<"bend">;
4644
5588
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
4645
5589
  id: z.ZodString;
4646
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
5590
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
4647
5591
  side: z.ZodEnum<["north", "south", "east", "west"]>;
4648
5592
  t: z.ZodNumber;
4649
5593
  }, "strip", z.ZodTypeAny, {
@@ -4654,20 +5598,38 @@ export declare const ScopeSchema: z.ZodObject<{
4654
5598
  t: number;
4655
5599
  }>]>>;
4656
5600
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
5601
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
5602
+ type: z.ZodString;
5603
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
5604
+ }, "strip", z.ZodTypeAny, {
5605
+ type: string;
5606
+ params?: Record<string, import('./json').JsonValue> | undefined;
5607
+ }, {
5608
+ type: string;
5609
+ params?: Record<string, import('./json').JsonValue> | undefined;
5610
+ }>]>>;
4657
5611
  }, "strip", z.ZodTypeAny, {
4658
5612
  id: string;
4659
5613
  offset?: [number, number] | undefined;
4660
- anchor?: number | import('..').RectAnchor | {
5614
+ anchor?: string | number | {
4661
5615
  side: "north" | "south" | "east" | "west";
4662
5616
  t: number;
4663
5617
  } | undefined;
5618
+ boundary?: string | {
5619
+ type: string;
5620
+ params?: Record<string, import('./json').JsonValue> | undefined;
5621
+ } | undefined;
4664
5622
  }, {
4665
5623
  id: string;
4666
5624
  offset?: [number, number] | undefined;
4667
- anchor?: number | import('..').RectAnchor | {
5625
+ anchor?: string | number | {
4668
5626
  side: "north" | "south" | "east" | "west";
4669
5627
  t: number;
4670
5628
  } | undefined;
5629
+ boundary?: string | {
5630
+ type: string;
5631
+ params?: Record<string, import('./json').JsonValue> | undefined;
5632
+ } | undefined;
4671
5633
  }>, z.ZodObject<{
4672
5634
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
4673
5635
  }, "strip", z.ZodTypeAny, {
@@ -4744,22 +5706,26 @@ export declare const ScopeSchema: z.ZodObject<{
4744
5706
  }>>;
4745
5707
  }, "strip", z.ZodTypeAny, {
4746
5708
  type: "step";
5709
+ kind: "bend";
4747
5710
  to: [number, number] | import('./position').PolarPosition | {
4748
5711
  of: string | [number, number] | import('./position').PolarPosition;
4749
5712
  offset: [number, number];
4750
5713
  } | {
4751
5714
  id: string;
4752
5715
  offset?: [number, number] | undefined;
4753
- anchor?: number | import('..').RectAnchor | {
5716
+ anchor?: string | number | {
4754
5717
  side: "north" | "south" | "east" | "west";
4755
5718
  t: number;
4756
5719
  } | undefined;
5720
+ boundary?: string | {
5721
+ type: string;
5722
+ params?: Record<string, import('./json').JsonValue> | undefined;
5723
+ } | undefined;
4757
5724
  } | {
4758
5725
  relative: [number, number];
4759
5726
  } | {
4760
5727
  relativeAccumulate: [number, number];
4761
5728
  } | import('./position').IRBetweenPosition;
4762
- kind: "bend";
4763
5729
  label?: {
4764
5730
  text: string;
4765
5731
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -4780,22 +5746,26 @@ export declare const ScopeSchema: z.ZodObject<{
4780
5746
  looseness?: number | undefined;
4781
5747
  }, {
4782
5748
  type: "step";
5749
+ kind: "bend";
4783
5750
  to: [number, number] | import('./position').PolarPosition | {
4784
5751
  of: string | [number, number] | import('./position').PolarPosition;
4785
5752
  offset: [number, number];
4786
5753
  } | {
4787
5754
  id: string;
4788
5755
  offset?: [number, number] | undefined;
4789
- anchor?: number | import('..').RectAnchor | {
5756
+ anchor?: string | number | {
4790
5757
  side: "north" | "south" | "east" | "west";
4791
5758
  t: number;
4792
5759
  } | undefined;
5760
+ boundary?: string | {
5761
+ type: string;
5762
+ params?: Record<string, import('./json').JsonValue> | undefined;
5763
+ } | undefined;
4793
5764
  } | {
4794
5765
  relative: [number, number];
4795
5766
  } | {
4796
5767
  relativeAccumulate: [number, number];
4797
5768
  } | import('./position').IRBetweenPosition;
4798
- kind: "bend";
4799
5769
  label?: {
4800
5770
  text: string;
4801
5771
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -4824,7 +5794,7 @@ export declare const ScopeSchema: z.ZodObject<{
4824
5794
  radiusY: z.ZodOptional<z.ZodNumber>;
4825
5795
  center: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
4826
5796
  id: z.ZodString;
4827
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
5797
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
4828
5798
  side: z.ZodEnum<["north", "south", "east", "west"]>;
4829
5799
  t: z.ZodNumber;
4830
5800
  }, "strip", z.ZodTypeAny, {
@@ -4835,20 +5805,38 @@ export declare const ScopeSchema: z.ZodObject<{
4835
5805
  t: number;
4836
5806
  }>]>>;
4837
5807
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
5808
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
5809
+ type: z.ZodString;
5810
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
5811
+ }, "strip", z.ZodTypeAny, {
5812
+ type: string;
5813
+ params?: Record<string, import('./json').JsonValue> | undefined;
5814
+ }, {
5815
+ type: string;
5816
+ params?: Record<string, import('./json').JsonValue> | undefined;
5817
+ }>]>>;
4838
5818
  }, "strip", z.ZodTypeAny, {
4839
5819
  id: string;
4840
5820
  offset?: [number, number] | undefined;
4841
- anchor?: number | import('..').RectAnchor | {
5821
+ anchor?: string | number | {
4842
5822
  side: "north" | "south" | "east" | "west";
4843
5823
  t: number;
4844
5824
  } | undefined;
5825
+ boundary?: string | {
5826
+ type: string;
5827
+ params?: Record<string, import('./json').JsonValue> | undefined;
5828
+ } | undefined;
4845
5829
  }, {
4846
5830
  id: string;
4847
5831
  offset?: [number, number] | undefined;
4848
- anchor?: number | import('..').RectAnchor | {
5832
+ anchor?: string | number | {
4849
5833
  side: "north" | "south" | "east" | "west";
4850
5834
  t: number;
4851
5835
  } | undefined;
5836
+ boundary?: string | {
5837
+ type: string;
5838
+ params?: Record<string, import('./json').JsonValue> | undefined;
5839
+ } | undefined;
4852
5840
  }>, z.ZodObject<{
4853
5841
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
4854
5842
  }, "strip", z.ZodTypeAny, {
@@ -4920,9 +5908,9 @@ export declare const ScopeSchema: z.ZodObject<{
4920
5908
  }>>;
4921
5909
  }, "strip", z.ZodTypeAny, {
4922
5910
  type: "step";
5911
+ kind: "arc";
4923
5912
  startAngle: number;
4924
5913
  endAngle: number;
4925
- kind: "arc";
4926
5914
  radius?: number | undefined;
4927
5915
  center?: [number, number] | import('./position').PolarPosition | {
4928
5916
  of: string | [number, number] | import('./position').PolarPosition;
@@ -4930,10 +5918,14 @@ export declare const ScopeSchema: z.ZodObject<{
4930
5918
  } | {
4931
5919
  id: string;
4932
5920
  offset?: [number, number] | undefined;
4933
- anchor?: number | import('..').RectAnchor | {
5921
+ anchor?: string | number | {
4934
5922
  side: "north" | "south" | "east" | "west";
4935
5923
  t: number;
4936
5924
  } | undefined;
5925
+ boundary?: string | {
5926
+ type: string;
5927
+ params?: Record<string, import('./json').JsonValue> | undefined;
5928
+ } | undefined;
4937
5929
  } | {
4938
5930
  relative: [number, number];
4939
5931
  } | {
@@ -4956,9 +5948,9 @@ export declare const ScopeSchema: z.ZodObject<{
4956
5948
  radiusY?: number | undefined;
4957
5949
  }, {
4958
5950
  type: "step";
5951
+ kind: "arc";
4959
5952
  startAngle: number;
4960
5953
  endAngle: number;
4961
- kind: "arc";
4962
5954
  radius?: number | undefined;
4963
5955
  center?: [number, number] | import('./position').PolarPosition | {
4964
5956
  of: string | [number, number] | import('./position').PolarPosition;
@@ -4966,10 +5958,14 @@ export declare const ScopeSchema: z.ZodObject<{
4966
5958
  } | {
4967
5959
  id: string;
4968
5960
  offset?: [number, number] | undefined;
4969
- anchor?: number | import('..').RectAnchor | {
5961
+ anchor?: string | number | {
4970
5962
  side: "north" | "south" | "east" | "west";
4971
5963
  t: number;
4972
5964
  } | undefined;
5965
+ boundary?: string | {
5966
+ type: string;
5967
+ params?: Record<string, import('./json').JsonValue> | undefined;
5968
+ } | undefined;
4973
5969
  } | {
4974
5970
  relative: [number, number];
4975
5971
  } | {
@@ -5048,8 +6044,6 @@ export declare const ScopeSchema: z.ZodObject<{
5048
6044
  type: "step";
5049
6045
  radius: number;
5050
6046
  kind: "circlePath";
5051
- startAngle?: number | undefined;
5052
- endAngle?: number | undefined;
5053
6047
  label?: {
5054
6048
  text: string;
5055
6049
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -5063,13 +6057,13 @@ export declare const ScopeSchema: z.ZodObject<{
5063
6057
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
5064
6058
  textColor?: string | undefined;
5065
6059
  } | undefined;
6060
+ startAngle?: number | undefined;
6061
+ endAngle?: number | undefined;
5066
6062
  closed?: "open" | "closed" | "chord" | "sector" | undefined;
5067
6063
  }, {
5068
6064
  type: "step";
5069
6065
  radius: number;
5070
6066
  kind: "circlePath";
5071
- startAngle?: number | undefined;
5072
- endAngle?: number | undefined;
5073
6067
  label?: {
5074
6068
  text: string;
5075
6069
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -5083,6 +6077,8 @@ export declare const ScopeSchema: z.ZodObject<{
5083
6077
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
5084
6078
  textColor?: string | undefined;
5085
6079
  } | undefined;
6080
+ startAngle?: number | undefined;
6081
+ endAngle?: number | undefined;
5086
6082
  closed?: "open" | "closed" | "chord" | "sector" | undefined;
5087
6083
  }>, z.ZodObject<{
5088
6084
  type: z.ZodLiteral<"step">;
@@ -5144,8 +6140,6 @@ export declare const ScopeSchema: z.ZodObject<{
5144
6140
  kind: "ellipsePath";
5145
6141
  radiusX: number;
5146
6142
  radiusY: number;
5147
- startAngle?: number | undefined;
5148
- endAngle?: number | undefined;
5149
6143
  label?: {
5150
6144
  text: string;
5151
6145
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -5159,14 +6153,14 @@ export declare const ScopeSchema: z.ZodObject<{
5159
6153
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
5160
6154
  textColor?: string | undefined;
5161
6155
  } | undefined;
6156
+ startAngle?: number | undefined;
6157
+ endAngle?: number | undefined;
5162
6158
  closed?: "open" | "closed" | "chord" | "sector" | undefined;
5163
6159
  }, {
5164
6160
  type: "step";
5165
6161
  kind: "ellipsePath";
5166
6162
  radiusX: number;
5167
6163
  radiusY: number;
5168
- startAngle?: number | undefined;
5169
- endAngle?: number | undefined;
5170
6164
  label?: {
5171
6165
  text: string;
5172
6166
  side?: "above" | "below" | "left" | "right" | "sloped" | undefined;
@@ -5180,13 +6174,15 @@ export declare const ScopeSchema: z.ZodObject<{
5180
6174
  position?: number | "at-start" | "very-near-start" | "near-start" | "midway" | "near-end" | "very-near-end" | "at-end" | undefined;
5181
6175
  textColor?: string | undefined;
5182
6176
  } | undefined;
6177
+ startAngle?: number | undefined;
6178
+ endAngle?: number | undefined;
5183
6179
  closed?: "open" | "closed" | "chord" | "sector" | undefined;
5184
6180
  }>, z.ZodObject<{
5185
6181
  type: z.ZodLiteral<"step">;
5186
6182
  kind: z.ZodLiteral<"rectangle">;
5187
6183
  from: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
5188
6184
  id: z.ZodString;
5189
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
6185
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
5190
6186
  side: z.ZodEnum<["north", "south", "east", "west"]>;
5191
6187
  t: z.ZodNumber;
5192
6188
  }, "strip", z.ZodTypeAny, {
@@ -5197,20 +6193,38 @@ export declare const ScopeSchema: z.ZodObject<{
5197
6193
  t: number;
5198
6194
  }>]>>;
5199
6195
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
6196
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
6197
+ type: z.ZodString;
6198
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
6199
+ }, "strip", z.ZodTypeAny, {
6200
+ type: string;
6201
+ params?: Record<string, import('./json').JsonValue> | undefined;
6202
+ }, {
6203
+ type: string;
6204
+ params?: Record<string, import('./json').JsonValue> | undefined;
6205
+ }>]>>;
5200
6206
  }, "strip", z.ZodTypeAny, {
5201
6207
  id: string;
5202
6208
  offset?: [number, number] | undefined;
5203
- anchor?: number | import('..').RectAnchor | {
6209
+ anchor?: string | number | {
5204
6210
  side: "north" | "south" | "east" | "west";
5205
6211
  t: number;
5206
6212
  } | undefined;
6213
+ boundary?: string | {
6214
+ type: string;
6215
+ params?: Record<string, import('./json').JsonValue> | undefined;
6216
+ } | undefined;
5207
6217
  }, {
5208
6218
  id: string;
5209
6219
  offset?: [number, number] | undefined;
5210
- anchor?: number | import('..').RectAnchor | {
6220
+ anchor?: string | number | {
5211
6221
  side: "north" | "south" | "east" | "west";
5212
6222
  t: number;
5213
6223
  } | undefined;
6224
+ boundary?: string | {
6225
+ type: string;
6226
+ params?: Record<string, import('./json').JsonValue> | undefined;
6227
+ } | undefined;
5214
6228
  }>, z.ZodObject<{
5215
6229
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
5216
6230
  }, "strip", z.ZodTypeAny, {
@@ -5235,7 +6249,7 @@ export declare const ScopeSchema: z.ZodObject<{
5235
6249
  }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
5236
6250
  to: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
5237
6251
  id: z.ZodString;
5238
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
6252
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
5239
6253
  side: z.ZodEnum<["north", "south", "east", "west"]>;
5240
6254
  t: z.ZodNumber;
5241
6255
  }, "strip", z.ZodTypeAny, {
@@ -5246,20 +6260,38 @@ export declare const ScopeSchema: z.ZodObject<{
5246
6260
  t: number;
5247
6261
  }>]>>;
5248
6262
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
6263
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
6264
+ type: z.ZodString;
6265
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
6266
+ }, "strip", z.ZodTypeAny, {
6267
+ type: string;
6268
+ params?: Record<string, import('./json').JsonValue> | undefined;
6269
+ }, {
6270
+ type: string;
6271
+ params?: Record<string, import('./json').JsonValue> | undefined;
6272
+ }>]>>;
5249
6273
  }, "strip", z.ZodTypeAny, {
5250
6274
  id: string;
5251
6275
  offset?: [number, number] | undefined;
5252
- anchor?: number | import('..').RectAnchor | {
6276
+ anchor?: string | number | {
5253
6277
  side: "north" | "south" | "east" | "west";
5254
6278
  t: number;
5255
6279
  } | undefined;
6280
+ boundary?: string | {
6281
+ type: string;
6282
+ params?: Record<string, import('./json').JsonValue> | undefined;
6283
+ } | undefined;
5256
6284
  }, {
5257
6285
  id: string;
5258
6286
  offset?: [number, number] | undefined;
5259
- anchor?: number | import('..').RectAnchor | {
6287
+ anchor?: string | number | {
5260
6288
  side: "north" | "south" | "east" | "west";
5261
6289
  t: number;
5262
6290
  } | undefined;
6291
+ boundary?: string | {
6292
+ type: string;
6293
+ params?: Record<string, import('./json').JsonValue> | undefined;
6294
+ } | undefined;
5263
6295
  }>, z.ZodObject<{
5264
6296
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
5265
6297
  }, "strip", z.ZodTypeAny, {
@@ -5282,82 +6314,98 @@ export declare const ScopeSchema: z.ZodObject<{
5282
6314
  of: string | [number, number] | import('./position').PolarPosition;
5283
6315
  offset: [number, number];
5284
6316
  }>, z.ZodLazy<z.ZodType<import('./position').IRBetweenPosition, z.ZodTypeDef, import('./position').IRBetweenPosition>>]>;
5285
- roundedCorners: z.ZodOptional<z.ZodNumber>;
6317
+ cornerRadius: z.ZodOptional<z.ZodNumber>;
5286
6318
  }, "strip", z.ZodTypeAny, {
5287
6319
  type: "step";
6320
+ kind: "rectangle";
5288
6321
  to: [number, number] | import('./position').PolarPosition | {
5289
6322
  of: string | [number, number] | import('./position').PolarPosition;
5290
6323
  offset: [number, number];
5291
6324
  } | {
5292
6325
  id: string;
5293
6326
  offset?: [number, number] | undefined;
5294
- anchor?: number | import('..').RectAnchor | {
6327
+ anchor?: string | number | {
5295
6328
  side: "north" | "south" | "east" | "west";
5296
6329
  t: number;
5297
6330
  } | undefined;
6331
+ boundary?: string | {
6332
+ type: string;
6333
+ params?: Record<string, import('./json').JsonValue> | undefined;
6334
+ } | undefined;
5298
6335
  } | {
5299
6336
  relative: [number, number];
5300
6337
  } | {
5301
6338
  relativeAccumulate: [number, number];
5302
6339
  } | import('./position').IRBetweenPosition;
5303
- kind: "rectangle";
5304
6340
  from: [number, number] | import('./position').PolarPosition | {
5305
6341
  of: string | [number, number] | import('./position').PolarPosition;
5306
6342
  offset: [number, number];
5307
6343
  } | {
5308
6344
  id: string;
5309
6345
  offset?: [number, number] | undefined;
5310
- anchor?: number | import('..').RectAnchor | {
6346
+ anchor?: string | number | {
5311
6347
  side: "north" | "south" | "east" | "west";
5312
6348
  t: number;
5313
6349
  } | undefined;
6350
+ boundary?: string | {
6351
+ type: string;
6352
+ params?: Record<string, import('./json').JsonValue> | undefined;
6353
+ } | undefined;
5314
6354
  } | {
5315
6355
  relative: [number, number];
5316
6356
  } | {
5317
6357
  relativeAccumulate: [number, number];
5318
6358
  } | import('./position').IRBetweenPosition;
5319
- roundedCorners?: number | undefined;
6359
+ cornerRadius?: number | undefined;
5320
6360
  }, {
5321
6361
  type: "step";
6362
+ kind: "rectangle";
5322
6363
  to: [number, number] | import('./position').PolarPosition | {
5323
6364
  of: string | [number, number] | import('./position').PolarPosition;
5324
6365
  offset: [number, number];
5325
6366
  } | {
5326
6367
  id: string;
5327
6368
  offset?: [number, number] | undefined;
5328
- anchor?: number | import('..').RectAnchor | {
6369
+ anchor?: string | number | {
5329
6370
  side: "north" | "south" | "east" | "west";
5330
6371
  t: number;
5331
6372
  } | undefined;
6373
+ boundary?: string | {
6374
+ type: string;
6375
+ params?: Record<string, import('./json').JsonValue> | undefined;
6376
+ } | undefined;
5332
6377
  } | {
5333
6378
  relative: [number, number];
5334
6379
  } | {
5335
6380
  relativeAccumulate: [number, number];
5336
6381
  } | import('./position').IRBetweenPosition;
5337
- kind: "rectangle";
5338
6382
  from: [number, number] | import('./position').PolarPosition | {
5339
6383
  of: string | [number, number] | import('./position').PolarPosition;
5340
6384
  offset: [number, number];
5341
6385
  } | {
5342
6386
  id: string;
5343
6387
  offset?: [number, number] | undefined;
5344
- anchor?: number | import('..').RectAnchor | {
6388
+ anchor?: string | number | {
5345
6389
  side: "north" | "south" | "east" | "west";
5346
6390
  t: number;
5347
6391
  } | undefined;
6392
+ boundary?: string | {
6393
+ type: string;
6394
+ params?: Record<string, import('./json').JsonValue> | undefined;
6395
+ } | undefined;
5348
6396
  } | {
5349
6397
  relative: [number, number];
5350
6398
  } | {
5351
6399
  relativeAccumulate: [number, number];
5352
6400
  } | import('./position').IRBetweenPosition;
5353
- roundedCorners?: number | undefined;
6401
+ cornerRadius?: number | undefined;
5354
6402
  }>, z.ZodObject<{
5355
6403
  type: z.ZodLiteral<"step">;
5356
6404
  kind: z.ZodLiteral<"generator">;
5357
6405
  name: z.ZodString;
5358
6406
  to: z.ZodOptional<z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodType<import('./position').PolarPosition, z.ZodTypeDef, import('./position').PolarPosition>, z.ZodObject<{
5359
6407
  id: z.ZodString;
5360
- anchor: z.ZodOptional<z.ZodUnion<[z.ZodEnum<[import('..').RectAnchor, ...import('..').RectAnchor[]]>, z.ZodNumber, z.ZodObject<{
6408
+ anchor: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodObject<{
5361
6409
  side: z.ZodEnum<["north", "south", "east", "west"]>;
5362
6410
  t: z.ZodNumber;
5363
6411
  }, "strip", z.ZodTypeAny, {
@@ -5368,20 +6416,38 @@ export declare const ScopeSchema: z.ZodObject<{
5368
6416
  t: number;
5369
6417
  }>]>>;
5370
6418
  offset: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
6419
+ boundary: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
6420
+ type: z.ZodString;
6421
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
6422
+ }, "strip", z.ZodTypeAny, {
6423
+ type: string;
6424
+ params?: Record<string, import('./json').JsonValue> | undefined;
6425
+ }, {
6426
+ type: string;
6427
+ params?: Record<string, import('./json').JsonValue> | undefined;
6428
+ }>]>>;
5371
6429
  }, "strip", z.ZodTypeAny, {
5372
6430
  id: string;
5373
6431
  offset?: [number, number] | undefined;
5374
- anchor?: number | import('..').RectAnchor | {
6432
+ anchor?: string | number | {
5375
6433
  side: "north" | "south" | "east" | "west";
5376
6434
  t: number;
5377
6435
  } | undefined;
6436
+ boundary?: string | {
6437
+ type: string;
6438
+ params?: Record<string, import('./json').JsonValue> | undefined;
6439
+ } | undefined;
5378
6440
  }, {
5379
6441
  id: string;
5380
6442
  offset?: [number, number] | undefined;
5381
- anchor?: number | import('..').RectAnchor | {
6443
+ anchor?: string | number | {
5382
6444
  side: "north" | "south" | "east" | "west";
5383
6445
  t: number;
5384
6446
  } | undefined;
6447
+ boundary?: string | {
6448
+ type: string;
6449
+ params?: Record<string, import('./json').JsonValue> | undefined;
6450
+ } | undefined;
5385
6451
  }>, z.ZodObject<{
5386
6452
  relative: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
5387
6453
  }, "strip", z.ZodTypeAny, {
@@ -5463,10 +6529,14 @@ export declare const ScopeSchema: z.ZodObject<{
5463
6529
  } | {
5464
6530
  id: string;
5465
6531
  offset?: [number, number] | undefined;
5466
- anchor?: number | import('..').RectAnchor | {
6532
+ anchor?: string | number | {
5467
6533
  side: "north" | "south" | "east" | "west";
5468
6534
  t: number;
5469
6535
  } | undefined;
6536
+ boundary?: string | {
6537
+ type: string;
6538
+ params?: Record<string, import('./json').JsonValue> | undefined;
6539
+ } | undefined;
5470
6540
  } | {
5471
6541
  relative: [number, number];
5472
6542
  } | {
@@ -5496,10 +6566,14 @@ export declare const ScopeSchema: z.ZodObject<{
5496
6566
  } | {
5497
6567
  id: string;
5498
6568
  offset?: [number, number] | undefined;
5499
- anchor?: number | import('..').RectAnchor | {
6569
+ anchor?: string | number | {
5500
6570
  side: "north" | "south" | "east" | "west";
5501
6571
  t: number;
5502
6572
  } | undefined;
6573
+ boundary?: string | {
6574
+ type: string;
6575
+ params?: Record<string, import('./json').JsonValue> | undefined;
6576
+ } | undefined;
5503
6577
  } | {
5504
6578
  relative: [number, number];
5505
6579
  } | {
@@ -5519,7 +6593,7 @@ export declare const ScopeSchema: z.ZodObject<{
5519
6593
  textColor?: string | undefined;
5520
6594
  } | undefined;
5521
6595
  }>]>, "many">;
5522
- }, "type" | "arrow" | "arrowDetail" | "zIndex" | "children">, "strict", z.ZodTypeAny, {
6596
+ }, "type" | "arrow" | "meta" | "animations" | "arrowDetail" | "zIndex" | "children">, "strict", z.ZodTypeAny, {
5523
6597
  fill?: string | {
5524
6598
  type: "linearGradient";
5525
6599
  stops: {
@@ -5551,14 +6625,15 @@ export declare const ScopeSchema: z.ZodObject<{
5551
6625
  fit?: "fill" | "contain" | "cover" | undefined;
5552
6626
  } | undefined;
5553
6627
  id?: string | undefined;
5554
- color?: string | undefined;
5555
6628
  opacity?: number | undefined;
6629
+ stroke?: string | undefined;
6630
+ strokeWidth?: number | undefined;
6631
+ rotate?: number | undefined;
5556
6632
  scale?: number | {
5557
6633
  x: number;
5558
6634
  y: number;
5559
6635
  } | undefined;
5560
- stroke?: string | undefined;
5561
- strokeWidth?: number | undefined;
6636
+ color?: string | undefined;
5562
6637
  dashPattern?: number[] | undefined;
5563
6638
  fillRule?: "nonzero" | "evenodd" | undefined;
5564
6639
  lineCap?: "butt" | "round" | "square" | undefined;
@@ -5566,19 +6641,18 @@ export declare const ScopeSchema: z.ZodObject<{
5566
6641
  thickness?: "ultraThin" | "veryThin" | "thin" | "semithick" | "thick" | "veryThick" | "ultraThick" | undefined;
5567
6642
  fillOpacity?: number | undefined;
5568
6643
  drawOpacity?: number | undefined;
5569
- rotate?: number | undefined;
5570
6644
  marks?: {
5571
6645
  pos: number;
5572
6646
  mark: {
5573
6647
  kind: "arrow";
5574
6648
  length?: number | undefined;
5575
6649
  fill?: string | undefined;
5576
- color?: string | undefined;
5577
- opacity?: number | undefined;
5578
6650
  shape?: string | undefined;
6651
+ opacity?: number | undefined;
6652
+ scale?: number | undefined;
6653
+ color?: string | undefined;
5579
6654
  lineWidth?: number | undefined;
5580
6655
  width?: number | undefined;
5581
- scale?: number | undefined;
5582
6656
  };
5583
6657
  }[] | undefined;
5584
6658
  }, {
@@ -5613,14 +6687,15 @@ export declare const ScopeSchema: z.ZodObject<{
5613
6687
  fit?: "fill" | "contain" | "cover" | undefined;
5614
6688
  } | undefined;
5615
6689
  id?: string | undefined;
5616
- color?: string | undefined;
5617
6690
  opacity?: number | undefined;
6691
+ stroke?: string | undefined;
6692
+ strokeWidth?: number | undefined;
6693
+ rotate?: number | undefined;
5618
6694
  scale?: number | {
5619
6695
  x: number;
5620
6696
  y: number;
5621
6697
  } | undefined;
5622
- stroke?: string | undefined;
5623
- strokeWidth?: number | undefined;
6698
+ color?: string | undefined;
5624
6699
  dashPattern?: number[] | undefined;
5625
6700
  fillRule?: "nonzero" | "evenodd" | undefined;
5626
6701
  lineCap?: "butt" | "round" | "square" | undefined;
@@ -5628,19 +6703,18 @@ export declare const ScopeSchema: z.ZodObject<{
5628
6703
  thickness?: "ultraThin" | "veryThin" | "thin" | "semithick" | "thick" | "veryThick" | "ultraThick" | undefined;
5629
6704
  fillOpacity?: number | undefined;
5630
6705
  drawOpacity?: number | undefined;
5631
- rotate?: number | undefined;
5632
6706
  marks?: {
5633
6707
  pos: number;
5634
6708
  mark: {
5635
6709
  kind: "arrow";
5636
6710
  length?: number | undefined;
5637
6711
  fill?: string | undefined;
5638
- color?: string | undefined;
5639
- opacity?: number | undefined;
5640
6712
  shape?: string | undefined;
6713
+ opacity?: number | undefined;
6714
+ scale?: number | undefined;
6715
+ color?: string | undefined;
5641
6716
  lineWidth?: number | undefined;
5642
6717
  width?: number | undefined;
5643
- scale?: number | undefined;
5644
6718
  };
5645
6719
  }[] | undefined;
5646
6720
  }>>;
@@ -5665,8 +6739,8 @@ export declare const ScopeSchema: z.ZodObject<{
5665
6739
  style?: "normal" | "italic" | "oblique" | undefined;
5666
6740
  }>>;
5667
6741
  }, "strict", z.ZodTypeAny, {
5668
- color?: string | undefined;
5669
6742
  opacity?: number | undefined;
6743
+ color?: string | undefined;
5670
6744
  font?: {
5671
6745
  family?: string | undefined;
5672
6746
  size?: number | undefined;
@@ -5675,8 +6749,8 @@ export declare const ScopeSchema: z.ZodObject<{
5675
6749
  } | undefined;
5676
6750
  textColor?: string | undefined;
5677
6751
  }, {
5678
- color?: string | undefined;
5679
6752
  opacity?: number | undefined;
6753
+ color?: string | undefined;
5680
6754
  font?: {
5681
6755
  family?: string | undefined;
5682
6756
  size?: number | undefined;
@@ -5707,21 +6781,21 @@ export declare const ScopeSchema: z.ZodObject<{
5707
6781
  }, "strip", z.ZodTypeAny, {
5708
6782
  length?: number | undefined;
5709
6783
  fill?: string | undefined;
5710
- color?: string | undefined;
5711
- opacity?: number | undefined;
5712
6784
  shape?: string | undefined;
6785
+ opacity?: number | undefined;
6786
+ scale?: number | undefined;
6787
+ color?: string | undefined;
5713
6788
  lineWidth?: number | undefined;
5714
6789
  width?: number | undefined;
5715
- scale?: number | undefined;
5716
6790
  }, {
5717
6791
  length?: number | undefined;
5718
6792
  fill?: string | undefined;
5719
- color?: string | undefined;
5720
- opacity?: number | undefined;
5721
6793
  shape?: string | undefined;
6794
+ opacity?: number | undefined;
6795
+ scale?: number | undefined;
6796
+ color?: string | undefined;
5722
6797
  lineWidth?: number | undefined;
5723
6798
  width?: number | undefined;
5724
- scale?: number | undefined;
5725
6799
  }>>;
5726
6800
  end: z.ZodOptional<z.ZodObject<{
5727
6801
  shape: z.ZodOptional<z.ZodString>;
@@ -5735,79 +6809,79 @@ export declare const ScopeSchema: z.ZodObject<{
5735
6809
  }, "strip", z.ZodTypeAny, {
5736
6810
  length?: number | undefined;
5737
6811
  fill?: string | undefined;
5738
- color?: string | undefined;
5739
- opacity?: number | undefined;
5740
6812
  shape?: string | undefined;
6813
+ opacity?: number | undefined;
6814
+ scale?: number | undefined;
6815
+ color?: string | undefined;
5741
6816
  lineWidth?: number | undefined;
5742
6817
  width?: number | undefined;
5743
- scale?: number | undefined;
5744
6818
  }, {
5745
6819
  length?: number | undefined;
5746
6820
  fill?: string | undefined;
5747
- color?: string | undefined;
5748
- opacity?: number | undefined;
5749
6821
  shape?: string | undefined;
6822
+ opacity?: number | undefined;
6823
+ scale?: number | undefined;
6824
+ color?: string | undefined;
5750
6825
  lineWidth?: number | undefined;
5751
6826
  width?: number | undefined;
5752
- scale?: number | undefined;
5753
6827
  }>>;
5754
6828
  }, "strip", z.ZodTypeAny, {
5755
6829
  length?: number | undefined;
5756
6830
  fill?: string | undefined;
5757
- color?: string | undefined;
5758
- opacity?: number | undefined;
5759
6831
  shape?: string | undefined;
6832
+ opacity?: number | undefined;
6833
+ scale?: number | undefined;
6834
+ color?: string | undefined;
5760
6835
  lineWidth?: number | undefined;
5761
6836
  width?: number | undefined;
5762
- scale?: number | undefined;
5763
6837
  start?: {
5764
6838
  length?: number | undefined;
5765
6839
  fill?: string | undefined;
5766
- color?: string | undefined;
5767
- opacity?: number | undefined;
5768
6840
  shape?: string | undefined;
6841
+ opacity?: number | undefined;
6842
+ scale?: number | undefined;
6843
+ color?: string | undefined;
5769
6844
  lineWidth?: number | undefined;
5770
6845
  width?: number | undefined;
5771
- scale?: number | undefined;
5772
6846
  } | undefined;
5773
6847
  end?: {
5774
6848
  length?: number | undefined;
5775
6849
  fill?: string | undefined;
5776
- color?: string | undefined;
5777
- opacity?: number | undefined;
5778
6850
  shape?: string | undefined;
6851
+ opacity?: number | undefined;
6852
+ scale?: number | undefined;
6853
+ color?: string | undefined;
5779
6854
  lineWidth?: number | undefined;
5780
6855
  width?: number | undefined;
5781
- scale?: number | undefined;
5782
6856
  } | undefined;
5783
6857
  }, {
5784
6858
  length?: number | undefined;
5785
6859
  fill?: string | undefined;
5786
- color?: string | undefined;
5787
- opacity?: number | undefined;
5788
6860
  shape?: string | undefined;
6861
+ opacity?: number | undefined;
6862
+ scale?: number | undefined;
6863
+ color?: string | undefined;
5789
6864
  lineWidth?: number | undefined;
5790
6865
  width?: number | undefined;
5791
- scale?: number | undefined;
5792
6866
  start?: {
5793
6867
  length?: number | undefined;
5794
6868
  fill?: string | undefined;
5795
- color?: string | undefined;
5796
- opacity?: number | undefined;
5797
6869
  shape?: string | undefined;
6870
+ opacity?: number | undefined;
6871
+ scale?: number | undefined;
6872
+ color?: string | undefined;
5798
6873
  lineWidth?: number | undefined;
5799
6874
  width?: number | undefined;
5800
- scale?: number | undefined;
5801
6875
  } | undefined;
5802
6876
  end?: {
5803
6877
  length?: number | undefined;
5804
6878
  fill?: string | undefined;
5805
- color?: string | undefined;
5806
- opacity?: number | undefined;
5807
6879
  shape?: string | undefined;
6880
+ opacity?: number | undefined;
6881
+ scale?: number | undefined;
6882
+ color?: string | undefined;
5808
6883
  lineWidth?: number | undefined;
5809
6884
  width?: number | undefined;
5810
- scale?: number | undefined;
5811
6885
  } | undefined;
5812
6886
  }>>;
5813
6887
  resetStyle: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodArray<z.ZodEnum<["node", "path", "label", "arrow"]>, "many">]>>;
@@ -5873,6 +6947,127 @@ export declare const ScopeSchema: z.ZodObject<{
5873
6947
  kind: "polygon";
5874
6948
  points: [number, number][];
5875
6949
  }>]>>;
6950
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>>>;
6951
+ animations: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
6952
+ property: z.ZodString;
6953
+ keyframes: z.ZodEffects<z.ZodArray<z.ZodObject<{
6954
+ at: z.ZodNumber;
6955
+ value: z.ZodType<import('./json').JsonValue, z.ZodTypeDef, import('./json').JsonValue>;
6956
+ easing: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>]>>;
6957
+ }, "strip", z.ZodTypeAny, {
6958
+ value: import('./json').JsonValue;
6959
+ at: number;
6960
+ easing?: string | [number, number, number, number] | undefined;
6961
+ }, {
6962
+ value: import('./json').JsonValue;
6963
+ at: number;
6964
+ easing?: string | [number, number, number, number] | undefined;
6965
+ }>, "many">, {
6966
+ value: import('./json').JsonValue;
6967
+ at: number;
6968
+ easing?: string | [number, number, number, number] | undefined;
6969
+ }[], {
6970
+ value: import('./json').JsonValue;
6971
+ at: number;
6972
+ easing?: string | [number, number, number, number] | undefined;
6973
+ }[]>;
6974
+ duration: z.ZodNumber;
6975
+ delay: z.ZodOptional<z.ZodNumber>;
6976
+ easing: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>]>>;
6977
+ iterations: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"infinite">]>>;
6978
+ direction: z.ZodOptional<z.ZodNativeEnum<{
6979
+ readonly Normal: "normal";
6980
+ readonly Reverse: "reverse";
6981
+ readonly Alternate: "alternate";
6982
+ readonly AlternateReverse: "alternate-reverse";
6983
+ }>>;
6984
+ fill: z.ZodOptional<z.ZodNativeEnum<{
6985
+ readonly None: "none";
6986
+ readonly Forwards: "forwards";
6987
+ readonly Backwards: "backwards";
6988
+ readonly Both: "both";
6989
+ }>>;
6990
+ trigger: z.ZodOptional<z.ZodUnion<[z.ZodNativeEnum<{
6991
+ readonly Load: "load";
6992
+ readonly Visible: "visible";
6993
+ readonly Manual: "manual";
6994
+ }>, z.ZodObject<{
6995
+ onEvent: z.ZodString;
6996
+ }, "strip", z.ZodTypeAny, {
6997
+ onEvent: string;
6998
+ }, {
6999
+ onEvent: string;
7000
+ }>]>>;
7001
+ origin: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>]>>;
7002
+ }, "strip", z.ZodTypeAny, {
7003
+ property: string;
7004
+ keyframes: {
7005
+ value: import('./json').JsonValue;
7006
+ at: number;
7007
+ easing?: string | [number, number, number, number] | undefined;
7008
+ }[];
7009
+ duration: number;
7010
+ fill?: "none" | "forwards" | "backwards" | "both" | undefined;
7011
+ origin?: string | [number, number] | undefined;
7012
+ direction?: "reverse" | "normal" | "alternate" | "alternate-reverse" | undefined;
7013
+ easing?: string | [number, number, number, number] | undefined;
7014
+ delay?: number | undefined;
7015
+ iterations?: number | "infinite" | undefined;
7016
+ trigger?: "load" | "visible" | "manual" | {
7017
+ onEvent: string;
7018
+ } | undefined;
7019
+ }, {
7020
+ property: string;
7021
+ keyframes: {
7022
+ value: import('./json').JsonValue;
7023
+ at: number;
7024
+ easing?: string | [number, number, number, number] | undefined;
7025
+ }[];
7026
+ duration: number;
7027
+ fill?: "none" | "forwards" | "backwards" | "both" | undefined;
7028
+ origin?: string | [number, number] | undefined;
7029
+ direction?: "reverse" | "normal" | "alternate" | "alternate-reverse" | undefined;
7030
+ easing?: string | [number, number, number, number] | undefined;
7031
+ delay?: number | undefined;
7032
+ iterations?: number | "infinite" | undefined;
7033
+ trigger?: "load" | "visible" | "manual" | {
7034
+ onEvent: string;
7035
+ } | undefined;
7036
+ }>, {
7037
+ property: string;
7038
+ keyframes: {
7039
+ value: import('./json').JsonValue;
7040
+ at: number;
7041
+ easing?: string | [number, number, number, number] | undefined;
7042
+ }[];
7043
+ duration: number;
7044
+ fill?: "none" | "forwards" | "backwards" | "both" | undefined;
7045
+ origin?: string | [number, number] | undefined;
7046
+ direction?: "reverse" | "normal" | "alternate" | "alternate-reverse" | undefined;
7047
+ easing?: string | [number, number, number, number] | undefined;
7048
+ delay?: number | undefined;
7049
+ iterations?: number | "infinite" | undefined;
7050
+ trigger?: "load" | "visible" | "manual" | {
7051
+ onEvent: string;
7052
+ } | undefined;
7053
+ }, {
7054
+ property: string;
7055
+ keyframes: {
7056
+ value: import('./json').JsonValue;
7057
+ at: number;
7058
+ easing?: string | [number, number, number, number] | undefined;
7059
+ }[];
7060
+ duration: number;
7061
+ fill?: "none" | "forwards" | "backwards" | "both" | undefined;
7062
+ origin?: string | [number, number] | undefined;
7063
+ direction?: "reverse" | "normal" | "alternate" | "alternate-reverse" | undefined;
7064
+ easing?: string | [number, number, number, number] | undefined;
7065
+ delay?: number | undefined;
7066
+ iterations?: number | "infinite" | undefined;
7067
+ trigger?: "load" | "visible" | "manual" | {
7068
+ onEvent: string;
7069
+ } | undefined;
7070
+ }>, "many">>;
5876
7071
  children: z.ZodArray<z.ZodLazy<z.ZodTypeAny>, "many">;
5877
7072
  }, "strip", z.ZodTypeAny, {
5878
7073
  type: "scope";
@@ -5908,10 +7103,29 @@ export declare const ScopeSchema: z.ZodObject<{
5908
7103
  fit?: "fill" | "contain" | "cover" | undefined;
5909
7104
  } | undefined;
5910
7105
  id?: string | undefined;
5911
- color?: string | undefined;
5912
7106
  opacity?: number | undefined;
5913
7107
  stroke?: string | undefined;
5914
7108
  strokeWidth?: number | undefined;
7109
+ color?: string | undefined;
7110
+ meta?: Record<string, import('./json').JsonValue> | undefined;
7111
+ animations?: {
7112
+ property: string;
7113
+ keyframes: {
7114
+ value: import('./json').JsonValue;
7115
+ at: number;
7116
+ easing?: string | [number, number, number, number] | undefined;
7117
+ }[];
7118
+ duration: number;
7119
+ fill?: "none" | "forwards" | "backwards" | "both" | undefined;
7120
+ origin?: string | [number, number] | undefined;
7121
+ direction?: "reverse" | "normal" | "alternate" | "alternate-reverse" | undefined;
7122
+ easing?: string | [number, number, number, number] | undefined;
7123
+ delay?: number | undefined;
7124
+ iterations?: number | "infinite" | undefined;
7125
+ trigger?: "load" | "visible" | "manual" | {
7126
+ onEvent: string;
7127
+ } | undefined;
7128
+ }[] | undefined;
5915
7129
  fillOpacity?: number | undefined;
5916
7130
  drawOpacity?: number | undefined;
5917
7131
  zIndex?: number | undefined;
@@ -5975,23 +7189,30 @@ export declare const ScopeSchema: z.ZodObject<{
5975
7189
  href: string;
5976
7190
  fit?: "fill" | "contain" | "cover" | undefined;
5977
7191
  } | undefined;
5978
- color?: string | undefined;
7192
+ shape?: string | {
7193
+ type: string;
7194
+ params?: Record<string, import('./json').JsonValue> | undefined;
7195
+ } | undefined;
7196
+ boundary?: string | {
7197
+ type: string;
7198
+ params?: Record<string, import('./json').JsonValue> | undefined;
7199
+ } | undefined;
5979
7200
  opacity?: number | undefined;
5980
- shape?: string | undefined;
7201
+ stroke?: string | undefined;
7202
+ strokeWidth?: number | undefined;
7203
+ rotate?: number | undefined;
7204
+ scale?: number | undefined;
7205
+ color?: string | undefined;
5981
7206
  font?: {
5982
7207
  family?: string | undefined;
5983
7208
  size?: number | undefined;
5984
7209
  weight?: number | "normal" | "bold" | undefined;
5985
7210
  style?: "normal" | "italic" | "oblique" | undefined;
5986
7211
  } | undefined;
5987
- scale?: number | undefined;
5988
7212
  textColor?: string | undefined;
5989
- roundedCorners?: number | undefined;
5990
- stroke?: string | undefined;
5991
- strokeWidth?: number | undefined;
7213
+ cornerRadius?: number | undefined;
5992
7214
  fillOpacity?: number | undefined;
5993
7215
  drawOpacity?: number | undefined;
5994
- rotate?: number | undefined;
5995
7216
  align?: "left" | "right" | "center" | undefined;
5996
7217
  lineHeight?: number | undefined;
5997
7218
  maxTextWidth?: number | undefined;
@@ -6041,14 +7262,15 @@ export declare const ScopeSchema: z.ZodObject<{
6041
7262
  fit?: "fill" | "contain" | "cover" | undefined;
6042
7263
  } | undefined;
6043
7264
  id?: string | undefined;
6044
- color?: string | undefined;
6045
7265
  opacity?: number | undefined;
7266
+ stroke?: string | undefined;
7267
+ strokeWidth?: number | undefined;
7268
+ rotate?: number | undefined;
6046
7269
  scale?: number | {
6047
7270
  x: number;
6048
7271
  y: number;
6049
7272
  } | undefined;
6050
- stroke?: string | undefined;
6051
- strokeWidth?: number | undefined;
7273
+ color?: string | undefined;
6052
7274
  dashPattern?: number[] | undefined;
6053
7275
  fillRule?: "nonzero" | "evenodd" | undefined;
6054
7276
  lineCap?: "butt" | "round" | "square" | undefined;
@@ -6056,25 +7278,24 @@ export declare const ScopeSchema: z.ZodObject<{
6056
7278
  thickness?: "ultraThin" | "veryThin" | "thin" | "semithick" | "thick" | "veryThick" | "ultraThick" | undefined;
6057
7279
  fillOpacity?: number | undefined;
6058
7280
  drawOpacity?: number | undefined;
6059
- rotate?: number | undefined;
6060
7281
  marks?: {
6061
7282
  pos: number;
6062
7283
  mark: {
6063
7284
  kind: "arrow";
6064
7285
  length?: number | undefined;
6065
7286
  fill?: string | undefined;
6066
- color?: string | undefined;
6067
- opacity?: number | undefined;
6068
7287
  shape?: string | undefined;
7288
+ opacity?: number | undefined;
7289
+ scale?: number | undefined;
7290
+ color?: string | undefined;
6069
7291
  lineWidth?: number | undefined;
6070
7292
  width?: number | undefined;
6071
- scale?: number | undefined;
6072
7293
  };
6073
7294
  }[] | undefined;
6074
7295
  } | undefined;
6075
7296
  labelDefault?: {
6076
- color?: string | undefined;
6077
7297
  opacity?: number | undefined;
7298
+ color?: string | undefined;
6078
7299
  font?: {
6079
7300
  family?: string | undefined;
6080
7301
  size?: number | undefined;
@@ -6086,31 +7307,31 @@ export declare const ScopeSchema: z.ZodObject<{
6086
7307
  arrowDefault?: {
6087
7308
  length?: number | undefined;
6088
7309
  fill?: string | undefined;
6089
- color?: string | undefined;
6090
- opacity?: number | undefined;
6091
7310
  shape?: string | undefined;
7311
+ opacity?: number | undefined;
7312
+ scale?: number | undefined;
7313
+ color?: string | undefined;
6092
7314
  lineWidth?: number | undefined;
6093
7315
  width?: number | undefined;
6094
- scale?: number | undefined;
6095
7316
  start?: {
6096
7317
  length?: number | undefined;
6097
7318
  fill?: string | undefined;
6098
- color?: string | undefined;
6099
- opacity?: number | undefined;
6100
7319
  shape?: string | undefined;
7320
+ opacity?: number | undefined;
7321
+ scale?: number | undefined;
7322
+ color?: string | undefined;
6101
7323
  lineWidth?: number | undefined;
6102
7324
  width?: number | undefined;
6103
- scale?: number | undefined;
6104
7325
  } | undefined;
6105
7326
  end?: {
6106
7327
  length?: number | undefined;
6107
7328
  fill?: string | undefined;
6108
- color?: string | undefined;
6109
- opacity?: number | undefined;
6110
7329
  shape?: string | undefined;
7330
+ opacity?: number | undefined;
7331
+ scale?: number | undefined;
7332
+ color?: string | undefined;
6111
7333
  lineWidth?: number | undefined;
6112
7334
  width?: number | undefined;
6113
- scale?: number | undefined;
6114
7335
  } | undefined;
6115
7336
  } | undefined;
6116
7337
  resetStyle?: boolean | ("path" | "label" | "arrow" | "node")[] | undefined;
@@ -6169,10 +7390,29 @@ export declare const ScopeSchema: z.ZodObject<{
6169
7390
  fit?: "fill" | "contain" | "cover" | undefined;
6170
7391
  } | undefined;
6171
7392
  id?: string | undefined;
6172
- color?: string | undefined;
6173
7393
  opacity?: number | undefined;
6174
7394
  stroke?: string | undefined;
6175
7395
  strokeWidth?: number | undefined;
7396
+ color?: string | undefined;
7397
+ meta?: Record<string, import('./json').JsonValue> | undefined;
7398
+ animations?: {
7399
+ property: string;
7400
+ keyframes: {
7401
+ value: import('./json').JsonValue;
7402
+ at: number;
7403
+ easing?: string | [number, number, number, number] | undefined;
7404
+ }[];
7405
+ duration: number;
7406
+ fill?: "none" | "forwards" | "backwards" | "both" | undefined;
7407
+ origin?: string | [number, number] | undefined;
7408
+ direction?: "reverse" | "normal" | "alternate" | "alternate-reverse" | undefined;
7409
+ easing?: string | [number, number, number, number] | undefined;
7410
+ delay?: number | undefined;
7411
+ iterations?: number | "infinite" | undefined;
7412
+ trigger?: "load" | "visible" | "manual" | {
7413
+ onEvent: string;
7414
+ } | undefined;
7415
+ }[] | undefined;
6176
7416
  fillOpacity?: number | undefined;
6177
7417
  drawOpacity?: number | undefined;
6178
7418
  zIndex?: number | undefined;
@@ -6236,23 +7476,30 @@ export declare const ScopeSchema: z.ZodObject<{
6236
7476
  href: string;
6237
7477
  fit?: "fill" | "contain" | "cover" | undefined;
6238
7478
  } | undefined;
6239
- color?: string | undefined;
7479
+ shape?: string | {
7480
+ type: string;
7481
+ params?: Record<string, import('./json').JsonValue> | undefined;
7482
+ } | undefined;
7483
+ boundary?: string | {
7484
+ type: string;
7485
+ params?: Record<string, import('./json').JsonValue> | undefined;
7486
+ } | undefined;
6240
7487
  opacity?: number | undefined;
6241
- shape?: string | undefined;
7488
+ stroke?: string | undefined;
7489
+ strokeWidth?: number | undefined;
7490
+ rotate?: number | undefined;
7491
+ scale?: number | undefined;
7492
+ color?: string | undefined;
6242
7493
  font?: {
6243
7494
  family?: string | undefined;
6244
7495
  size?: number | undefined;
6245
7496
  weight?: number | "normal" | "bold" | undefined;
6246
7497
  style?: "normal" | "italic" | "oblique" | undefined;
6247
7498
  } | undefined;
6248
- scale?: number | undefined;
6249
7499
  textColor?: string | undefined;
6250
- roundedCorners?: number | undefined;
6251
- stroke?: string | undefined;
6252
- strokeWidth?: number | undefined;
7500
+ cornerRadius?: number | undefined;
6253
7501
  fillOpacity?: number | undefined;
6254
7502
  drawOpacity?: number | undefined;
6255
- rotate?: number | undefined;
6256
7503
  align?: "left" | "right" | "center" | undefined;
6257
7504
  lineHeight?: number | undefined;
6258
7505
  maxTextWidth?: number | undefined;
@@ -6302,14 +7549,15 @@ export declare const ScopeSchema: z.ZodObject<{
6302
7549
  fit?: "fill" | "contain" | "cover" | undefined;
6303
7550
  } | undefined;
6304
7551
  id?: string | undefined;
6305
- color?: string | undefined;
6306
7552
  opacity?: number | undefined;
7553
+ stroke?: string | undefined;
7554
+ strokeWidth?: number | undefined;
7555
+ rotate?: number | undefined;
6307
7556
  scale?: number | {
6308
7557
  x: number;
6309
7558
  y: number;
6310
7559
  } | undefined;
6311
- stroke?: string | undefined;
6312
- strokeWidth?: number | undefined;
7560
+ color?: string | undefined;
6313
7561
  dashPattern?: number[] | undefined;
6314
7562
  fillRule?: "nonzero" | "evenodd" | undefined;
6315
7563
  lineCap?: "butt" | "round" | "square" | undefined;
@@ -6317,25 +7565,24 @@ export declare const ScopeSchema: z.ZodObject<{
6317
7565
  thickness?: "ultraThin" | "veryThin" | "thin" | "semithick" | "thick" | "veryThick" | "ultraThick" | undefined;
6318
7566
  fillOpacity?: number | undefined;
6319
7567
  drawOpacity?: number | undefined;
6320
- rotate?: number | undefined;
6321
7568
  marks?: {
6322
7569
  pos: number;
6323
7570
  mark: {
6324
7571
  kind: "arrow";
6325
7572
  length?: number | undefined;
6326
7573
  fill?: string | undefined;
6327
- color?: string | undefined;
6328
- opacity?: number | undefined;
6329
7574
  shape?: string | undefined;
7575
+ opacity?: number | undefined;
7576
+ scale?: number | undefined;
7577
+ color?: string | undefined;
6330
7578
  lineWidth?: number | undefined;
6331
7579
  width?: number | undefined;
6332
- scale?: number | undefined;
6333
7580
  };
6334
7581
  }[] | undefined;
6335
7582
  } | undefined;
6336
7583
  labelDefault?: {
6337
- color?: string | undefined;
6338
7584
  opacity?: number | undefined;
7585
+ color?: string | undefined;
6339
7586
  font?: {
6340
7587
  family?: string | undefined;
6341
7588
  size?: number | undefined;
@@ -6347,31 +7594,31 @@ export declare const ScopeSchema: z.ZodObject<{
6347
7594
  arrowDefault?: {
6348
7595
  length?: number | undefined;
6349
7596
  fill?: string | undefined;
6350
- color?: string | undefined;
6351
- opacity?: number | undefined;
6352
7597
  shape?: string | undefined;
7598
+ opacity?: number | undefined;
7599
+ scale?: number | undefined;
7600
+ color?: string | undefined;
6353
7601
  lineWidth?: number | undefined;
6354
7602
  width?: number | undefined;
6355
- scale?: number | undefined;
6356
7603
  start?: {
6357
7604
  length?: number | undefined;
6358
7605
  fill?: string | undefined;
6359
- color?: string | undefined;
6360
- opacity?: number | undefined;
6361
7606
  shape?: string | undefined;
7607
+ opacity?: number | undefined;
7608
+ scale?: number | undefined;
7609
+ color?: string | undefined;
6362
7610
  lineWidth?: number | undefined;
6363
7611
  width?: number | undefined;
6364
- scale?: number | undefined;
6365
7612
  } | undefined;
6366
7613
  end?: {
6367
7614
  length?: number | undefined;
6368
7615
  fill?: string | undefined;
6369
- color?: string | undefined;
6370
- opacity?: number | undefined;
6371
7616
  shape?: string | undefined;
7617
+ opacity?: number | undefined;
7618
+ scale?: number | undefined;
7619
+ color?: string | undefined;
6372
7620
  lineWidth?: number | undefined;
6373
7621
  width?: number | undefined;
6374
- scale?: number | undefined;
6375
7622
  } | undefined;
6376
7623
  } | undefined;
6377
7624
  resetStyle?: boolean | ("path" | "label" | "arrow" | "node")[] | undefined;