@pinepaper.studio/mcp-server 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (295) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +406 -0
  3. package/dist/__tests__/fixtures/index.d.ts +8 -0
  4. package/dist/__tests__/fixtures/index.d.ts.map +1 -0
  5. package/dist/__tests__/fixtures/index.js +8 -0
  6. package/dist/__tests__/fixtures/index.js.map +1 -0
  7. package/dist/__tests__/fixtures/mock-animations.d.ts +213 -0
  8. package/dist/__tests__/fixtures/mock-animations.d.ts.map +1 -0
  9. package/dist/__tests__/fixtures/mock-animations.js +96 -0
  10. package/dist/__tests__/fixtures/mock-animations.js.map +1 -0
  11. package/dist/__tests__/fixtures/mock-generators.d.ts +147 -0
  12. package/dist/__tests__/fixtures/mock-generators.d.ts.map +1 -0
  13. package/dist/__tests__/fixtures/mock-generators.js +90 -0
  14. package/dist/__tests__/fixtures/mock-generators.js.map +1 -0
  15. package/dist/__tests__/fixtures/mock-items.d.ts +157 -0
  16. package/dist/__tests__/fixtures/mock-items.d.ts.map +1 -0
  17. package/dist/__tests__/fixtures/mock-items.js +74 -0
  18. package/dist/__tests__/fixtures/mock-items.js.map +1 -0
  19. package/dist/__tests__/fixtures/mock-relations.d.ts +147 -0
  20. package/dist/__tests__/fixtures/mock-relations.d.ts.map +1 -0
  21. package/dist/__tests__/fixtures/mock-relations.js +90 -0
  22. package/dist/__tests__/fixtures/mock-relations.js.map +1 -0
  23. package/dist/browser/bridge.d.ts +127 -0
  24. package/dist/browser/bridge.d.ts.map +1 -0
  25. package/dist/browser/bridge.js +320 -0
  26. package/dist/browser/bridge.js.map +1 -0
  27. package/dist/browser/index.d.ts +8 -0
  28. package/dist/browser/index.d.ts.map +1 -0
  29. package/dist/browser/index.js +8 -0
  30. package/dist/browser/index.js.map +1 -0
  31. package/dist/browser/puppeteer-controller.d.ts +93 -0
  32. package/dist/browser/puppeteer-controller.d.ts.map +1 -0
  33. package/dist/browser/puppeteer-controller.js +280 -0
  34. package/dist/browser/puppeteer-controller.js.map +1 -0
  35. package/dist/cli.d.ts +8 -0
  36. package/dist/cli.d.ts.map +1 -0
  37. package/dist/cli.js +109 -0
  38. package/dist/cli.js.map +1 -0
  39. package/dist/i18n/i18n-manager.d.ts +88 -0
  40. package/dist/i18n/i18n-manager.d.ts.map +1 -0
  41. package/dist/i18n/i18n-manager.js +209 -0
  42. package/dist/i18n/i18n-manager.js.map +1 -0
  43. package/dist/i18n/index.d.ts +10 -0
  44. package/dist/i18n/index.d.ts.map +1 -0
  45. package/dist/i18n/index.js +10 -0
  46. package/dist/i18n/index.js.map +1 -0
  47. package/dist/i18n/locales/ar.d.ts +6 -0
  48. package/dist/i18n/locales/ar.d.ts.map +1 -0
  49. package/dist/i18n/locales/ar.js +106 -0
  50. package/dist/i18n/locales/ar.js.map +1 -0
  51. package/dist/i18n/locales/base.d.ts +17 -0
  52. package/dist/i18n/locales/base.d.ts.map +1 -0
  53. package/dist/i18n/locales/base.js +213 -0
  54. package/dist/i18n/locales/base.js.map +1 -0
  55. package/dist/i18n/locales/bn.d.ts +6 -0
  56. package/dist/i18n/locales/bn.d.ts.map +1 -0
  57. package/dist/i18n/locales/bn.js +106 -0
  58. package/dist/i18n/locales/bn.js.map +1 -0
  59. package/dist/i18n/locales/chp.d.ts +8 -0
  60. package/dist/i18n/locales/chp.d.ts.map +1 -0
  61. package/dist/i18n/locales/chp.js +11 -0
  62. package/dist/i18n/locales/chp.js.map +1 -0
  63. package/dist/i18n/locales/cr.d.ts +8 -0
  64. package/dist/i18n/locales/cr.d.ts.map +1 -0
  65. package/dist/i18n/locales/cr.js +11 -0
  66. package/dist/i18n/locales/cr.js.map +1 -0
  67. package/dist/i18n/locales/crg.d.ts +8 -0
  68. package/dist/i18n/locales/crg.d.ts.map +1 -0
  69. package/dist/i18n/locales/crg.js +11 -0
  70. package/dist/i18n/locales/crg.js.map +1 -0
  71. package/dist/i18n/locales/cs.d.ts +6 -0
  72. package/dist/i18n/locales/cs.d.ts.map +1 -0
  73. package/dist/i18n/locales/cs.js +106 -0
  74. package/dist/i18n/locales/cs.js.map +1 -0
  75. package/dist/i18n/locales/da.d.ts +6 -0
  76. package/dist/i18n/locales/da.d.ts.map +1 -0
  77. package/dist/i18n/locales/da.js +106 -0
  78. package/dist/i18n/locales/da.js.map +1 -0
  79. package/dist/i18n/locales/de.d.ts +6 -0
  80. package/dist/i18n/locales/de.d.ts.map +1 -0
  81. package/dist/i18n/locales/de.js +106 -0
  82. package/dist/i18n/locales/de.js.map +1 -0
  83. package/dist/i18n/locales/el.d.ts +6 -0
  84. package/dist/i18n/locales/el.d.ts.map +1 -0
  85. package/dist/i18n/locales/el.js +106 -0
  86. package/dist/i18n/locales/el.js.map +1 -0
  87. package/dist/i18n/locales/en.d.ts +6 -0
  88. package/dist/i18n/locales/en.d.ts.map +1 -0
  89. package/dist/i18n/locales/en.js +383 -0
  90. package/dist/i18n/locales/en.js.map +1 -0
  91. package/dist/i18n/locales/es.d.ts +6 -0
  92. package/dist/i18n/locales/es.d.ts.map +1 -0
  93. package/dist/i18n/locales/es.js +106 -0
  94. package/dist/i18n/locales/es.js.map +1 -0
  95. package/dist/i18n/locales/fa.d.ts +6 -0
  96. package/dist/i18n/locales/fa.d.ts.map +1 -0
  97. package/dist/i18n/locales/fa.js +106 -0
  98. package/dist/i18n/locales/fa.js.map +1 -0
  99. package/dist/i18n/locales/fi.d.ts +6 -0
  100. package/dist/i18n/locales/fi.d.ts.map +1 -0
  101. package/dist/i18n/locales/fi.js +106 -0
  102. package/dist/i18n/locales/fi.js.map +1 -0
  103. package/dist/i18n/locales/fil.d.ts +6 -0
  104. package/dist/i18n/locales/fil.d.ts.map +1 -0
  105. package/dist/i18n/locales/fil.js +383 -0
  106. package/dist/i18n/locales/fil.js.map +1 -0
  107. package/dist/i18n/locales/fr.d.ts +6 -0
  108. package/dist/i18n/locales/fr.d.ts.map +1 -0
  109. package/dist/i18n/locales/fr.js +106 -0
  110. package/dist/i18n/locales/fr.js.map +1 -0
  111. package/dist/i18n/locales/gu.d.ts +6 -0
  112. package/dist/i18n/locales/gu.d.ts.map +1 -0
  113. package/dist/i18n/locales/gu.js +106 -0
  114. package/dist/i18n/locales/gu.js.map +1 -0
  115. package/dist/i18n/locales/he.d.ts +6 -0
  116. package/dist/i18n/locales/he.d.ts.map +1 -0
  117. package/dist/i18n/locales/he.js +106 -0
  118. package/dist/i18n/locales/he.js.map +1 -0
  119. package/dist/i18n/locales/hi.d.ts +6 -0
  120. package/dist/i18n/locales/hi.d.ts.map +1 -0
  121. package/dist/i18n/locales/hi.js +106 -0
  122. package/dist/i18n/locales/hi.js.map +1 -0
  123. package/dist/i18n/locales/hu.d.ts +6 -0
  124. package/dist/i18n/locales/hu.d.ts.map +1 -0
  125. package/dist/i18n/locales/hu.js +106 -0
  126. package/dist/i18n/locales/hu.js.map +1 -0
  127. package/dist/i18n/locales/id.d.ts +6 -0
  128. package/dist/i18n/locales/id.d.ts.map +1 -0
  129. package/dist/i18n/locales/id.js +106 -0
  130. package/dist/i18n/locales/id.js.map +1 -0
  131. package/dist/i18n/locales/index.d.ts +110 -0
  132. package/dist/i18n/locales/index.d.ts.map +1 -0
  133. package/dist/i18n/locales/index.js +123 -0
  134. package/dist/i18n/locales/index.js.map +1 -0
  135. package/dist/i18n/locales/is.d.ts +6 -0
  136. package/dist/i18n/locales/is.d.ts.map +1 -0
  137. package/dist/i18n/locales/is.js +383 -0
  138. package/dist/i18n/locales/is.js.map +1 -0
  139. package/dist/i18n/locales/it.d.ts +6 -0
  140. package/dist/i18n/locales/it.d.ts.map +1 -0
  141. package/dist/i18n/locales/it.js +106 -0
  142. package/dist/i18n/locales/it.js.map +1 -0
  143. package/dist/i18n/locales/iu.d.ts +8 -0
  144. package/dist/i18n/locales/iu.d.ts.map +1 -0
  145. package/dist/i18n/locales/iu.js +11 -0
  146. package/dist/i18n/locales/iu.js.map +1 -0
  147. package/dist/i18n/locales/ja.d.ts +6 -0
  148. package/dist/i18n/locales/ja.d.ts.map +1 -0
  149. package/dist/i18n/locales/ja.js +106 -0
  150. package/dist/i18n/locales/ja.js.map +1 -0
  151. package/dist/i18n/locales/kn.d.ts +6 -0
  152. package/dist/i18n/locales/kn.d.ts.map +1 -0
  153. package/dist/i18n/locales/kn.js +106 -0
  154. package/dist/i18n/locales/kn.js.map +1 -0
  155. package/dist/i18n/locales/ko.d.ts +6 -0
  156. package/dist/i18n/locales/ko.d.ts.map +1 -0
  157. package/dist/i18n/locales/ko.js +106 -0
  158. package/dist/i18n/locales/ko.js.map +1 -0
  159. package/dist/i18n/locales/mic.d.ts +8 -0
  160. package/dist/i18n/locales/mic.d.ts.map +1 -0
  161. package/dist/i18n/locales/mic.js +11 -0
  162. package/dist/i18n/locales/mic.js.map +1 -0
  163. package/dist/i18n/locales/ml.d.ts +6 -0
  164. package/dist/i18n/locales/ml.d.ts.map +1 -0
  165. package/dist/i18n/locales/ml.js +106 -0
  166. package/dist/i18n/locales/ml.js.map +1 -0
  167. package/dist/i18n/locales/moh.d.ts +8 -0
  168. package/dist/i18n/locales/moh.d.ts.map +1 -0
  169. package/dist/i18n/locales/moh.js +11 -0
  170. package/dist/i18n/locales/moh.js.map +1 -0
  171. package/dist/i18n/locales/mr.d.ts +6 -0
  172. package/dist/i18n/locales/mr.d.ts.map +1 -0
  173. package/dist/i18n/locales/mr.js +106 -0
  174. package/dist/i18n/locales/mr.js.map +1 -0
  175. package/dist/i18n/locales/ms.d.ts +6 -0
  176. package/dist/i18n/locales/ms.d.ts.map +1 -0
  177. package/dist/i18n/locales/ms.js +106 -0
  178. package/dist/i18n/locales/ms.js.map +1 -0
  179. package/dist/i18n/locales/nl.d.ts +6 -0
  180. package/dist/i18n/locales/nl.d.ts.map +1 -0
  181. package/dist/i18n/locales/nl.js +106 -0
  182. package/dist/i18n/locales/nl.js.map +1 -0
  183. package/dist/i18n/locales/no.d.ts +6 -0
  184. package/dist/i18n/locales/no.d.ts.map +1 -0
  185. package/dist/i18n/locales/no.js +106 -0
  186. package/dist/i18n/locales/no.js.map +1 -0
  187. package/dist/i18n/locales/oj.d.ts +8 -0
  188. package/dist/i18n/locales/oj.d.ts.map +1 -0
  189. package/dist/i18n/locales/oj.js +11 -0
  190. package/dist/i18n/locales/oj.js.map +1 -0
  191. package/dist/i18n/locales/pa.d.ts +6 -0
  192. package/dist/i18n/locales/pa.d.ts.map +1 -0
  193. package/dist/i18n/locales/pa.js +106 -0
  194. package/dist/i18n/locales/pa.js.map +1 -0
  195. package/dist/i18n/locales/pl.d.ts +6 -0
  196. package/dist/i18n/locales/pl.d.ts.map +1 -0
  197. package/dist/i18n/locales/pl.js +106 -0
  198. package/dist/i18n/locales/pl.js.map +1 -0
  199. package/dist/i18n/locales/pt-BR.d.ts +6 -0
  200. package/dist/i18n/locales/pt-BR.d.ts.map +1 -0
  201. package/dist/i18n/locales/pt-BR.js +106 -0
  202. package/dist/i18n/locales/pt-BR.js.map +1 -0
  203. package/dist/i18n/locales/pt.d.ts +6 -0
  204. package/dist/i18n/locales/pt.d.ts.map +1 -0
  205. package/dist/i18n/locales/pt.js +106 -0
  206. package/dist/i18n/locales/pt.js.map +1 -0
  207. package/dist/i18n/locales/ro.d.ts +6 -0
  208. package/dist/i18n/locales/ro.d.ts.map +1 -0
  209. package/dist/i18n/locales/ro.js +106 -0
  210. package/dist/i18n/locales/ro.js.map +1 -0
  211. package/dist/i18n/locales/ru.d.ts +6 -0
  212. package/dist/i18n/locales/ru.d.ts.map +1 -0
  213. package/dist/i18n/locales/ru.js +106 -0
  214. package/dist/i18n/locales/ru.js.map +1 -0
  215. package/dist/i18n/locales/sv.d.ts +6 -0
  216. package/dist/i18n/locales/sv.d.ts.map +1 -0
  217. package/dist/i18n/locales/sv.js +106 -0
  218. package/dist/i18n/locales/sv.js.map +1 -0
  219. package/dist/i18n/locales/ta.d.ts +6 -0
  220. package/dist/i18n/locales/ta.d.ts.map +1 -0
  221. package/dist/i18n/locales/ta.js +106 -0
  222. package/dist/i18n/locales/ta.js.map +1 -0
  223. package/dist/i18n/locales/te.d.ts +6 -0
  224. package/dist/i18n/locales/te.d.ts.map +1 -0
  225. package/dist/i18n/locales/te.js +106 -0
  226. package/dist/i18n/locales/te.js.map +1 -0
  227. package/dist/i18n/locales/th.d.ts +6 -0
  228. package/dist/i18n/locales/th.d.ts.map +1 -0
  229. package/dist/i18n/locales/th.js +106 -0
  230. package/dist/i18n/locales/th.js.map +1 -0
  231. package/dist/i18n/locales/tl.d.ts +6 -0
  232. package/dist/i18n/locales/tl.d.ts.map +1 -0
  233. package/dist/i18n/locales/tl.js +106 -0
  234. package/dist/i18n/locales/tl.js.map +1 -0
  235. package/dist/i18n/locales/tr.d.ts +6 -0
  236. package/dist/i18n/locales/tr.d.ts.map +1 -0
  237. package/dist/i18n/locales/tr.js +106 -0
  238. package/dist/i18n/locales/tr.js.map +1 -0
  239. package/dist/i18n/locales/uk.d.ts +6 -0
  240. package/dist/i18n/locales/uk.d.ts.map +1 -0
  241. package/dist/i18n/locales/uk.js +106 -0
  242. package/dist/i18n/locales/uk.js.map +1 -0
  243. package/dist/i18n/locales/ur.d.ts +6 -0
  244. package/dist/i18n/locales/ur.d.ts.map +1 -0
  245. package/dist/i18n/locales/ur.js +383 -0
  246. package/dist/i18n/locales/ur.js.map +1 -0
  247. package/dist/i18n/locales/vi.d.ts +6 -0
  248. package/dist/i18n/locales/vi.d.ts.map +1 -0
  249. package/dist/i18n/locales/vi.js +106 -0
  250. package/dist/i18n/locales/vi.js.map +1 -0
  251. package/dist/i18n/locales/zh-CN.d.ts +6 -0
  252. package/dist/i18n/locales/zh-CN.d.ts.map +1 -0
  253. package/dist/i18n/locales/zh-CN.js +106 -0
  254. package/dist/i18n/locales/zh-CN.js.map +1 -0
  255. package/dist/i18n/locales/zh-TW.d.ts +6 -0
  256. package/dist/i18n/locales/zh-TW.d.ts.map +1 -0
  257. package/dist/i18n/locales/zh-TW.js +106 -0
  258. package/dist/i18n/locales/zh-TW.js.map +1 -0
  259. package/dist/i18n/types.d.ts +101 -0
  260. package/dist/i18n/types.d.ts.map +1 -0
  261. package/dist/i18n/types.js +65 -0
  262. package/dist/i18n/types.js.map +1 -0
  263. package/dist/index.d.ts +20 -0
  264. package/dist/index.d.ts.map +1 -0
  265. package/dist/index.js +472 -0
  266. package/dist/index.js.map +1 -0
  267. package/dist/server/index.d.ts +39 -0
  268. package/dist/server/index.d.ts.map +1 -0
  269. package/dist/server/index.js +89 -0
  270. package/dist/server/index.js.map +1 -0
  271. package/dist/tools/definitions.d.ts +26 -0
  272. package/dist/tools/definitions.d.ts.map +1 -0
  273. package/dist/tools/definitions.js +785 -0
  274. package/dist/tools/definitions.js.map +1 -0
  275. package/dist/tools/handlers.d.ts +19 -0
  276. package/dist/tools/handlers.d.ts.map +1 -0
  277. package/dist/tools/handlers.js +477 -0
  278. package/dist/tools/handlers.js.map +1 -0
  279. package/dist/tools/index.d.ts +3 -0
  280. package/dist/tools/index.d.ts.map +1 -0
  281. package/dist/tools/index.js +3 -0
  282. package/dist/tools/index.js.map +1 -0
  283. package/dist/types/code-generator.d.ts +97 -0
  284. package/dist/types/code-generator.d.ts.map +1 -0
  285. package/dist/types/code-generator.js +545 -0
  286. package/dist/types/code-generator.js.map +1 -0
  287. package/dist/types/index.d.ts +3 -0
  288. package/dist/types/index.d.ts.map +1 -0
  289. package/dist/types/index.js +3 -0
  290. package/dist/types/index.js.map +1 -0
  291. package/dist/types/schemas.d.ts +707 -0
  292. package/dist/types/schemas.d.ts.map +1 -0
  293. package/dist/types/schemas.js +341 -0
  294. package/dist/types/schemas.js.map +1 -0
  295. package/package.json +81 -0
@@ -0,0 +1,707 @@
1
+ /**
2
+ * PinePaper MCP Server - Type Definitions
3
+ *
4
+ * This file contains all TypeScript types and Zod schemas for the MCP tools.
5
+ * These schemas are used for:
6
+ * 1. Input validation
7
+ * 2. JSON Schema generation (for MCP tool definitions)
8
+ * 3. TypeScript type inference
9
+ */
10
+ import { z } from 'zod';
11
+ export declare const PositionSchema: z.ZodObject<{
12
+ x: z.ZodNumber;
13
+ y: z.ZodNumber;
14
+ }, "strip", z.ZodTypeAny, {
15
+ x: number;
16
+ y: number;
17
+ }, {
18
+ x: number;
19
+ y: number;
20
+ }>;
21
+ export declare const PointArraySchema: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
22
+ export declare const ColorSchema: z.ZodString;
23
+ export declare const EasingSchema: z.ZodEnum<["linear", "easeIn", "easeOut", "easeInOut", "bounce", "elastic"]>;
24
+ export declare const ItemTypeSchema: z.ZodEnum<["text", "circle", "star", "rectangle", "triangle", "polygon", "ellipse", "path", "line", "arc"]>;
25
+ export type ItemType = z.infer<typeof ItemTypeSchema>;
26
+ export declare const TextPropertiesSchema: z.ZodObject<{
27
+ content: z.ZodString;
28
+ fontSize: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
29
+ fontFamily: z.ZodDefault<z.ZodOptional<z.ZodString>>;
30
+ color: z.ZodDefault<z.ZodOptional<z.ZodString>>;
31
+ fontWeight: z.ZodOptional<z.ZodString>;
32
+ }, "strip", z.ZodTypeAny, {
33
+ color: string;
34
+ content: string;
35
+ fontSize: number;
36
+ fontFamily: string;
37
+ fontWeight?: string | undefined;
38
+ }, {
39
+ content: string;
40
+ color?: string | undefined;
41
+ fontSize?: number | undefined;
42
+ fontFamily?: string | undefined;
43
+ fontWeight?: string | undefined;
44
+ }>;
45
+ export declare const CirclePropertiesSchema: z.ZodObject<{
46
+ radius: z.ZodNumber;
47
+ color: z.ZodOptional<z.ZodString>;
48
+ strokeColor: z.ZodOptional<z.ZodString>;
49
+ strokeWidth: z.ZodOptional<z.ZodNumber>;
50
+ }, "strip", z.ZodTypeAny, {
51
+ radius: number;
52
+ color?: string | undefined;
53
+ strokeColor?: string | undefined;
54
+ strokeWidth?: number | undefined;
55
+ }, {
56
+ radius: number;
57
+ color?: string | undefined;
58
+ strokeColor?: string | undefined;
59
+ strokeWidth?: number | undefined;
60
+ }>;
61
+ export declare const StarPropertiesSchema: z.ZodObject<{
62
+ radius1: z.ZodNumber;
63
+ radius2: z.ZodNumber;
64
+ points: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
65
+ color: z.ZodOptional<z.ZodString>;
66
+ }, "strip", z.ZodTypeAny, {
67
+ radius1: number;
68
+ radius2: number;
69
+ points: number;
70
+ color?: string | undefined;
71
+ }, {
72
+ radius1: number;
73
+ radius2: number;
74
+ color?: string | undefined;
75
+ points?: number | undefined;
76
+ }>;
77
+ export declare const RectanglePropertiesSchema: z.ZodObject<{
78
+ width: z.ZodNumber;
79
+ height: z.ZodNumber;
80
+ color: z.ZodOptional<z.ZodString>;
81
+ cornerRadius: z.ZodOptional<z.ZodNumber>;
82
+ }, "strip", z.ZodTypeAny, {
83
+ width: number;
84
+ height: number;
85
+ color?: string | undefined;
86
+ cornerRadius?: number | undefined;
87
+ }, {
88
+ width: number;
89
+ height: number;
90
+ color?: string | undefined;
91
+ cornerRadius?: number | undefined;
92
+ }>;
93
+ export declare const PolygonPropertiesSchema: z.ZodObject<{
94
+ sides: z.ZodNumber;
95
+ radius: z.ZodNumber;
96
+ color: z.ZodOptional<z.ZodString>;
97
+ }, "strip", z.ZodTypeAny, {
98
+ radius: number;
99
+ sides: number;
100
+ color?: string | undefined;
101
+ }, {
102
+ radius: number;
103
+ sides: number;
104
+ color?: string | undefined;
105
+ }>;
106
+ export declare const PathPropertiesSchema: z.ZodObject<{
107
+ segments: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">>;
108
+ pathData: z.ZodOptional<z.ZodString>;
109
+ strokeColor: z.ZodOptional<z.ZodString>;
110
+ strokeWidth: z.ZodOptional<z.ZodNumber>;
111
+ fillColor: z.ZodOptional<z.ZodString>;
112
+ closed: z.ZodOptional<z.ZodBoolean>;
113
+ smooth: z.ZodOptional<z.ZodBoolean>;
114
+ }, "strip", z.ZodTypeAny, {
115
+ strokeColor?: string | undefined;
116
+ strokeWidth?: number | undefined;
117
+ segments?: [number, number][] | undefined;
118
+ pathData?: string | undefined;
119
+ fillColor?: string | undefined;
120
+ closed?: boolean | undefined;
121
+ smooth?: boolean | undefined;
122
+ }, {
123
+ strokeColor?: string | undefined;
124
+ strokeWidth?: number | undefined;
125
+ segments?: [number, number][] | undefined;
126
+ pathData?: string | undefined;
127
+ fillColor?: string | undefined;
128
+ closed?: boolean | undefined;
129
+ smooth?: boolean | undefined;
130
+ }>;
131
+ export declare const LinePropertiesSchema: z.ZodObject<{
132
+ from: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
133
+ to: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
134
+ strokeColor: z.ZodOptional<z.ZodString>;
135
+ strokeWidth: z.ZodOptional<z.ZodNumber>;
136
+ }, "strip", z.ZodTypeAny, {
137
+ to: [number, number];
138
+ from: [number, number];
139
+ strokeColor?: string | undefined;
140
+ strokeWidth?: number | undefined;
141
+ }, {
142
+ to: [number, number];
143
+ from: [number, number];
144
+ strokeColor?: string | undefined;
145
+ strokeWidth?: number | undefined;
146
+ }>;
147
+ export declare const ArcPropertiesSchema: z.ZodObject<{
148
+ from: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
149
+ through: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
150
+ to: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
151
+ strokeColor: z.ZodOptional<z.ZodString>;
152
+ strokeWidth: z.ZodOptional<z.ZodNumber>;
153
+ }, "strip", z.ZodTypeAny, {
154
+ to: [number, number];
155
+ from: [number, number];
156
+ through: [number, number];
157
+ strokeColor?: string | undefined;
158
+ strokeWidth?: number | undefined;
159
+ }, {
160
+ to: [number, number];
161
+ from: [number, number];
162
+ through: [number, number];
163
+ strokeColor?: string | undefined;
164
+ strokeWidth?: number | undefined;
165
+ }>;
166
+ export declare const SimpleAnimationTypeSchema: z.ZodEnum<["pulse", "rotate", "bounce", "fade", "wobble", "slide", "typewriter"]>;
167
+ export type SimpleAnimationType = z.infer<typeof SimpleAnimationTypeSchema>;
168
+ export declare const KeyframeSchema: z.ZodObject<{
169
+ time: z.ZodNumber;
170
+ properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
171
+ easing: z.ZodDefault<z.ZodOptional<z.ZodEnum<["linear", "easeIn", "easeOut", "easeInOut", "bounce", "elastic"]>>>;
172
+ }, "strip", z.ZodTypeAny, {
173
+ properties: Record<string, unknown>;
174
+ time: number;
175
+ easing: "bounce" | "linear" | "easeIn" | "easeOut" | "easeInOut" | "elastic";
176
+ }, {
177
+ properties: Record<string, unknown>;
178
+ time: number;
179
+ easing?: "bounce" | "linear" | "easeIn" | "easeOut" | "easeInOut" | "elastic" | undefined;
180
+ }>;
181
+ export type Keyframe = z.infer<typeof KeyframeSchema>;
182
+ export declare const RelationTypeSchema: z.ZodEnum<["orbits", "follows", "attached_to", "maintains_distance", "points_at", "mirrors", "parallax", "bounds_to", "animates"]>;
183
+ export type RelationType = z.infer<typeof RelationTypeSchema>;
184
+ export declare const OrbitsParamsSchema: z.ZodObject<{
185
+ radius: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
186
+ speed: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
187
+ direction: z.ZodDefault<z.ZodOptional<z.ZodEnum<["clockwise", "counterclockwise"]>>>;
188
+ phase: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
189
+ }, "strip", z.ZodTypeAny, {
190
+ direction: "clockwise" | "counterclockwise";
191
+ speed: number;
192
+ radius: number;
193
+ phase: number;
194
+ }, {
195
+ direction?: "clockwise" | "counterclockwise" | undefined;
196
+ speed?: number | undefined;
197
+ radius?: number | undefined;
198
+ phase?: number | undefined;
199
+ }>;
200
+ export declare const FollowsParamsSchema: z.ZodObject<{
201
+ offset: z.ZodDefault<z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>;
202
+ smoothing: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
203
+ delay: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
204
+ }, "strip", z.ZodTypeAny, {
205
+ offset: [number, number];
206
+ smoothing: number;
207
+ delay: number;
208
+ }, {
209
+ offset?: [number, number] | undefined;
210
+ smoothing?: number | undefined;
211
+ delay?: number | undefined;
212
+ }>;
213
+ export declare const AttachedToParamsSchema: z.ZodObject<{
214
+ offset: z.ZodDefault<z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>;
215
+ inherit_rotation: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
216
+ }, "strip", z.ZodTypeAny, {
217
+ offset: [number, number];
218
+ inherit_rotation: boolean;
219
+ }, {
220
+ offset?: [number, number] | undefined;
221
+ inherit_rotation?: boolean | undefined;
222
+ }>;
223
+ export declare const MaintainsDistanceParamsSchema: z.ZodObject<{
224
+ distance: z.ZodNumber;
225
+ strength: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
226
+ }, "strip", z.ZodTypeAny, {
227
+ distance: number;
228
+ strength: number;
229
+ }, {
230
+ distance: number;
231
+ strength?: number | undefined;
232
+ }>;
233
+ export declare const PointsAtParamsSchema: z.ZodObject<{
234
+ offset_angle: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
235
+ smoothing: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
236
+ }, "strip", z.ZodTypeAny, {
237
+ smoothing: number;
238
+ offset_angle: number;
239
+ }, {
240
+ smoothing?: number | undefined;
241
+ offset_angle?: number | undefined;
242
+ }>;
243
+ export declare const MirrorsParamsSchema: z.ZodObject<{
244
+ axis: z.ZodDefault<z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "both"]>>>;
245
+ center: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
246
+ }, "strip", z.ZodTypeAny, {
247
+ axis: "vertical" | "horizontal" | "both";
248
+ center?: [number, number] | undefined;
249
+ }, {
250
+ axis?: "vertical" | "horizontal" | "both" | undefined;
251
+ center?: [number, number] | undefined;
252
+ }>;
253
+ export declare const ParallaxParamsSchema: z.ZodObject<{
254
+ depth: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
255
+ origin: z.ZodDefault<z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>;
256
+ }, "strip", z.ZodTypeAny, {
257
+ depth: number;
258
+ origin: [number, number];
259
+ }, {
260
+ depth?: number | undefined;
261
+ origin?: [number, number] | undefined;
262
+ }>;
263
+ export declare const BoundsToParamsSchema: z.ZodObject<{
264
+ padding: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
265
+ bounce: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
266
+ }, "strip", z.ZodTypeAny, {
267
+ bounce: boolean;
268
+ padding: number;
269
+ }, {
270
+ bounce?: boolean | undefined;
271
+ padding?: number | undefined;
272
+ }>;
273
+ export declare const AnimatesParamsSchema: z.ZodObject<{
274
+ keyframes: z.ZodArray<z.ZodObject<{
275
+ time: z.ZodNumber;
276
+ properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
277
+ easing: z.ZodDefault<z.ZodOptional<z.ZodEnum<["linear", "easeIn", "easeOut", "easeInOut", "bounce", "elastic"]>>>;
278
+ }, "strip", z.ZodTypeAny, {
279
+ properties: Record<string, unknown>;
280
+ time: number;
281
+ easing: "bounce" | "linear" | "easeIn" | "easeOut" | "easeInOut" | "elastic";
282
+ }, {
283
+ properties: Record<string, unknown>;
284
+ time: number;
285
+ easing?: "bounce" | "linear" | "easeIn" | "easeOut" | "easeInOut" | "elastic" | undefined;
286
+ }>, "many">;
287
+ duration: z.ZodNumber;
288
+ loop: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
289
+ }, "strip", z.ZodTypeAny, {
290
+ keyframes: {
291
+ properties: Record<string, unknown>;
292
+ time: number;
293
+ easing: "bounce" | "linear" | "easeIn" | "easeOut" | "easeInOut" | "elastic";
294
+ }[];
295
+ duration: number;
296
+ loop: boolean;
297
+ }, {
298
+ keyframes: {
299
+ properties: Record<string, unknown>;
300
+ time: number;
301
+ easing?: "bounce" | "linear" | "easeIn" | "easeOut" | "easeInOut" | "elastic" | undefined;
302
+ }[];
303
+ duration: number;
304
+ loop?: boolean | undefined;
305
+ }>;
306
+ export declare const GeneratorNameSchema: z.ZodEnum<["drawSunburst", "drawSunsetScene", "drawGrid", "drawStackedCircles", "drawCircuit", "drawWaves", "drawPattern"]>;
307
+ export type GeneratorName = z.infer<typeof GeneratorNameSchema>;
308
+ export declare const SunburstParamsSchema: z.ZodObject<{
309
+ rayCount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
310
+ colors: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
311
+ bgColor: z.ZodDefault<z.ZodOptional<z.ZodString>>;
312
+ animated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
313
+ }, "strip", z.ZodTypeAny, {
314
+ animated: boolean;
315
+ rayCount: number;
316
+ colors: string[];
317
+ bgColor: string;
318
+ }, {
319
+ animated?: boolean | undefined;
320
+ rayCount?: number | undefined;
321
+ colors?: string[] | undefined;
322
+ bgColor?: string | undefined;
323
+ }>;
324
+ export declare const GridParamsSchema: z.ZodObject<{
325
+ gridType: z.ZodDefault<z.ZodOptional<z.ZodEnum<["lines", "dots", "squares"]>>>;
326
+ spacing: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
327
+ lineColor: z.ZodDefault<z.ZodOptional<z.ZodString>>;
328
+ bgColor: z.ZodDefault<z.ZodOptional<z.ZodString>>;
329
+ lineWidth: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
330
+ }, "strip", z.ZodTypeAny, {
331
+ bgColor: string;
332
+ gridType: "lines" | "dots" | "squares";
333
+ spacing: number;
334
+ lineColor: string;
335
+ lineWidth: number;
336
+ }, {
337
+ bgColor?: string | undefined;
338
+ gridType?: "lines" | "dots" | "squares" | undefined;
339
+ spacing?: number | undefined;
340
+ lineColor?: string | undefined;
341
+ lineWidth?: number | undefined;
342
+ }>;
343
+ export declare const WavesParamsSchema: z.ZodObject<{
344
+ waveCount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
345
+ colors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
346
+ amplitude: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
347
+ frequency: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
348
+ bgColor: z.ZodDefault<z.ZodOptional<z.ZodString>>;
349
+ animated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
350
+ }, "strip", z.ZodTypeAny, {
351
+ animated: boolean;
352
+ bgColor: string;
353
+ waveCount: number;
354
+ amplitude: number;
355
+ frequency: number;
356
+ colors?: string[] | undefined;
357
+ }, {
358
+ animated?: boolean | undefined;
359
+ colors?: string[] | undefined;
360
+ bgColor?: string | undefined;
361
+ waveCount?: number | undefined;
362
+ amplitude?: number | undefined;
363
+ frequency?: number | undefined;
364
+ }>;
365
+ export declare const CircuitParamsSchema: z.ZodObject<{
366
+ lineColor: z.ZodDefault<z.ZodOptional<z.ZodString>>;
367
+ nodeColor: z.ZodDefault<z.ZodOptional<z.ZodString>>;
368
+ bgColor: z.ZodDefault<z.ZodOptional<z.ZodString>>;
369
+ density: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
370
+ animated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
371
+ boltColor: z.ZodDefault<z.ZodOptional<z.ZodString>>;
372
+ }, "strip", z.ZodTypeAny, {
373
+ animated: boolean;
374
+ bgColor: string;
375
+ lineColor: string;
376
+ nodeColor: string;
377
+ density: number;
378
+ boltColor: string;
379
+ }, {
380
+ animated?: boolean | undefined;
381
+ bgColor?: string | undefined;
382
+ lineColor?: string | undefined;
383
+ nodeColor?: string | undefined;
384
+ density?: number | undefined;
385
+ boltColor?: string | undefined;
386
+ }>;
387
+ export declare const EffectTypeSchema: z.ZodEnum<["sparkle", "blast"]>;
388
+ export declare const SparkleParamsSchema: z.ZodObject<{
389
+ color: z.ZodDefault<z.ZodOptional<z.ZodString>>;
390
+ speed: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
391
+ size: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
392
+ }, "strip", z.ZodTypeAny, {
393
+ speed: number;
394
+ color: string;
395
+ size: number;
396
+ }, {
397
+ speed?: number | undefined;
398
+ color?: string | undefined;
399
+ size?: number | undefined;
400
+ }>;
401
+ export declare const BlastParamsSchema: z.ZodObject<{
402
+ color: z.ZodDefault<z.ZodOptional<z.ZodString>>;
403
+ radius: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
404
+ count: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
405
+ }, "strip", z.ZodTypeAny, {
406
+ color: string;
407
+ radius: number;
408
+ count: number;
409
+ }, {
410
+ color?: string | undefined;
411
+ radius?: number | undefined;
412
+ count?: number | undefined;
413
+ }>;
414
+ export declare const CreateItemInputSchema: z.ZodObject<{
415
+ itemType: z.ZodEnum<["text", "circle", "star", "rectangle", "triangle", "polygon", "ellipse", "path", "line", "arc"]>;
416
+ position: z.ZodDefault<z.ZodOptional<z.ZodObject<{
417
+ x: z.ZodNumber;
418
+ y: z.ZodNumber;
419
+ }, "strip", z.ZodTypeAny, {
420
+ x: number;
421
+ y: number;
422
+ }, {
423
+ x: number;
424
+ y: number;
425
+ }>>>;
426
+ properties: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
427
+ }, "strip", z.ZodTypeAny, {
428
+ itemType: "text" | "circle" | "star" | "rectangle" | "triangle" | "polygon" | "ellipse" | "path" | "line" | "arc";
429
+ position: {
430
+ x: number;
431
+ y: number;
432
+ };
433
+ properties: Record<string, unknown>;
434
+ }, {
435
+ itemType: "text" | "circle" | "star" | "rectangle" | "triangle" | "polygon" | "ellipse" | "path" | "line" | "arc";
436
+ position?: {
437
+ x: number;
438
+ y: number;
439
+ } | undefined;
440
+ properties?: Record<string, unknown> | undefined;
441
+ }>;
442
+ export declare const ModifyItemInputSchema: z.ZodObject<{
443
+ itemId: z.ZodString;
444
+ properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
445
+ }, "strip", z.ZodTypeAny, {
446
+ properties: Record<string, unknown>;
447
+ itemId: string;
448
+ }, {
449
+ properties: Record<string, unknown>;
450
+ itemId: string;
451
+ }>;
452
+ export declare const DeleteItemInputSchema: z.ZodObject<{
453
+ itemId: z.ZodString;
454
+ }, "strip", z.ZodTypeAny, {
455
+ itemId: string;
456
+ }, {
457
+ itemId: string;
458
+ }>;
459
+ export declare const AddRelationInputSchema: z.ZodObject<{
460
+ sourceId: z.ZodString;
461
+ targetId: z.ZodString;
462
+ relationType: z.ZodEnum<["orbits", "follows", "attached_to", "maintains_distance", "points_at", "mirrors", "parallax", "bounds_to", "animates"]>;
463
+ params: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
464
+ }, "strip", z.ZodTypeAny, {
465
+ sourceId: string;
466
+ targetId: string;
467
+ relationType: "orbits" | "follows" | "attached_to" | "maintains_distance" | "points_at" | "mirrors" | "parallax" | "bounds_to" | "animates";
468
+ params: Record<string, unknown>;
469
+ }, {
470
+ sourceId: string;
471
+ targetId: string;
472
+ relationType: "orbits" | "follows" | "attached_to" | "maintains_distance" | "points_at" | "mirrors" | "parallax" | "bounds_to" | "animates";
473
+ params?: Record<string, unknown> | undefined;
474
+ }>;
475
+ export declare const RemoveRelationInputSchema: z.ZodObject<{
476
+ sourceId: z.ZodString;
477
+ targetId: z.ZodString;
478
+ relationType: z.ZodOptional<z.ZodEnum<["orbits", "follows", "attached_to", "maintains_distance", "points_at", "mirrors", "parallax", "bounds_to", "animates"]>>;
479
+ }, "strip", z.ZodTypeAny, {
480
+ sourceId: string;
481
+ targetId: string;
482
+ relationType?: "orbits" | "follows" | "attached_to" | "maintains_distance" | "points_at" | "mirrors" | "parallax" | "bounds_to" | "animates" | undefined;
483
+ }, {
484
+ sourceId: string;
485
+ targetId: string;
486
+ relationType?: "orbits" | "follows" | "attached_to" | "maintains_distance" | "points_at" | "mirrors" | "parallax" | "bounds_to" | "animates" | undefined;
487
+ }>;
488
+ export declare const QueryRelationsInputSchema: z.ZodObject<{
489
+ itemId: z.ZodString;
490
+ relationType: z.ZodOptional<z.ZodEnum<["orbits", "follows", "attached_to", "maintains_distance", "points_at", "mirrors", "parallax", "bounds_to", "animates"]>>;
491
+ direction: z.ZodDefault<z.ZodOptional<z.ZodEnum<["outgoing", "incoming"]>>>;
492
+ }, "strip", z.ZodTypeAny, {
493
+ itemId: string;
494
+ direction: "outgoing" | "incoming";
495
+ relationType?: "orbits" | "follows" | "attached_to" | "maintains_distance" | "points_at" | "mirrors" | "parallax" | "bounds_to" | "animates" | undefined;
496
+ }, {
497
+ itemId: string;
498
+ relationType?: "orbits" | "follows" | "attached_to" | "maintains_distance" | "points_at" | "mirrors" | "parallax" | "bounds_to" | "animates" | undefined;
499
+ direction?: "outgoing" | "incoming" | undefined;
500
+ }>;
501
+ export declare const AnimateItemInputSchema: z.ZodObject<{
502
+ itemId: z.ZodString;
503
+ animationType: z.ZodEnum<["pulse", "rotate", "bounce", "fade", "wobble", "slide", "typewriter"]>;
504
+ speed: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
505
+ }, "strip", z.ZodTypeAny, {
506
+ itemId: string;
507
+ animationType: "pulse" | "rotate" | "bounce" | "fade" | "wobble" | "slide" | "typewriter";
508
+ speed: number;
509
+ }, {
510
+ itemId: string;
511
+ animationType: "pulse" | "rotate" | "bounce" | "fade" | "wobble" | "slide" | "typewriter";
512
+ speed?: number | undefined;
513
+ }>;
514
+ export declare const KeyframeAnimateInputSchema: z.ZodObject<{
515
+ itemId: z.ZodString;
516
+ keyframes: z.ZodArray<z.ZodObject<{
517
+ time: z.ZodNumber;
518
+ properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
519
+ easing: z.ZodDefault<z.ZodOptional<z.ZodEnum<["linear", "easeIn", "easeOut", "easeInOut", "bounce", "elastic"]>>>;
520
+ }, "strip", z.ZodTypeAny, {
521
+ properties: Record<string, unknown>;
522
+ time: number;
523
+ easing: "bounce" | "linear" | "easeIn" | "easeOut" | "easeInOut" | "elastic";
524
+ }, {
525
+ properties: Record<string, unknown>;
526
+ time: number;
527
+ easing?: "bounce" | "linear" | "easeIn" | "easeOut" | "easeInOut" | "elastic" | undefined;
528
+ }>, "many">;
529
+ duration: z.ZodOptional<z.ZodNumber>;
530
+ loop: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
531
+ }, "strip", z.ZodTypeAny, {
532
+ itemId: string;
533
+ keyframes: {
534
+ properties: Record<string, unknown>;
535
+ time: number;
536
+ easing: "bounce" | "linear" | "easeIn" | "easeOut" | "easeInOut" | "elastic";
537
+ }[];
538
+ loop: boolean;
539
+ duration?: number | undefined;
540
+ }, {
541
+ itemId: string;
542
+ keyframes: {
543
+ properties: Record<string, unknown>;
544
+ time: number;
545
+ easing?: "bounce" | "linear" | "easeIn" | "easeOut" | "easeInOut" | "elastic" | undefined;
546
+ }[];
547
+ duration?: number | undefined;
548
+ loop?: boolean | undefined;
549
+ }>;
550
+ export declare const ExecuteGeneratorInputSchema: z.ZodObject<{
551
+ generatorName: z.ZodEnum<["drawSunburst", "drawSunsetScene", "drawGrid", "drawStackedCircles", "drawCircuit", "drawWaves", "drawPattern"]>;
552
+ params: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
553
+ }, "strip", z.ZodTypeAny, {
554
+ params: Record<string, unknown>;
555
+ generatorName: "drawSunburst" | "drawSunsetScene" | "drawGrid" | "drawStackedCircles" | "drawCircuit" | "drawWaves" | "drawPattern";
556
+ }, {
557
+ generatorName: "drawSunburst" | "drawSunsetScene" | "drawGrid" | "drawStackedCircles" | "drawCircuit" | "drawWaves" | "drawPattern";
558
+ params?: Record<string, unknown> | undefined;
559
+ }>;
560
+ export declare const ApplyEffectInputSchema: z.ZodObject<{
561
+ itemId: z.ZodString;
562
+ effectType: z.ZodEnum<["sparkle", "blast"]>;
563
+ params: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
564
+ }, "strip", z.ZodTypeAny, {
565
+ itemId: string;
566
+ params: Record<string, unknown>;
567
+ effectType: "sparkle" | "blast";
568
+ }, {
569
+ itemId: string;
570
+ effectType: "sparkle" | "blast";
571
+ params?: Record<string, unknown> | undefined;
572
+ }>;
573
+ export declare const GetItemsInputSchema: z.ZodObject<{
574
+ filter: z.ZodOptional<z.ZodObject<{
575
+ type: z.ZodOptional<z.ZodEnum<["text", "circle", "star", "rectangle", "triangle", "polygon", "ellipse", "path", "line", "arc"]>>;
576
+ source: z.ZodOptional<z.ZodEnum<["user", "generator", "import"]>>;
577
+ hasAnimation: z.ZodOptional<z.ZodBoolean>;
578
+ hasRelation: z.ZodOptional<z.ZodBoolean>;
579
+ }, "strip", z.ZodTypeAny, {
580
+ type?: "text" | "circle" | "star" | "rectangle" | "triangle" | "polygon" | "ellipse" | "path" | "line" | "arc" | undefined;
581
+ source?: "user" | "generator" | "import" | undefined;
582
+ hasAnimation?: boolean | undefined;
583
+ hasRelation?: boolean | undefined;
584
+ }, {
585
+ type?: "text" | "circle" | "star" | "rectangle" | "triangle" | "polygon" | "ellipse" | "path" | "line" | "arc" | undefined;
586
+ source?: "user" | "generator" | "import" | undefined;
587
+ hasAnimation?: boolean | undefined;
588
+ hasRelation?: boolean | undefined;
589
+ }>>;
590
+ }, "strip", z.ZodTypeAny, {
591
+ filter?: {
592
+ type?: "text" | "circle" | "star" | "rectangle" | "triangle" | "polygon" | "ellipse" | "path" | "line" | "arc" | undefined;
593
+ source?: "user" | "generator" | "import" | undefined;
594
+ hasAnimation?: boolean | undefined;
595
+ hasRelation?: boolean | undefined;
596
+ } | undefined;
597
+ }, {
598
+ filter?: {
599
+ type?: "text" | "circle" | "star" | "rectangle" | "triangle" | "polygon" | "ellipse" | "path" | "line" | "arc" | undefined;
600
+ source?: "user" | "generator" | "import" | undefined;
601
+ hasAnimation?: boolean | undefined;
602
+ hasRelation?: boolean | undefined;
603
+ } | undefined;
604
+ }>;
605
+ export declare const PlayTimelineInputSchema: z.ZodObject<{
606
+ action: z.ZodEnum<["play", "stop", "seek"]>;
607
+ duration: z.ZodOptional<z.ZodNumber>;
608
+ loop: z.ZodOptional<z.ZodBoolean>;
609
+ time: z.ZodOptional<z.ZodNumber>;
610
+ }, "strip", z.ZodTypeAny, {
611
+ action: "play" | "stop" | "seek";
612
+ duration?: number | undefined;
613
+ loop?: boolean | undefined;
614
+ time?: number | undefined;
615
+ }, {
616
+ action: "play" | "stop" | "seek";
617
+ duration?: number | undefined;
618
+ loop?: boolean | undefined;
619
+ time?: number | undefined;
620
+ }>;
621
+ export declare const SetBackgroundColorInputSchema: z.ZodObject<{
622
+ color: z.ZodString;
623
+ }, "strip", z.ZodTypeAny, {
624
+ color: string;
625
+ }, {
626
+ color: string;
627
+ }>;
628
+ export declare const SetCanvasSizeInputSchema: z.ZodObject<{
629
+ width: z.ZodNumber;
630
+ height: z.ZodNumber;
631
+ preset: z.ZodOptional<z.ZodString>;
632
+ }, "strip", z.ZodTypeAny, {
633
+ width: number;
634
+ height: number;
635
+ preset?: string | undefined;
636
+ }, {
637
+ width: number;
638
+ height: number;
639
+ preset?: string | undefined;
640
+ }>;
641
+ export declare const ExportSVGInputSchema: z.ZodObject<{
642
+ animated: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
643
+ }, "strip", z.ZodTypeAny, {
644
+ animated: boolean;
645
+ }, {
646
+ animated?: boolean | undefined;
647
+ }>;
648
+ export declare const ExportTrainingDataInputSchema: z.ZodObject<{
649
+ format: z.ZodDefault<z.ZodOptional<z.ZodEnum<["json", "jsonl"]>>>;
650
+ includeMetadata: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
651
+ }, "strip", z.ZodTypeAny, {
652
+ format: "json" | "jsonl";
653
+ includeMetadata: boolean;
654
+ }, {
655
+ format?: "json" | "jsonl" | undefined;
656
+ includeMetadata?: boolean | undefined;
657
+ }>;
658
+ export interface ToolResult<T = unknown> {
659
+ success: boolean;
660
+ data?: T;
661
+ error?: {
662
+ code: string;
663
+ message: string;
664
+ details?: unknown;
665
+ };
666
+ }
667
+ export interface CreateItemResult {
668
+ itemId: string;
669
+ type: ItemType;
670
+ position: {
671
+ x: number;
672
+ y: number;
673
+ };
674
+ }
675
+ export interface QueryItemsResult {
676
+ items: Array<{
677
+ id: string;
678
+ type: ItemType;
679
+ position?: {
680
+ x: number;
681
+ y: number;
682
+ };
683
+ hasAnimation: boolean;
684
+ relations: RelationType[];
685
+ }>;
686
+ count: number;
687
+ }
688
+ export interface ExportTrainingDataResult {
689
+ trainingData: Array<{
690
+ instruction: string;
691
+ code: string;
692
+ relation: string;
693
+ params: Record<string, unknown>;
694
+ }>;
695
+ count: number;
696
+ }
697
+ export declare const ErrorCodes: {
698
+ readonly ITEM_NOT_FOUND: "ITEM_NOT_FOUND";
699
+ readonly INVALID_RELATION: "INVALID_RELATION";
700
+ readonly INVALID_PARAMS: "INVALID_PARAMS";
701
+ readonly GENERATOR_NOT_FOUND: "GENERATOR_NOT_FOUND";
702
+ readonly EXPORT_FAILED: "EXPORT_FAILED";
703
+ readonly EXECUTION_ERROR: "EXECUTION_ERROR";
704
+ readonly VALIDATION_ERROR: "VALIDATION_ERROR";
705
+ };
706
+ export type ErrorCode = (typeof ErrorCodes)[keyof typeof ErrorCodes];
707
+ //# sourceMappingURL=schemas.d.ts.map