@bendyline/docblocks 2.0.0 → 2.1.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 (286) hide show
  1. package/dist/{chunk-J32GU3F3.js → chunk-6IYMTYMQ.js} +249 -221
  2. package/dist/chunk-6IYMTYMQ.js.map +1 -0
  3. package/dist/{chunk-75UUF6C4.js → chunk-B56KWCSE.js} +2 -2
  4. package/dist/{chunk-RVQHY3XU.js → chunk-BNKV7MTO.js} +1 -1
  5. package/dist/{chunk-RVQHY3XU.js.map → chunk-BNKV7MTO.js.map} +1 -1
  6. package/dist/chunk-BXMF5YQJ.js +149 -0
  7. package/dist/chunk-BXMF5YQJ.js.map +1 -0
  8. package/dist/{chunk-PGR7LK6D.js → chunk-COYQXQK3.js} +14 -5
  9. package/dist/chunk-COYQXQK3.js.map +1 -0
  10. package/dist/{chunk-RQJRQF46.js → chunk-DN7A33LL.js} +42 -49
  11. package/dist/chunk-DN7A33LL.js.map +1 -0
  12. package/dist/chunk-FA7UNOXK.js +20 -0
  13. package/dist/chunk-FA7UNOXK.js.map +1 -0
  14. package/dist/chunk-GM5YXU4L.js +29 -0
  15. package/dist/chunk-GM5YXU4L.js.map +1 -0
  16. package/dist/{chunk-SI2LU2RP.js → chunk-JS6XFWQK.js} +2 -1
  17. package/dist/chunk-JS6XFWQK.js.map +1 -0
  18. package/dist/{chunk-EGNDADXB.js → chunk-MNSZ7EZN.js} +2 -2
  19. package/dist/chunk-P3DVZQ6S.js +228 -0
  20. package/dist/chunk-P3DVZQ6S.js.map +1 -0
  21. package/dist/chunk-P4WATND4.js +52 -0
  22. package/dist/chunk-P4WATND4.js.map +1 -0
  23. package/dist/chunk-RVPGQBWR.js +169 -0
  24. package/dist/chunk-RVPGQBWR.js.map +1 -0
  25. package/dist/chunk-U722UUFN.js +9 -0
  26. package/dist/chunk-U722UUFN.js.map +1 -0
  27. package/dist/{chunk-GCPBEMMH.js → chunk-VTCSF7VS.js} +11 -21
  28. package/dist/chunk-VTCSF7VS.js.map +1 -0
  29. package/dist/{chunk-2D7Y4IR3.js → chunk-WJKYY5QR.js} +123 -66
  30. package/dist/chunk-WJKYY5QR.js.map +1 -0
  31. package/dist/{chunk-5MYAICRE.js → chunk-XUML3MKV.js} +44 -56
  32. package/dist/chunk-XUML3MKV.js.map +1 -0
  33. package/dist/document/index.d.ts +358 -6
  34. package/dist/document/index.js +24 -3
  35. package/dist/document/index.js.map +1 -1
  36. package/dist/filesystem/electron.d.ts +73 -4
  37. package/dist/filesystem/electron.js +16 -3
  38. package/dist/filesystem/electron.js.map +1 -1
  39. package/dist/filesystem/index.d.ts +228 -22
  40. package/dist/filesystem/index.js +133 -19
  41. package/dist/filesystem/index.js.map +1 -1
  42. package/dist/filesystem/indexeddb.d.ts +284 -5
  43. package/dist/filesystem/indexeddb.js +22 -4
  44. package/dist/filesystem/indexeddb.js.map +1 -1
  45. package/dist/filesystem/memory.d.ts +152 -4
  46. package/dist/filesystem/memory.js +12 -3
  47. package/dist/filesystem/memory.js.map +1 -1
  48. package/dist/filesystem/native.d.ts +136 -4
  49. package/dist/filesystem/native.js +27 -3
  50. package/dist/filesystem/native.js.map +1 -1
  51. package/dist/host/index.d.ts +32 -9
  52. package/dist/host/index.js +26 -29
  53. package/dist/host/index.js.map +1 -1
  54. package/dist/index.d.ts +14 -10
  55. package/dist/index.js +204 -9
  56. package/dist/index.js.map +1 -1
  57. package/dist/mcp/index.d.ts +33 -4
  58. package/dist/mcp/index.js +31 -3
  59. package/dist/mcp/index.js.map +1 -1
  60. package/dist/mcp/zod.d.ts +637 -635
  61. package/dist/mcp/zod.js +700 -884
  62. package/dist/mcp/zod.js.map +1 -1
  63. package/dist/share/index.d.ts +43 -0
  64. package/dist/share/index.js +13 -0
  65. package/dist/share/index.js.map +1 -0
  66. package/dist/{types-CsX6EN2t.d.ts → types-BEg5SQ1_.d.ts} +1 -1
  67. package/dist/{types-eOlt9J7n.d.ts → types-CueK0tvU.d.ts} +34 -11
  68. package/dist/vscode/index.d.ts +220 -3
  69. package/dist/vscode/index.js +382 -2
  70. package/dist/vscode/index.js.map +1 -1
  71. package/dist/workspace/index.d.ts +141 -4
  72. package/dist/workspace/index.js +28 -2
  73. package/dist/workspace/index.js.map +1 -1
  74. package/package.json +9 -5
  75. package/dist/chunk-2D7Y4IR3.js.map +0 -1
  76. package/dist/chunk-5MYAICRE.js.map +0 -1
  77. package/dist/chunk-AYZ4HN5M.js +0 -20
  78. package/dist/chunk-AYZ4HN5M.js.map +0 -1
  79. package/dist/chunk-GCPBEMMH.js.map +0 -1
  80. package/dist/chunk-J32GU3F3.js.map +0 -1
  81. package/dist/chunk-PGR7LK6D.js.map +0 -1
  82. package/dist/chunk-RQJRQF46.js.map +0 -1
  83. package/dist/chunk-SI2LU2RP.js.map +0 -1
  84. package/dist/chunk-W5UUUII5.js +0 -142
  85. package/dist/chunk-W5UUUII5.js.map +0 -1
  86. package/dist/document/document-session.d.ts +0 -127
  87. package/dist/document/document-session.d.ts.map +0 -1
  88. package/dist/document/document-session.js +0 -749
  89. package/dist/document/document-session.js.map +0 -1
  90. package/dist/document/filesystem-target.d.ts +0 -17
  91. package/dist/document/filesystem-target.d.ts.map +0 -1
  92. package/dist/document/filesystem-target.js +0 -70
  93. package/dist/document/filesystem-target.js.map +0 -1
  94. package/dist/document/index.d.ts.map +0 -1
  95. package/dist/document/recovery-journal.d.ts +0 -125
  96. package/dist/document/recovery-journal.d.ts.map +0 -1
  97. package/dist/document/recovery-journal.js +0 -385
  98. package/dist/document/recovery-journal.js.map +0 -1
  99. package/dist/document/types.d.ts +0 -89
  100. package/dist/document/types.d.ts.map +0 -1
  101. package/dist/document/types.js +0 -9
  102. package/dist/document/types.js.map +0 -1
  103. package/dist/filesystem/commit-lock.d.ts +0 -3
  104. package/dist/filesystem/commit-lock.d.ts.map +0 -1
  105. package/dist/filesystem/commit-lock.js +0 -20
  106. package/dist/filesystem/commit-lock.js.map +0 -1
  107. package/dist/filesystem/dbk-workspace.d.ts +0 -34
  108. package/dist/filesystem/dbk-workspace.d.ts.map +0 -1
  109. package/dist/filesystem/dbk-workspace.js +0 -85
  110. package/dist/filesystem/dbk-workspace.js.map +0 -1
  111. package/dist/filesystem/electron-provider-v2.d.ts +0 -36
  112. package/dist/filesystem/electron-provider-v2.d.ts.map +0 -1
  113. package/dist/filesystem/electron-provider-v2.js +0 -503
  114. package/dist/filesystem/electron-provider-v2.js.map +0 -1
  115. package/dist/filesystem/electron-provider.d.ts +0 -35
  116. package/dist/filesystem/electron-provider.d.ts.map +0 -1
  117. package/dist/filesystem/electron-provider.js +0 -69
  118. package/dist/filesystem/electron-provider.js.map +0 -1
  119. package/dist/filesystem/electron.d.ts.map +0 -1
  120. package/dist/filesystem/file-media-provider.d.ts +0 -23
  121. package/dist/filesystem/file-media-provider.d.ts.map +0 -1
  122. package/dist/filesystem/file-media-provider.js +0 -85
  123. package/dist/filesystem/file-media-provider.js.map +0 -1
  124. package/dist/filesystem/filesystem-content-container.d.ts +0 -24
  125. package/dist/filesystem/filesystem-content-container.d.ts.map +0 -1
  126. package/dist/filesystem/filesystem-content-container.js +0 -153
  127. package/dist/filesystem/filesystem-content-container.js.map +0 -1
  128. package/dist/filesystem/fs-error.d.ts +0 -46
  129. package/dist/filesystem/fs-error.d.ts.map +0 -1
  130. package/dist/filesystem/fs-error.js +0 -170
  131. package/dist/filesystem/fs-error.js.map +0 -1
  132. package/dist/filesystem/index.d.ts.map +0 -1
  133. package/dist/filesystem/indexeddb-content-container.d.ts +0 -22
  134. package/dist/filesystem/indexeddb-content-container.d.ts.map +0 -1
  135. package/dist/filesystem/indexeddb-content-container.js +0 -100
  136. package/dist/filesystem/indexeddb-content-container.js.map +0 -1
  137. package/dist/filesystem/indexeddb-provider-v2.d.ts +0 -96
  138. package/dist/filesystem/indexeddb-provider-v2.d.ts.map +0 -1
  139. package/dist/filesystem/indexeddb-provider-v2.js +0 -1241
  140. package/dist/filesystem/indexeddb-provider-v2.js.map +0 -1
  141. package/dist/filesystem/indexeddb-provider.d.ts +0 -39
  142. package/dist/filesystem/indexeddb-provider.d.ts.map +0 -1
  143. package/dist/filesystem/indexeddb-provider.js +0 -145
  144. package/dist/filesystem/indexeddb-provider.js.map +0 -1
  145. package/dist/filesystem/indexeddb-store.d.ts +0 -34
  146. package/dist/filesystem/indexeddb-store.d.ts.map +0 -1
  147. package/dist/filesystem/indexeddb-store.js +0 -165
  148. package/dist/filesystem/indexeddb-store.js.map +0 -1
  149. package/dist/filesystem/indexeddb.d.ts.map +0 -1
  150. package/dist/filesystem/legacy-v2-adapter.d.ts +0 -62
  151. package/dist/filesystem/legacy-v2-adapter.d.ts.map +0 -1
  152. package/dist/filesystem/legacy-v2-adapter.js +0 -499
  153. package/dist/filesystem/legacy-v2-adapter.js.map +0 -1
  154. package/dist/filesystem/memory-provider-v2.d.ts +0 -92
  155. package/dist/filesystem/memory-provider-v2.d.ts.map +0 -1
  156. package/dist/filesystem/memory-provider-v2.js +0 -615
  157. package/dist/filesystem/memory-provider-v2.js.map +0 -1
  158. package/dist/filesystem/memory-provider.d.ts +0 -54
  159. package/dist/filesystem/memory-provider.d.ts.map +0 -1
  160. package/dist/filesystem/memory-provider.js +0 -132
  161. package/dist/filesystem/memory-provider.js.map +0 -1
  162. package/dist/filesystem/memory.d.ts.map +0 -1
  163. package/dist/filesystem/move-entry.d.ts +0 -9
  164. package/dist/filesystem/move-entry.d.ts.map +0 -1
  165. package/dist/filesystem/move-entry.js +0 -103
  166. package/dist/filesystem/move-entry.js.map +0 -1
  167. package/dist/filesystem/move-error.d.ts +0 -53
  168. package/dist/filesystem/move-error.d.ts.map +0 -1
  169. package/dist/filesystem/move-error.js +0 -99
  170. package/dist/filesystem/move-error.js.map +0 -1
  171. package/dist/filesystem/native-provider-v2.d.ts +0 -75
  172. package/dist/filesystem/native-provider-v2.d.ts.map +0 -1
  173. package/dist/filesystem/native-provider-v2.js +0 -849
  174. package/dist/filesystem/native-provider-v2.js.map +0 -1
  175. package/dist/filesystem/native-provider.d.ts +0 -53
  176. package/dist/filesystem/native-provider.d.ts.map +0 -1
  177. package/dist/filesystem/native-provider.js +0 -471
  178. package/dist/filesystem/native-provider.js.map +0 -1
  179. package/dist/filesystem/native.d.ts.map +0 -1
  180. package/dist/filesystem/types.d.ts +0 -83
  181. package/dist/filesystem/types.d.ts.map +0 -1
  182. package/dist/filesystem/types.js +0 -16
  183. package/dist/filesystem/types.js.map +0 -1
  184. package/dist/filesystem/v2.d.ts +0 -172
  185. package/dist/filesystem/v2.d.ts.map +0 -1
  186. package/dist/filesystem/v2.js +0 -16
  187. package/dist/filesystem/v2.js.map +0 -1
  188. package/dist/filesystem/workspace-path.d.ts +0 -21
  189. package/dist/filesystem/workspace-path.d.ts.map +0 -1
  190. package/dist/filesystem/workspace-path.js +0 -80
  191. package/dist/filesystem/workspace-path.js.map +0 -1
  192. package/dist/host/filesystem-v2.d.ts +0 -45
  193. package/dist/host/filesystem-v2.d.ts.map +0 -1
  194. package/dist/host/filesystem-v2.js +0 -13
  195. package/dist/host/filesystem-v2.js.map +0 -1
  196. package/dist/host/git.d.ts +0 -200
  197. package/dist/host/git.d.ts.map +0 -1
  198. package/dist/host/git.js +0 -15
  199. package/dist/host/git.js.map +0 -1
  200. package/dist/host/index.d.ts.map +0 -1
  201. package/dist/host/types.d.ts +0 -232
  202. package/dist/host/types.d.ts.map +0 -1
  203. package/dist/host/types.js +0 -10
  204. package/dist/host/types.js.map +0 -1
  205. package/dist/host/wire-policy.d.ts +0 -22
  206. package/dist/host/wire-policy.d.ts.map +0 -1
  207. package/dist/host/wire-policy.js +0 -92
  208. package/dist/host/wire-policy.js.map +0 -1
  209. package/dist/index.d.ts.map +0 -1
  210. package/dist/mcp/index.d.ts.map +0 -1
  211. package/dist/mcp/types.d.ts +0 -466
  212. package/dist/mcp/types.d.ts.map +0 -1
  213. package/dist/mcp/types.js +0 -25
  214. package/dist/mcp/types.js.map +0 -1
  215. package/dist/mcp/wire.d.ts +0 -29
  216. package/dist/mcp/wire.d.ts.map +0 -1
  217. package/dist/mcp/wire.js +0 -1046
  218. package/dist/mcp/wire.js.map +0 -1
  219. package/dist/mcp/zod.d.ts.map +0 -1
  220. package/dist/vscode/index.d.ts.map +0 -1
  221. package/dist/vscode/messages.d.ts +0 -204
  222. package/dist/vscode/messages.d.ts.map +0 -1
  223. package/dist/vscode/messages.js +0 -494
  224. package/dist/vscode/messages.js.map +0 -1
  225. package/dist/workspace/index.d.ts.map +0 -1
  226. package/dist/workspace/reconcile-electron.d.ts +0 -19
  227. package/dist/workspace/reconcile-electron.d.ts.map +0 -1
  228. package/dist/workspace/reconcile-electron.js +0 -42
  229. package/dist/workspace/reconcile-electron.js.map +0 -1
  230. package/dist/workspace/types.d.ts +0 -69
  231. package/dist/workspace/types.d.ts.map +0 -1
  232. package/dist/workspace/types.js +0 -2
  233. package/dist/workspace/types.js.map +0 -1
  234. package/dist/workspace/workspace-manager.d.ts +0 -47
  235. package/dist/workspace/workspace-manager.d.ts.map +0 -1
  236. package/dist/workspace/workspace-manager.js +0 -126
  237. package/dist/workspace/workspace-manager.js.map +0 -1
  238. package/src/document/document-session.ts +0 -834
  239. package/src/document/filesystem-target.ts +0 -109
  240. package/src/document/index.ts +0 -41
  241. package/src/document/recovery-journal.ts +0 -536
  242. package/src/document/types.ts +0 -116
  243. package/src/filesystem/commit-lock.ts +0 -29
  244. package/src/filesystem/dbk-workspace.ts +0 -135
  245. package/src/filesystem/electron-provider-v2.ts +0 -630
  246. package/src/filesystem/electron-provider.ts +0 -99
  247. package/src/filesystem/electron.ts +0 -3
  248. package/src/filesystem/file-media-provider.ts +0 -103
  249. package/src/filesystem/filesystem-content-container.ts +0 -164
  250. package/src/filesystem/fs-error.ts +0 -234
  251. package/src/filesystem/index.ts +0 -143
  252. package/src/filesystem/indexeddb-content-container.ts +0 -112
  253. package/src/filesystem/indexeddb-provider-v2.ts +0 -1740
  254. package/src/filesystem/indexeddb-provider.ts +0 -171
  255. package/src/filesystem/indexeddb-store.ts +0 -207
  256. package/src/filesystem/indexeddb.ts +0 -12
  257. package/src/filesystem/legacy-v2-adapter.ts +0 -779
  258. package/src/filesystem/memory-provider-v2.ts +0 -896
  259. package/src/filesystem/memory-provider.ts +0 -180
  260. package/src/filesystem/memory.ts +0 -15
  261. package/src/filesystem/move-entry.ts +0 -142
  262. package/src/filesystem/move-error.ts +0 -159
  263. package/src/filesystem/native-provider-v2.ts +0 -1165
  264. package/src/filesystem/native-provider.ts +0 -537
  265. package/src/filesystem/native.ts +0 -16
  266. package/src/filesystem/types.ts +0 -114
  267. package/src/filesystem/v2.ts +0 -231
  268. package/src/filesystem/workspace-path.ts +0 -92
  269. package/src/host/filesystem-v2.ts +0 -104
  270. package/src/host/git.ts +0 -246
  271. package/src/host/index.ts +0 -93
  272. package/src/host/types.ts +0 -274
  273. package/src/host/wire-policy.ts +0 -103
  274. package/src/index.ts +0 -10
  275. package/src/mcp/index.ts +0 -3
  276. package/src/mcp/types.ts +0 -594
  277. package/src/mcp/wire.ts +0 -1280
  278. package/src/mcp/zod.ts +0 -1000
  279. package/src/vscode/index.ts +0 -2
  280. package/src/vscode/messages.ts +0 -704
  281. package/src/workspace/index.ts +0 -17
  282. package/src/workspace/reconcile-electron.ts +0 -65
  283. package/src/workspace/types.ts +0 -67
  284. package/src/workspace/workspace-manager.ts +0 -151
  285. /package/dist/{chunk-75UUF6C4.js.map → chunk-B56KWCSE.js.map} +0 -0
  286. /package/dist/{chunk-EGNDADXB.js.map → chunk-MNSZ7EZN.js.map} +0 -0
package/dist/mcp/zod.d.ts CHANGED
@@ -1,14 +1,16 @@
1
1
  import { z } from 'zod';
2
- import { z as z4 } from 'zod/v4';
3
- import type { DocBlocksMcpToolName } from './types.js';
2
+ import { z as z$1 } from 'zod/v4';
3
+ import { z as DocBlocksMcpToolName } from '../types-CX893hgH.js';
4
+ import '../workspace-path-CWVrcuPL.js';
5
+
4
6
  /** Canonical Zod projection of the exact MCP wire contract for protocol SDKs. */
5
- export declare const MAX_MARKDOWN_CHARACTERS: number;
6
- export declare const MAX_PATH_CHARACTERS = 4096;
7
- export declare const formatSchema: z.ZodString;
7
+ declare const MAX_MARKDOWN_CHARACTERS: number;
8
+ declare const MAX_PATH_CHARACTERS = 4096;
9
+ declare const formatSchema: z.ZodString;
8
10
  /** Case-insensitive format input which handlers normalize before publishing it on the wire. */
9
- export declare const formatInputSchema: z.ZodString;
10
- export declare const artifactUriSchema: z.ZodString;
11
- export declare const bundleAssetSchema: z.ZodObject<{
11
+ declare const formatInputSchema: z.ZodString;
12
+ declare const artifactUriSchema: z.ZodString;
13
+ declare const bundleAssetSchema: z.ZodObject<{
12
14
  path: z.ZodEffects<z.ZodString, string, string>;
13
15
  source: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
14
16
  kind: z.ZodLiteral<"file">;
@@ -26,11 +28,11 @@ export declare const bundleAssetSchema: z.ZodObject<{
26
28
  kind: z.ZodLiteral<"artifact">;
27
29
  uri: z.ZodString;
28
30
  }, "strict", z.ZodTypeAny, {
29
- kind: "artifact";
30
31
  uri: string;
31
- }, {
32
32
  kind: "artifact";
33
+ }, {
33
34
  uri: string;
35
+ kind: "artifact";
34
36
  }>]>;
35
37
  mimeType: z.ZodNullable<z.ZodString>;
36
38
  altText: z.ZodNullable<z.ZodString>;
@@ -43,8 +45,8 @@ export declare const bundleAssetSchema: z.ZodObject<{
43
45
  kind: "file";
44
46
  rootId: string;
45
47
  } | {
46
- kind: "artifact";
47
48
  uri: string;
49
+ kind: "artifact";
48
50
  };
49
51
  mimeType: string | null;
50
52
  altText: string | null;
@@ -57,15 +59,15 @@ export declare const bundleAssetSchema: z.ZodObject<{
57
59
  kind: "file";
58
60
  rootId: string;
59
61
  } | {
60
- kind: "artifact";
61
62
  uri: string;
63
+ kind: "artifact";
62
64
  };
63
65
  mimeType: string | null;
64
66
  altText: string | null;
65
67
  credit: string | null;
66
68
  license: string | null;
67
69
  }>;
68
- export declare const bundleDocumentSourceSchema: z.ZodObject<{
70
+ declare const bundleDocumentSourceSchema: z.ZodObject<{
69
71
  kind: z.ZodLiteral<"bundle">;
70
72
  markdown: z.ZodString;
71
73
  assets: z.ZodArray<z.ZodObject<{
@@ -86,11 +88,11 @@ export declare const bundleDocumentSourceSchema: z.ZodObject<{
86
88
  kind: z.ZodLiteral<"artifact">;
87
89
  uri: z.ZodString;
88
90
  }, "strict", z.ZodTypeAny, {
89
- kind: "artifact";
90
91
  uri: string;
91
- }, {
92
92
  kind: "artifact";
93
+ }, {
93
94
  uri: string;
95
+ kind: "artifact";
94
96
  }>]>;
95
97
  mimeType: z.ZodNullable<z.ZodString>;
96
98
  altText: z.ZodNullable<z.ZodString>;
@@ -103,8 +105,8 @@ export declare const bundleDocumentSourceSchema: z.ZodObject<{
103
105
  kind: "file";
104
106
  rootId: string;
105
107
  } | {
106
- kind: "artifact";
107
108
  uri: string;
109
+ kind: "artifact";
108
110
  };
109
111
  mimeType: string | null;
110
112
  altText: string | null;
@@ -117,8 +119,8 @@ export declare const bundleDocumentSourceSchema: z.ZodObject<{
117
119
  kind: "file";
118
120
  rootId: string;
119
121
  } | {
120
- kind: "artifact";
121
122
  uri: string;
123
+ kind: "artifact";
122
124
  };
123
125
  mimeType: string | null;
124
126
  altText: string | null;
@@ -128,8 +130,8 @@ export declare const bundleDocumentSourceSchema: z.ZodObject<{
128
130
  name: z.ZodNullable<z.ZodString>;
129
131
  }, "strict", z.ZodTypeAny, {
130
132
  name: string | null;
131
- kind: "bundle";
132
133
  markdown: string;
134
+ kind: "bundle";
133
135
  assets: {
134
136
  path: string;
135
137
  source: {
@@ -137,8 +139,8 @@ export declare const bundleDocumentSourceSchema: z.ZodObject<{
137
139
  kind: "file";
138
140
  rootId: string;
139
141
  } | {
140
- kind: "artifact";
141
142
  uri: string;
143
+ kind: "artifact";
142
144
  };
143
145
  mimeType: string | null;
144
146
  altText: string | null;
@@ -147,8 +149,8 @@ export declare const bundleDocumentSourceSchema: z.ZodObject<{
147
149
  }[];
148
150
  }, {
149
151
  name: string | null;
150
- kind: "bundle";
151
152
  markdown: string;
153
+ kind: "bundle";
152
154
  assets: {
153
155
  path: string;
154
156
  source: {
@@ -156,8 +158,8 @@ export declare const bundleDocumentSourceSchema: z.ZodObject<{
156
158
  kind: "file";
157
159
  rootId: string;
158
160
  } | {
159
- kind: "artifact";
160
161
  uri: string;
162
+ kind: "artifact";
161
163
  };
162
164
  mimeType: string | null;
163
165
  altText: string | null;
@@ -165,18 +167,18 @@ export declare const bundleDocumentSourceSchema: z.ZodObject<{
165
167
  license: string | null;
166
168
  }[];
167
169
  }>;
168
- export declare const documentSourceSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
170
+ declare const documentSourceSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
169
171
  kind: z.ZodLiteral<"markdown">;
170
172
  markdown: z.ZodString;
171
173
  name: z.ZodNullable<z.ZodString>;
172
174
  }, "strict", z.ZodTypeAny, {
173
175
  name: string | null;
174
- kind: "markdown";
175
176
  markdown: string;
177
+ kind: "markdown";
176
178
  }, {
177
179
  name: string | null;
178
- kind: "markdown";
179
180
  markdown: string;
181
+ kind: "markdown";
180
182
  }>, z.ZodObject<{
181
183
  kind: z.ZodLiteral<"file">;
182
184
  rootId: z.ZodString;
@@ -184,23 +186,23 @@ export declare const documentSourceSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
184
186
  format: z.ZodNullable<z.ZodString>;
185
187
  }, "strict", z.ZodTypeAny, {
186
188
  path: string;
187
- kind: "file";
188
189
  format: string | null;
190
+ kind: "file";
189
191
  rootId: string;
190
192
  }, {
191
193
  path: string;
192
- kind: "file";
193
194
  format: string | null;
195
+ kind: "file";
194
196
  rootId: string;
195
197
  }>, z.ZodObject<{
196
198
  kind: z.ZodLiteral<"artifact">;
197
199
  uri: z.ZodString;
198
200
  }, "strict", z.ZodTypeAny, {
199
- kind: "artifact";
200
201
  uri: string;
201
- }, {
202
202
  kind: "artifact";
203
+ }, {
203
204
  uri: string;
205
+ kind: "artifact";
204
206
  }>, z.ZodObject<{
205
207
  kind: z.ZodLiteral<"bundle">;
206
208
  markdown: z.ZodString;
@@ -222,11 +224,11 @@ export declare const documentSourceSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
222
224
  kind: z.ZodLiteral<"artifact">;
223
225
  uri: z.ZodString;
224
226
  }, "strict", z.ZodTypeAny, {
225
- kind: "artifact";
226
227
  uri: string;
227
- }, {
228
228
  kind: "artifact";
229
+ }, {
229
230
  uri: string;
231
+ kind: "artifact";
230
232
  }>]>;
231
233
  mimeType: z.ZodNullable<z.ZodString>;
232
234
  altText: z.ZodNullable<z.ZodString>;
@@ -239,8 +241,8 @@ export declare const documentSourceSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
239
241
  kind: "file";
240
242
  rootId: string;
241
243
  } | {
242
- kind: "artifact";
243
244
  uri: string;
245
+ kind: "artifact";
244
246
  };
245
247
  mimeType: string | null;
246
248
  altText: string | null;
@@ -253,8 +255,8 @@ export declare const documentSourceSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
253
255
  kind: "file";
254
256
  rootId: string;
255
257
  } | {
256
- kind: "artifact";
257
258
  uri: string;
259
+ kind: "artifact";
258
260
  };
259
261
  mimeType: string | null;
260
262
  altText: string | null;
@@ -264,8 +266,8 @@ export declare const documentSourceSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
264
266
  name: z.ZodNullable<z.ZodString>;
265
267
  }, "strict", z.ZodTypeAny, {
266
268
  name: string | null;
267
- kind: "bundle";
268
269
  markdown: string;
270
+ kind: "bundle";
269
271
  assets: {
270
272
  path: string;
271
273
  source: {
@@ -273,8 +275,8 @@ export declare const documentSourceSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
273
275
  kind: "file";
274
276
  rootId: string;
275
277
  } | {
276
- kind: "artifact";
277
278
  uri: string;
279
+ kind: "artifact";
278
280
  };
279
281
  mimeType: string | null;
280
282
  altText: string | null;
@@ -283,8 +285,8 @@ export declare const documentSourceSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
283
285
  }[];
284
286
  }, {
285
287
  name: string | null;
286
- kind: "bundle";
287
288
  markdown: string;
289
+ kind: "bundle";
288
290
  assets: {
289
291
  path: string;
290
292
  source: {
@@ -292,8 +294,8 @@ export declare const documentSourceSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
292
294
  kind: "file";
293
295
  rootId: string;
294
296
  } | {
295
- kind: "artifact";
296
297
  uri: string;
298
+ kind: "artifact";
297
299
  };
298
300
  mimeType: string | null;
299
301
  altText: string | null;
@@ -301,7 +303,7 @@ export declare const documentSourceSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
301
303
  license: string | null;
302
304
  }[];
303
305
  }>]>;
304
- export declare const artifactRefSchema: z.ZodEffects<z.ZodObject<{
306
+ declare const artifactRefSchema: z.ZodEffects<z.ZodObject<{
305
307
  id: z.ZodString;
306
308
  uri: z.ZodString;
307
309
  format: z.ZodString;
@@ -334,12 +336,11 @@ export declare const artifactRefSchema: z.ZodEffects<z.ZodObject<{
334
336
  createdAt: z.ZodEffects<z.ZodString, string, string>;
335
337
  expiresAt: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
336
338
  }, "strict", z.ZodTypeAny, {
337
- size: number;
338
- createdAt: string;
339
339
  id: string;
340
340
  uri: string;
341
341
  format: string;
342
342
  mimeType: string;
343
+ size: number;
343
344
  sha256: string;
344
345
  sourceFormat: string | null;
345
346
  sourceSha256: string | null;
@@ -352,14 +353,14 @@ export declare const artifactRefSchema: z.ZodEffects<z.ZodObject<{
352
353
  name: string;
353
354
  version: string;
354
355
  }[];
356
+ createdAt: string;
355
357
  expiresAt: string | null;
356
358
  }, {
357
- size: number;
358
- createdAt: string;
359
359
  id: string;
360
360
  uri: string;
361
361
  format: string;
362
362
  mimeType: string;
363
+ size: number;
363
364
  sha256: string;
364
365
  sourceFormat: string | null;
365
366
  sourceSha256: string | null;
@@ -372,14 +373,14 @@ export declare const artifactRefSchema: z.ZodEffects<z.ZodObject<{
372
373
  name: string;
373
374
  version: string;
374
375
  }[];
376
+ createdAt: string;
375
377
  expiresAt: string | null;
376
378
  }>, {
377
- size: number;
378
- createdAt: string;
379
379
  id: string;
380
380
  uri: string;
381
381
  format: string;
382
382
  mimeType: string;
383
+ size: number;
383
384
  sha256: string;
384
385
  sourceFormat: string | null;
385
386
  sourceSha256: string | null;
@@ -392,14 +393,14 @@ export declare const artifactRefSchema: z.ZodEffects<z.ZodObject<{
392
393
  name: string;
393
394
  version: string;
394
395
  }[];
396
+ createdAt: string;
395
397
  expiresAt: string | null;
396
398
  }, {
397
- size: number;
398
- createdAt: string;
399
399
  id: string;
400
400
  uri: string;
401
401
  format: string;
402
402
  mimeType: string;
403
+ size: number;
403
404
  sha256: string;
404
405
  sourceFormat: string | null;
405
406
  sourceSha256: string | null;
@@ -412,9 +413,10 @@ export declare const artifactRefSchema: z.ZodEffects<z.ZodObject<{
412
413
  name: string;
413
414
  version: string;
414
415
  }[];
416
+ createdAt: string;
415
417
  expiresAt: string | null;
416
418
  }>;
417
- export declare const diagnosticSchema: z.ZodObject<{
419
+ declare const diagnosticSchema: z.ZodObject<{
418
420
  code: z.ZodString;
419
421
  severity: z.ZodEnum<["info", "warning", "error"]>;
420
422
  stage: z.ZodEnum<["resolve", "import", "parse", "inspect", "validate", "transform", "convert", "render", "export", "materialize", "compare"]>;
@@ -462,17 +464,22 @@ export declare const diagnosticSchema: z.ZodObject<{
462
464
  index: z.ZodNumber;
463
465
  }, "strict", z.ZodTypeAny, {
464
466
  kind: "item";
465
- index: number;
466
467
  itemKind: "page" | "slide" | "sheet" | "frame";
468
+ index: number;
467
469
  }, {
468
470
  kind: "item";
469
- index: number;
470
471
  itemKind: "page" | "slide" | "sheet" | "frame";
472
+ index: number;
471
473
  }>]>>;
472
474
  }, "strict", z.ZodTypeAny, {
473
475
  code: string;
474
476
  message: string;
475
477
  retryable: boolean;
478
+ format: string | null;
479
+ severity: "info" | "warning" | "error";
480
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
481
+ count: number;
482
+ remediation: string | null;
476
483
  location: {
477
484
  kind: "source";
478
485
  line: number;
@@ -486,18 +493,18 @@ export declare const diagnosticSchema: z.ZodObject<{
486
493
  kind: "asset";
487
494
  } | {
488
495
  kind: "item";
489
- index: number;
490
496
  itemKind: "page" | "slide" | "sheet" | "frame";
497
+ index: number;
491
498
  } | null;
492
- format: string | null;
493
- severity: "error" | "info" | "warning";
494
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
495
- count: number;
496
- remediation: string | null;
497
499
  }, {
498
500
  code: string;
499
501
  message: string;
500
502
  retryable: boolean;
503
+ format: string | null;
504
+ severity: "info" | "warning" | "error";
505
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
506
+ count: number;
507
+ remediation: string | null;
501
508
  location: {
502
509
  kind: "source";
503
510
  line: number;
@@ -511,16 +518,11 @@ export declare const diagnosticSchema: z.ZodObject<{
511
518
  kind: "asset";
512
519
  } | {
513
520
  kind: "item";
514
- index: number;
515
521
  itemKind: "page" | "slide" | "sheet" | "frame";
522
+ index: number;
516
523
  } | null;
517
- format: string | null;
518
- severity: "error" | "info" | "warning";
519
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
520
- count: number;
521
- remediation: string | null;
522
524
  }>;
523
- export declare const mcpErrorDetailSchema: z.ZodEffects<z.ZodObject<{
525
+ declare const mcpErrorDetailSchema: z.ZodEffects<z.ZodObject<{
524
526
  code: z.ZodString;
525
527
  message: z.ZodString;
526
528
  stage: z.ZodNullable<z.ZodEnum<["resolve", "import", "parse", "inspect", "validate", "transform", "convert", "render", "export", "materialize", "compare"]>>;
@@ -582,7 +584,7 @@ export declare const mcpErrorDetailSchema: z.ZodEffects<z.ZodObject<{
582
584
  capacity: number;
583
585
  } | null;
584
586
  }>;
585
- export declare const mcpErrorResultSchema: z.ZodObject<{
587
+ declare const mcpErrorResultSchema: z.ZodObject<{
586
588
  version: z.ZodLiteral<1>;
587
589
  kind: z.ZodLiteral<"error">;
588
590
  result: z.ZodNull;
@@ -690,16 +692,16 @@ export declare const mcpErrorResultSchema: z.ZodObject<{
690
692
  * runtime validation still delegates to the original Zod 3 schemas so custom
691
693
  * exact-wire refinements remain authoritative.
692
694
  */
693
- export declare function toolOutputSchema<T extends z.ZodTypeAny>(success: T): z4.ZodObject<{
694
- version: z4.ZodLiteral<1>;
695
- kind: z4.ZodEnum<{
695
+ declare function toolOutputSchema<T extends z.ZodTypeAny>(success: T): z$1.ZodObject<{
696
+ version: z$1.ZodLiteral<1>;
697
+ kind: z$1.ZodEnum<{
696
698
  error: "error";
697
699
  success: "success";
698
700
  }>;
699
- result: z4.ZodUnknown;
700
- error: z4.ZodUnknown;
701
- }, z4.core.$strict>;
702
- export declare const conversionResultSchema: z.ZodEffects<z.ZodObject<{
701
+ result: z$1.ZodUnknown;
702
+ error: z$1.ZodUnknown;
703
+ }, z$1.core.$strict>;
704
+ declare const conversionResultSchema: z.ZodEffects<z.ZodObject<{
703
705
  version: z.ZodLiteral<1>;
704
706
  kind: z.ZodLiteral<"conversion">;
705
707
  sourceFormat: z.ZodString;
@@ -737,12 +739,11 @@ export declare const conversionResultSchema: z.ZodEffects<z.ZodObject<{
737
739
  createdAt: z.ZodEffects<z.ZodString, string, string>;
738
740
  expiresAt: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
739
741
  }, "strict", z.ZodTypeAny, {
740
- size: number;
741
- createdAt: string;
742
742
  id: string;
743
743
  uri: string;
744
744
  format: string;
745
745
  mimeType: string;
746
+ size: number;
746
747
  sha256: string;
747
748
  sourceFormat: string | null;
748
749
  sourceSha256: string | null;
@@ -755,14 +756,14 @@ export declare const conversionResultSchema: z.ZodEffects<z.ZodObject<{
755
756
  name: string;
756
757
  version: string;
757
758
  }[];
759
+ createdAt: string;
758
760
  expiresAt: string | null;
759
761
  }, {
760
- size: number;
761
- createdAt: string;
762
762
  id: string;
763
763
  uri: string;
764
764
  format: string;
765
765
  mimeType: string;
766
+ size: number;
766
767
  sha256: string;
767
768
  sourceFormat: string | null;
768
769
  sourceSha256: string | null;
@@ -775,14 +776,14 @@ export declare const conversionResultSchema: z.ZodEffects<z.ZodObject<{
775
776
  name: string;
776
777
  version: string;
777
778
  }[];
779
+ createdAt: string;
778
780
  expiresAt: string | null;
779
781
  }>, {
780
- size: number;
781
- createdAt: string;
782
782
  id: string;
783
783
  uri: string;
784
784
  format: string;
785
785
  mimeType: string;
786
+ size: number;
786
787
  sha256: string;
787
788
  sourceFormat: string | null;
788
789
  sourceSha256: string | null;
@@ -795,14 +796,14 @@ export declare const conversionResultSchema: z.ZodEffects<z.ZodObject<{
795
796
  name: string;
796
797
  version: string;
797
798
  }[];
799
+ createdAt: string;
798
800
  expiresAt: string | null;
799
801
  }, {
800
- size: number;
801
- createdAt: string;
802
802
  id: string;
803
803
  uri: string;
804
804
  format: string;
805
805
  mimeType: string;
806
+ size: number;
806
807
  sha256: string;
807
808
  sourceFormat: string | null;
808
809
  sourceSha256: string | null;
@@ -815,6 +816,7 @@ export declare const conversionResultSchema: z.ZodEffects<z.ZodObject<{
815
816
  name: string;
816
817
  version: string;
817
818
  }[];
819
+ createdAt: string;
818
820
  expiresAt: string | null;
819
821
  }>;
820
822
  fidelity: z.ZodEnum<["semantic", "editable-native", "rendered-fidelity", "hybrid"]>;
@@ -830,16 +832,16 @@ export declare const conversionResultSchema: z.ZodEffects<z.ZodObject<{
830
832
  license: z.ZodNullable<z.ZodString>;
831
833
  }, "strict", z.ZodTypeAny, {
832
834
  path: string;
833
- size: number;
834
835
  mimeType: string;
836
+ size: number;
835
837
  sha256: string | null;
836
838
  altText: string | null;
837
839
  credit: string | null;
838
840
  license: string | null;
839
841
  }, {
840
842
  path: string;
841
- size: number;
842
843
  mimeType: string;
844
+ size: number;
843
845
  sha256: string | null;
844
846
  altText: string | null;
845
847
  credit: string | null;
@@ -894,17 +896,22 @@ export declare const conversionResultSchema: z.ZodEffects<z.ZodObject<{
894
896
  index: z.ZodNumber;
895
897
  }, "strict", z.ZodTypeAny, {
896
898
  kind: "item";
897
- index: number;
898
899
  itemKind: "page" | "slide" | "sheet" | "frame";
900
+ index: number;
899
901
  }, {
900
902
  kind: "item";
901
- index: number;
902
903
  itemKind: "page" | "slide" | "sheet" | "frame";
904
+ index: number;
903
905
  }>]>>;
904
906
  }, "strict", z.ZodTypeAny, {
905
907
  code: string;
906
908
  message: string;
907
909
  retryable: boolean;
910
+ format: string | null;
911
+ severity: "info" | "warning" | "error";
912
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
913
+ count: number;
914
+ remediation: string | null;
908
915
  location: {
909
916
  kind: "source";
910
917
  line: number;
@@ -918,18 +925,18 @@ export declare const conversionResultSchema: z.ZodEffects<z.ZodObject<{
918
925
  kind: "asset";
919
926
  } | {
920
927
  kind: "item";
921
- index: number;
922
928
  itemKind: "page" | "slide" | "sheet" | "frame";
929
+ index: number;
923
930
  } | null;
924
- format: string | null;
925
- severity: "error" | "info" | "warning";
926
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
927
- count: number;
928
- remediation: string | null;
929
931
  }, {
930
932
  code: string;
931
933
  message: string;
932
934
  retryable: boolean;
935
+ format: string | null;
936
+ severity: "info" | "warning" | "error";
937
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
938
+ count: number;
939
+ remediation: string | null;
933
940
  location: {
934
941
  kind: "source";
935
942
  line: number;
@@ -943,25 +950,17 @@ export declare const conversionResultSchema: z.ZodEffects<z.ZodObject<{
943
950
  kind: "asset";
944
951
  } | {
945
952
  kind: "item";
946
- index: number;
947
953
  itemKind: "page" | "slide" | "sheet" | "frame";
954
+ index: number;
948
955
  } | null;
949
- format: string | null;
950
- severity: "error" | "info" | "warning";
951
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
952
- count: number;
953
- remediation: string | null;
954
956
  }>, "many">;
955
957
  }, "strict", z.ZodTypeAny, {
956
- kind: "conversion";
957
- version: 1;
958
958
  artifact: {
959
- size: number;
960
- createdAt: string;
961
959
  id: string;
962
960
  uri: string;
963
961
  format: string;
964
962
  mimeType: string;
963
+ size: number;
965
964
  sha256: string;
966
965
  sourceFormat: string | null;
967
966
  sourceSha256: string | null;
@@ -974,17 +973,20 @@ export declare const conversionResultSchema: z.ZodEffects<z.ZodObject<{
974
973
  name: string;
975
974
  version: string;
976
975
  }[];
976
+ createdAt: string;
977
977
  expiresAt: string | null;
978
978
  };
979
979
  sourceFormat: string;
980
+ kind: "conversion";
981
+ version: 1;
980
982
  targetFormat: string;
981
983
  fidelity: "semantic" | "editable-native" | "rendered-fidelity" | "hybrid";
982
984
  appliedThemeId: string | null;
983
985
  appliedTransformId: string | null;
984
986
  sourceAssets: {
985
987
  path: string;
986
- size: number;
987
988
  mimeType: string;
989
+ size: number;
988
990
  sha256: string | null;
989
991
  altText: string | null;
990
992
  credit: string | null;
@@ -995,6 +997,11 @@ export declare const conversionResultSchema: z.ZodEffects<z.ZodObject<{
995
997
  code: string;
996
998
  message: string;
997
999
  retryable: boolean;
1000
+ format: string | null;
1001
+ severity: "info" | "warning" | "error";
1002
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
1003
+ count: number;
1004
+ remediation: string | null;
998
1005
  location: {
999
1006
  kind: "source";
1000
1007
  line: number;
@@ -1008,25 +1015,17 @@ export declare const conversionResultSchema: z.ZodEffects<z.ZodObject<{
1008
1015
  kind: "asset";
1009
1016
  } | {
1010
1017
  kind: "item";
1011
- index: number;
1012
1018
  itemKind: "page" | "slide" | "sheet" | "frame";
1019
+ index: number;
1013
1020
  } | null;
1014
- format: string | null;
1015
- severity: "error" | "info" | "warning";
1016
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
1017
- count: number;
1018
- remediation: string | null;
1019
1021
  }[];
1020
1022
  }, {
1021
- kind: "conversion";
1022
- version: 1;
1023
1023
  artifact: {
1024
- size: number;
1025
- createdAt: string;
1026
1024
  id: string;
1027
1025
  uri: string;
1028
1026
  format: string;
1029
1027
  mimeType: string;
1028
+ size: number;
1030
1029
  sha256: string;
1031
1030
  sourceFormat: string | null;
1032
1031
  sourceSha256: string | null;
@@ -1039,17 +1038,20 @@ export declare const conversionResultSchema: z.ZodEffects<z.ZodObject<{
1039
1038
  name: string;
1040
1039
  version: string;
1041
1040
  }[];
1041
+ createdAt: string;
1042
1042
  expiresAt: string | null;
1043
1043
  };
1044
1044
  sourceFormat: string;
1045
+ kind: "conversion";
1046
+ version: 1;
1045
1047
  targetFormat: string;
1046
1048
  fidelity: "semantic" | "editable-native" | "rendered-fidelity" | "hybrid";
1047
1049
  appliedThemeId: string | null;
1048
1050
  appliedTransformId: string | null;
1049
1051
  sourceAssets: {
1050
1052
  path: string;
1051
- size: number;
1052
1053
  mimeType: string;
1054
+ size: number;
1053
1055
  sha256: string | null;
1054
1056
  altText: string | null;
1055
1057
  credit: string | null;
@@ -1060,6 +1062,11 @@ export declare const conversionResultSchema: z.ZodEffects<z.ZodObject<{
1060
1062
  code: string;
1061
1063
  message: string;
1062
1064
  retryable: boolean;
1065
+ format: string | null;
1066
+ severity: "info" | "warning" | "error";
1067
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
1068
+ count: number;
1069
+ remediation: string | null;
1063
1070
  location: {
1064
1071
  kind: "source";
1065
1072
  line: number;
@@ -1073,25 +1080,17 @@ export declare const conversionResultSchema: z.ZodEffects<z.ZodObject<{
1073
1080
  kind: "asset";
1074
1081
  } | {
1075
1082
  kind: "item";
1076
- index: number;
1077
1083
  itemKind: "page" | "slide" | "sheet" | "frame";
1084
+ index: number;
1078
1085
  } | null;
1079
- format: string | null;
1080
- severity: "error" | "info" | "warning";
1081
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
1082
- count: number;
1083
- remediation: string | null;
1084
1086
  }[];
1085
1087
  }>, {
1086
- kind: "conversion";
1087
- version: 1;
1088
1088
  artifact: {
1089
- size: number;
1090
- createdAt: string;
1091
1089
  id: string;
1092
1090
  uri: string;
1093
1091
  format: string;
1094
1092
  mimeType: string;
1093
+ size: number;
1095
1094
  sha256: string;
1096
1095
  sourceFormat: string | null;
1097
1096
  sourceSha256: string | null;
@@ -1104,17 +1103,20 @@ export declare const conversionResultSchema: z.ZodEffects<z.ZodObject<{
1104
1103
  name: string;
1105
1104
  version: string;
1106
1105
  }[];
1106
+ createdAt: string;
1107
1107
  expiresAt: string | null;
1108
1108
  };
1109
1109
  sourceFormat: string;
1110
+ kind: "conversion";
1111
+ version: 1;
1110
1112
  targetFormat: string;
1111
1113
  fidelity: "semantic" | "editable-native" | "rendered-fidelity" | "hybrid";
1112
1114
  appliedThemeId: string | null;
1113
1115
  appliedTransformId: string | null;
1114
1116
  sourceAssets: {
1115
1117
  path: string;
1116
- size: number;
1117
1118
  mimeType: string;
1119
+ size: number;
1118
1120
  sha256: string | null;
1119
1121
  altText: string | null;
1120
1122
  credit: string | null;
@@ -1125,6 +1127,11 @@ export declare const conversionResultSchema: z.ZodEffects<z.ZodObject<{
1125
1127
  code: string;
1126
1128
  message: string;
1127
1129
  retryable: boolean;
1130
+ format: string | null;
1131
+ severity: "info" | "warning" | "error";
1132
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
1133
+ count: number;
1134
+ remediation: string | null;
1128
1135
  location: {
1129
1136
  kind: "source";
1130
1137
  line: number;
@@ -1138,25 +1145,17 @@ export declare const conversionResultSchema: z.ZodEffects<z.ZodObject<{
1138
1145
  kind: "asset";
1139
1146
  } | {
1140
1147
  kind: "item";
1141
- index: number;
1142
1148
  itemKind: "page" | "slide" | "sheet" | "frame";
1149
+ index: number;
1143
1150
  } | null;
1144
- format: string | null;
1145
- severity: "error" | "info" | "warning";
1146
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
1147
- count: number;
1148
- remediation: string | null;
1149
1151
  }[];
1150
1152
  }, {
1151
- kind: "conversion";
1152
- version: 1;
1153
1153
  artifact: {
1154
- size: number;
1155
- createdAt: string;
1156
1154
  id: string;
1157
1155
  uri: string;
1158
1156
  format: string;
1159
1157
  mimeType: string;
1158
+ size: number;
1160
1159
  sha256: string;
1161
1160
  sourceFormat: string | null;
1162
1161
  sourceSha256: string | null;
@@ -1169,17 +1168,20 @@ export declare const conversionResultSchema: z.ZodEffects<z.ZodObject<{
1169
1168
  name: string;
1170
1169
  version: string;
1171
1170
  }[];
1171
+ createdAt: string;
1172
1172
  expiresAt: string | null;
1173
1173
  };
1174
1174
  sourceFormat: string;
1175
+ kind: "conversion";
1176
+ version: 1;
1175
1177
  targetFormat: string;
1176
1178
  fidelity: "semantic" | "editable-native" | "rendered-fidelity" | "hybrid";
1177
1179
  appliedThemeId: string | null;
1178
1180
  appliedTransformId: string | null;
1179
1181
  sourceAssets: {
1180
1182
  path: string;
1181
- size: number;
1182
1183
  mimeType: string;
1184
+ size: number;
1183
1185
  sha256: string | null;
1184
1186
  altText: string | null;
1185
1187
  credit: string | null;
@@ -1190,6 +1192,11 @@ export declare const conversionResultSchema: z.ZodEffects<z.ZodObject<{
1190
1192
  code: string;
1191
1193
  message: string;
1192
1194
  retryable: boolean;
1195
+ format: string | null;
1196
+ severity: "info" | "warning" | "error";
1197
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
1198
+ count: number;
1199
+ remediation: string | null;
1193
1200
  location: {
1194
1201
  kind: "source";
1195
1202
  line: number;
@@ -1203,17 +1210,12 @@ export declare const conversionResultSchema: z.ZodEffects<z.ZodObject<{
1203
1210
  kind: "asset";
1204
1211
  } | {
1205
1212
  kind: "item";
1206
- index: number;
1207
1213
  itemKind: "page" | "slide" | "sheet" | "frame";
1214
+ index: number;
1208
1215
  } | null;
1209
- format: string | null;
1210
- severity: "error" | "info" | "warning";
1211
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
1212
- count: number;
1213
- remediation: string | null;
1214
1216
  }[];
1215
1217
  }>;
1216
- export declare const inspectionResultSchema: z.ZodEffects<z.ZodObject<{
1218
+ declare const inspectionResultSchema: z.ZodEffects<z.ZodObject<{
1217
1219
  version: z.ZodLiteral<1>;
1218
1220
  kind: z.ZodLiteral<"inspection">;
1219
1221
  sourceFormat: z.ZodString;
@@ -1295,9 +1297,9 @@ export declare const inspectionResultSchema: z.ZodEffects<z.ZodObject<{
1295
1297
  }>>;
1296
1298
  }, "strict", z.ZodTypeAny, {
1297
1299
  text: string;
1298
- type: string;
1299
1300
  id: string;
1300
1301
  wordCount: number;
1302
+ type: string;
1301
1303
  templateId: string | null;
1302
1304
  sourceRange: {
1303
1305
  start: number;
@@ -1305,9 +1307,9 @@ export declare const inspectionResultSchema: z.ZodEffects<z.ZodObject<{
1305
1307
  } | null;
1306
1308
  }, {
1307
1309
  text: string;
1308
- type: string;
1309
1310
  id: string;
1310
1311
  wordCount: number;
1312
+ type: string;
1311
1313
  templateId: string | null;
1312
1314
  sourceRange: {
1313
1315
  start: number;
@@ -1371,16 +1373,16 @@ export declare const inspectionResultSchema: z.ZodEffects<z.ZodObject<{
1371
1373
  license: z.ZodNullable<z.ZodString>;
1372
1374
  }, "strict", z.ZodTypeAny, {
1373
1375
  path: string;
1374
- size: number;
1375
1376
  mimeType: string;
1377
+ size: number;
1376
1378
  sha256: string | null;
1377
1379
  altText: string | null;
1378
1380
  credit: string | null;
1379
1381
  license: string | null;
1380
1382
  }, {
1381
1383
  path: string;
1382
- size: number;
1383
1384
  mimeType: string;
1385
+ size: number;
1384
1386
  sha256: string | null;
1385
1387
  altText: string | null;
1386
1388
  credit: string | null;
@@ -1393,12 +1395,12 @@ export declare const inspectionResultSchema: z.ZodEffects<z.ZodObject<{
1393
1395
  layouts: z.ZodArray<z.ZodString, "many">;
1394
1396
  }, "strict", z.ZodTypeAny, {
1395
1397
  name: string;
1396
- source: "document" | "built-in" | "inferred";
1398
+ source: "built-in" | "document" | "inferred";
1397
1399
  id: string;
1398
1400
  layouts: string[];
1399
1401
  }, {
1400
1402
  name: string;
1401
- source: "document" | "built-in" | "inferred";
1403
+ source: "built-in" | "document" | "inferred";
1402
1404
  id: string;
1403
1405
  layouts: string[];
1404
1406
  }>>;
@@ -1452,17 +1454,22 @@ export declare const inspectionResultSchema: z.ZodEffects<z.ZodObject<{
1452
1454
  index: z.ZodNumber;
1453
1455
  }, "strict", z.ZodTypeAny, {
1454
1456
  kind: "item";
1455
- index: number;
1456
1457
  itemKind: "page" | "slide" | "sheet" | "frame";
1458
+ index: number;
1457
1459
  }, {
1458
1460
  kind: "item";
1459
- index: number;
1460
1461
  itemKind: "page" | "slide" | "sheet" | "frame";
1462
+ index: number;
1461
1463
  }>]>>;
1462
1464
  }, "strict", z.ZodTypeAny, {
1463
1465
  code: string;
1464
1466
  message: string;
1465
1467
  retryable: boolean;
1468
+ format: string | null;
1469
+ severity: "info" | "warning" | "error";
1470
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
1471
+ count: number;
1472
+ remediation: string | null;
1466
1473
  location: {
1467
1474
  kind: "source";
1468
1475
  line: number;
@@ -1476,18 +1483,18 @@ export declare const inspectionResultSchema: z.ZodEffects<z.ZodObject<{
1476
1483
  kind: "asset";
1477
1484
  } | {
1478
1485
  kind: "item";
1479
- index: number;
1480
1486
  itemKind: "page" | "slide" | "sheet" | "frame";
1487
+ index: number;
1481
1488
  } | null;
1482
- format: string | null;
1483
- severity: "error" | "info" | "warning";
1484
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
1485
- count: number;
1486
- remediation: string | null;
1487
1489
  }, {
1488
1490
  code: string;
1489
1491
  message: string;
1490
1492
  retryable: boolean;
1493
+ format: string | null;
1494
+ severity: "info" | "warning" | "error";
1495
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
1496
+ count: number;
1497
+ remediation: string | null;
1491
1498
  location: {
1492
1499
  kind: "source";
1493
1500
  line: number;
@@ -1501,43 +1508,43 @@ export declare const inspectionResultSchema: z.ZodEffects<z.ZodObject<{
1501
1508
  kind: "asset";
1502
1509
  } | {
1503
1510
  kind: "item";
1504
- index: number;
1505
1511
  itemKind: "page" | "slide" | "sheet" | "frame";
1512
+ index: number;
1506
1513
  } | null;
1507
- format: string | null;
1508
- severity: "error" | "info" | "warning";
1509
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
1510
- count: number;
1511
- remediation: string | null;
1512
1514
  }>, "many">;
1513
1515
  }, "strict", z.ZodTypeAny, {
1514
- kind: "inspection";
1515
- version: 1;
1516
- metadata: {
1517
- title: string | null;
1518
- author: string | null;
1519
- description: string | null;
1520
- };
1521
1516
  theme: {
1522
1517
  name: string;
1523
- source: "document" | "built-in" | "inferred";
1518
+ source: "built-in" | "document" | "inferred";
1524
1519
  id: string;
1525
1520
  layouts: string[];
1526
1521
  } | null;
1527
- sourceFormat: string;
1522
+ metadata: {
1523
+ title: string | null;
1524
+ author: string | null;
1525
+ description: string | null;
1526
+ };
1527
+ sourceFormat: string;
1528
+ kind: "inspection";
1528
1529
  assets: {
1529
1530
  path: string;
1530
- size: number;
1531
1531
  mimeType: string;
1532
+ size: number;
1532
1533
  sha256: string | null;
1533
1534
  altText: string | null;
1534
1535
  credit: string | null;
1535
1536
  license: string | null;
1536
1537
  }[];
1538
+ version: 1;
1537
1539
  diagnostics: {
1538
1540
  code: string;
1539
1541
  message: string;
1540
1542
  retryable: boolean;
1543
+ format: string | null;
1544
+ severity: "info" | "warning" | "error";
1545
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
1546
+ count: number;
1547
+ remediation: string | null;
1541
1548
  location: {
1542
1549
  kind: "source";
1543
1550
  line: number;
@@ -1551,14 +1558,9 @@ export declare const inspectionResultSchema: z.ZodEffects<z.ZodObject<{
1551
1558
  kind: "asset";
1552
1559
  } | {
1553
1560
  kind: "item";
1554
- index: number;
1555
1561
  itemKind: "page" | "slide" | "sheet" | "frame";
1562
+ index: number;
1556
1563
  } | null;
1557
- format: string | null;
1558
- severity: "error" | "info" | "warning";
1559
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
1560
- count: number;
1561
- remediation: string | null;
1562
1564
  }[];
1563
1565
  statistics: {
1564
1566
  blockCount: number;
@@ -1579,9 +1581,9 @@ export declare const inspectionResultSchema: z.ZodEffects<z.ZodObject<{
1579
1581
  }[];
1580
1582
  blocks: {
1581
1583
  text: string;
1582
- type: string;
1583
1584
  id: string;
1584
1585
  wordCount: number;
1586
+ type: string;
1585
1587
  templateId: string | null;
1586
1588
  sourceRange: {
1587
1589
  start: number;
@@ -1610,33 +1612,38 @@ export declare const inspectionResultSchema: z.ZodEffects<z.ZodObject<{
1610
1612
  truncated: boolean;
1611
1613
  detailsTruncated: boolean;
1612
1614
  }, {
1613
- kind: "inspection";
1614
- version: 1;
1615
- metadata: {
1616
- title: string | null;
1617
- author: string | null;
1618
- description: string | null;
1619
- };
1620
1615
  theme: {
1621
1616
  name: string;
1622
- source: "document" | "built-in" | "inferred";
1617
+ source: "built-in" | "document" | "inferred";
1623
1618
  id: string;
1624
1619
  layouts: string[];
1625
1620
  } | null;
1621
+ metadata: {
1622
+ title: string | null;
1623
+ author: string | null;
1624
+ description: string | null;
1625
+ };
1626
1626
  sourceFormat: string;
1627
+ kind: "inspection";
1627
1628
  assets: {
1628
1629
  path: string;
1629
- size: number;
1630
1630
  mimeType: string;
1631
+ size: number;
1631
1632
  sha256: string | null;
1632
1633
  altText: string | null;
1633
1634
  credit: string | null;
1634
1635
  license: string | null;
1635
1636
  }[];
1637
+ version: 1;
1636
1638
  diagnostics: {
1637
1639
  code: string;
1638
1640
  message: string;
1639
1641
  retryable: boolean;
1642
+ format: string | null;
1643
+ severity: "info" | "warning" | "error";
1644
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
1645
+ count: number;
1646
+ remediation: string | null;
1640
1647
  location: {
1641
1648
  kind: "source";
1642
1649
  line: number;
@@ -1650,14 +1657,9 @@ export declare const inspectionResultSchema: z.ZodEffects<z.ZodObject<{
1650
1657
  kind: "asset";
1651
1658
  } | {
1652
1659
  kind: "item";
1653
- index: number;
1654
1660
  itemKind: "page" | "slide" | "sheet" | "frame";
1661
+ index: number;
1655
1662
  } | null;
1656
- format: string | null;
1657
- severity: "error" | "info" | "warning";
1658
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
1659
- count: number;
1660
- remediation: string | null;
1661
1663
  }[];
1662
1664
  statistics: {
1663
1665
  blockCount: number;
@@ -1678,9 +1680,9 @@ export declare const inspectionResultSchema: z.ZodEffects<z.ZodObject<{
1678
1680
  }[];
1679
1681
  blocks: {
1680
1682
  text: string;
1681
- type: string;
1682
1683
  id: string;
1683
1684
  wordCount: number;
1685
+ type: string;
1684
1686
  templateId: string | null;
1685
1687
  sourceRange: {
1686
1688
  start: number;
@@ -1709,33 +1711,38 @@ export declare const inspectionResultSchema: z.ZodEffects<z.ZodObject<{
1709
1711
  truncated: boolean;
1710
1712
  detailsTruncated: boolean;
1711
1713
  }>, {
1712
- kind: "inspection";
1713
- version: 1;
1714
- metadata: {
1715
- title: string | null;
1716
- author: string | null;
1717
- description: string | null;
1718
- };
1719
1714
  theme: {
1720
1715
  name: string;
1721
- source: "document" | "built-in" | "inferred";
1716
+ source: "built-in" | "document" | "inferred";
1722
1717
  id: string;
1723
1718
  layouts: string[];
1724
1719
  } | null;
1720
+ metadata: {
1721
+ title: string | null;
1722
+ author: string | null;
1723
+ description: string | null;
1724
+ };
1725
1725
  sourceFormat: string;
1726
+ kind: "inspection";
1726
1727
  assets: {
1727
1728
  path: string;
1728
- size: number;
1729
1729
  mimeType: string;
1730
+ size: number;
1730
1731
  sha256: string | null;
1731
1732
  altText: string | null;
1732
1733
  credit: string | null;
1733
1734
  license: string | null;
1734
1735
  }[];
1736
+ version: 1;
1735
1737
  diagnostics: {
1736
1738
  code: string;
1737
1739
  message: string;
1738
1740
  retryable: boolean;
1741
+ format: string | null;
1742
+ severity: "info" | "warning" | "error";
1743
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
1744
+ count: number;
1745
+ remediation: string | null;
1739
1746
  location: {
1740
1747
  kind: "source";
1741
1748
  line: number;
@@ -1749,14 +1756,9 @@ export declare const inspectionResultSchema: z.ZodEffects<z.ZodObject<{
1749
1756
  kind: "asset";
1750
1757
  } | {
1751
1758
  kind: "item";
1752
- index: number;
1753
1759
  itemKind: "page" | "slide" | "sheet" | "frame";
1760
+ index: number;
1754
1761
  } | null;
1755
- format: string | null;
1756
- severity: "error" | "info" | "warning";
1757
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
1758
- count: number;
1759
- remediation: string | null;
1760
1762
  }[];
1761
1763
  statistics: {
1762
1764
  blockCount: number;
@@ -1777,9 +1779,9 @@ export declare const inspectionResultSchema: z.ZodEffects<z.ZodObject<{
1777
1779
  }[];
1778
1780
  blocks: {
1779
1781
  text: string;
1780
- type: string;
1781
1782
  id: string;
1782
1783
  wordCount: number;
1784
+ type: string;
1783
1785
  templateId: string | null;
1784
1786
  sourceRange: {
1785
1787
  start: number;
@@ -1808,33 +1810,38 @@ export declare const inspectionResultSchema: z.ZodEffects<z.ZodObject<{
1808
1810
  truncated: boolean;
1809
1811
  detailsTruncated: boolean;
1810
1812
  }, {
1811
- kind: "inspection";
1812
- version: 1;
1813
- metadata: {
1814
- title: string | null;
1815
- author: string | null;
1816
- description: string | null;
1817
- };
1818
1813
  theme: {
1819
1814
  name: string;
1820
- source: "document" | "built-in" | "inferred";
1815
+ source: "built-in" | "document" | "inferred";
1821
1816
  id: string;
1822
1817
  layouts: string[];
1823
1818
  } | null;
1819
+ metadata: {
1820
+ title: string | null;
1821
+ author: string | null;
1822
+ description: string | null;
1823
+ };
1824
1824
  sourceFormat: string;
1825
+ kind: "inspection";
1825
1826
  assets: {
1826
1827
  path: string;
1827
- size: number;
1828
1828
  mimeType: string;
1829
+ size: number;
1829
1830
  sha256: string | null;
1830
1831
  altText: string | null;
1831
1832
  credit: string | null;
1832
1833
  license: string | null;
1833
1834
  }[];
1835
+ version: 1;
1834
1836
  diagnostics: {
1835
1837
  code: string;
1836
1838
  message: string;
1837
1839
  retryable: boolean;
1840
+ format: string | null;
1841
+ severity: "info" | "warning" | "error";
1842
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
1843
+ count: number;
1844
+ remediation: string | null;
1838
1845
  location: {
1839
1846
  kind: "source";
1840
1847
  line: number;
@@ -1848,14 +1855,9 @@ export declare const inspectionResultSchema: z.ZodEffects<z.ZodObject<{
1848
1855
  kind: "asset";
1849
1856
  } | {
1850
1857
  kind: "item";
1851
- index: number;
1852
1858
  itemKind: "page" | "slide" | "sheet" | "frame";
1859
+ index: number;
1853
1860
  } | null;
1854
- format: string | null;
1855
- severity: "error" | "info" | "warning";
1856
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
1857
- count: number;
1858
- remediation: string | null;
1859
1861
  }[];
1860
1862
  statistics: {
1861
1863
  blockCount: number;
@@ -1876,9 +1878,9 @@ export declare const inspectionResultSchema: z.ZodEffects<z.ZodObject<{
1876
1878
  }[];
1877
1879
  blocks: {
1878
1880
  text: string;
1879
- type: string;
1880
1881
  id: string;
1881
1882
  wordCount: number;
1883
+ type: string;
1882
1884
  templateId: string | null;
1883
1885
  sourceRange: {
1884
1886
  start: number;
@@ -1907,7 +1909,7 @@ export declare const inspectionResultSchema: z.ZodEffects<z.ZodObject<{
1907
1909
  truncated: boolean;
1908
1910
  detailsTruncated: boolean;
1909
1911
  }>;
1910
- export declare const validationResultSchema: z.ZodEffects<z.ZodObject<{
1912
+ declare const validationResultSchema: z.ZodEffects<z.ZodObject<{
1911
1913
  version: z.ZodLiteral<1>;
1912
1914
  kind: z.ZodLiteral<"validation">;
1913
1915
  sourceFormat: z.ZodString;
@@ -1974,17 +1976,22 @@ export declare const validationResultSchema: z.ZodEffects<z.ZodObject<{
1974
1976
  index: z.ZodNumber;
1975
1977
  }, "strict", z.ZodTypeAny, {
1976
1978
  kind: "item";
1977
- index: number;
1978
1979
  itemKind: "page" | "slide" | "sheet" | "frame";
1980
+ index: number;
1979
1981
  }, {
1980
1982
  kind: "item";
1981
- index: number;
1982
1983
  itemKind: "page" | "slide" | "sheet" | "frame";
1984
+ index: number;
1983
1985
  }>]>>;
1984
1986
  }, "strict", z.ZodTypeAny, {
1985
1987
  code: string;
1986
1988
  message: string;
1987
1989
  retryable: boolean;
1990
+ format: string | null;
1991
+ severity: "info" | "warning" | "error";
1992
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
1993
+ count: number;
1994
+ remediation: string | null;
1988
1995
  location: {
1989
1996
  kind: "source";
1990
1997
  line: number;
@@ -1998,18 +2005,18 @@ export declare const validationResultSchema: z.ZodEffects<z.ZodObject<{
1998
2005
  kind: "asset";
1999
2006
  } | {
2000
2007
  kind: "item";
2001
- index: number;
2002
2008
  itemKind: "page" | "slide" | "sheet" | "frame";
2009
+ index: number;
2003
2010
  } | null;
2004
- format: string | null;
2005
- severity: "error" | "info" | "warning";
2006
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2007
- count: number;
2008
- remediation: string | null;
2009
2011
  }, {
2010
2012
  code: string;
2011
2013
  message: string;
2012
2014
  retryable: boolean;
2015
+ format: string | null;
2016
+ severity: "info" | "warning" | "error";
2017
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2018
+ count: number;
2019
+ remediation: string | null;
2013
2020
  location: {
2014
2021
  kind: "source";
2015
2022
  line: number;
@@ -2023,24 +2030,24 @@ export declare const validationResultSchema: z.ZodEffects<z.ZodObject<{
2023
2030
  kind: "asset";
2024
2031
  } | {
2025
2032
  kind: "item";
2026
- index: number;
2027
2033
  itemKind: "page" | "slide" | "sheet" | "frame";
2034
+ index: number;
2028
2035
  } | null;
2029
- format: string | null;
2030
- severity: "error" | "info" | "warning";
2031
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2032
- count: number;
2033
- remediation: string | null;
2034
2036
  }>, "many">;
2035
2037
  }, "strict", z.ZodTypeAny, {
2038
+ sourceFormat: string;
2036
2039
  kind: "validation";
2037
2040
  version: 1;
2038
- sourceFormat: string;
2039
2041
  targetFormat: string | null;
2040
2042
  diagnostics: {
2041
2043
  code: string;
2042
2044
  message: string;
2043
2045
  retryable: boolean;
2046
+ format: string | null;
2047
+ severity: "info" | "warning" | "error";
2048
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2049
+ count: number;
2050
+ remediation: string | null;
2044
2051
  location: {
2045
2052
  kind: "source";
2046
2053
  line: number;
@@ -2054,14 +2061,9 @@ export declare const validationResultSchema: z.ZodEffects<z.ZodObject<{
2054
2061
  kind: "asset";
2055
2062
  } | {
2056
2063
  kind: "item";
2057
- index: number;
2058
2064
  itemKind: "page" | "slide" | "sheet" | "frame";
2065
+ index: number;
2059
2066
  } | null;
2060
- format: string | null;
2061
- severity: "error" | "info" | "warning";
2062
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2063
- count: number;
2064
- remediation: string | null;
2065
2067
  }[];
2066
2068
  valid: boolean;
2067
2069
  summary: {
@@ -2070,14 +2072,19 @@ export declare const validationResultSchema: z.ZodEffects<z.ZodObject<{
2070
2072
  infoCount: number;
2071
2073
  };
2072
2074
  }, {
2075
+ sourceFormat: string;
2073
2076
  kind: "validation";
2074
2077
  version: 1;
2075
- sourceFormat: string;
2076
2078
  targetFormat: string | null;
2077
2079
  diagnostics: {
2078
2080
  code: string;
2079
2081
  message: string;
2080
2082
  retryable: boolean;
2083
+ format: string | null;
2084
+ severity: "info" | "warning" | "error";
2085
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2086
+ count: number;
2087
+ remediation: string | null;
2081
2088
  location: {
2082
2089
  kind: "source";
2083
2090
  line: number;
@@ -2091,14 +2098,9 @@ export declare const validationResultSchema: z.ZodEffects<z.ZodObject<{
2091
2098
  kind: "asset";
2092
2099
  } | {
2093
2100
  kind: "item";
2094
- index: number;
2095
2101
  itemKind: "page" | "slide" | "sheet" | "frame";
2102
+ index: number;
2096
2103
  } | null;
2097
- format: string | null;
2098
- severity: "error" | "info" | "warning";
2099
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2100
- count: number;
2101
- remediation: string | null;
2102
2104
  }[];
2103
2105
  valid: boolean;
2104
2106
  summary: {
@@ -2107,14 +2109,19 @@ export declare const validationResultSchema: z.ZodEffects<z.ZodObject<{
2107
2109
  infoCount: number;
2108
2110
  };
2109
2111
  }>, {
2112
+ sourceFormat: string;
2110
2113
  kind: "validation";
2111
2114
  version: 1;
2112
- sourceFormat: string;
2113
2115
  targetFormat: string | null;
2114
2116
  diagnostics: {
2115
2117
  code: string;
2116
2118
  message: string;
2117
2119
  retryable: boolean;
2120
+ format: string | null;
2121
+ severity: "info" | "warning" | "error";
2122
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2123
+ count: number;
2124
+ remediation: string | null;
2118
2125
  location: {
2119
2126
  kind: "source";
2120
2127
  line: number;
@@ -2128,14 +2135,9 @@ export declare const validationResultSchema: z.ZodEffects<z.ZodObject<{
2128
2135
  kind: "asset";
2129
2136
  } | {
2130
2137
  kind: "item";
2131
- index: number;
2132
2138
  itemKind: "page" | "slide" | "sheet" | "frame";
2139
+ index: number;
2133
2140
  } | null;
2134
- format: string | null;
2135
- severity: "error" | "info" | "warning";
2136
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2137
- count: number;
2138
- remediation: string | null;
2139
2141
  }[];
2140
2142
  valid: boolean;
2141
2143
  summary: {
@@ -2144,14 +2146,19 @@ export declare const validationResultSchema: z.ZodEffects<z.ZodObject<{
2144
2146
  infoCount: number;
2145
2147
  };
2146
2148
  }, {
2149
+ sourceFormat: string;
2147
2150
  kind: "validation";
2148
2151
  version: 1;
2149
- sourceFormat: string;
2150
2152
  targetFormat: string | null;
2151
2153
  diagnostics: {
2152
2154
  code: string;
2153
2155
  message: string;
2154
2156
  retryable: boolean;
2157
+ format: string | null;
2158
+ severity: "info" | "warning" | "error";
2159
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2160
+ count: number;
2161
+ remediation: string | null;
2155
2162
  location: {
2156
2163
  kind: "source";
2157
2164
  line: number;
@@ -2165,14 +2172,9 @@ export declare const validationResultSchema: z.ZodEffects<z.ZodObject<{
2165
2172
  kind: "asset";
2166
2173
  } | {
2167
2174
  kind: "item";
2168
- index: number;
2169
2175
  itemKind: "page" | "slide" | "sheet" | "frame";
2176
+ index: number;
2170
2177
  } | null;
2171
- format: string | null;
2172
- severity: "error" | "info" | "warning";
2173
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2174
- count: number;
2175
- remediation: string | null;
2176
2178
  }[];
2177
2179
  valid: boolean;
2178
2180
  summary: {
@@ -2181,7 +2183,7 @@ export declare const validationResultSchema: z.ZodEffects<z.ZodObject<{
2181
2183
  infoCount: number;
2182
2184
  };
2183
2185
  }>;
2184
- export declare const previewResultSchema: z.ZodEffects<z.ZodObject<{
2186
+ declare const previewResultSchema: z.ZodEffects<z.ZodObject<{
2185
2187
  version: z.ZodLiteral<1>;
2186
2188
  kind: z.ZodLiteral<"preview">;
2187
2189
  sourceFormat: z.ZodString;
@@ -2224,12 +2226,11 @@ export declare const previewResultSchema: z.ZodEffects<z.ZodObject<{
2224
2226
  createdAt: z.ZodEffects<z.ZodString, string, string>;
2225
2227
  expiresAt: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
2226
2228
  }, "strict", z.ZodTypeAny, {
2227
- size: number;
2228
- createdAt: string;
2229
2229
  id: string;
2230
2230
  uri: string;
2231
2231
  format: string;
2232
2232
  mimeType: string;
2233
+ size: number;
2233
2234
  sha256: string;
2234
2235
  sourceFormat: string | null;
2235
2236
  sourceSha256: string | null;
@@ -2242,14 +2243,14 @@ export declare const previewResultSchema: z.ZodEffects<z.ZodObject<{
2242
2243
  name: string;
2243
2244
  version: string;
2244
2245
  }[];
2246
+ createdAt: string;
2245
2247
  expiresAt: string | null;
2246
2248
  }, {
2247
- size: number;
2248
- createdAt: string;
2249
2249
  id: string;
2250
2250
  uri: string;
2251
2251
  format: string;
2252
2252
  mimeType: string;
2253
+ size: number;
2253
2254
  sha256: string;
2254
2255
  sourceFormat: string | null;
2255
2256
  sourceSha256: string | null;
@@ -2262,14 +2263,14 @@ export declare const previewResultSchema: z.ZodEffects<z.ZodObject<{
2262
2263
  name: string;
2263
2264
  version: string;
2264
2265
  }[];
2266
+ createdAt: string;
2265
2267
  expiresAt: string | null;
2266
2268
  }>, {
2267
- size: number;
2268
- createdAt: string;
2269
2269
  id: string;
2270
2270
  uri: string;
2271
2271
  format: string;
2272
2272
  mimeType: string;
2273
+ size: number;
2273
2274
  sha256: string;
2274
2275
  sourceFormat: string | null;
2275
2276
  sourceSha256: string | null;
@@ -2282,14 +2283,14 @@ export declare const previewResultSchema: z.ZodEffects<z.ZodObject<{
2282
2283
  name: string;
2283
2284
  version: string;
2284
2285
  }[];
2286
+ createdAt: string;
2285
2287
  expiresAt: string | null;
2286
2288
  }, {
2287
- size: number;
2288
- createdAt: string;
2289
2289
  id: string;
2290
2290
  uri: string;
2291
2291
  format: string;
2292
2292
  mimeType: string;
2293
+ size: number;
2293
2294
  sha256: string;
2294
2295
  sourceFormat: string | null;
2295
2296
  sourceSha256: string | null;
@@ -2302,20 +2303,18 @@ export declare const previewResultSchema: z.ZodEffects<z.ZodObject<{
2302
2303
  name: string;
2303
2304
  version: string;
2304
2305
  }[];
2306
+ createdAt: string;
2305
2307
  expiresAt: string | null;
2306
2308
  }>;
2307
2309
  width: z.ZodNumber;
2308
2310
  height: z.ZodNumber;
2309
2311
  }, "strict", z.ZodTypeAny, {
2310
- kind: "page" | "slide" | "sheet" | "frame";
2311
- index: number;
2312
2312
  artifact: {
2313
- size: number;
2314
- createdAt: string;
2315
2313
  id: string;
2316
2314
  uri: string;
2317
2315
  format: string;
2318
2316
  mimeType: string;
2317
+ size: number;
2319
2318
  sha256: string;
2320
2319
  sourceFormat: string | null;
2321
2320
  sourceSha256: string | null;
@@ -2328,21 +2327,21 @@ export declare const previewResultSchema: z.ZodEffects<z.ZodObject<{
2328
2327
  name: string;
2329
2328
  version: string;
2330
2329
  }[];
2330
+ createdAt: string;
2331
2331
  expiresAt: string | null;
2332
2332
  };
2333
+ kind: "page" | "slide" | "sheet" | "frame";
2334
+ index: number;
2333
2335
  label: string | null;
2334
2336
  width: number;
2335
2337
  height: number;
2336
2338
  }, {
2337
- kind: "page" | "slide" | "sheet" | "frame";
2338
- index: number;
2339
2339
  artifact: {
2340
- size: number;
2341
- createdAt: string;
2342
2340
  id: string;
2343
2341
  uri: string;
2344
2342
  format: string;
2345
2343
  mimeType: string;
2344
+ size: number;
2346
2345
  sha256: string;
2347
2346
  sourceFormat: string | null;
2348
2347
  sourceSha256: string | null;
@@ -2355,8 +2354,11 @@ export declare const previewResultSchema: z.ZodEffects<z.ZodObject<{
2355
2354
  name: string;
2356
2355
  version: string;
2357
2356
  }[];
2357
+ createdAt: string;
2358
2358
  expiresAt: string | null;
2359
2359
  };
2360
+ kind: "page" | "slide" | "sheet" | "frame";
2361
+ index: number;
2360
2362
  label: string | null;
2361
2363
  width: number;
2362
2364
  height: number;
@@ -2410,17 +2412,22 @@ export declare const previewResultSchema: z.ZodEffects<z.ZodObject<{
2410
2412
  index: z.ZodNumber;
2411
2413
  }, "strict", z.ZodTypeAny, {
2412
2414
  kind: "item";
2413
- index: number;
2414
2415
  itemKind: "page" | "slide" | "sheet" | "frame";
2416
+ index: number;
2415
2417
  }, {
2416
2418
  kind: "item";
2417
- index: number;
2418
2419
  itemKind: "page" | "slide" | "sheet" | "frame";
2420
+ index: number;
2419
2421
  }>]>>;
2420
2422
  }, "strict", z.ZodTypeAny, {
2421
2423
  code: string;
2422
2424
  message: string;
2423
2425
  retryable: boolean;
2426
+ format: string | null;
2427
+ severity: "info" | "warning" | "error";
2428
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2429
+ count: number;
2430
+ remediation: string | null;
2424
2431
  location: {
2425
2432
  kind: "source";
2426
2433
  line: number;
@@ -2434,18 +2441,18 @@ export declare const previewResultSchema: z.ZodEffects<z.ZodObject<{
2434
2441
  kind: "asset";
2435
2442
  } | {
2436
2443
  kind: "item";
2437
- index: number;
2438
2444
  itemKind: "page" | "slide" | "sheet" | "frame";
2445
+ index: number;
2439
2446
  } | null;
2440
- format: string | null;
2441
- severity: "error" | "info" | "warning";
2442
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2443
- count: number;
2444
- remediation: string | null;
2445
2447
  }, {
2446
2448
  code: string;
2447
2449
  message: string;
2448
2450
  retryable: boolean;
2451
+ format: string | null;
2452
+ severity: "info" | "warning" | "error";
2453
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2454
+ count: number;
2455
+ remediation: string | null;
2449
2456
  location: {
2450
2457
  kind: "source";
2451
2458
  line: number;
@@ -2459,23 +2466,23 @@ export declare const previewResultSchema: z.ZodEffects<z.ZodObject<{
2459
2466
  kind: "asset";
2460
2467
  } | {
2461
2468
  kind: "item";
2462
- index: number;
2463
2469
  itemKind: "page" | "slide" | "sheet" | "frame";
2470
+ index: number;
2464
2471
  } | null;
2465
- format: string | null;
2466
- severity: "error" | "info" | "warning";
2467
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2468
- count: number;
2469
- remediation: string | null;
2470
2472
  }>, "many">;
2471
2473
  }, "strict", z.ZodTypeAny, {
2474
+ sourceFormat: string;
2472
2475
  kind: "preview";
2473
2476
  version: 1;
2474
- sourceFormat: string;
2475
2477
  diagnostics: {
2476
2478
  code: string;
2477
2479
  message: string;
2478
2480
  retryable: boolean;
2481
+ format: string | null;
2482
+ severity: "info" | "warning" | "error";
2483
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2484
+ count: number;
2485
+ remediation: string | null;
2479
2486
  location: {
2480
2487
  kind: "source";
2481
2488
  line: number;
@@ -2489,25 +2496,17 @@ export declare const previewResultSchema: z.ZodEffects<z.ZodObject<{
2489
2496
  kind: "asset";
2490
2497
  } | {
2491
2498
  kind: "item";
2492
- index: number;
2493
2499
  itemKind: "page" | "slide" | "sheet" | "frame";
2500
+ index: number;
2494
2501
  } | null;
2495
- format: string | null;
2496
- severity: "error" | "info" | "warning";
2497
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2498
- count: number;
2499
- remediation: string | null;
2500
2502
  }[];
2501
2503
  items: {
2502
- kind: "page" | "slide" | "sheet" | "frame";
2503
- index: number;
2504
2504
  artifact: {
2505
- size: number;
2506
- createdAt: string;
2507
2505
  id: string;
2508
2506
  uri: string;
2509
2507
  format: string;
2510
2508
  mimeType: string;
2509
+ size: number;
2511
2510
  sha256: string;
2512
2511
  sourceFormat: string | null;
2513
2512
  sourceSha256: string | null;
@@ -2520,8 +2519,11 @@ export declare const previewResultSchema: z.ZodEffects<z.ZodObject<{
2520
2519
  name: string;
2521
2520
  version: string;
2522
2521
  }[];
2522
+ createdAt: string;
2523
2523
  expiresAt: string | null;
2524
2524
  };
2525
+ kind: "page" | "slide" | "sheet" | "frame";
2526
+ index: number;
2525
2527
  label: string | null;
2526
2528
  width: number;
2527
2529
  height: number;
@@ -2530,13 +2532,18 @@ export declare const previewResultSchema: z.ZodEffects<z.ZodObject<{
2530
2532
  previewBasis: "source-render" | "reconstructed-import" | "native-extracted";
2531
2533
  totalItems: number;
2532
2534
  }, {
2535
+ sourceFormat: string;
2533
2536
  kind: "preview";
2534
2537
  version: 1;
2535
- sourceFormat: string;
2536
2538
  diagnostics: {
2537
2539
  code: string;
2538
2540
  message: string;
2539
2541
  retryable: boolean;
2542
+ format: string | null;
2543
+ severity: "info" | "warning" | "error";
2544
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2545
+ count: number;
2546
+ remediation: string | null;
2540
2547
  location: {
2541
2548
  kind: "source";
2542
2549
  line: number;
@@ -2550,25 +2557,17 @@ export declare const previewResultSchema: z.ZodEffects<z.ZodObject<{
2550
2557
  kind: "asset";
2551
2558
  } | {
2552
2559
  kind: "item";
2553
- index: number;
2554
2560
  itemKind: "page" | "slide" | "sheet" | "frame";
2561
+ index: number;
2555
2562
  } | null;
2556
- format: string | null;
2557
- severity: "error" | "info" | "warning";
2558
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2559
- count: number;
2560
- remediation: string | null;
2561
2563
  }[];
2562
2564
  items: {
2563
- kind: "page" | "slide" | "sheet" | "frame";
2564
- index: number;
2565
2565
  artifact: {
2566
- size: number;
2567
- createdAt: string;
2568
2566
  id: string;
2569
2567
  uri: string;
2570
2568
  format: string;
2571
2569
  mimeType: string;
2570
+ size: number;
2572
2571
  sha256: string;
2573
2572
  sourceFormat: string | null;
2574
2573
  sourceSha256: string | null;
@@ -2581,8 +2580,11 @@ export declare const previewResultSchema: z.ZodEffects<z.ZodObject<{
2581
2580
  name: string;
2582
2581
  version: string;
2583
2582
  }[];
2583
+ createdAt: string;
2584
2584
  expiresAt: string | null;
2585
2585
  };
2586
+ kind: "page" | "slide" | "sheet" | "frame";
2587
+ index: number;
2586
2588
  label: string | null;
2587
2589
  width: number;
2588
2590
  height: number;
@@ -2591,13 +2593,18 @@ export declare const previewResultSchema: z.ZodEffects<z.ZodObject<{
2591
2593
  previewBasis: "source-render" | "reconstructed-import" | "native-extracted";
2592
2594
  totalItems: number;
2593
2595
  }>, {
2596
+ sourceFormat: string;
2594
2597
  kind: "preview";
2595
2598
  version: 1;
2596
- sourceFormat: string;
2597
2599
  diagnostics: {
2598
2600
  code: string;
2599
2601
  message: string;
2600
2602
  retryable: boolean;
2603
+ format: string | null;
2604
+ severity: "info" | "warning" | "error";
2605
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2606
+ count: number;
2607
+ remediation: string | null;
2601
2608
  location: {
2602
2609
  kind: "source";
2603
2610
  line: number;
@@ -2611,25 +2618,17 @@ export declare const previewResultSchema: z.ZodEffects<z.ZodObject<{
2611
2618
  kind: "asset";
2612
2619
  } | {
2613
2620
  kind: "item";
2614
- index: number;
2615
2621
  itemKind: "page" | "slide" | "sheet" | "frame";
2622
+ index: number;
2616
2623
  } | null;
2617
- format: string | null;
2618
- severity: "error" | "info" | "warning";
2619
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2620
- count: number;
2621
- remediation: string | null;
2622
2624
  }[];
2623
2625
  items: {
2624
- kind: "page" | "slide" | "sheet" | "frame";
2625
- index: number;
2626
2626
  artifact: {
2627
- size: number;
2628
- createdAt: string;
2629
2627
  id: string;
2630
2628
  uri: string;
2631
2629
  format: string;
2632
2630
  mimeType: string;
2631
+ size: number;
2633
2632
  sha256: string;
2634
2633
  sourceFormat: string | null;
2635
2634
  sourceSha256: string | null;
@@ -2642,8 +2641,11 @@ export declare const previewResultSchema: z.ZodEffects<z.ZodObject<{
2642
2641
  name: string;
2643
2642
  version: string;
2644
2643
  }[];
2644
+ createdAt: string;
2645
2645
  expiresAt: string | null;
2646
2646
  };
2647
+ kind: "page" | "slide" | "sheet" | "frame";
2648
+ index: number;
2647
2649
  label: string | null;
2648
2650
  width: number;
2649
2651
  height: number;
@@ -2652,13 +2654,18 @@ export declare const previewResultSchema: z.ZodEffects<z.ZodObject<{
2652
2654
  previewBasis: "source-render" | "reconstructed-import" | "native-extracted";
2653
2655
  totalItems: number;
2654
2656
  }, {
2657
+ sourceFormat: string;
2655
2658
  kind: "preview";
2656
2659
  version: 1;
2657
- sourceFormat: string;
2658
2660
  diagnostics: {
2659
2661
  code: string;
2660
2662
  message: string;
2661
2663
  retryable: boolean;
2664
+ format: string | null;
2665
+ severity: "info" | "warning" | "error";
2666
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2667
+ count: number;
2668
+ remediation: string | null;
2662
2669
  location: {
2663
2670
  kind: "source";
2664
2671
  line: number;
@@ -2672,25 +2679,17 @@ export declare const previewResultSchema: z.ZodEffects<z.ZodObject<{
2672
2679
  kind: "asset";
2673
2680
  } | {
2674
2681
  kind: "item";
2675
- index: number;
2676
2682
  itemKind: "page" | "slide" | "sheet" | "frame";
2683
+ index: number;
2677
2684
  } | null;
2678
- format: string | null;
2679
- severity: "error" | "info" | "warning";
2680
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2681
- count: number;
2682
- remediation: string | null;
2683
2685
  }[];
2684
2686
  items: {
2685
- kind: "page" | "slide" | "sheet" | "frame";
2686
- index: number;
2687
2687
  artifact: {
2688
- size: number;
2689
- createdAt: string;
2690
2688
  id: string;
2691
2689
  uri: string;
2692
2690
  format: string;
2693
2691
  mimeType: string;
2692
+ size: number;
2694
2693
  sha256: string;
2695
2694
  sourceFormat: string | null;
2696
2695
  sourceSha256: string | null;
@@ -2703,8 +2702,11 @@ export declare const previewResultSchema: z.ZodEffects<z.ZodObject<{
2703
2702
  name: string;
2704
2703
  version: string;
2705
2704
  }[];
2705
+ createdAt: string;
2706
2706
  expiresAt: string | null;
2707
2707
  };
2708
+ kind: "page" | "slide" | "sheet" | "frame";
2709
+ index: number;
2708
2710
  label: string | null;
2709
2711
  width: number;
2710
2712
  height: number;
@@ -2713,7 +2715,7 @@ export declare const previewResultSchema: z.ZodEffects<z.ZodObject<{
2713
2715
  previewBasis: "source-render" | "reconstructed-import" | "native-extracted";
2714
2716
  totalItems: number;
2715
2717
  }>;
2716
- export declare const comparisonResultSchema: z.ZodEffects<z.ZodObject<{
2718
+ declare const comparisonResultSchema: z.ZodEffects<z.ZodObject<{
2717
2719
  version: z.ZodLiteral<1>;
2718
2720
  kind: z.ZodLiteral<"comparison">;
2719
2721
  leftFormat: z.ZodString;
@@ -2728,13 +2730,13 @@ export declare const comparisonResultSchema: z.ZodEffects<z.ZodObject<{
2728
2730
  }, "strict", z.ZodTypeAny, {
2729
2731
  message: string;
2730
2732
  path: string | null;
2731
- status: "added" | "retained" | "changed" | "degraded" | "omitted";
2732
- category: "text" | "metadata" | "structure" | "table" | "media" | "theme" | "layout" | "timing" | "accessibility";
2733
+ category: "text" | "structure" | "table" | "media" | "theme" | "layout" | "metadata" | "timing" | "accessibility";
2734
+ status: "retained" | "changed" | "degraded" | "omitted" | "added";
2733
2735
  }, {
2734
2736
  message: string;
2735
2737
  path: string | null;
2736
- status: "added" | "retained" | "changed" | "degraded" | "omitted";
2737
- category: "text" | "metadata" | "structure" | "table" | "media" | "theme" | "layout" | "timing" | "accessibility";
2738
+ category: "text" | "structure" | "table" | "media" | "theme" | "layout" | "metadata" | "timing" | "accessibility";
2739
+ status: "retained" | "changed" | "degraded" | "omitted" | "added";
2738
2740
  }>, "many">;
2739
2741
  metrics: z.ZodArray<z.ZodObject<{
2740
2742
  name: z.ZodString;
@@ -2800,17 +2802,22 @@ export declare const comparisonResultSchema: z.ZodEffects<z.ZodObject<{
2800
2802
  index: z.ZodNumber;
2801
2803
  }, "strict", z.ZodTypeAny, {
2802
2804
  kind: "item";
2803
- index: number;
2804
2805
  itemKind: "page" | "slide" | "sheet" | "frame";
2806
+ index: number;
2805
2807
  }, {
2806
2808
  kind: "item";
2807
- index: number;
2808
2809
  itemKind: "page" | "slide" | "sheet" | "frame";
2810
+ index: number;
2809
2811
  }>]>>;
2810
2812
  }, "strict", z.ZodTypeAny, {
2811
2813
  code: string;
2812
2814
  message: string;
2813
2815
  retryable: boolean;
2816
+ format: string | null;
2817
+ severity: "info" | "warning" | "error";
2818
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2819
+ count: number;
2820
+ remediation: string | null;
2814
2821
  location: {
2815
2822
  kind: "source";
2816
2823
  line: number;
@@ -2824,18 +2831,18 @@ export declare const comparisonResultSchema: z.ZodEffects<z.ZodObject<{
2824
2831
  kind: "asset";
2825
2832
  } | {
2826
2833
  kind: "item";
2827
- index: number;
2828
2834
  itemKind: "page" | "slide" | "sheet" | "frame";
2835
+ index: number;
2829
2836
  } | null;
2830
- format: string | null;
2831
- severity: "error" | "info" | "warning";
2832
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2833
- count: number;
2834
- remediation: string | null;
2835
2837
  }, {
2836
2838
  code: string;
2837
2839
  message: string;
2838
2840
  retryable: boolean;
2841
+ format: string | null;
2842
+ severity: "info" | "warning" | "error";
2843
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2844
+ count: number;
2845
+ remediation: string | null;
2839
2846
  location: {
2840
2847
  kind: "source";
2841
2848
  line: number;
@@ -2849,14 +2856,9 @@ export declare const comparisonResultSchema: z.ZodEffects<z.ZodObject<{
2849
2856
  kind: "asset";
2850
2857
  } | {
2851
2858
  kind: "item";
2852
- index: number;
2853
2859
  itemKind: "page" | "slide" | "sheet" | "frame";
2860
+ index: number;
2854
2861
  } | null;
2855
- format: string | null;
2856
- severity: "error" | "info" | "warning";
2857
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2858
- count: number;
2859
- remediation: string | null;
2860
2862
  }>, "many">;
2861
2863
  }, "strict", z.ZodTypeAny, {
2862
2864
  kind: "comparison";
@@ -2865,6 +2867,11 @@ export declare const comparisonResultSchema: z.ZodEffects<z.ZodObject<{
2865
2867
  code: string;
2866
2868
  message: string;
2867
2869
  retryable: boolean;
2870
+ format: string | null;
2871
+ severity: "info" | "warning" | "error";
2872
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2873
+ count: number;
2874
+ remediation: string | null;
2868
2875
  location: {
2869
2876
  kind: "source";
2870
2877
  line: number;
@@ -2878,14 +2885,9 @@ export declare const comparisonResultSchema: z.ZodEffects<z.ZodObject<{
2878
2885
  kind: "asset";
2879
2886
  } | {
2880
2887
  kind: "item";
2881
- index: number;
2882
2888
  itemKind: "page" | "slide" | "sheet" | "frame";
2889
+ index: number;
2883
2890
  } | null;
2884
- format: string | null;
2885
- severity: "error" | "info" | "warning";
2886
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2887
- count: number;
2888
- remediation: string | null;
2889
2891
  }[];
2890
2892
  leftFormat: string;
2891
2893
  rightFormat: string;
@@ -2894,8 +2896,8 @@ export declare const comparisonResultSchema: z.ZodEffects<z.ZodObject<{
2894
2896
  changes: {
2895
2897
  message: string;
2896
2898
  path: string | null;
2897
- status: "added" | "retained" | "changed" | "degraded" | "omitted";
2898
- category: "text" | "metadata" | "structure" | "table" | "media" | "theme" | "layout" | "timing" | "accessibility";
2899
+ category: "text" | "structure" | "table" | "media" | "theme" | "layout" | "metadata" | "timing" | "accessibility";
2900
+ status: "retained" | "changed" | "degraded" | "omitted" | "added";
2899
2901
  }[];
2900
2902
  metrics: {
2901
2903
  name: string;
@@ -2910,6 +2912,11 @@ export declare const comparisonResultSchema: z.ZodEffects<z.ZodObject<{
2910
2912
  code: string;
2911
2913
  message: string;
2912
2914
  retryable: boolean;
2915
+ format: string | null;
2916
+ severity: "info" | "warning" | "error";
2917
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2918
+ count: number;
2919
+ remediation: string | null;
2913
2920
  location: {
2914
2921
  kind: "source";
2915
2922
  line: number;
@@ -2923,14 +2930,9 @@ export declare const comparisonResultSchema: z.ZodEffects<z.ZodObject<{
2923
2930
  kind: "asset";
2924
2931
  } | {
2925
2932
  kind: "item";
2926
- index: number;
2927
2933
  itemKind: "page" | "slide" | "sheet" | "frame";
2934
+ index: number;
2928
2935
  } | null;
2929
- format: string | null;
2930
- severity: "error" | "info" | "warning";
2931
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2932
- count: number;
2933
- remediation: string | null;
2934
2936
  }[];
2935
2937
  leftFormat: string;
2936
2938
  rightFormat: string;
@@ -2939,8 +2941,8 @@ export declare const comparisonResultSchema: z.ZodEffects<z.ZodObject<{
2939
2941
  changes: {
2940
2942
  message: string;
2941
2943
  path: string | null;
2942
- status: "added" | "retained" | "changed" | "degraded" | "omitted";
2943
- category: "text" | "metadata" | "structure" | "table" | "media" | "theme" | "layout" | "timing" | "accessibility";
2944
+ category: "text" | "structure" | "table" | "media" | "theme" | "layout" | "metadata" | "timing" | "accessibility";
2945
+ status: "retained" | "changed" | "degraded" | "omitted" | "added";
2944
2946
  }[];
2945
2947
  metrics: {
2946
2948
  name: string;
@@ -2955,6 +2957,11 @@ export declare const comparisonResultSchema: z.ZodEffects<z.ZodObject<{
2955
2957
  code: string;
2956
2958
  message: string;
2957
2959
  retryable: boolean;
2960
+ format: string | null;
2961
+ severity: "info" | "warning" | "error";
2962
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2963
+ count: number;
2964
+ remediation: string | null;
2958
2965
  location: {
2959
2966
  kind: "source";
2960
2967
  line: number;
@@ -2968,14 +2975,9 @@ export declare const comparisonResultSchema: z.ZodEffects<z.ZodObject<{
2968
2975
  kind: "asset";
2969
2976
  } | {
2970
2977
  kind: "item";
2971
- index: number;
2972
2978
  itemKind: "page" | "slide" | "sheet" | "frame";
2979
+ index: number;
2973
2980
  } | null;
2974
- format: string | null;
2975
- severity: "error" | "info" | "warning";
2976
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
2977
- count: number;
2978
- remediation: string | null;
2979
2981
  }[];
2980
2982
  leftFormat: string;
2981
2983
  rightFormat: string;
@@ -2984,8 +2986,8 @@ export declare const comparisonResultSchema: z.ZodEffects<z.ZodObject<{
2984
2986
  changes: {
2985
2987
  message: string;
2986
2988
  path: string | null;
2987
- status: "added" | "retained" | "changed" | "degraded" | "omitted";
2988
- category: "text" | "metadata" | "structure" | "table" | "media" | "theme" | "layout" | "timing" | "accessibility";
2989
+ category: "text" | "structure" | "table" | "media" | "theme" | "layout" | "metadata" | "timing" | "accessibility";
2990
+ status: "retained" | "changed" | "degraded" | "omitted" | "added";
2989
2991
  }[];
2990
2992
  metrics: {
2991
2993
  name: string;
@@ -3000,6 +3002,11 @@ export declare const comparisonResultSchema: z.ZodEffects<z.ZodObject<{
3000
3002
  code: string;
3001
3003
  message: string;
3002
3004
  retryable: boolean;
3005
+ format: string | null;
3006
+ severity: "info" | "warning" | "error";
3007
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
3008
+ count: number;
3009
+ remediation: string | null;
3003
3010
  location: {
3004
3011
  kind: "source";
3005
3012
  line: number;
@@ -3013,14 +3020,9 @@ export declare const comparisonResultSchema: z.ZodEffects<z.ZodObject<{
3013
3020
  kind: "asset";
3014
3021
  } | {
3015
3022
  kind: "item";
3016
- index: number;
3017
3023
  itemKind: "page" | "slide" | "sheet" | "frame";
3024
+ index: number;
3018
3025
  } | null;
3019
- format: string | null;
3020
- severity: "error" | "info" | "warning";
3021
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
3022
- count: number;
3023
- remediation: string | null;
3024
3026
  }[];
3025
3027
  leftFormat: string;
3026
3028
  rightFormat: string;
@@ -3029,8 +3031,8 @@ export declare const comparisonResultSchema: z.ZodEffects<z.ZodObject<{
3029
3031
  changes: {
3030
3032
  message: string;
3031
3033
  path: string | null;
3032
- status: "added" | "retained" | "changed" | "degraded" | "omitted";
3033
- category: "text" | "metadata" | "structure" | "table" | "media" | "theme" | "layout" | "timing" | "accessibility";
3034
+ category: "text" | "structure" | "table" | "media" | "theme" | "layout" | "metadata" | "timing" | "accessibility";
3035
+ status: "retained" | "changed" | "degraded" | "omitted" | "added";
3034
3036
  }[];
3035
3037
  metrics: {
3036
3038
  name: string;
@@ -3039,7 +3041,7 @@ export declare const comparisonResultSchema: z.ZodEffects<z.ZodObject<{
3039
3041
  similarity: number;
3040
3042
  }[];
3041
3043
  }>;
3042
- export declare const convertDocumentResultSchema: z.ZodObject<{
3044
+ declare const convertDocumentResultSchema: z.ZodObject<{
3043
3045
  results: z.ZodArray<z.ZodEffects<z.ZodObject<{
3044
3046
  version: z.ZodLiteral<1>;
3045
3047
  kind: z.ZodLiteral<"conversion">;
@@ -3078,12 +3080,11 @@ export declare const convertDocumentResultSchema: z.ZodObject<{
3078
3080
  createdAt: z.ZodEffects<z.ZodString, string, string>;
3079
3081
  expiresAt: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
3080
3082
  }, "strict", z.ZodTypeAny, {
3081
- size: number;
3082
- createdAt: string;
3083
3083
  id: string;
3084
3084
  uri: string;
3085
3085
  format: string;
3086
3086
  mimeType: string;
3087
+ size: number;
3087
3088
  sha256: string;
3088
3089
  sourceFormat: string | null;
3089
3090
  sourceSha256: string | null;
@@ -3096,14 +3097,14 @@ export declare const convertDocumentResultSchema: z.ZodObject<{
3096
3097
  name: string;
3097
3098
  version: string;
3098
3099
  }[];
3100
+ createdAt: string;
3099
3101
  expiresAt: string | null;
3100
3102
  }, {
3101
- size: number;
3102
- createdAt: string;
3103
3103
  id: string;
3104
3104
  uri: string;
3105
3105
  format: string;
3106
3106
  mimeType: string;
3107
+ size: number;
3107
3108
  sha256: string;
3108
3109
  sourceFormat: string | null;
3109
3110
  sourceSha256: string | null;
@@ -3116,14 +3117,14 @@ export declare const convertDocumentResultSchema: z.ZodObject<{
3116
3117
  name: string;
3117
3118
  version: string;
3118
3119
  }[];
3120
+ createdAt: string;
3119
3121
  expiresAt: string | null;
3120
3122
  }>, {
3121
- size: number;
3122
- createdAt: string;
3123
3123
  id: string;
3124
3124
  uri: string;
3125
3125
  format: string;
3126
3126
  mimeType: string;
3127
+ size: number;
3127
3128
  sha256: string;
3128
3129
  sourceFormat: string | null;
3129
3130
  sourceSha256: string | null;
@@ -3136,14 +3137,14 @@ export declare const convertDocumentResultSchema: z.ZodObject<{
3136
3137
  name: string;
3137
3138
  version: string;
3138
3139
  }[];
3140
+ createdAt: string;
3139
3141
  expiresAt: string | null;
3140
3142
  }, {
3141
- size: number;
3142
- createdAt: string;
3143
3143
  id: string;
3144
3144
  uri: string;
3145
3145
  format: string;
3146
3146
  mimeType: string;
3147
+ size: number;
3147
3148
  sha256: string;
3148
3149
  sourceFormat: string | null;
3149
3150
  sourceSha256: string | null;
@@ -3156,6 +3157,7 @@ export declare const convertDocumentResultSchema: z.ZodObject<{
3156
3157
  name: string;
3157
3158
  version: string;
3158
3159
  }[];
3160
+ createdAt: string;
3159
3161
  expiresAt: string | null;
3160
3162
  }>;
3161
3163
  fidelity: z.ZodEnum<["semantic", "editable-native", "rendered-fidelity", "hybrid"]>;
@@ -3171,16 +3173,16 @@ export declare const convertDocumentResultSchema: z.ZodObject<{
3171
3173
  license: z.ZodNullable<z.ZodString>;
3172
3174
  }, "strict", z.ZodTypeAny, {
3173
3175
  path: string;
3174
- size: number;
3175
3176
  mimeType: string;
3177
+ size: number;
3176
3178
  sha256: string | null;
3177
3179
  altText: string | null;
3178
3180
  credit: string | null;
3179
3181
  license: string | null;
3180
3182
  }, {
3181
3183
  path: string;
3182
- size: number;
3183
3184
  mimeType: string;
3185
+ size: number;
3184
3186
  sha256: string | null;
3185
3187
  altText: string | null;
3186
3188
  credit: string | null;
@@ -3235,17 +3237,22 @@ export declare const convertDocumentResultSchema: z.ZodObject<{
3235
3237
  index: z.ZodNumber;
3236
3238
  }, "strict", z.ZodTypeAny, {
3237
3239
  kind: "item";
3238
- index: number;
3239
3240
  itemKind: "page" | "slide" | "sheet" | "frame";
3241
+ index: number;
3240
3242
  }, {
3241
3243
  kind: "item";
3242
- index: number;
3243
3244
  itemKind: "page" | "slide" | "sheet" | "frame";
3245
+ index: number;
3244
3246
  }>]>>;
3245
3247
  }, "strict", z.ZodTypeAny, {
3246
3248
  code: string;
3247
3249
  message: string;
3248
3250
  retryable: boolean;
3251
+ format: string | null;
3252
+ severity: "info" | "warning" | "error";
3253
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
3254
+ count: number;
3255
+ remediation: string | null;
3249
3256
  location: {
3250
3257
  kind: "source";
3251
3258
  line: number;
@@ -3259,18 +3266,18 @@ export declare const convertDocumentResultSchema: z.ZodObject<{
3259
3266
  kind: "asset";
3260
3267
  } | {
3261
3268
  kind: "item";
3262
- index: number;
3263
3269
  itemKind: "page" | "slide" | "sheet" | "frame";
3270
+ index: number;
3264
3271
  } | null;
3265
- format: string | null;
3266
- severity: "error" | "info" | "warning";
3267
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
3268
- count: number;
3269
- remediation: string | null;
3270
3272
  }, {
3271
3273
  code: string;
3272
3274
  message: string;
3273
3275
  retryable: boolean;
3276
+ format: string | null;
3277
+ severity: "info" | "warning" | "error";
3278
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
3279
+ count: number;
3280
+ remediation: string | null;
3274
3281
  location: {
3275
3282
  kind: "source";
3276
3283
  line: number;
@@ -3284,25 +3291,17 @@ export declare const convertDocumentResultSchema: z.ZodObject<{
3284
3291
  kind: "asset";
3285
3292
  } | {
3286
3293
  kind: "item";
3287
- index: number;
3288
3294
  itemKind: "page" | "slide" | "sheet" | "frame";
3295
+ index: number;
3289
3296
  } | null;
3290
- format: string | null;
3291
- severity: "error" | "info" | "warning";
3292
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
3293
- count: number;
3294
- remediation: string | null;
3295
3297
  }>, "many">;
3296
3298
  }, "strict", z.ZodTypeAny, {
3297
- kind: "conversion";
3298
- version: 1;
3299
3299
  artifact: {
3300
- size: number;
3301
- createdAt: string;
3302
3300
  id: string;
3303
3301
  uri: string;
3304
3302
  format: string;
3305
3303
  mimeType: string;
3304
+ size: number;
3306
3305
  sha256: string;
3307
3306
  sourceFormat: string | null;
3308
3307
  sourceSha256: string | null;
@@ -3315,17 +3314,20 @@ export declare const convertDocumentResultSchema: z.ZodObject<{
3315
3314
  name: string;
3316
3315
  version: string;
3317
3316
  }[];
3317
+ createdAt: string;
3318
3318
  expiresAt: string | null;
3319
3319
  };
3320
3320
  sourceFormat: string;
3321
+ kind: "conversion";
3322
+ version: 1;
3321
3323
  targetFormat: string;
3322
3324
  fidelity: "semantic" | "editable-native" | "rendered-fidelity" | "hybrid";
3323
3325
  appliedThemeId: string | null;
3324
3326
  appliedTransformId: string | null;
3325
3327
  sourceAssets: {
3326
3328
  path: string;
3327
- size: number;
3328
3329
  mimeType: string;
3330
+ size: number;
3329
3331
  sha256: string | null;
3330
3332
  altText: string | null;
3331
3333
  credit: string | null;
@@ -3336,6 +3338,11 @@ export declare const convertDocumentResultSchema: z.ZodObject<{
3336
3338
  code: string;
3337
3339
  message: string;
3338
3340
  retryable: boolean;
3341
+ format: string | null;
3342
+ severity: "info" | "warning" | "error";
3343
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
3344
+ count: number;
3345
+ remediation: string | null;
3339
3346
  location: {
3340
3347
  kind: "source";
3341
3348
  line: number;
@@ -3349,25 +3356,17 @@ export declare const convertDocumentResultSchema: z.ZodObject<{
3349
3356
  kind: "asset";
3350
3357
  } | {
3351
3358
  kind: "item";
3352
- index: number;
3353
3359
  itemKind: "page" | "slide" | "sheet" | "frame";
3360
+ index: number;
3354
3361
  } | null;
3355
- format: string | null;
3356
- severity: "error" | "info" | "warning";
3357
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
3358
- count: number;
3359
- remediation: string | null;
3360
3362
  }[];
3361
3363
  }, {
3362
- kind: "conversion";
3363
- version: 1;
3364
3364
  artifact: {
3365
- size: number;
3366
- createdAt: string;
3367
3365
  id: string;
3368
3366
  uri: string;
3369
3367
  format: string;
3370
3368
  mimeType: string;
3369
+ size: number;
3371
3370
  sha256: string;
3372
3371
  sourceFormat: string | null;
3373
3372
  sourceSha256: string | null;
@@ -3380,17 +3379,20 @@ export declare const convertDocumentResultSchema: z.ZodObject<{
3380
3379
  name: string;
3381
3380
  version: string;
3382
3381
  }[];
3382
+ createdAt: string;
3383
3383
  expiresAt: string | null;
3384
3384
  };
3385
3385
  sourceFormat: string;
3386
+ kind: "conversion";
3387
+ version: 1;
3386
3388
  targetFormat: string;
3387
3389
  fidelity: "semantic" | "editable-native" | "rendered-fidelity" | "hybrid";
3388
3390
  appliedThemeId: string | null;
3389
3391
  appliedTransformId: string | null;
3390
3392
  sourceAssets: {
3391
3393
  path: string;
3392
- size: number;
3393
3394
  mimeType: string;
3395
+ size: number;
3394
3396
  sha256: string | null;
3395
3397
  altText: string | null;
3396
3398
  credit: string | null;
@@ -3401,6 +3403,11 @@ export declare const convertDocumentResultSchema: z.ZodObject<{
3401
3403
  code: string;
3402
3404
  message: string;
3403
3405
  retryable: boolean;
3406
+ format: string | null;
3407
+ severity: "info" | "warning" | "error";
3408
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
3409
+ count: number;
3410
+ remediation: string | null;
3404
3411
  location: {
3405
3412
  kind: "source";
3406
3413
  line: number;
@@ -3414,25 +3421,17 @@ export declare const convertDocumentResultSchema: z.ZodObject<{
3414
3421
  kind: "asset";
3415
3422
  } | {
3416
3423
  kind: "item";
3417
- index: number;
3418
3424
  itemKind: "page" | "slide" | "sheet" | "frame";
3425
+ index: number;
3419
3426
  } | null;
3420
- format: string | null;
3421
- severity: "error" | "info" | "warning";
3422
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
3423
- count: number;
3424
- remediation: string | null;
3425
3427
  }[];
3426
3428
  }>, {
3427
- kind: "conversion";
3428
- version: 1;
3429
3429
  artifact: {
3430
- size: number;
3431
- createdAt: string;
3432
3430
  id: string;
3433
3431
  uri: string;
3434
3432
  format: string;
3435
3433
  mimeType: string;
3434
+ size: number;
3436
3435
  sha256: string;
3437
3436
  sourceFormat: string | null;
3438
3437
  sourceSha256: string | null;
@@ -3445,17 +3444,20 @@ export declare const convertDocumentResultSchema: z.ZodObject<{
3445
3444
  name: string;
3446
3445
  version: string;
3447
3446
  }[];
3447
+ createdAt: string;
3448
3448
  expiresAt: string | null;
3449
3449
  };
3450
3450
  sourceFormat: string;
3451
+ kind: "conversion";
3452
+ version: 1;
3451
3453
  targetFormat: string;
3452
3454
  fidelity: "semantic" | "editable-native" | "rendered-fidelity" | "hybrid";
3453
3455
  appliedThemeId: string | null;
3454
3456
  appliedTransformId: string | null;
3455
3457
  sourceAssets: {
3456
3458
  path: string;
3457
- size: number;
3458
3459
  mimeType: string;
3460
+ size: number;
3459
3461
  sha256: string | null;
3460
3462
  altText: string | null;
3461
3463
  credit: string | null;
@@ -3466,6 +3468,11 @@ export declare const convertDocumentResultSchema: z.ZodObject<{
3466
3468
  code: string;
3467
3469
  message: string;
3468
3470
  retryable: boolean;
3471
+ format: string | null;
3472
+ severity: "info" | "warning" | "error";
3473
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
3474
+ count: number;
3475
+ remediation: string | null;
3469
3476
  location: {
3470
3477
  kind: "source";
3471
3478
  line: number;
@@ -3479,25 +3486,17 @@ export declare const convertDocumentResultSchema: z.ZodObject<{
3479
3486
  kind: "asset";
3480
3487
  } | {
3481
3488
  kind: "item";
3482
- index: number;
3483
3489
  itemKind: "page" | "slide" | "sheet" | "frame";
3490
+ index: number;
3484
3491
  } | null;
3485
- format: string | null;
3486
- severity: "error" | "info" | "warning";
3487
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
3488
- count: number;
3489
- remediation: string | null;
3490
3492
  }[];
3491
3493
  }, {
3492
- kind: "conversion";
3493
- version: 1;
3494
3494
  artifact: {
3495
- size: number;
3496
- createdAt: string;
3497
3495
  id: string;
3498
3496
  uri: string;
3499
3497
  format: string;
3500
3498
  mimeType: string;
3499
+ size: number;
3501
3500
  sha256: string;
3502
3501
  sourceFormat: string | null;
3503
3502
  sourceSha256: string | null;
@@ -3510,17 +3509,20 @@ export declare const convertDocumentResultSchema: z.ZodObject<{
3510
3509
  name: string;
3511
3510
  version: string;
3512
3511
  }[];
3512
+ createdAt: string;
3513
3513
  expiresAt: string | null;
3514
3514
  };
3515
3515
  sourceFormat: string;
3516
+ kind: "conversion";
3517
+ version: 1;
3516
3518
  targetFormat: string;
3517
3519
  fidelity: "semantic" | "editable-native" | "rendered-fidelity" | "hybrid";
3518
3520
  appliedThemeId: string | null;
3519
3521
  appliedTransformId: string | null;
3520
3522
  sourceAssets: {
3521
3523
  path: string;
3522
- size: number;
3523
3524
  mimeType: string;
3525
+ size: number;
3524
3526
  sha256: string | null;
3525
3527
  altText: string | null;
3526
3528
  credit: string | null;
@@ -3531,6 +3533,11 @@ export declare const convertDocumentResultSchema: z.ZodObject<{
3531
3533
  code: string;
3532
3534
  message: string;
3533
3535
  retryable: boolean;
3536
+ format: string | null;
3537
+ severity: "info" | "warning" | "error";
3538
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
3539
+ count: number;
3540
+ remediation: string | null;
3534
3541
  location: {
3535
3542
  kind: "source";
3536
3543
  line: number;
@@ -3544,27 +3551,19 @@ export declare const convertDocumentResultSchema: z.ZodObject<{
3544
3551
  kind: "asset";
3545
3552
  } | {
3546
3553
  kind: "item";
3547
- index: number;
3548
3554
  itemKind: "page" | "slide" | "sheet" | "frame";
3555
+ index: number;
3549
3556
  } | null;
3550
- format: string | null;
3551
- severity: "error" | "info" | "warning";
3552
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
3553
- count: number;
3554
- remediation: string | null;
3555
3557
  }[];
3556
3558
  }>, "many">;
3557
3559
  }, "strict", z.ZodTypeAny, {
3558
3560
  results: {
3559
- kind: "conversion";
3560
- version: 1;
3561
3561
  artifact: {
3562
- size: number;
3563
- createdAt: string;
3564
3562
  id: string;
3565
3563
  uri: string;
3566
3564
  format: string;
3567
3565
  mimeType: string;
3566
+ size: number;
3568
3567
  sha256: string;
3569
3568
  sourceFormat: string | null;
3570
3569
  sourceSha256: string | null;
@@ -3577,17 +3576,20 @@ export declare const convertDocumentResultSchema: z.ZodObject<{
3577
3576
  name: string;
3578
3577
  version: string;
3579
3578
  }[];
3579
+ createdAt: string;
3580
3580
  expiresAt: string | null;
3581
3581
  };
3582
3582
  sourceFormat: string;
3583
+ kind: "conversion";
3584
+ version: 1;
3583
3585
  targetFormat: string;
3584
3586
  fidelity: "semantic" | "editable-native" | "rendered-fidelity" | "hybrid";
3585
3587
  appliedThemeId: string | null;
3586
3588
  appliedTransformId: string | null;
3587
3589
  sourceAssets: {
3588
3590
  path: string;
3589
- size: number;
3590
3591
  mimeType: string;
3592
+ size: number;
3591
3593
  sha256: string | null;
3592
3594
  altText: string | null;
3593
3595
  credit: string | null;
@@ -3598,6 +3600,11 @@ export declare const convertDocumentResultSchema: z.ZodObject<{
3598
3600
  code: string;
3599
3601
  message: string;
3600
3602
  retryable: boolean;
3603
+ format: string | null;
3604
+ severity: "info" | "warning" | "error";
3605
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
3606
+ count: number;
3607
+ remediation: string | null;
3601
3608
  location: {
3602
3609
  kind: "source";
3603
3610
  line: number;
@@ -3611,27 +3618,19 @@ export declare const convertDocumentResultSchema: z.ZodObject<{
3611
3618
  kind: "asset";
3612
3619
  } | {
3613
3620
  kind: "item";
3614
- index: number;
3615
3621
  itemKind: "page" | "slide" | "sheet" | "frame";
3622
+ index: number;
3616
3623
  } | null;
3617
- format: string | null;
3618
- severity: "error" | "info" | "warning";
3619
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
3620
- count: number;
3621
- remediation: string | null;
3622
3624
  }[];
3623
3625
  }[];
3624
3626
  }, {
3625
3627
  results: {
3626
- kind: "conversion";
3627
- version: 1;
3628
3628
  artifact: {
3629
- size: number;
3630
- createdAt: string;
3631
3629
  id: string;
3632
3630
  uri: string;
3633
3631
  format: string;
3634
3632
  mimeType: string;
3633
+ size: number;
3635
3634
  sha256: string;
3636
3635
  sourceFormat: string | null;
3637
3636
  sourceSha256: string | null;
@@ -3644,17 +3643,20 @@ export declare const convertDocumentResultSchema: z.ZodObject<{
3644
3643
  name: string;
3645
3644
  version: string;
3646
3645
  }[];
3646
+ createdAt: string;
3647
3647
  expiresAt: string | null;
3648
3648
  };
3649
3649
  sourceFormat: string;
3650
+ kind: "conversion";
3651
+ version: 1;
3650
3652
  targetFormat: string;
3651
3653
  fidelity: "semantic" | "editable-native" | "rendered-fidelity" | "hybrid";
3652
3654
  appliedThemeId: string | null;
3653
3655
  appliedTransformId: string | null;
3654
3656
  sourceAssets: {
3655
3657
  path: string;
3656
- size: number;
3657
3658
  mimeType: string;
3659
+ size: number;
3658
3660
  sha256: string | null;
3659
3661
  altText: string | null;
3660
3662
  credit: string | null;
@@ -3665,6 +3667,11 @@ export declare const convertDocumentResultSchema: z.ZodObject<{
3665
3667
  code: string;
3666
3668
  message: string;
3667
3669
  retryable: boolean;
3670
+ format: string | null;
3671
+ severity: "info" | "warning" | "error";
3672
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
3673
+ count: number;
3674
+ remediation: string | null;
3668
3675
  location: {
3669
3676
  kind: "source";
3670
3677
  line: number;
@@ -3678,18 +3685,13 @@ export declare const convertDocumentResultSchema: z.ZodObject<{
3678
3685
  kind: "asset";
3679
3686
  } | {
3680
3687
  kind: "item";
3681
- index: number;
3682
3688
  itemKind: "page" | "slide" | "sheet" | "frame";
3689
+ index: number;
3683
3690
  } | null;
3684
- format: string | null;
3685
- severity: "error" | "info" | "warning";
3686
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
3687
- count: number;
3688
- remediation: string | null;
3689
3691
  }[];
3690
3692
  }[];
3691
3693
  }>;
3692
- export declare const rootGrantSummarySchema: z.ZodObject<{
3694
+ declare const rootGrantSummarySchema: z.ZodObject<{
3693
3695
  id: z.ZodString;
3694
3696
  label: z.ZodString;
3695
3697
  read: z.ZodBoolean;
@@ -3705,7 +3707,7 @@ export declare const rootGrantSummarySchema: z.ZodObject<{
3705
3707
  id: string;
3706
3708
  label: string;
3707
3709
  }>;
3708
- export declare const listRootsResultSchema: z.ZodObject<{
3710
+ declare const listRootsResultSchema: z.ZodObject<{
3709
3711
  roots: z.ZodArray<z.ZodObject<{
3710
3712
  id: z.ZodString;
3711
3713
  label: z.ZodString;
@@ -3737,7 +3739,7 @@ export declare const listRootsResultSchema: z.ZodObject<{
3737
3739
  label: string;
3738
3740
  }[];
3739
3741
  }>;
3740
- export declare const saveArtifactResultSchema: z.ZodObject<{
3742
+ declare const saveArtifactResultSchema: z.ZodObject<{
3741
3743
  artifact: z.ZodEffects<z.ZodObject<{
3742
3744
  id: z.ZodString;
3743
3745
  uri: z.ZodString;
@@ -3771,12 +3773,11 @@ export declare const saveArtifactResultSchema: z.ZodObject<{
3771
3773
  createdAt: z.ZodEffects<z.ZodString, string, string>;
3772
3774
  expiresAt: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
3773
3775
  }, "strict", z.ZodTypeAny, {
3774
- size: number;
3775
- createdAt: string;
3776
3776
  id: string;
3777
3777
  uri: string;
3778
3778
  format: string;
3779
3779
  mimeType: string;
3780
+ size: number;
3780
3781
  sha256: string;
3781
3782
  sourceFormat: string | null;
3782
3783
  sourceSha256: string | null;
@@ -3789,14 +3790,14 @@ export declare const saveArtifactResultSchema: z.ZodObject<{
3789
3790
  name: string;
3790
3791
  version: string;
3791
3792
  }[];
3793
+ createdAt: string;
3792
3794
  expiresAt: string | null;
3793
3795
  }, {
3794
- size: number;
3795
- createdAt: string;
3796
3796
  id: string;
3797
3797
  uri: string;
3798
3798
  format: string;
3799
3799
  mimeType: string;
3800
+ size: number;
3800
3801
  sha256: string;
3801
3802
  sourceFormat: string | null;
3802
3803
  sourceSha256: string | null;
@@ -3809,14 +3810,14 @@ export declare const saveArtifactResultSchema: z.ZodObject<{
3809
3810
  name: string;
3810
3811
  version: string;
3811
3812
  }[];
3813
+ createdAt: string;
3812
3814
  expiresAt: string | null;
3813
3815
  }>, {
3814
- size: number;
3815
- createdAt: string;
3816
3816
  id: string;
3817
3817
  uri: string;
3818
3818
  format: string;
3819
3819
  mimeType: string;
3820
+ size: number;
3820
3821
  sha256: string;
3821
3822
  sourceFormat: string | null;
3822
3823
  sourceSha256: string | null;
@@ -3829,14 +3830,14 @@ export declare const saveArtifactResultSchema: z.ZodObject<{
3829
3830
  name: string;
3830
3831
  version: string;
3831
3832
  }[];
3833
+ createdAt: string;
3832
3834
  expiresAt: string | null;
3833
3835
  }, {
3834
- size: number;
3835
- createdAt: string;
3836
3836
  id: string;
3837
3837
  uri: string;
3838
3838
  format: string;
3839
3839
  mimeType: string;
3840
+ size: number;
3840
3841
  sha256: string;
3841
3842
  sourceFormat: string | null;
3842
3843
  sourceSha256: string | null;
@@ -3849,6 +3850,7 @@ export declare const saveArtifactResultSchema: z.ZodObject<{
3849
3850
  name: string;
3850
3851
  version: string;
3851
3852
  }[];
3853
+ createdAt: string;
3852
3854
  expiresAt: string | null;
3853
3855
  }>;
3854
3856
  destination: z.ZodObject<{
@@ -3863,17 +3865,12 @@ export declare const saveArtifactResultSchema: z.ZodObject<{
3863
3865
  }>;
3864
3866
  sha256: z.ZodString;
3865
3867
  }, "strict", z.ZodTypeAny, {
3866
- destination: {
3867
- path: string;
3868
- rootId: string;
3869
- };
3870
3868
  artifact: {
3871
- size: number;
3872
- createdAt: string;
3873
3869
  id: string;
3874
3870
  uri: string;
3875
3871
  format: string;
3876
3872
  mimeType: string;
3873
+ size: number;
3877
3874
  sha256: string;
3878
3875
  sourceFormat: string | null;
3879
3876
  sourceSha256: string | null;
@@ -3886,21 +3883,21 @@ export declare const saveArtifactResultSchema: z.ZodObject<{
3886
3883
  name: string;
3887
3884
  version: string;
3888
3885
  }[];
3886
+ createdAt: string;
3889
3887
  expiresAt: string | null;
3890
3888
  };
3891
3889
  sha256: string;
3892
- }, {
3893
3890
  destination: {
3894
3891
  path: string;
3895
3892
  rootId: string;
3896
3893
  };
3894
+ }, {
3897
3895
  artifact: {
3898
- size: number;
3899
- createdAt: string;
3900
3896
  id: string;
3901
3897
  uri: string;
3902
3898
  format: string;
3903
3899
  mimeType: string;
3900
+ size: number;
3904
3901
  sha256: string;
3905
3902
  sourceFormat: string | null;
3906
3903
  sourceSha256: string | null;
@@ -3913,11 +3910,16 @@ export declare const saveArtifactResultSchema: z.ZodObject<{
3913
3910
  name: string;
3914
3911
  version: string;
3915
3912
  }[];
3913
+ createdAt: string;
3916
3914
  expiresAt: string | null;
3917
3915
  };
3918
3916
  sha256: string;
3917
+ destination: {
3918
+ path: string;
3919
+ rootId: string;
3920
+ };
3919
3921
  }>;
3920
- export declare const formatDirectionCapabilitySchema: z.ZodDiscriminatedUnion<"supported", [z.ZodObject<{
3922
+ declare const formatDirectionCapabilitySchema: z.ZodDiscriminatedUnion<"supported", [z.ZodObject<{
3921
3923
  supported: z.ZodLiteral<true>;
3922
3924
  tool: z.ZodEnum<["inspect_document", "convert_document"]>;
3923
3925
  }, "strict", z.ZodTypeAny, {
@@ -3936,7 +3938,7 @@ export declare const formatDirectionCapabilitySchema: z.ZodDiscriminatedUnion<"s
3936
3938
  supported: false;
3937
3939
  excludedReason: string;
3938
3940
  }>]>;
3939
- export declare const formatCapabilitySummarySchema: z.ZodObject<{
3941
+ declare const formatCapabilitySummarySchema: z.ZodObject<{
3940
3942
  id: z.ZodString;
3941
3943
  label: z.ZodString;
3942
3944
  mimeType: z.ZodString;
@@ -4018,7 +4020,7 @@ export declare const formatCapabilitySummarySchema: z.ZodObject<{
4018
4020
  label: string;
4019
4021
  extensions: string[];
4020
4022
  }>;
4021
- export declare const listFormatsResultSchema: z.ZodObject<{
4023
+ declare const listFormatsResultSchema: z.ZodObject<{
4022
4024
  formats: z.ZodArray<z.ZodObject<{
4023
4025
  id: z.ZodString;
4024
4026
  label: z.ZodString;
@@ -4144,7 +4146,7 @@ export declare const listFormatsResultSchema: z.ZodObject<{
4144
4146
  extensions: string[];
4145
4147
  }[];
4146
4148
  }>;
4147
- export declare const themeCatalogEntrySchema: z.ZodObject<{
4149
+ declare const themeCatalogEntrySchema: z.ZodObject<{
4148
4150
  id: z.ZodString;
4149
4151
  name: z.ZodString;
4150
4152
  description: z.ZodOptional<z.ZodString>;
@@ -4157,7 +4159,7 @@ export declare const themeCatalogEntrySchema: z.ZodObject<{
4157
4159
  id: string;
4158
4160
  description?: string | undefined;
4159
4161
  }>;
4160
- export declare const listThemesResultSchema: z.ZodObject<{
4162
+ declare const listThemesResultSchema: z.ZodObject<{
4161
4163
  themes: z.ZodArray<z.ZodObject<{
4162
4164
  id: z.ZodString;
4163
4165
  name: z.ZodString;
@@ -4184,7 +4186,7 @@ export declare const listThemesResultSchema: z.ZodObject<{
4184
4186
  description?: string | undefined;
4185
4187
  }[];
4186
4188
  }>;
4187
- export declare const transformStyleSummarySchema: z.ZodObject<{
4189
+ declare const transformStyleSummarySchema: z.ZodObject<{
4188
4190
  id: z.ZodString;
4189
4191
  name: z.ZodString;
4190
4192
  description: z.ZodString;
@@ -4197,7 +4199,7 @@ export declare const transformStyleSummarySchema: z.ZodObject<{
4197
4199
  id: string;
4198
4200
  description: string;
4199
4201
  }>;
4200
- export declare const listTransformStylesResultSchema: z.ZodObject<{
4202
+ declare const listTransformStylesResultSchema: z.ZodObject<{
4201
4203
  styles: z.ZodArray<z.ZodObject<{
4202
4204
  id: z.ZodString;
4203
4205
  name: z.ZodString;
@@ -4224,7 +4226,7 @@ export declare const listTransformStylesResultSchema: z.ZodObject<{
4224
4226
  description: string;
4225
4227
  }[];
4226
4228
  }>;
4227
- export declare const templateSummarySchema: z.ZodObject<{
4229
+ declare const templateSummarySchema: z.ZodObject<{
4228
4230
  id: z.ZodString;
4229
4231
  label: z.ZodString;
4230
4232
  description: z.ZodString;
@@ -4237,7 +4239,7 @@ export declare const templateSummarySchema: z.ZodObject<{
4237
4239
  description: string;
4238
4240
  label: string;
4239
4241
  }>;
4240
- export declare const listTemplatesResultSchema: z.ZodObject<{
4242
+ declare const listTemplatesResultSchema: z.ZodObject<{
4241
4243
  templates: z.ZodArray<z.ZodObject<{
4242
4244
  id: z.ZodString;
4243
4245
  label: z.ZodString;
@@ -4264,7 +4266,7 @@ export declare const listTemplatesResultSchema: z.ZodObject<{
4264
4266
  label: string;
4265
4267
  }[];
4266
4268
  }>;
4267
- export declare const templateInputSummarySchema: z.ZodObject<{
4269
+ declare const templateInputSummarySchema: z.ZodObject<{
4268
4270
  key: z.ZodString;
4269
4271
  description: z.ZodString;
4270
4272
  type: z.ZodString;
@@ -4273,20 +4275,20 @@ export declare const templateInputSummarySchema: z.ZodObject<{
4273
4275
  valueHint: z.ZodNullable<z.ZodString>;
4274
4276
  }, "strict", z.ZodTypeAny, {
4275
4277
  values: string[];
4278
+ description: string;
4276
4279
  type: string;
4277
4280
  key: string;
4278
- description: string;
4279
4281
  required: boolean;
4280
4282
  valueHint: string | null;
4281
4283
  }, {
4282
4284
  values: string[];
4285
+ description: string;
4283
4286
  type: string;
4284
4287
  key: string;
4285
- description: string;
4286
4288
  required: boolean;
4287
4289
  valueHint: string | null;
4288
4290
  }>;
4289
- export declare const describeTemplateResultSchema: z.ZodObject<{
4291
+ declare const describeTemplateResultSchema: z.ZodObject<{
4290
4292
  template: z.ZodObject<{
4291
4293
  id: z.ZodString;
4292
4294
  label: z.ZodString;
@@ -4301,16 +4303,16 @@ export declare const describeTemplateResultSchema: z.ZodObject<{
4301
4303
  valueHint: z.ZodNullable<z.ZodString>;
4302
4304
  }, "strict", z.ZodTypeAny, {
4303
4305
  values: string[];
4306
+ description: string;
4304
4307
  type: string;
4305
4308
  key: string;
4306
- description: string;
4307
4309
  required: boolean;
4308
4310
  valueHint: string | null;
4309
4311
  }, {
4310
4312
  values: string[];
4313
+ description: string;
4311
4314
  type: string;
4312
4315
  key: string;
4313
- description: string;
4314
4316
  required: boolean;
4315
4317
  valueHint: string | null;
4316
4318
  }>, "many">;
@@ -4320,9 +4322,9 @@ export declare const describeTemplateResultSchema: z.ZodObject<{
4320
4322
  label: string;
4321
4323
  inputs: {
4322
4324
  values: string[];
4325
+ description: string;
4323
4326
  type: string;
4324
4327
  key: string;
4325
- description: string;
4326
4328
  required: boolean;
4327
4329
  valueHint: string | null;
4328
4330
  }[];
@@ -4332,9 +4334,9 @@ export declare const describeTemplateResultSchema: z.ZodObject<{
4332
4334
  label: string;
4333
4335
  inputs: {
4334
4336
  values: string[];
4337
+ description: string;
4335
4338
  type: string;
4336
4339
  key: string;
4337
- description: string;
4338
4340
  required: boolean;
4339
4341
  valueHint: string | null;
4340
4342
  }[];
@@ -4347,9 +4349,9 @@ export declare const describeTemplateResultSchema: z.ZodObject<{
4347
4349
  label: string;
4348
4350
  inputs: {
4349
4351
  values: string[];
4352
+ description: string;
4350
4353
  type: string;
4351
4354
  key: string;
4352
- description: string;
4353
4355
  required: boolean;
4354
4356
  valueHint: string | null;
4355
4357
  }[];
@@ -4362,16 +4364,16 @@ export declare const describeTemplateResultSchema: z.ZodObject<{
4362
4364
  label: string;
4363
4365
  inputs: {
4364
4366
  values: string[];
4367
+ description: string;
4365
4368
  type: string;
4366
4369
  key: string;
4367
- description: string;
4368
4370
  required: boolean;
4369
4371
  valueHint: string | null;
4370
4372
  }[];
4371
4373
  };
4372
4374
  annotationExample: string;
4373
4375
  }>;
4374
- export declare const templateContentProfileSchema: z.ZodObject<{
4376
+ declare const templateContentProfileSchema: z.ZodObject<{
4375
4377
  hasImage: z.ZodBoolean;
4376
4378
  imageCount: z.ZodNumber;
4377
4379
  hasVideo: z.ZodBoolean;
@@ -4411,7 +4413,7 @@ export declare const templateContentProfileSchema: z.ZodObject<{
4411
4413
  hasTimeline: boolean;
4412
4414
  hasTree: boolean;
4413
4415
  }>;
4414
- export declare const templateRecommendationSchema: z.ZodObject<{
4416
+ declare const templateRecommendationSchema: z.ZodObject<{
4415
4417
  blockId: z.ZodString;
4416
4418
  title: z.ZodNullable<z.ZodString>;
4417
4419
  profile: z.ZodObject<{
@@ -4492,7 +4494,7 @@ export declare const templateRecommendationSchema: z.ZodObject<{
4492
4494
  };
4493
4495
  recommendedTemplateIds: string[];
4494
4496
  }>;
4495
- export declare const recommendTemplatesResultSchema: z.ZodObject<{
4497
+ declare const recommendTemplatesResultSchema: z.ZodObject<{
4496
4498
  recommendations: z.ZodArray<z.ZodObject<{
4497
4499
  blockId: z.ZodString;
4498
4500
  title: z.ZodNullable<z.ZodString>;
@@ -4621,7 +4623,7 @@ export declare const recommendTemplatesResultSchema: z.ZodObject<{
4621
4623
  }[];
4622
4624
  totalBlocks: number;
4623
4625
  }>;
4624
- export declare const themeDescriptionSchema: z.ZodObject<{
4626
+ declare const themeDescriptionSchema: z.ZodObject<{
4625
4627
  id: z.ZodString;
4626
4628
  name: z.ZodString;
4627
4629
  description: z.ZodString;
@@ -4673,7 +4675,7 @@ export declare const themeDescriptionSchema: z.ZodObject<{
4673
4675
  bodyFont: string;
4674
4676
  titleFont: string;
4675
4677
  }>;
4676
- export declare const describeThemeResultSchema: z.ZodObject<{
4678
+ declare const describeThemeResultSchema: z.ZodObject<{
4677
4679
  theme: z.ZodObject<{
4678
4680
  id: z.ZodString;
4679
4681
  name: z.ZodString;
@@ -4728,7 +4730,7 @@ export declare const describeThemeResultSchema: z.ZodObject<{
4728
4730
  }>;
4729
4731
  source: z.ZodEnum<["built-in", "document"]>;
4730
4732
  }, "strict", z.ZodTypeAny, {
4731
- source: "document" | "built-in";
4733
+ source: "built-in" | "document";
4732
4734
  theme: {
4733
4735
  name: string;
4734
4736
  id: string;
@@ -4744,7 +4746,7 @@ export declare const describeThemeResultSchema: z.ZodObject<{
4744
4746
  titleFont: string;
4745
4747
  };
4746
4748
  }, {
4747
- source: "document" | "built-in";
4749
+ source: "built-in" | "document";
4748
4750
  theme: {
4749
4751
  name: string;
4750
4752
  id: string;
@@ -4760,7 +4762,7 @@ export declare const describeThemeResultSchema: z.ZodObject<{
4760
4762
  titleFont: string;
4761
4763
  };
4762
4764
  }>;
4763
- export declare const inferredLayoutSummarySchema: z.ZodObject<{
4765
+ declare const inferredLayoutSummarySchema: z.ZodObject<{
4764
4766
  id: z.ZodString;
4765
4767
  name: z.ZodString;
4766
4768
  description: z.ZodString;
@@ -4773,7 +4775,7 @@ export declare const inferredLayoutSummarySchema: z.ZodObject<{
4773
4775
  id: string;
4774
4776
  description: string;
4775
4777
  }>;
4776
- export declare const inferThemeResultSchema: z.ZodObject<{
4778
+ declare const inferThemeResultSchema: z.ZodObject<{
4777
4779
  sourceFormat: z.ZodString;
4778
4780
  sourceSha256: z.ZodString;
4779
4781
  theme: z.ZodObject<{
@@ -4889,7 +4891,7 @@ export declare const inferThemeResultSchema: z.ZodObject<{
4889
4891
  }[];
4890
4892
  warnings: string[];
4891
4893
  }>;
4892
- export declare const pptxLayoutSummarySchema: z.ZodObject<{
4894
+ declare const pptxLayoutSummarySchema: z.ZodObject<{
4893
4895
  layoutPath: z.ZodString;
4894
4896
  name: z.ZodString;
4895
4897
  masterName: z.ZodNullable<z.ZodString>;
@@ -4900,8 +4902,8 @@ export declare const pptxLayoutSummarySchema: z.ZodObject<{
4900
4902
  notes: z.ZodArray<z.ZodString, "many">;
4901
4903
  }, "strict", z.ZodTypeAny, {
4902
4904
  name: string;
4903
- type: string | null;
4904
4905
  slideCount: number;
4906
+ type: string | null;
4905
4907
  templateId: string | null;
4906
4908
  layoutPath: string;
4907
4909
  masterName: string | null;
@@ -4909,15 +4911,15 @@ export declare const pptxLayoutSummarySchema: z.ZodObject<{
4909
4911
  notes: string[];
4910
4912
  }, {
4911
4913
  name: string;
4912
- type: string | null;
4913
4914
  slideCount: number;
4915
+ type: string | null;
4914
4916
  templateId: string | null;
4915
4917
  layoutPath: string;
4916
4918
  masterName: string | null;
4917
4919
  verdict: "builtin" | "custom" | "plain" | "skip";
4918
4920
  notes: string[];
4919
4921
  }>;
4920
- export declare const inspectPptxLayoutsResultSchema: z.ZodObject<{
4922
+ declare const inspectPptxLayoutsResultSchema: z.ZodObject<{
4921
4923
  slideSize: z.ZodObject<{
4922
4924
  cx: z.ZodNumber;
4923
4925
  cy: z.ZodNumber;
@@ -4939,8 +4941,8 @@ export declare const inspectPptxLayoutsResultSchema: z.ZodObject<{
4939
4941
  notes: z.ZodArray<z.ZodString, "many">;
4940
4942
  }, "strict", z.ZodTypeAny, {
4941
4943
  name: string;
4942
- type: string | null;
4943
4944
  slideCount: number;
4945
+ type: string | null;
4944
4946
  templateId: string | null;
4945
4947
  layoutPath: string;
4946
4948
  masterName: string | null;
@@ -4948,8 +4950,8 @@ export declare const inspectPptxLayoutsResultSchema: z.ZodObject<{
4948
4950
  notes: string[];
4949
4951
  }, {
4950
4952
  name: string;
4951
- type: string | null;
4952
4953
  slideCount: number;
4954
+ type: string | null;
4953
4955
  templateId: string | null;
4954
4956
  layoutPath: string;
4955
4957
  masterName: string | null;
@@ -4959,8 +4961,8 @@ export declare const inspectPptxLayoutsResultSchema: z.ZodObject<{
4959
4961
  }, "strict", z.ZodTypeAny, {
4960
4962
  layouts: {
4961
4963
  name: string;
4962
- type: string | null;
4963
4964
  slideCount: number;
4965
+ type: string | null;
4964
4966
  templateId: string | null;
4965
4967
  layoutPath: string;
4966
4968
  masterName: string | null;
@@ -4974,8 +4976,8 @@ export declare const inspectPptxLayoutsResultSchema: z.ZodObject<{
4974
4976
  }, {
4975
4977
  layouts: {
4976
4978
  name: string;
4977
- type: string | null;
4978
4979
  slideCount: number;
4980
+ type: string | null;
4979
4981
  templateId: string | null;
4980
4982
  layoutPath: string;
4981
4983
  masterName: string | null;
@@ -4987,7 +4989,7 @@ export declare const inspectPptxLayoutsResultSchema: z.ZodObject<{
4987
4989
  cy: number;
4988
4990
  };
4989
4991
  }>;
4990
- export declare const applyInferredThemeResultSchema: z.ZodObject<{
4992
+ declare const applyInferredThemeResultSchema: z.ZodObject<{
4991
4993
  result: z.ZodEffects<z.ZodObject<{
4992
4994
  version: z.ZodLiteral<1>;
4993
4995
  kind: z.ZodLiteral<"conversion">;
@@ -5026,12 +5028,11 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5026
5028
  createdAt: z.ZodEffects<z.ZodString, string, string>;
5027
5029
  expiresAt: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
5028
5030
  }, "strict", z.ZodTypeAny, {
5029
- size: number;
5030
- createdAt: string;
5031
5031
  id: string;
5032
5032
  uri: string;
5033
5033
  format: string;
5034
5034
  mimeType: string;
5035
+ size: number;
5035
5036
  sha256: string;
5036
5037
  sourceFormat: string | null;
5037
5038
  sourceSha256: string | null;
@@ -5044,14 +5045,14 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5044
5045
  name: string;
5045
5046
  version: string;
5046
5047
  }[];
5048
+ createdAt: string;
5047
5049
  expiresAt: string | null;
5048
5050
  }, {
5049
- size: number;
5050
- createdAt: string;
5051
5051
  id: string;
5052
5052
  uri: string;
5053
5053
  format: string;
5054
5054
  mimeType: string;
5055
+ size: number;
5055
5056
  sha256: string;
5056
5057
  sourceFormat: string | null;
5057
5058
  sourceSha256: string | null;
@@ -5064,14 +5065,14 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5064
5065
  name: string;
5065
5066
  version: string;
5066
5067
  }[];
5068
+ createdAt: string;
5067
5069
  expiresAt: string | null;
5068
5070
  }>, {
5069
- size: number;
5070
- createdAt: string;
5071
5071
  id: string;
5072
5072
  uri: string;
5073
5073
  format: string;
5074
5074
  mimeType: string;
5075
+ size: number;
5075
5076
  sha256: string;
5076
5077
  sourceFormat: string | null;
5077
5078
  sourceSha256: string | null;
@@ -5084,14 +5085,14 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5084
5085
  name: string;
5085
5086
  version: string;
5086
5087
  }[];
5088
+ createdAt: string;
5087
5089
  expiresAt: string | null;
5088
5090
  }, {
5089
- size: number;
5090
- createdAt: string;
5091
5091
  id: string;
5092
5092
  uri: string;
5093
5093
  format: string;
5094
5094
  mimeType: string;
5095
+ size: number;
5095
5096
  sha256: string;
5096
5097
  sourceFormat: string | null;
5097
5098
  sourceSha256: string | null;
@@ -5104,6 +5105,7 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5104
5105
  name: string;
5105
5106
  version: string;
5106
5107
  }[];
5108
+ createdAt: string;
5107
5109
  expiresAt: string | null;
5108
5110
  }>;
5109
5111
  fidelity: z.ZodEnum<["semantic", "editable-native", "rendered-fidelity", "hybrid"]>;
@@ -5119,16 +5121,16 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5119
5121
  license: z.ZodNullable<z.ZodString>;
5120
5122
  }, "strict", z.ZodTypeAny, {
5121
5123
  path: string;
5122
- size: number;
5123
5124
  mimeType: string;
5125
+ size: number;
5124
5126
  sha256: string | null;
5125
5127
  altText: string | null;
5126
5128
  credit: string | null;
5127
5129
  license: string | null;
5128
5130
  }, {
5129
5131
  path: string;
5130
- size: number;
5131
5132
  mimeType: string;
5133
+ size: number;
5132
5134
  sha256: string | null;
5133
5135
  altText: string | null;
5134
5136
  credit: string | null;
@@ -5183,17 +5185,22 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5183
5185
  index: z.ZodNumber;
5184
5186
  }, "strict", z.ZodTypeAny, {
5185
5187
  kind: "item";
5186
- index: number;
5187
5188
  itemKind: "page" | "slide" | "sheet" | "frame";
5189
+ index: number;
5188
5190
  }, {
5189
5191
  kind: "item";
5190
- index: number;
5191
5192
  itemKind: "page" | "slide" | "sheet" | "frame";
5193
+ index: number;
5192
5194
  }>]>>;
5193
5195
  }, "strict", z.ZodTypeAny, {
5194
5196
  code: string;
5195
5197
  message: string;
5196
5198
  retryable: boolean;
5199
+ format: string | null;
5200
+ severity: "info" | "warning" | "error";
5201
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
5202
+ count: number;
5203
+ remediation: string | null;
5197
5204
  location: {
5198
5205
  kind: "source";
5199
5206
  line: number;
@@ -5207,18 +5214,18 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5207
5214
  kind: "asset";
5208
5215
  } | {
5209
5216
  kind: "item";
5210
- index: number;
5211
5217
  itemKind: "page" | "slide" | "sheet" | "frame";
5218
+ index: number;
5212
5219
  } | null;
5213
- format: string | null;
5214
- severity: "error" | "info" | "warning";
5215
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
5216
- count: number;
5217
- remediation: string | null;
5218
5220
  }, {
5219
5221
  code: string;
5220
5222
  message: string;
5221
5223
  retryable: boolean;
5224
+ format: string | null;
5225
+ severity: "info" | "warning" | "error";
5226
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
5227
+ count: number;
5228
+ remediation: string | null;
5222
5229
  location: {
5223
5230
  kind: "source";
5224
5231
  line: number;
@@ -5232,25 +5239,17 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5232
5239
  kind: "asset";
5233
5240
  } | {
5234
5241
  kind: "item";
5235
- index: number;
5236
5242
  itemKind: "page" | "slide" | "sheet" | "frame";
5243
+ index: number;
5237
5244
  } | null;
5238
- format: string | null;
5239
- severity: "error" | "info" | "warning";
5240
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
5241
- count: number;
5242
- remediation: string | null;
5243
5245
  }>, "many">;
5244
5246
  }, "strict", z.ZodTypeAny, {
5245
- kind: "conversion";
5246
- version: 1;
5247
5247
  artifact: {
5248
- size: number;
5249
- createdAt: string;
5250
5248
  id: string;
5251
5249
  uri: string;
5252
5250
  format: string;
5253
5251
  mimeType: string;
5252
+ size: number;
5254
5253
  sha256: string;
5255
5254
  sourceFormat: string | null;
5256
5255
  sourceSha256: string | null;
@@ -5263,17 +5262,20 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5263
5262
  name: string;
5264
5263
  version: string;
5265
5264
  }[];
5265
+ createdAt: string;
5266
5266
  expiresAt: string | null;
5267
5267
  };
5268
5268
  sourceFormat: string;
5269
+ kind: "conversion";
5270
+ version: 1;
5269
5271
  targetFormat: string;
5270
5272
  fidelity: "semantic" | "editable-native" | "rendered-fidelity" | "hybrid";
5271
5273
  appliedThemeId: string | null;
5272
5274
  appliedTransformId: string | null;
5273
5275
  sourceAssets: {
5274
5276
  path: string;
5275
- size: number;
5276
5277
  mimeType: string;
5278
+ size: number;
5277
5279
  sha256: string | null;
5278
5280
  altText: string | null;
5279
5281
  credit: string | null;
@@ -5284,6 +5286,11 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5284
5286
  code: string;
5285
5287
  message: string;
5286
5288
  retryable: boolean;
5289
+ format: string | null;
5290
+ severity: "info" | "warning" | "error";
5291
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
5292
+ count: number;
5293
+ remediation: string | null;
5287
5294
  location: {
5288
5295
  kind: "source";
5289
5296
  line: number;
@@ -5297,25 +5304,17 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5297
5304
  kind: "asset";
5298
5305
  } | {
5299
5306
  kind: "item";
5300
- index: number;
5301
5307
  itemKind: "page" | "slide" | "sheet" | "frame";
5308
+ index: number;
5302
5309
  } | null;
5303
- format: string | null;
5304
- severity: "error" | "info" | "warning";
5305
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
5306
- count: number;
5307
- remediation: string | null;
5308
5310
  }[];
5309
5311
  }, {
5310
- kind: "conversion";
5311
- version: 1;
5312
5312
  artifact: {
5313
- size: number;
5314
- createdAt: string;
5315
5313
  id: string;
5316
5314
  uri: string;
5317
5315
  format: string;
5318
5316
  mimeType: string;
5317
+ size: number;
5319
5318
  sha256: string;
5320
5319
  sourceFormat: string | null;
5321
5320
  sourceSha256: string | null;
@@ -5328,17 +5327,20 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5328
5327
  name: string;
5329
5328
  version: string;
5330
5329
  }[];
5330
+ createdAt: string;
5331
5331
  expiresAt: string | null;
5332
5332
  };
5333
5333
  sourceFormat: string;
5334
+ kind: "conversion";
5335
+ version: 1;
5334
5336
  targetFormat: string;
5335
5337
  fidelity: "semantic" | "editable-native" | "rendered-fidelity" | "hybrid";
5336
5338
  appliedThemeId: string | null;
5337
5339
  appliedTransformId: string | null;
5338
5340
  sourceAssets: {
5339
5341
  path: string;
5340
- size: number;
5341
5342
  mimeType: string;
5343
+ size: number;
5342
5344
  sha256: string | null;
5343
5345
  altText: string | null;
5344
5346
  credit: string | null;
@@ -5349,6 +5351,11 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5349
5351
  code: string;
5350
5352
  message: string;
5351
5353
  retryable: boolean;
5354
+ format: string | null;
5355
+ severity: "info" | "warning" | "error";
5356
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
5357
+ count: number;
5358
+ remediation: string | null;
5352
5359
  location: {
5353
5360
  kind: "source";
5354
5361
  line: number;
@@ -5362,25 +5369,17 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5362
5369
  kind: "asset";
5363
5370
  } | {
5364
5371
  kind: "item";
5365
- index: number;
5366
5372
  itemKind: "page" | "slide" | "sheet" | "frame";
5373
+ index: number;
5367
5374
  } | null;
5368
- format: string | null;
5369
- severity: "error" | "info" | "warning";
5370
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
5371
- count: number;
5372
- remediation: string | null;
5373
5375
  }[];
5374
5376
  }>, {
5375
- kind: "conversion";
5376
- version: 1;
5377
5377
  artifact: {
5378
- size: number;
5379
- createdAt: string;
5380
5378
  id: string;
5381
5379
  uri: string;
5382
5380
  format: string;
5383
5381
  mimeType: string;
5382
+ size: number;
5384
5383
  sha256: string;
5385
5384
  sourceFormat: string | null;
5386
5385
  sourceSha256: string | null;
@@ -5393,17 +5392,20 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5393
5392
  name: string;
5394
5393
  version: string;
5395
5394
  }[];
5395
+ createdAt: string;
5396
5396
  expiresAt: string | null;
5397
5397
  };
5398
5398
  sourceFormat: string;
5399
+ kind: "conversion";
5400
+ version: 1;
5399
5401
  targetFormat: string;
5400
5402
  fidelity: "semantic" | "editable-native" | "rendered-fidelity" | "hybrid";
5401
5403
  appliedThemeId: string | null;
5402
5404
  appliedTransformId: string | null;
5403
5405
  sourceAssets: {
5404
5406
  path: string;
5405
- size: number;
5406
5407
  mimeType: string;
5408
+ size: number;
5407
5409
  sha256: string | null;
5408
5410
  altText: string | null;
5409
5411
  credit: string | null;
@@ -5414,6 +5416,11 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5414
5416
  code: string;
5415
5417
  message: string;
5416
5418
  retryable: boolean;
5419
+ format: string | null;
5420
+ severity: "info" | "warning" | "error";
5421
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
5422
+ count: number;
5423
+ remediation: string | null;
5417
5424
  location: {
5418
5425
  kind: "source";
5419
5426
  line: number;
@@ -5427,25 +5434,17 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5427
5434
  kind: "asset";
5428
5435
  } | {
5429
5436
  kind: "item";
5430
- index: number;
5431
5437
  itemKind: "page" | "slide" | "sheet" | "frame";
5438
+ index: number;
5432
5439
  } | null;
5433
- format: string | null;
5434
- severity: "error" | "info" | "warning";
5435
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
5436
- count: number;
5437
- remediation: string | null;
5438
5440
  }[];
5439
5441
  }, {
5440
- kind: "conversion";
5441
- version: 1;
5442
5442
  artifact: {
5443
- size: number;
5444
- createdAt: string;
5445
5443
  id: string;
5446
5444
  uri: string;
5447
5445
  format: string;
5448
5446
  mimeType: string;
5447
+ size: number;
5449
5448
  sha256: string;
5450
5449
  sourceFormat: string | null;
5451
5450
  sourceSha256: string | null;
@@ -5458,17 +5457,20 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5458
5457
  name: string;
5459
5458
  version: string;
5460
5459
  }[];
5460
+ createdAt: string;
5461
5461
  expiresAt: string | null;
5462
5462
  };
5463
5463
  sourceFormat: string;
5464
+ kind: "conversion";
5465
+ version: 1;
5464
5466
  targetFormat: string;
5465
5467
  fidelity: "semantic" | "editable-native" | "rendered-fidelity" | "hybrid";
5466
5468
  appliedThemeId: string | null;
5467
5469
  appliedTransformId: string | null;
5468
5470
  sourceAssets: {
5469
5471
  path: string;
5470
- size: number;
5471
5472
  mimeType: string;
5473
+ size: number;
5472
5474
  sha256: string | null;
5473
5475
  altText: string | null;
5474
5476
  credit: string | null;
@@ -5479,6 +5481,11 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5479
5481
  code: string;
5480
5482
  message: string;
5481
5483
  retryable: boolean;
5484
+ format: string | null;
5485
+ severity: "info" | "warning" | "error";
5486
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
5487
+ count: number;
5488
+ remediation: string | null;
5482
5489
  location: {
5483
5490
  kind: "source";
5484
5491
  line: number;
@@ -5492,14 +5499,9 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5492
5499
  kind: "asset";
5493
5500
  } | {
5494
5501
  kind: "item";
5495
- index: number;
5496
5502
  itemKind: "page" | "slide" | "sheet" | "frame";
5503
+ index: number;
5497
5504
  } | null;
5498
- format: string | null;
5499
- severity: "error" | "info" | "warning";
5500
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
5501
- count: number;
5502
- remediation: string | null;
5503
5505
  }[];
5504
5506
  }>;
5505
5507
  theme: z.ZodObject<{
@@ -5572,15 +5574,12 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5572
5574
  titleFont: string;
5573
5575
  };
5574
5576
  result: {
5575
- kind: "conversion";
5576
- version: 1;
5577
5577
  artifact: {
5578
- size: number;
5579
- createdAt: string;
5580
5578
  id: string;
5581
5579
  uri: string;
5582
5580
  format: string;
5583
5581
  mimeType: string;
5582
+ size: number;
5584
5583
  sha256: string;
5585
5584
  sourceFormat: string | null;
5586
5585
  sourceSha256: string | null;
@@ -5593,17 +5592,20 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5593
5592
  name: string;
5594
5593
  version: string;
5595
5594
  }[];
5595
+ createdAt: string;
5596
5596
  expiresAt: string | null;
5597
5597
  };
5598
5598
  sourceFormat: string;
5599
+ kind: "conversion";
5600
+ version: 1;
5599
5601
  targetFormat: string;
5600
5602
  fidelity: "semantic" | "editable-native" | "rendered-fidelity" | "hybrid";
5601
5603
  appliedThemeId: string | null;
5602
5604
  appliedTransformId: string | null;
5603
5605
  sourceAssets: {
5604
5606
  path: string;
5605
- size: number;
5606
5607
  mimeType: string;
5608
+ size: number;
5607
5609
  sha256: string | null;
5608
5610
  altText: string | null;
5609
5611
  credit: string | null;
@@ -5614,6 +5616,11 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5614
5616
  code: string;
5615
5617
  message: string;
5616
5618
  retryable: boolean;
5619
+ format: string | null;
5620
+ severity: "info" | "warning" | "error";
5621
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
5622
+ count: number;
5623
+ remediation: string | null;
5617
5624
  location: {
5618
5625
  kind: "source";
5619
5626
  line: number;
@@ -5627,14 +5634,9 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5627
5634
  kind: "asset";
5628
5635
  } | {
5629
5636
  kind: "item";
5630
- index: number;
5631
5637
  itemKind: "page" | "slide" | "sheet" | "frame";
5638
+ index: number;
5632
5639
  } | null;
5633
- format: string | null;
5634
- severity: "error" | "info" | "warning";
5635
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
5636
- count: number;
5637
- remediation: string | null;
5638
5640
  }[];
5639
5641
  };
5640
5642
  warnings: string[];
@@ -5655,15 +5657,12 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5655
5657
  titleFont: string;
5656
5658
  };
5657
5659
  result: {
5658
- kind: "conversion";
5659
- version: 1;
5660
5660
  artifact: {
5661
- size: number;
5662
- createdAt: string;
5663
5661
  id: string;
5664
5662
  uri: string;
5665
5663
  format: string;
5666
5664
  mimeType: string;
5665
+ size: number;
5667
5666
  sha256: string;
5668
5667
  sourceFormat: string | null;
5669
5668
  sourceSha256: string | null;
@@ -5676,17 +5675,20 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5676
5675
  name: string;
5677
5676
  version: string;
5678
5677
  }[];
5678
+ createdAt: string;
5679
5679
  expiresAt: string | null;
5680
5680
  };
5681
5681
  sourceFormat: string;
5682
+ kind: "conversion";
5683
+ version: 1;
5682
5684
  targetFormat: string;
5683
5685
  fidelity: "semantic" | "editable-native" | "rendered-fidelity" | "hybrid";
5684
5686
  appliedThemeId: string | null;
5685
5687
  appliedTransformId: string | null;
5686
5688
  sourceAssets: {
5687
5689
  path: string;
5688
- size: number;
5689
5690
  mimeType: string;
5691
+ size: number;
5690
5692
  sha256: string | null;
5691
5693
  altText: string | null;
5692
5694
  credit: string | null;
@@ -5697,6 +5699,11 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5697
5699
  code: string;
5698
5700
  message: string;
5699
5701
  retryable: boolean;
5702
+ format: string | null;
5703
+ severity: "info" | "warning" | "error";
5704
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
5705
+ count: number;
5706
+ remediation: string | null;
5700
5707
  location: {
5701
5708
  kind: "source";
5702
5709
  line: number;
@@ -5710,25 +5717,20 @@ export declare const applyInferredThemeResultSchema: z.ZodObject<{
5710
5717
  kind: "asset";
5711
5718
  } | {
5712
5719
  kind: "item";
5713
- index: number;
5714
5720
  itemKind: "page" | "slide" | "sheet" | "frame";
5721
+ index: number;
5715
5722
  } | null;
5716
- format: string | null;
5717
- severity: "error" | "info" | "warning";
5718
- stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
5719
- count: number;
5720
- remediation: string | null;
5721
5723
  }[];
5722
5724
  };
5723
5725
  warnings: string[];
5724
5726
  layoutIds: string[];
5725
5727
  }>;
5726
5728
  /** Core-owned success payload schemas for every advertised canonical MCP tool. */
5727
- export declare const DOCBLOCKS_MCP_TOOL_RESULT_SCHEMAS: Readonly<Record<DocBlocksMcpToolName, z.ZodTypeAny>>;
5729
+ declare const DOCBLOCKS_MCP_TOOL_RESULT_SCHEMAS: Readonly<Record<DocBlocksMcpToolName, z.ZodTypeAny>>;
5728
5730
  /** Exact success/error envelopes consumed directly by MCP tool registration. */
5729
5731
  type DocBlocksMcpToolOutputSchema = ReturnType<typeof toolOutputSchema>;
5730
- export declare const DOCBLOCKS_MCP_TOOL_OUTPUT_SCHEMAS: Readonly<Record<DocBlocksMcpToolName, DocBlocksMcpToolOutputSchema>>;
5731
- export declare const materializationOptionsSchema: z.ZodDiscriminatedUnion<"ifExists", [z.ZodObject<{
5732
+ declare const DOCBLOCKS_MCP_TOOL_OUTPUT_SCHEMAS: Readonly<Record<DocBlocksMcpToolName, DocBlocksMcpToolOutputSchema>>;
5733
+ declare const materializationOptionsSchema: z.ZodDiscriminatedUnion<"ifExists", [z.ZodObject<{
5732
5734
  rootId: z.ZodString;
5733
5735
  path: z.ZodEffects<z.ZodString, string, string>;
5734
5736
  ifExists: z.ZodLiteral<"error">;
@@ -5759,5 +5761,5 @@ export declare const materializationOptionsSchema: z.ZodDiscriminatedUnion<"ifEx
5759
5761
  ifExists: "replace";
5760
5762
  expectedSha256: string;
5761
5763
  }>]>;
5762
- export {};
5763
- //# sourceMappingURL=zod.d.ts.map
5764
+
5765
+ export { DOCBLOCKS_MCP_TOOL_OUTPUT_SCHEMAS, DOCBLOCKS_MCP_TOOL_RESULT_SCHEMAS, MAX_MARKDOWN_CHARACTERS, MAX_PATH_CHARACTERS, applyInferredThemeResultSchema, artifactRefSchema, artifactUriSchema, bundleAssetSchema, bundleDocumentSourceSchema, comparisonResultSchema, conversionResultSchema, convertDocumentResultSchema, describeTemplateResultSchema, describeThemeResultSchema, diagnosticSchema, documentSourceSchema, formatCapabilitySummarySchema, formatDirectionCapabilitySchema, formatInputSchema, formatSchema, inferThemeResultSchema, inferredLayoutSummarySchema, inspectPptxLayoutsResultSchema, inspectionResultSchema, listFormatsResultSchema, listRootsResultSchema, listTemplatesResultSchema, listThemesResultSchema, listTransformStylesResultSchema, materializationOptionsSchema, mcpErrorDetailSchema, mcpErrorResultSchema, pptxLayoutSummarySchema, previewResultSchema, recommendTemplatesResultSchema, rootGrantSummarySchema, saveArtifactResultSchema, templateContentProfileSchema, templateInputSummarySchema, templateRecommendationSchema, templateSummarySchema, themeCatalogEntrySchema, themeDescriptionSchema, toolOutputSchema, transformStyleSummarySchema, validationResultSchema };