@bendyline/docblocks 2.1.0 → 2.1.2

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 (72) hide show
  1. package/README.md +2 -2
  2. package/dist/{chunk-WJKYY5QR.js → chunk-4437YWLE.js} +5 -6
  3. package/dist/{chunk-XUML3MKV.js → chunk-45T5AFCN.js} +5 -6
  4. package/dist/{chunk-COYQXQK3.js → chunk-6L3JRDE7.js} +4 -5
  5. package/dist/{chunk-BNKV7MTO.js → chunk-6XHOOBYF.js} +0 -1
  6. package/dist/{chunk-U722UUFN.js → chunk-73OOROXH.js} +0 -1
  7. package/dist/{chunk-JS6XFWQK.js → chunk-AYWKIZLD.js} +0 -1
  8. package/dist/{chunk-VTCSF7VS.js → chunk-BVY7GGNV.js} +4 -5
  9. package/dist/{chunk-B56KWCSE.js → chunk-DOV5VRTD.js} +61 -10
  10. package/dist/{chunk-AEHCVWU5.js → chunk-DZB666V7.js} +0 -1
  11. package/dist/{chunk-GM5YXU4L.js → chunk-KQ6756AJ.js} +1 -2
  12. package/dist/{chunk-BXMF5YQJ.js → chunk-LMMOFRGQ.js} +0 -1
  13. package/dist/{chunk-FNW556FN.js → chunk-M2PUNKHS.js} +0 -1
  14. package/dist/{chunk-FA7UNOXK.js → chunk-M5ZNQGR5.js} +1 -2
  15. package/dist/{chunk-P4WATND4.js → chunk-M62ZGJ5I.js} +0 -1
  16. package/dist/{chunk-RVPGQBWR.js → chunk-OQCPBOQA.js} +0 -1
  17. package/dist/{chunk-MNSZ7EZN.js → chunk-QI6YKTQV.js} +2 -3
  18. package/dist/{chunk-P3DVZQ6S.js → chunk-SJBB5OD7.js} +2 -3
  19. package/dist/{chunk-EZKJZUNJ.js → chunk-XAMILHQP.js} +0 -1
  20. package/dist/{chunk-6IYMTYMQ.js → chunk-YM7O3PWO.js} +7 -8
  21. package/dist/{chunk-DN7A33LL.js → chunk-ZO7G53QP.js} +4 -5
  22. package/dist/document/index.js +5 -6
  23. package/dist/filesystem/electron.js +6 -7
  24. package/dist/filesystem/index.js +16 -17
  25. package/dist/filesystem/indexeddb.js +8 -9
  26. package/dist/filesystem/memory.js +5 -6
  27. package/dist/filesystem/native.js +6 -7
  28. package/dist/host/index.js +2 -3
  29. package/dist/index.js +19 -20
  30. package/dist/mcp/index.d.ts +6 -3
  31. package/dist/mcp/index.js +4 -3
  32. package/dist/mcp/zod.d.ts +1859 -648
  33. package/dist/mcp/zod.js +78 -7
  34. package/dist/share/index.js +1 -2
  35. package/dist/{types-CX893hgH.d.ts → types-B7BBB5az.d.ts} +63 -2
  36. package/dist/vscode/index.d.ts +5 -0
  37. package/dist/vscode/index.js +11 -5
  38. package/dist/workspace/index.js +3 -4
  39. package/package.json +3 -2
  40. package/dist/chunk-6IYMTYMQ.js.map +0 -1
  41. package/dist/chunk-AEHCVWU5.js.map +0 -1
  42. package/dist/chunk-B56KWCSE.js.map +0 -1
  43. package/dist/chunk-BNKV7MTO.js.map +0 -1
  44. package/dist/chunk-BXMF5YQJ.js.map +0 -1
  45. package/dist/chunk-COYQXQK3.js.map +0 -1
  46. package/dist/chunk-DN7A33LL.js.map +0 -1
  47. package/dist/chunk-EZKJZUNJ.js.map +0 -1
  48. package/dist/chunk-FA7UNOXK.js.map +0 -1
  49. package/dist/chunk-FNW556FN.js.map +0 -1
  50. package/dist/chunk-GM5YXU4L.js.map +0 -1
  51. package/dist/chunk-JS6XFWQK.js.map +0 -1
  52. package/dist/chunk-MNSZ7EZN.js.map +0 -1
  53. package/dist/chunk-P3DVZQ6S.js.map +0 -1
  54. package/dist/chunk-P4WATND4.js.map +0 -1
  55. package/dist/chunk-RVPGQBWR.js.map +0 -1
  56. package/dist/chunk-U722UUFN.js.map +0 -1
  57. package/dist/chunk-VTCSF7VS.js.map +0 -1
  58. package/dist/chunk-WJKYY5QR.js.map +0 -1
  59. package/dist/chunk-XUML3MKV.js.map +0 -1
  60. package/dist/document/index.js.map +0 -1
  61. package/dist/filesystem/electron.js.map +0 -1
  62. package/dist/filesystem/index.js.map +0 -1
  63. package/dist/filesystem/indexeddb.js.map +0 -1
  64. package/dist/filesystem/memory.js.map +0 -1
  65. package/dist/filesystem/native.js.map +0 -1
  66. package/dist/host/index.js.map +0 -1
  67. package/dist/index.js.map +0 -1
  68. package/dist/mcp/index.js.map +0 -1
  69. package/dist/mcp/zod.js.map +0 -1
  70. package/dist/share/index.js.map +0 -1
  71. package/dist/vscode/index.js.map +0 -1
  72. package/dist/workspace/index.js.map +0 -1
package/dist/mcp/zod.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { z as z$1 } from 'zod/v4';
3
- import { z as DocBlocksMcpToolName } from '../types-CX893hgH.js';
3
+ import { K as DocBlocksMcpToolName } from '../types-B7BBB5az.js';
4
4
  import '../workspace-path-CWVrcuPL.js';
5
5
 
6
6
  /** Canonical Zod projection of the exact MCP wire contract for protocol SDKs. */
@@ -127,7 +127,7 @@ declare const bundleDocumentSourceSchema: z.ZodObject<{
127
127
  credit: string | null;
128
128
  license: string | null;
129
129
  }>, "many">;
130
- name: z.ZodNullable<z.ZodString>;
130
+ name: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
131
131
  }, "strict", z.ZodTypeAny, {
132
132
  name: string | null;
133
133
  markdown: string;
@@ -148,7 +148,6 @@ declare const bundleDocumentSourceSchema: z.ZodObject<{
148
148
  license: string | null;
149
149
  }[];
150
150
  }, {
151
- name: string | null;
152
151
  markdown: string;
153
152
  kind: "bundle";
154
153
  assets: {
@@ -166,24 +165,25 @@ declare const bundleDocumentSourceSchema: z.ZodObject<{
166
165
  credit: string | null;
167
166
  license: string | null;
168
167
  }[];
168
+ name?: string | null | undefined;
169
169
  }>;
170
170
  declare const documentSourceSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
171
171
  kind: z.ZodLiteral<"markdown">;
172
172
  markdown: z.ZodString;
173
- name: z.ZodNullable<z.ZodString>;
173
+ name: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
174
174
  }, "strict", z.ZodTypeAny, {
175
175
  name: string | null;
176
176
  markdown: string;
177
177
  kind: "markdown";
178
178
  }, {
179
- name: string | null;
180
179
  markdown: string;
181
180
  kind: "markdown";
181
+ name?: string | null | undefined;
182
182
  }>, z.ZodObject<{
183
183
  kind: z.ZodLiteral<"file">;
184
184
  rootId: z.ZodString;
185
185
  path: z.ZodEffects<z.ZodString, string, string>;
186
- format: z.ZodNullable<z.ZodString>;
186
+ format: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
187
187
  }, "strict", z.ZodTypeAny, {
188
188
  path: string;
189
189
  format: string | null;
@@ -191,9 +191,9 @@ declare const documentSourceSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject
191
191
  rootId: string;
192
192
  }, {
193
193
  path: string;
194
- format: string | null;
195
194
  kind: "file";
196
195
  rootId: string;
196
+ format?: string | null | undefined;
197
197
  }>, z.ZodObject<{
198
198
  kind: z.ZodLiteral<"artifact">;
199
199
  uri: z.ZodString;
@@ -263,7 +263,7 @@ declare const documentSourceSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject
263
263
  credit: string | null;
264
264
  license: string | null;
265
265
  }>, "many">;
266
- name: z.ZodNullable<z.ZodString>;
266
+ name: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
267
267
  }, "strict", z.ZodTypeAny, {
268
268
  name: string | null;
269
269
  markdown: string;
@@ -284,7 +284,6 @@ declare const documentSourceSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject
284
284
  license: string | null;
285
285
  }[];
286
286
  }, {
287
- name: string | null;
288
287
  markdown: string;
289
288
  kind: "bundle";
290
289
  assets: {
@@ -302,6 +301,7 @@ declare const documentSourceSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject
302
301
  credit: string | null;
303
302
  license: string | null;
304
303
  }[];
304
+ name?: string | null | undefined;
305
305
  }>]>;
306
306
  declare const artifactRefSchema: z.ZodEffects<z.ZodObject<{
307
307
  id: z.ZodString;
@@ -3041,212 +3041,918 @@ declare const comparisonResultSchema: z.ZodEffects<z.ZodObject<{
3041
3041
  similarity: number;
3042
3042
  }[];
3043
3043
  }>;
3044
- declare const convertDocumentResultSchema: z.ZodObject<{
3045
- results: z.ZodArray<z.ZodEffects<z.ZodObject<{
3046
- version: z.ZodLiteral<1>;
3047
- kind: z.ZodLiteral<"conversion">;
3048
- sourceFormat: z.ZodString;
3049
- targetFormat: z.ZodString;
3050
- artifact: z.ZodEffects<z.ZodObject<{
3051
- id: z.ZodString;
3052
- uri: z.ZodString;
3053
- format: z.ZodString;
3054
- mimeType: z.ZodString;
3055
- size: z.ZodNumber;
3056
- sha256: z.ZodString;
3057
- sourceFormat: z.ZodNullable<z.ZodString>;
3058
- sourceSha256: z.ZodNullable<z.ZodString>;
3059
- suggestedFilename: z.ZodString;
3060
- appliedOptions: z.ZodArray<z.ZodObject<{
3061
- name: z.ZodString;
3062
- value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
3063
- }, "strict", z.ZodTypeAny, {
3064
- name: string;
3065
- value: string | number | boolean | null;
3066
- }, {
3067
- name: string;
3068
- value: string | number | boolean | null;
3069
- }>, "many">;
3070
- engineVersions: z.ZodArray<z.ZodObject<{
3071
- name: z.ZodString;
3072
- version: z.ZodString;
3073
- }, "strict", z.ZodTypeAny, {
3074
- name: string;
3075
- version: string;
3076
- }, {
3077
- name: string;
3078
- version: string;
3079
- }>, "many">;
3080
- createdAt: z.ZodEffects<z.ZodString, string, string>;
3081
- expiresAt: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
3044
+ declare const replaceBlockRevisionSchema: z.ZodObject<{
3045
+ kind: z.ZodLiteral<"replace_block">;
3046
+ blockId: z.ZodString;
3047
+ markdown: z.ZodString;
3048
+ }, "strict", z.ZodTypeAny, {
3049
+ markdown: string;
3050
+ kind: "replace_block";
3051
+ blockId: string;
3052
+ }, {
3053
+ markdown: string;
3054
+ kind: "replace_block";
3055
+ blockId: string;
3056
+ }>;
3057
+ declare const documentRevisionRequestSchema: z.ZodObject<{
3058
+ artifactUri: z.ZodString;
3059
+ expectedSha256: z.ZodString;
3060
+ edits: z.ZodArray<z.ZodObject<{
3061
+ kind: z.ZodLiteral<"replace_block">;
3062
+ blockId: z.ZodString;
3063
+ markdown: z.ZodString;
3064
+ }, "strict", z.ZodTypeAny, {
3065
+ markdown: string;
3066
+ kind: "replace_block";
3067
+ blockId: string;
3068
+ }, {
3069
+ markdown: string;
3070
+ kind: "replace_block";
3071
+ blockId: string;
3072
+ }>, "many">;
3073
+ }, "strict", z.ZodTypeAny, {
3074
+ edits: {
3075
+ markdown: string;
3076
+ kind: "replace_block";
3077
+ blockId: string;
3078
+ }[];
3079
+ expectedSha256: string;
3080
+ artifactUri: string;
3081
+ }, {
3082
+ edits: {
3083
+ markdown: string;
3084
+ kind: "replace_block";
3085
+ blockId: string;
3086
+ }[];
3087
+ expectedSha256: string;
3088
+ artifactUri: string;
3089
+ }>;
3090
+ declare const documentRevisionResultSchema: z.ZodEffects<z.ZodObject<{
3091
+ version: z.ZodLiteral<1>;
3092
+ kind: z.ZodLiteral<"revision">;
3093
+ parentArtifact: z.ZodEffects<z.ZodObject<{
3094
+ id: z.ZodString;
3095
+ uri: z.ZodString;
3096
+ format: z.ZodString;
3097
+ mimeType: z.ZodString;
3098
+ size: z.ZodNumber;
3099
+ sha256: z.ZodString;
3100
+ sourceFormat: z.ZodNullable<z.ZodString>;
3101
+ sourceSha256: z.ZodNullable<z.ZodString>;
3102
+ suggestedFilename: z.ZodString;
3103
+ appliedOptions: z.ZodArray<z.ZodObject<{
3104
+ name: z.ZodString;
3105
+ value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
3082
3106
  }, "strict", z.ZodTypeAny, {
3083
- id: string;
3084
- uri: string;
3085
- format: string;
3086
- mimeType: string;
3087
- size: number;
3088
- sha256: string;
3089
- sourceFormat: string | null;
3090
- sourceSha256: string | null;
3091
- suggestedFilename: string;
3092
- appliedOptions: {
3093
- name: string;
3094
- value: string | number | boolean | null;
3095
- }[];
3096
- engineVersions: {
3097
- name: string;
3098
- version: string;
3099
- }[];
3100
- createdAt: string;
3101
- expiresAt: string | null;
3102
- }, {
3103
- id: string;
3104
- uri: string;
3105
- format: string;
3106
- mimeType: string;
3107
- size: number;
3108
- sha256: string;
3109
- sourceFormat: string | null;
3110
- sourceSha256: string | null;
3111
- suggestedFilename: string;
3112
- appliedOptions: {
3113
- name: string;
3114
- value: string | number | boolean | null;
3115
- }[];
3116
- engineVersions: {
3117
- name: string;
3118
- version: string;
3119
- }[];
3120
- createdAt: string;
3121
- expiresAt: string | null;
3122
- }>, {
3123
- id: string;
3124
- uri: string;
3125
- format: string;
3126
- mimeType: string;
3127
- size: number;
3128
- sha256: string;
3129
- sourceFormat: string | null;
3130
- sourceSha256: string | null;
3131
- suggestedFilename: string;
3132
- appliedOptions: {
3133
- name: string;
3134
- value: string | number | boolean | null;
3135
- }[];
3136
- engineVersions: {
3137
- name: string;
3138
- version: string;
3139
- }[];
3140
- createdAt: string;
3141
- expiresAt: string | null;
3107
+ name: string;
3108
+ value: string | number | boolean | null;
3142
3109
  }, {
3143
- id: string;
3144
- uri: string;
3145
- format: string;
3146
- mimeType: string;
3147
- size: number;
3148
- sha256: string;
3149
- sourceFormat: string | null;
3150
- sourceSha256: string | null;
3151
- suggestedFilename: string;
3152
- appliedOptions: {
3153
- name: string;
3154
- value: string | number | boolean | null;
3155
- }[];
3156
- engineVersions: {
3157
- name: string;
3158
- version: string;
3159
- }[];
3160
- createdAt: string;
3161
- expiresAt: string | null;
3162
- }>;
3163
- fidelity: z.ZodEnum<["semantic", "editable-native", "rendered-fidelity", "hybrid"]>;
3164
- appliedThemeId: z.ZodNullable<z.ZodString>;
3165
- appliedTransformId: z.ZodNullable<z.ZodString>;
3166
- sourceAssets: z.ZodArray<z.ZodObject<{
3167
- path: z.ZodEffects<z.ZodString, string, string>;
3168
- mimeType: z.ZodString;
3169
- size: z.ZodNumber;
3170
- sha256: z.ZodNullable<z.ZodString>;
3171
- altText: z.ZodNullable<z.ZodString>;
3172
- credit: z.ZodNullable<z.ZodString>;
3173
- license: z.ZodNullable<z.ZodString>;
3110
+ name: string;
3111
+ value: string | number | boolean | null;
3112
+ }>, "many">;
3113
+ engineVersions: z.ZodArray<z.ZodObject<{
3114
+ name: z.ZodString;
3115
+ version: z.ZodString;
3174
3116
  }, "strict", z.ZodTypeAny, {
3175
- path: string;
3176
- mimeType: string;
3177
- size: number;
3178
- sha256: string | null;
3179
- altText: string | null;
3180
- credit: string | null;
3181
- license: string | null;
3117
+ name: string;
3118
+ version: string;
3182
3119
  }, {
3183
- path: string;
3184
- mimeType: string;
3185
- size: number;
3186
- sha256: string | null;
3187
- altText: string | null;
3188
- credit: string | null;
3189
- license: string | null;
3120
+ name: string;
3121
+ version: string;
3190
3122
  }>, "many">;
3191
- sourceAssetCount: z.ZodNumber;
3192
- diagnostics: z.ZodArray<z.ZodObject<{
3193
- code: z.ZodString;
3194
- severity: z.ZodEnum<["info", "warning", "error"]>;
3195
- stage: z.ZodEnum<["resolve", "import", "parse", "inspect", "validate", "transform", "convert", "render", "export", "materialize", "compare"]>;
3196
- format: z.ZodNullable<z.ZodString>;
3197
- count: z.ZodNumber;
3198
- message: z.ZodString;
3199
- remediation: z.ZodNullable<z.ZodString>;
3200
- retryable: z.ZodBoolean;
3201
- location: z.ZodNullable<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
3202
- kind: z.ZodLiteral<"source">;
3203
- line: z.ZodNumber;
3204
- column: z.ZodNumber;
3205
- }, "strict", z.ZodTypeAny, {
3206
- kind: "source";
3207
- line: number;
3208
- column: number;
3209
- }, {
3210
- kind: "source";
3211
- line: number;
3212
- column: number;
3213
- }>, z.ZodObject<{
3214
- kind: z.ZodLiteral<"block">;
3215
- blockId: z.ZodString;
3216
- nodeType: z.ZodString;
3217
- }, "strict", z.ZodTypeAny, {
3218
- kind: "block";
3219
- blockId: string;
3220
- nodeType: string;
3221
- }, {
3222
- kind: "block";
3223
- blockId: string;
3224
- nodeType: string;
3225
- }>, z.ZodObject<{
3226
- kind: z.ZodLiteral<"asset">;
3227
- path: z.ZodEffects<z.ZodString, string, string>;
3228
- }, "strict", z.ZodTypeAny, {
3229
- path: string;
3230
- kind: "asset";
3231
- }, {
3232
- path: string;
3233
- kind: "asset";
3234
- }>, z.ZodObject<{
3235
- kind: z.ZodLiteral<"item">;
3236
- itemKind: z.ZodEnum<["page", "slide", "sheet", "frame"]>;
3237
- index: z.ZodNumber;
3238
- }, "strict", z.ZodTypeAny, {
3239
- kind: "item";
3240
- itemKind: "page" | "slide" | "sheet" | "frame";
3241
- index: number;
3242
- }, {
3243
- kind: "item";
3244
- itemKind: "page" | "slide" | "sheet" | "frame";
3245
- index: number;
3246
- }>]>>;
3247
- }, "strict", z.ZodTypeAny, {
3248
- code: string;
3249
- message: string;
3123
+ createdAt: z.ZodEffects<z.ZodString, string, string>;
3124
+ expiresAt: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
3125
+ }, "strict", z.ZodTypeAny, {
3126
+ id: string;
3127
+ uri: string;
3128
+ format: string;
3129
+ mimeType: string;
3130
+ size: number;
3131
+ sha256: string;
3132
+ sourceFormat: string | null;
3133
+ sourceSha256: string | null;
3134
+ suggestedFilename: string;
3135
+ appliedOptions: {
3136
+ name: string;
3137
+ value: string | number | boolean | null;
3138
+ }[];
3139
+ engineVersions: {
3140
+ name: string;
3141
+ version: string;
3142
+ }[];
3143
+ createdAt: string;
3144
+ expiresAt: string | null;
3145
+ }, {
3146
+ id: string;
3147
+ uri: string;
3148
+ format: string;
3149
+ mimeType: string;
3150
+ size: number;
3151
+ sha256: string;
3152
+ sourceFormat: string | null;
3153
+ sourceSha256: string | null;
3154
+ suggestedFilename: string;
3155
+ appliedOptions: {
3156
+ name: string;
3157
+ value: string | number | boolean | null;
3158
+ }[];
3159
+ engineVersions: {
3160
+ name: string;
3161
+ version: string;
3162
+ }[];
3163
+ createdAt: string;
3164
+ expiresAt: string | null;
3165
+ }>, {
3166
+ id: string;
3167
+ uri: string;
3168
+ format: string;
3169
+ mimeType: string;
3170
+ size: number;
3171
+ sha256: string;
3172
+ sourceFormat: string | null;
3173
+ sourceSha256: string | null;
3174
+ suggestedFilename: string;
3175
+ appliedOptions: {
3176
+ name: string;
3177
+ value: string | number | boolean | null;
3178
+ }[];
3179
+ engineVersions: {
3180
+ name: string;
3181
+ version: string;
3182
+ }[];
3183
+ createdAt: string;
3184
+ expiresAt: string | null;
3185
+ }, {
3186
+ id: string;
3187
+ uri: string;
3188
+ format: string;
3189
+ mimeType: string;
3190
+ size: number;
3191
+ sha256: string;
3192
+ sourceFormat: string | null;
3193
+ sourceSha256: string | null;
3194
+ suggestedFilename: string;
3195
+ appliedOptions: {
3196
+ name: string;
3197
+ value: string | number | boolean | null;
3198
+ }[];
3199
+ engineVersions: {
3200
+ name: string;
3201
+ version: string;
3202
+ }[];
3203
+ createdAt: string;
3204
+ expiresAt: string | null;
3205
+ }>;
3206
+ artifact: z.ZodEffects<z.ZodObject<{
3207
+ id: z.ZodString;
3208
+ uri: z.ZodString;
3209
+ format: z.ZodString;
3210
+ mimeType: z.ZodString;
3211
+ size: z.ZodNumber;
3212
+ sha256: z.ZodString;
3213
+ sourceFormat: z.ZodNullable<z.ZodString>;
3214
+ sourceSha256: z.ZodNullable<z.ZodString>;
3215
+ suggestedFilename: z.ZodString;
3216
+ appliedOptions: z.ZodArray<z.ZodObject<{
3217
+ name: z.ZodString;
3218
+ value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
3219
+ }, "strict", z.ZodTypeAny, {
3220
+ name: string;
3221
+ value: string | number | boolean | null;
3222
+ }, {
3223
+ name: string;
3224
+ value: string | number | boolean | null;
3225
+ }>, "many">;
3226
+ engineVersions: z.ZodArray<z.ZodObject<{
3227
+ name: z.ZodString;
3228
+ version: z.ZodString;
3229
+ }, "strict", z.ZodTypeAny, {
3230
+ name: string;
3231
+ version: string;
3232
+ }, {
3233
+ name: string;
3234
+ version: string;
3235
+ }>, "many">;
3236
+ createdAt: z.ZodEffects<z.ZodString, string, string>;
3237
+ expiresAt: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
3238
+ }, "strict", z.ZodTypeAny, {
3239
+ id: string;
3240
+ uri: string;
3241
+ format: string;
3242
+ mimeType: string;
3243
+ size: number;
3244
+ sha256: string;
3245
+ sourceFormat: string | null;
3246
+ sourceSha256: string | null;
3247
+ suggestedFilename: string;
3248
+ appliedOptions: {
3249
+ name: string;
3250
+ value: string | number | boolean | null;
3251
+ }[];
3252
+ engineVersions: {
3253
+ name: string;
3254
+ version: string;
3255
+ }[];
3256
+ createdAt: string;
3257
+ expiresAt: string | null;
3258
+ }, {
3259
+ id: string;
3260
+ uri: string;
3261
+ format: string;
3262
+ mimeType: string;
3263
+ size: number;
3264
+ sha256: string;
3265
+ sourceFormat: string | null;
3266
+ sourceSha256: string | null;
3267
+ suggestedFilename: string;
3268
+ appliedOptions: {
3269
+ name: string;
3270
+ value: string | number | boolean | null;
3271
+ }[];
3272
+ engineVersions: {
3273
+ name: string;
3274
+ version: string;
3275
+ }[];
3276
+ createdAt: string;
3277
+ expiresAt: string | null;
3278
+ }>, {
3279
+ id: string;
3280
+ uri: string;
3281
+ format: string;
3282
+ mimeType: string;
3283
+ size: number;
3284
+ sha256: string;
3285
+ sourceFormat: string | null;
3286
+ sourceSha256: string | null;
3287
+ suggestedFilename: string;
3288
+ appliedOptions: {
3289
+ name: string;
3290
+ value: string | number | boolean | null;
3291
+ }[];
3292
+ engineVersions: {
3293
+ name: string;
3294
+ version: string;
3295
+ }[];
3296
+ createdAt: string;
3297
+ expiresAt: string | null;
3298
+ }, {
3299
+ id: string;
3300
+ uri: string;
3301
+ format: string;
3302
+ mimeType: string;
3303
+ size: number;
3304
+ sha256: string;
3305
+ sourceFormat: string | null;
3306
+ sourceSha256: string | null;
3307
+ suggestedFilename: string;
3308
+ appliedOptions: {
3309
+ name: string;
3310
+ value: string | number | boolean | null;
3311
+ }[];
3312
+ engineVersions: {
3313
+ name: string;
3314
+ version: string;
3315
+ }[];
3316
+ createdAt: string;
3317
+ expiresAt: string | null;
3318
+ }>;
3319
+ edits: z.ZodArray<z.ZodObject<{
3320
+ kind: z.ZodLiteral<"replace_block">;
3321
+ blockId: z.ZodString;
3322
+ beforeSha256: z.ZodString;
3323
+ afterSha256: z.ZodString;
3324
+ }, "strict", z.ZodTypeAny, {
3325
+ kind: "replace_block";
3326
+ blockId: string;
3327
+ beforeSha256: string;
3328
+ afterSha256: string;
3329
+ }, {
3330
+ kind: "replace_block";
3331
+ blockId: string;
3332
+ beforeSha256: string;
3333
+ afterSha256: string;
3334
+ }>, "many">;
3335
+ diagnostics: z.ZodArray<z.ZodObject<{
3336
+ code: z.ZodString;
3337
+ severity: z.ZodEnum<["info", "warning", "error"]>;
3338
+ stage: z.ZodEnum<["resolve", "import", "parse", "inspect", "validate", "transform", "convert", "render", "export", "materialize", "compare"]>;
3339
+ format: z.ZodNullable<z.ZodString>;
3340
+ count: z.ZodNumber;
3341
+ message: z.ZodString;
3342
+ remediation: z.ZodNullable<z.ZodString>;
3343
+ retryable: z.ZodBoolean;
3344
+ location: z.ZodNullable<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
3345
+ kind: z.ZodLiteral<"source">;
3346
+ line: z.ZodNumber;
3347
+ column: z.ZodNumber;
3348
+ }, "strict", z.ZodTypeAny, {
3349
+ kind: "source";
3350
+ line: number;
3351
+ column: number;
3352
+ }, {
3353
+ kind: "source";
3354
+ line: number;
3355
+ column: number;
3356
+ }>, z.ZodObject<{
3357
+ kind: z.ZodLiteral<"block">;
3358
+ blockId: z.ZodString;
3359
+ nodeType: z.ZodString;
3360
+ }, "strict", z.ZodTypeAny, {
3361
+ kind: "block";
3362
+ blockId: string;
3363
+ nodeType: string;
3364
+ }, {
3365
+ kind: "block";
3366
+ blockId: string;
3367
+ nodeType: string;
3368
+ }>, z.ZodObject<{
3369
+ kind: z.ZodLiteral<"asset">;
3370
+ path: z.ZodEffects<z.ZodString, string, string>;
3371
+ }, "strict", z.ZodTypeAny, {
3372
+ path: string;
3373
+ kind: "asset";
3374
+ }, {
3375
+ path: string;
3376
+ kind: "asset";
3377
+ }>, z.ZodObject<{
3378
+ kind: z.ZodLiteral<"item">;
3379
+ itemKind: z.ZodEnum<["page", "slide", "sheet", "frame"]>;
3380
+ index: z.ZodNumber;
3381
+ }, "strict", z.ZodTypeAny, {
3382
+ kind: "item";
3383
+ itemKind: "page" | "slide" | "sheet" | "frame";
3384
+ index: number;
3385
+ }, {
3386
+ kind: "item";
3387
+ itemKind: "page" | "slide" | "sheet" | "frame";
3388
+ index: number;
3389
+ }>]>>;
3390
+ }, "strict", z.ZodTypeAny, {
3391
+ code: string;
3392
+ message: string;
3393
+ retryable: boolean;
3394
+ format: string | null;
3395
+ severity: "info" | "warning" | "error";
3396
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
3397
+ count: number;
3398
+ remediation: string | null;
3399
+ location: {
3400
+ kind: "source";
3401
+ line: number;
3402
+ column: number;
3403
+ } | {
3404
+ kind: "block";
3405
+ blockId: string;
3406
+ nodeType: string;
3407
+ } | {
3408
+ path: string;
3409
+ kind: "asset";
3410
+ } | {
3411
+ kind: "item";
3412
+ itemKind: "page" | "slide" | "sheet" | "frame";
3413
+ index: number;
3414
+ } | null;
3415
+ }, {
3416
+ code: string;
3417
+ message: string;
3418
+ retryable: boolean;
3419
+ format: string | null;
3420
+ severity: "info" | "warning" | "error";
3421
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
3422
+ count: number;
3423
+ remediation: string | null;
3424
+ location: {
3425
+ kind: "source";
3426
+ line: number;
3427
+ column: number;
3428
+ } | {
3429
+ kind: "block";
3430
+ blockId: string;
3431
+ nodeType: string;
3432
+ } | {
3433
+ path: string;
3434
+ kind: "asset";
3435
+ } | {
3436
+ kind: "item";
3437
+ itemKind: "page" | "slide" | "sheet" | "frame";
3438
+ index: number;
3439
+ } | null;
3440
+ }>, "many">;
3441
+ }, "strict", z.ZodTypeAny, {
3442
+ artifact: {
3443
+ id: string;
3444
+ uri: string;
3445
+ format: string;
3446
+ mimeType: string;
3447
+ size: number;
3448
+ sha256: string;
3449
+ sourceFormat: string | null;
3450
+ sourceSha256: string | null;
3451
+ suggestedFilename: string;
3452
+ appliedOptions: {
3453
+ name: string;
3454
+ value: string | number | boolean | null;
3455
+ }[];
3456
+ engineVersions: {
3457
+ name: string;
3458
+ version: string;
3459
+ }[];
3460
+ createdAt: string;
3461
+ expiresAt: string | null;
3462
+ };
3463
+ kind: "revision";
3464
+ version: 1;
3465
+ diagnostics: {
3466
+ code: string;
3467
+ message: string;
3468
+ retryable: boolean;
3469
+ format: string | null;
3470
+ severity: "info" | "warning" | "error";
3471
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
3472
+ count: number;
3473
+ remediation: string | null;
3474
+ location: {
3475
+ kind: "source";
3476
+ line: number;
3477
+ column: number;
3478
+ } | {
3479
+ kind: "block";
3480
+ blockId: string;
3481
+ nodeType: string;
3482
+ } | {
3483
+ path: string;
3484
+ kind: "asset";
3485
+ } | {
3486
+ kind: "item";
3487
+ itemKind: "page" | "slide" | "sheet" | "frame";
3488
+ index: number;
3489
+ } | null;
3490
+ }[];
3491
+ parentArtifact: {
3492
+ id: string;
3493
+ uri: string;
3494
+ format: string;
3495
+ mimeType: string;
3496
+ size: number;
3497
+ sha256: string;
3498
+ sourceFormat: string | null;
3499
+ sourceSha256: string | null;
3500
+ suggestedFilename: string;
3501
+ appliedOptions: {
3502
+ name: string;
3503
+ value: string | number | boolean | null;
3504
+ }[];
3505
+ engineVersions: {
3506
+ name: string;
3507
+ version: string;
3508
+ }[];
3509
+ createdAt: string;
3510
+ expiresAt: string | null;
3511
+ };
3512
+ edits: {
3513
+ kind: "replace_block";
3514
+ blockId: string;
3515
+ beforeSha256: string;
3516
+ afterSha256: string;
3517
+ }[];
3518
+ }, {
3519
+ artifact: {
3520
+ id: string;
3521
+ uri: string;
3522
+ format: string;
3523
+ mimeType: string;
3524
+ size: number;
3525
+ sha256: string;
3526
+ sourceFormat: string | null;
3527
+ sourceSha256: string | null;
3528
+ suggestedFilename: string;
3529
+ appliedOptions: {
3530
+ name: string;
3531
+ value: string | number | boolean | null;
3532
+ }[];
3533
+ engineVersions: {
3534
+ name: string;
3535
+ version: string;
3536
+ }[];
3537
+ createdAt: string;
3538
+ expiresAt: string | null;
3539
+ };
3540
+ kind: "revision";
3541
+ version: 1;
3542
+ diagnostics: {
3543
+ code: string;
3544
+ message: string;
3545
+ retryable: boolean;
3546
+ format: string | null;
3547
+ severity: "info" | "warning" | "error";
3548
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
3549
+ count: number;
3550
+ remediation: string | null;
3551
+ location: {
3552
+ kind: "source";
3553
+ line: number;
3554
+ column: number;
3555
+ } | {
3556
+ kind: "block";
3557
+ blockId: string;
3558
+ nodeType: string;
3559
+ } | {
3560
+ path: string;
3561
+ kind: "asset";
3562
+ } | {
3563
+ kind: "item";
3564
+ itemKind: "page" | "slide" | "sheet" | "frame";
3565
+ index: number;
3566
+ } | null;
3567
+ }[];
3568
+ parentArtifact: {
3569
+ id: string;
3570
+ uri: string;
3571
+ format: string;
3572
+ mimeType: string;
3573
+ size: number;
3574
+ sha256: string;
3575
+ sourceFormat: string | null;
3576
+ sourceSha256: string | null;
3577
+ suggestedFilename: string;
3578
+ appliedOptions: {
3579
+ name: string;
3580
+ value: string | number | boolean | null;
3581
+ }[];
3582
+ engineVersions: {
3583
+ name: string;
3584
+ version: string;
3585
+ }[];
3586
+ createdAt: string;
3587
+ expiresAt: string | null;
3588
+ };
3589
+ edits: {
3590
+ kind: "replace_block";
3591
+ blockId: string;
3592
+ beforeSha256: string;
3593
+ afterSha256: string;
3594
+ }[];
3595
+ }>, {
3596
+ artifact: {
3597
+ id: string;
3598
+ uri: string;
3599
+ format: string;
3600
+ mimeType: string;
3601
+ size: number;
3602
+ sha256: string;
3603
+ sourceFormat: string | null;
3604
+ sourceSha256: string | null;
3605
+ suggestedFilename: string;
3606
+ appliedOptions: {
3607
+ name: string;
3608
+ value: string | number | boolean | null;
3609
+ }[];
3610
+ engineVersions: {
3611
+ name: string;
3612
+ version: string;
3613
+ }[];
3614
+ createdAt: string;
3615
+ expiresAt: string | null;
3616
+ };
3617
+ kind: "revision";
3618
+ version: 1;
3619
+ diagnostics: {
3620
+ code: string;
3621
+ message: string;
3622
+ retryable: boolean;
3623
+ format: string | null;
3624
+ severity: "info" | "warning" | "error";
3625
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
3626
+ count: number;
3627
+ remediation: string | null;
3628
+ location: {
3629
+ kind: "source";
3630
+ line: number;
3631
+ column: number;
3632
+ } | {
3633
+ kind: "block";
3634
+ blockId: string;
3635
+ nodeType: string;
3636
+ } | {
3637
+ path: string;
3638
+ kind: "asset";
3639
+ } | {
3640
+ kind: "item";
3641
+ itemKind: "page" | "slide" | "sheet" | "frame";
3642
+ index: number;
3643
+ } | null;
3644
+ }[];
3645
+ parentArtifact: {
3646
+ id: string;
3647
+ uri: string;
3648
+ format: string;
3649
+ mimeType: string;
3650
+ size: number;
3651
+ sha256: string;
3652
+ sourceFormat: string | null;
3653
+ sourceSha256: string | null;
3654
+ suggestedFilename: string;
3655
+ appliedOptions: {
3656
+ name: string;
3657
+ value: string | number | boolean | null;
3658
+ }[];
3659
+ engineVersions: {
3660
+ name: string;
3661
+ version: string;
3662
+ }[];
3663
+ createdAt: string;
3664
+ expiresAt: string | null;
3665
+ };
3666
+ edits: {
3667
+ kind: "replace_block";
3668
+ blockId: string;
3669
+ beforeSha256: string;
3670
+ afterSha256: string;
3671
+ }[];
3672
+ }, {
3673
+ artifact: {
3674
+ id: string;
3675
+ uri: string;
3676
+ format: string;
3677
+ mimeType: string;
3678
+ size: number;
3679
+ sha256: string;
3680
+ sourceFormat: string | null;
3681
+ sourceSha256: string | null;
3682
+ suggestedFilename: string;
3683
+ appliedOptions: {
3684
+ name: string;
3685
+ value: string | number | boolean | null;
3686
+ }[];
3687
+ engineVersions: {
3688
+ name: string;
3689
+ version: string;
3690
+ }[];
3691
+ createdAt: string;
3692
+ expiresAt: string | null;
3693
+ };
3694
+ kind: "revision";
3695
+ version: 1;
3696
+ diagnostics: {
3697
+ code: string;
3698
+ message: string;
3699
+ retryable: boolean;
3700
+ format: string | null;
3701
+ severity: "info" | "warning" | "error";
3702
+ stage: "resolve" | "import" | "parse" | "inspect" | "validate" | "transform" | "convert" | "render" | "export" | "materialize" | "compare";
3703
+ count: number;
3704
+ remediation: string | null;
3705
+ location: {
3706
+ kind: "source";
3707
+ line: number;
3708
+ column: number;
3709
+ } | {
3710
+ kind: "block";
3711
+ blockId: string;
3712
+ nodeType: string;
3713
+ } | {
3714
+ path: string;
3715
+ kind: "asset";
3716
+ } | {
3717
+ kind: "item";
3718
+ itemKind: "page" | "slide" | "sheet" | "frame";
3719
+ index: number;
3720
+ } | null;
3721
+ }[];
3722
+ parentArtifact: {
3723
+ id: string;
3724
+ uri: string;
3725
+ format: string;
3726
+ mimeType: string;
3727
+ size: number;
3728
+ sha256: string;
3729
+ sourceFormat: string | null;
3730
+ sourceSha256: string | null;
3731
+ suggestedFilename: string;
3732
+ appliedOptions: {
3733
+ name: string;
3734
+ value: string | number | boolean | null;
3735
+ }[];
3736
+ engineVersions: {
3737
+ name: string;
3738
+ version: string;
3739
+ }[];
3740
+ createdAt: string;
3741
+ expiresAt: string | null;
3742
+ };
3743
+ edits: {
3744
+ kind: "replace_block";
3745
+ blockId: string;
3746
+ beforeSha256: string;
3747
+ afterSha256: string;
3748
+ }[];
3749
+ }>;
3750
+ declare const convertDocumentResultSchema: z.ZodObject<{
3751
+ results: z.ZodArray<z.ZodEffects<z.ZodObject<{
3752
+ version: z.ZodLiteral<1>;
3753
+ kind: z.ZodLiteral<"conversion">;
3754
+ sourceFormat: z.ZodString;
3755
+ targetFormat: z.ZodString;
3756
+ artifact: z.ZodEffects<z.ZodObject<{
3757
+ id: z.ZodString;
3758
+ uri: z.ZodString;
3759
+ format: z.ZodString;
3760
+ mimeType: z.ZodString;
3761
+ size: z.ZodNumber;
3762
+ sha256: z.ZodString;
3763
+ sourceFormat: z.ZodNullable<z.ZodString>;
3764
+ sourceSha256: z.ZodNullable<z.ZodString>;
3765
+ suggestedFilename: z.ZodString;
3766
+ appliedOptions: z.ZodArray<z.ZodObject<{
3767
+ name: z.ZodString;
3768
+ value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
3769
+ }, "strict", z.ZodTypeAny, {
3770
+ name: string;
3771
+ value: string | number | boolean | null;
3772
+ }, {
3773
+ name: string;
3774
+ value: string | number | boolean | null;
3775
+ }>, "many">;
3776
+ engineVersions: z.ZodArray<z.ZodObject<{
3777
+ name: z.ZodString;
3778
+ version: z.ZodString;
3779
+ }, "strict", z.ZodTypeAny, {
3780
+ name: string;
3781
+ version: string;
3782
+ }, {
3783
+ name: string;
3784
+ version: string;
3785
+ }>, "many">;
3786
+ createdAt: z.ZodEffects<z.ZodString, string, string>;
3787
+ expiresAt: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
3788
+ }, "strict", z.ZodTypeAny, {
3789
+ id: string;
3790
+ uri: string;
3791
+ format: string;
3792
+ mimeType: string;
3793
+ size: number;
3794
+ sha256: string;
3795
+ sourceFormat: string | null;
3796
+ sourceSha256: string | null;
3797
+ suggestedFilename: string;
3798
+ appliedOptions: {
3799
+ name: string;
3800
+ value: string | number | boolean | null;
3801
+ }[];
3802
+ engineVersions: {
3803
+ name: string;
3804
+ version: string;
3805
+ }[];
3806
+ createdAt: string;
3807
+ expiresAt: string | null;
3808
+ }, {
3809
+ id: string;
3810
+ uri: string;
3811
+ format: string;
3812
+ mimeType: string;
3813
+ size: number;
3814
+ sha256: string;
3815
+ sourceFormat: string | null;
3816
+ sourceSha256: string | null;
3817
+ suggestedFilename: string;
3818
+ appliedOptions: {
3819
+ name: string;
3820
+ value: string | number | boolean | null;
3821
+ }[];
3822
+ engineVersions: {
3823
+ name: string;
3824
+ version: string;
3825
+ }[];
3826
+ createdAt: string;
3827
+ expiresAt: string | null;
3828
+ }>, {
3829
+ id: string;
3830
+ uri: string;
3831
+ format: string;
3832
+ mimeType: string;
3833
+ size: number;
3834
+ sha256: string;
3835
+ sourceFormat: string | null;
3836
+ sourceSha256: string | null;
3837
+ suggestedFilename: string;
3838
+ appliedOptions: {
3839
+ name: string;
3840
+ value: string | number | boolean | null;
3841
+ }[];
3842
+ engineVersions: {
3843
+ name: string;
3844
+ version: string;
3845
+ }[];
3846
+ createdAt: string;
3847
+ expiresAt: string | null;
3848
+ }, {
3849
+ id: string;
3850
+ uri: string;
3851
+ format: string;
3852
+ mimeType: string;
3853
+ size: number;
3854
+ sha256: string;
3855
+ sourceFormat: string | null;
3856
+ sourceSha256: string | null;
3857
+ suggestedFilename: string;
3858
+ appliedOptions: {
3859
+ name: string;
3860
+ value: string | number | boolean | null;
3861
+ }[];
3862
+ engineVersions: {
3863
+ name: string;
3864
+ version: string;
3865
+ }[];
3866
+ createdAt: string;
3867
+ expiresAt: string | null;
3868
+ }>;
3869
+ fidelity: z.ZodEnum<["semantic", "editable-native", "rendered-fidelity", "hybrid"]>;
3870
+ appliedThemeId: z.ZodNullable<z.ZodString>;
3871
+ appliedTransformId: z.ZodNullable<z.ZodString>;
3872
+ sourceAssets: z.ZodArray<z.ZodObject<{
3873
+ path: z.ZodEffects<z.ZodString, string, string>;
3874
+ mimeType: z.ZodString;
3875
+ size: z.ZodNumber;
3876
+ sha256: z.ZodNullable<z.ZodString>;
3877
+ altText: z.ZodNullable<z.ZodString>;
3878
+ credit: z.ZodNullable<z.ZodString>;
3879
+ license: z.ZodNullable<z.ZodString>;
3880
+ }, "strict", z.ZodTypeAny, {
3881
+ path: string;
3882
+ mimeType: string;
3883
+ size: number;
3884
+ sha256: string | null;
3885
+ altText: string | null;
3886
+ credit: string | null;
3887
+ license: string | null;
3888
+ }, {
3889
+ path: string;
3890
+ mimeType: string;
3891
+ size: number;
3892
+ sha256: string | null;
3893
+ altText: string | null;
3894
+ credit: string | null;
3895
+ license: string | null;
3896
+ }>, "many">;
3897
+ sourceAssetCount: z.ZodNumber;
3898
+ diagnostics: z.ZodArray<z.ZodObject<{
3899
+ code: z.ZodString;
3900
+ severity: z.ZodEnum<["info", "warning", "error"]>;
3901
+ stage: z.ZodEnum<["resolve", "import", "parse", "inspect", "validate", "transform", "convert", "render", "export", "materialize", "compare"]>;
3902
+ format: z.ZodNullable<z.ZodString>;
3903
+ count: z.ZodNumber;
3904
+ message: z.ZodString;
3905
+ remediation: z.ZodNullable<z.ZodString>;
3906
+ retryable: z.ZodBoolean;
3907
+ location: z.ZodNullable<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
3908
+ kind: z.ZodLiteral<"source">;
3909
+ line: z.ZodNumber;
3910
+ column: z.ZodNumber;
3911
+ }, "strict", z.ZodTypeAny, {
3912
+ kind: "source";
3913
+ line: number;
3914
+ column: number;
3915
+ }, {
3916
+ kind: "source";
3917
+ line: number;
3918
+ column: number;
3919
+ }>, z.ZodObject<{
3920
+ kind: z.ZodLiteral<"block">;
3921
+ blockId: z.ZodString;
3922
+ nodeType: z.ZodString;
3923
+ }, "strict", z.ZodTypeAny, {
3924
+ kind: "block";
3925
+ blockId: string;
3926
+ nodeType: string;
3927
+ }, {
3928
+ kind: "block";
3929
+ blockId: string;
3930
+ nodeType: string;
3931
+ }>, z.ZodObject<{
3932
+ kind: z.ZodLiteral<"asset">;
3933
+ path: z.ZodEffects<z.ZodString, string, string>;
3934
+ }, "strict", z.ZodTypeAny, {
3935
+ path: string;
3936
+ kind: "asset";
3937
+ }, {
3938
+ path: string;
3939
+ kind: "asset";
3940
+ }>, z.ZodObject<{
3941
+ kind: z.ZodLiteral<"item">;
3942
+ itemKind: z.ZodEnum<["page", "slide", "sheet", "frame"]>;
3943
+ index: z.ZodNumber;
3944
+ }, "strict", z.ZodTypeAny, {
3945
+ kind: "item";
3946
+ itemKind: "page" | "slide" | "sheet" | "frame";
3947
+ index: number;
3948
+ }, {
3949
+ kind: "item";
3950
+ itemKind: "page" | "slide" | "sheet" | "frame";
3951
+ index: number;
3952
+ }>]>>;
3953
+ }, "strict", z.ZodTypeAny, {
3954
+ code: string;
3955
+ message: string;
3250
3956
  retryable: boolean;
3251
3957
  format: string | null;
3252
3958
  severity: "info" | "warning" | "error";
@@ -4020,276 +4726,778 @@ declare const formatCapabilitySummarySchema: z.ZodObject<{
4020
4726
  label: string;
4021
4727
  extensions: string[];
4022
4728
  }>;
4023
- declare const listFormatsResultSchema: z.ZodObject<{
4024
- formats: z.ZodArray<z.ZodObject<{
4729
+ declare const listFormatsResultSchema: z.ZodObject<{
4730
+ formats: z.ZodArray<z.ZodObject<{
4731
+ id: z.ZodString;
4732
+ label: z.ZodString;
4733
+ mimeType: z.ZodString;
4734
+ extensions: z.ZodArray<z.ZodString, "many">;
4735
+ import: z.ZodDiscriminatedUnion<"supported", [z.ZodObject<{
4736
+ supported: z.ZodLiteral<true>;
4737
+ tool: z.ZodEnum<["inspect_document", "convert_document"]>;
4738
+ }, "strict", z.ZodTypeAny, {
4739
+ supported: true;
4740
+ tool: "convert_document" | "inspect_document";
4741
+ }, {
4742
+ supported: true;
4743
+ tool: "convert_document" | "inspect_document";
4744
+ }>, z.ZodObject<{
4745
+ supported: z.ZodLiteral<false>;
4746
+ excludedReason: z.ZodString;
4747
+ }, "strict", z.ZodTypeAny, {
4748
+ supported: false;
4749
+ excludedReason: string;
4750
+ }, {
4751
+ supported: false;
4752
+ excludedReason: string;
4753
+ }>]>;
4754
+ export: z.ZodDiscriminatedUnion<"supported", [z.ZodObject<{
4755
+ supported: z.ZodLiteral<true>;
4756
+ tool: z.ZodEnum<["inspect_document", "convert_document"]>;
4757
+ }, "strict", z.ZodTypeAny, {
4758
+ supported: true;
4759
+ tool: "convert_document" | "inspect_document";
4760
+ }, {
4761
+ supported: true;
4762
+ tool: "convert_document" | "inspect_document";
4763
+ }>, z.ZodObject<{
4764
+ supported: z.ZodLiteral<false>;
4765
+ excludedReason: z.ZodString;
4766
+ }, "strict", z.ZodTypeAny, {
4767
+ supported: false;
4768
+ excludedReason: string;
4769
+ }, {
4770
+ supported: false;
4771
+ excludedReason: string;
4772
+ }>]>;
4773
+ }, "strict", z.ZodTypeAny, {
4774
+ import: {
4775
+ supported: true;
4776
+ tool: "convert_document" | "inspect_document";
4777
+ } | {
4778
+ supported: false;
4779
+ excludedReason: string;
4780
+ };
4781
+ export: {
4782
+ supported: true;
4783
+ tool: "convert_document" | "inspect_document";
4784
+ } | {
4785
+ supported: false;
4786
+ excludedReason: string;
4787
+ };
4788
+ id: string;
4789
+ mimeType: string;
4790
+ label: string;
4791
+ extensions: string[];
4792
+ }, {
4793
+ import: {
4794
+ supported: true;
4795
+ tool: "convert_document" | "inspect_document";
4796
+ } | {
4797
+ supported: false;
4798
+ excludedReason: string;
4799
+ };
4800
+ export: {
4801
+ supported: true;
4802
+ tool: "convert_document" | "inspect_document";
4803
+ } | {
4804
+ supported: false;
4805
+ excludedReason: string;
4806
+ };
4807
+ id: string;
4808
+ mimeType: string;
4809
+ label: string;
4810
+ extensions: string[];
4811
+ }>, "many">;
4812
+ }, "strict", z.ZodTypeAny, {
4813
+ formats: {
4814
+ import: {
4815
+ supported: true;
4816
+ tool: "convert_document" | "inspect_document";
4817
+ } | {
4818
+ supported: false;
4819
+ excludedReason: string;
4820
+ };
4821
+ export: {
4822
+ supported: true;
4823
+ tool: "convert_document" | "inspect_document";
4824
+ } | {
4825
+ supported: false;
4826
+ excludedReason: string;
4827
+ };
4828
+ id: string;
4829
+ mimeType: string;
4830
+ label: string;
4831
+ extensions: string[];
4832
+ }[];
4833
+ }, {
4834
+ formats: {
4835
+ import: {
4836
+ supported: true;
4837
+ tool: "convert_document" | "inspect_document";
4838
+ } | {
4839
+ supported: false;
4840
+ excludedReason: string;
4841
+ };
4842
+ export: {
4843
+ supported: true;
4844
+ tool: "convert_document" | "inspect_document";
4845
+ } | {
4846
+ supported: false;
4847
+ excludedReason: string;
4848
+ };
4849
+ id: string;
4850
+ mimeType: string;
4851
+ label: string;
4852
+ extensions: string[];
4853
+ }[];
4854
+ }>;
4855
+ declare const themeCatalogEntrySchema: z.ZodObject<{
4856
+ id: z.ZodString;
4857
+ name: z.ZodString;
4858
+ description: z.ZodOptional<z.ZodString>;
4859
+ }, "strict", z.ZodTypeAny, {
4860
+ name: string;
4861
+ id: string;
4862
+ description?: string | undefined;
4863
+ }, {
4864
+ name: string;
4865
+ id: string;
4866
+ description?: string | undefined;
4867
+ }>;
4868
+ declare const listThemesResultSchema: z.ZodObject<{
4869
+ themes: z.ZodArray<z.ZodObject<{
4870
+ id: z.ZodString;
4871
+ name: z.ZodString;
4872
+ description: z.ZodOptional<z.ZodString>;
4873
+ }, "strict", z.ZodTypeAny, {
4874
+ name: string;
4875
+ id: string;
4876
+ description?: string | undefined;
4877
+ }, {
4878
+ name: string;
4879
+ id: string;
4880
+ description?: string | undefined;
4881
+ }>, "many">;
4882
+ }, "strict", z.ZodTypeAny, {
4883
+ themes: {
4884
+ name: string;
4885
+ id: string;
4886
+ description?: string | undefined;
4887
+ }[];
4888
+ }, {
4889
+ themes: {
4890
+ name: string;
4891
+ id: string;
4892
+ description?: string | undefined;
4893
+ }[];
4894
+ }>;
4895
+ declare const transformStyleSummarySchema: z.ZodObject<{
4896
+ id: z.ZodString;
4897
+ name: z.ZodString;
4898
+ description: z.ZodString;
4899
+ }, "strict", z.ZodTypeAny, {
4900
+ name: string;
4901
+ id: string;
4902
+ description: string;
4903
+ }, {
4904
+ name: string;
4905
+ id: string;
4906
+ description: string;
4907
+ }>;
4908
+ declare const listTransformStylesResultSchema: z.ZodObject<{
4909
+ styles: z.ZodArray<z.ZodObject<{
4910
+ id: z.ZodString;
4911
+ name: z.ZodString;
4912
+ description: z.ZodString;
4913
+ }, "strict", z.ZodTypeAny, {
4914
+ name: string;
4915
+ id: string;
4916
+ description: string;
4917
+ }, {
4918
+ name: string;
4919
+ id: string;
4920
+ description: string;
4921
+ }>, "many">;
4922
+ }, "strict", z.ZodTypeAny, {
4923
+ styles: {
4924
+ name: string;
4925
+ id: string;
4926
+ description: string;
4927
+ }[];
4928
+ }, {
4929
+ styles: {
4930
+ name: string;
4931
+ id: string;
4932
+ description: string;
4933
+ }[];
4934
+ }>;
4935
+ declare const templateSummarySchema: z.ZodObject<{
4936
+ id: z.ZodString;
4937
+ label: z.ZodString;
4938
+ description: z.ZodString;
4939
+ }, "strict", z.ZodTypeAny, {
4940
+ id: string;
4941
+ description: string;
4942
+ label: string;
4943
+ }, {
4944
+ id: string;
4945
+ description: string;
4946
+ label: string;
4947
+ }>;
4948
+ declare const listTemplatesResultSchema: z.ZodObject<{
4949
+ templates: z.ZodArray<z.ZodObject<{
4950
+ id: z.ZodString;
4951
+ label: z.ZodString;
4952
+ description: z.ZodString;
4953
+ }, "strict", z.ZodTypeAny, {
4954
+ id: string;
4955
+ description: string;
4956
+ label: string;
4957
+ }, {
4958
+ id: string;
4959
+ description: string;
4960
+ label: string;
4961
+ }>, "many">;
4962
+ }, "strict", z.ZodTypeAny, {
4963
+ templates: {
4964
+ id: string;
4965
+ description: string;
4966
+ label: string;
4967
+ }[];
4968
+ }, {
4969
+ templates: {
4970
+ id: string;
4971
+ description: string;
4972
+ label: string;
4973
+ }[];
4974
+ }>;
4975
+ declare const templateInputSummarySchema: z.ZodObject<{
4976
+ key: z.ZodString;
4977
+ description: z.ZodString;
4978
+ type: z.ZodString;
4979
+ required: z.ZodBoolean;
4980
+ values: z.ZodArray<z.ZodString, "many">;
4981
+ valueHint: z.ZodNullable<z.ZodString>;
4982
+ }, "strict", z.ZodTypeAny, {
4983
+ values: string[];
4984
+ description: string;
4985
+ type: string;
4986
+ key: string;
4987
+ required: boolean;
4988
+ valueHint: string | null;
4989
+ }, {
4990
+ values: string[];
4991
+ description: string;
4992
+ type: string;
4993
+ key: string;
4994
+ required: boolean;
4995
+ valueHint: string | null;
4996
+ }>;
4997
+ declare const describeTemplateResultSchema: z.ZodObject<{
4998
+ template: z.ZodObject<{
4025
4999
  id: z.ZodString;
4026
5000
  label: z.ZodString;
4027
- mimeType: z.ZodString;
4028
- extensions: z.ZodArray<z.ZodString, "many">;
4029
- import: z.ZodDiscriminatedUnion<"supported", [z.ZodObject<{
4030
- supported: z.ZodLiteral<true>;
4031
- tool: z.ZodEnum<["inspect_document", "convert_document"]>;
4032
- }, "strict", z.ZodTypeAny, {
4033
- supported: true;
4034
- tool: "convert_document" | "inspect_document";
4035
- }, {
4036
- supported: true;
4037
- tool: "convert_document" | "inspect_document";
4038
- }>, z.ZodObject<{
4039
- supported: z.ZodLiteral<false>;
4040
- excludedReason: z.ZodString;
4041
- }, "strict", z.ZodTypeAny, {
4042
- supported: false;
4043
- excludedReason: string;
4044
- }, {
4045
- supported: false;
4046
- excludedReason: string;
4047
- }>]>;
4048
- export: z.ZodDiscriminatedUnion<"supported", [z.ZodObject<{
4049
- supported: z.ZodLiteral<true>;
4050
- tool: z.ZodEnum<["inspect_document", "convert_document"]>;
4051
- }, "strict", z.ZodTypeAny, {
4052
- supported: true;
4053
- tool: "convert_document" | "inspect_document";
4054
- }, {
4055
- supported: true;
4056
- tool: "convert_document" | "inspect_document";
4057
- }>, z.ZodObject<{
4058
- supported: z.ZodLiteral<false>;
4059
- excludedReason: z.ZodString;
5001
+ description: z.ZodString;
5002
+ } & {
5003
+ inputs: z.ZodArray<z.ZodObject<{
5004
+ key: z.ZodString;
5005
+ description: z.ZodString;
5006
+ type: z.ZodString;
5007
+ required: z.ZodBoolean;
5008
+ values: z.ZodArray<z.ZodString, "many">;
5009
+ valueHint: z.ZodNullable<z.ZodString>;
4060
5010
  }, "strict", z.ZodTypeAny, {
4061
- supported: false;
4062
- excludedReason: string;
5011
+ values: string[];
5012
+ description: string;
5013
+ type: string;
5014
+ key: string;
5015
+ required: boolean;
5016
+ valueHint: string | null;
4063
5017
  }, {
4064
- supported: false;
4065
- excludedReason: string;
4066
- }>]>;
5018
+ values: string[];
5019
+ description: string;
5020
+ type: string;
5021
+ key: string;
5022
+ required: boolean;
5023
+ valueHint: string | null;
5024
+ }>, "many">;
4067
5025
  }, "strict", z.ZodTypeAny, {
4068
- import: {
4069
- supported: true;
4070
- tool: "convert_document" | "inspect_document";
4071
- } | {
4072
- supported: false;
4073
- excludedReason: string;
4074
- };
4075
- export: {
4076
- supported: true;
4077
- tool: "convert_document" | "inspect_document";
4078
- } | {
4079
- supported: false;
4080
- excludedReason: string;
4081
- };
4082
5026
  id: string;
4083
- mimeType: string;
5027
+ description: string;
4084
5028
  label: string;
4085
- extensions: string[];
5029
+ inputs: {
5030
+ values: string[];
5031
+ description: string;
5032
+ type: string;
5033
+ key: string;
5034
+ required: boolean;
5035
+ valueHint: string | null;
5036
+ }[];
4086
5037
  }, {
4087
- import: {
4088
- supported: true;
4089
- tool: "convert_document" | "inspect_document";
4090
- } | {
4091
- supported: false;
4092
- excludedReason: string;
4093
- };
4094
- export: {
4095
- supported: true;
4096
- tool: "convert_document" | "inspect_document";
4097
- } | {
4098
- supported: false;
4099
- excludedReason: string;
4100
- };
4101
5038
  id: string;
4102
- mimeType: string;
5039
+ description: string;
4103
5040
  label: string;
4104
- extensions: string[];
4105
- }>, "many">;
5041
+ inputs: {
5042
+ values: string[];
5043
+ description: string;
5044
+ type: string;
5045
+ key: string;
5046
+ required: boolean;
5047
+ valueHint: string | null;
5048
+ }[];
5049
+ }>;
5050
+ annotationExample: z.ZodString;
4106
5051
  }, "strict", z.ZodTypeAny, {
4107
- formats: {
4108
- import: {
4109
- supported: true;
4110
- tool: "convert_document" | "inspect_document";
4111
- } | {
4112
- supported: false;
4113
- excludedReason: string;
4114
- };
4115
- export: {
4116
- supported: true;
4117
- tool: "convert_document" | "inspect_document";
4118
- } | {
4119
- supported: false;
4120
- excludedReason: string;
4121
- };
5052
+ template: {
4122
5053
  id: string;
4123
- mimeType: string;
5054
+ description: string;
4124
5055
  label: string;
4125
- extensions: string[];
4126
- }[];
5056
+ inputs: {
5057
+ values: string[];
5058
+ description: string;
5059
+ type: string;
5060
+ key: string;
5061
+ required: boolean;
5062
+ valueHint: string | null;
5063
+ }[];
5064
+ };
5065
+ annotationExample: string;
4127
5066
  }, {
4128
- formats: {
4129
- import: {
4130
- supported: true;
4131
- tool: "convert_document" | "inspect_document";
4132
- } | {
4133
- supported: false;
4134
- excludedReason: string;
4135
- };
4136
- export: {
4137
- supported: true;
4138
- tool: "convert_document" | "inspect_document";
4139
- } | {
4140
- supported: false;
4141
- excludedReason: string;
4142
- };
5067
+ template: {
4143
5068
  id: string;
4144
- mimeType: string;
5069
+ description: string;
4145
5070
  label: string;
4146
- extensions: string[];
4147
- }[];
5071
+ inputs: {
5072
+ values: string[];
5073
+ description: string;
5074
+ type: string;
5075
+ key: string;
5076
+ required: boolean;
5077
+ valueHint: string | null;
5078
+ }[];
5079
+ };
5080
+ annotationExample: string;
4148
5081
  }>;
4149
- declare const themeCatalogEntrySchema: z.ZodObject<{
5082
+ declare const authoringTemplateSummarySchema: z.ZodObject<{
4150
5083
  id: z.ZodString;
4151
- name: z.ZodString;
4152
- description: z.ZodOptional<z.ZodString>;
5084
+ label: z.ZodString;
5085
+ description: z.ZodString;
5086
+ } & {
5087
+ inputs: z.ZodArray<z.ZodObject<{
5088
+ key: z.ZodString;
5089
+ description: z.ZodString;
5090
+ type: z.ZodString;
5091
+ required: z.ZodBoolean;
5092
+ values: z.ZodArray<z.ZodString, "many">;
5093
+ valueHint: z.ZodNullable<z.ZodString>;
5094
+ }, "strict", z.ZodTypeAny, {
5095
+ values: string[];
5096
+ description: string;
5097
+ type: string;
5098
+ key: string;
5099
+ required: boolean;
5100
+ valueHint: string | null;
5101
+ }, {
5102
+ values: string[];
5103
+ description: string;
5104
+ type: string;
5105
+ key: string;
5106
+ required: boolean;
5107
+ valueHint: string | null;
5108
+ }>, "many">;
5109
+ role: z.ZodEnum<["opener", "divider", "content", "highlight", "quote", "comparison", "event", "media", "data", "spatial"]>;
5110
+ bodyPolicy: z.ZodEnum<["complete", "derived", "ignored", "structured"]>;
5111
+ safeForContentFirst: z.ZodBoolean;
5112
+ placement: z.ZodLiteral<"heading">;
5113
+ annotationExample: z.ZodString;
4153
5114
  }, "strict", z.ZodTypeAny, {
4154
- name: string;
4155
5115
  id: string;
4156
- description?: string | undefined;
5116
+ description: string;
5117
+ label: string;
5118
+ inputs: {
5119
+ values: string[];
5120
+ description: string;
5121
+ type: string;
5122
+ key: string;
5123
+ required: boolean;
5124
+ valueHint: string | null;
5125
+ }[];
5126
+ annotationExample: string;
5127
+ role: "media" | "comparison" | "opener" | "divider" | "content" | "highlight" | "quote" | "event" | "data" | "spatial";
5128
+ bodyPolicy: "complete" | "derived" | "ignored" | "structured";
5129
+ safeForContentFirst: boolean;
5130
+ placement: "heading";
4157
5131
  }, {
4158
- name: string;
4159
5132
  id: string;
4160
- description?: string | undefined;
5133
+ description: string;
5134
+ label: string;
5135
+ inputs: {
5136
+ values: string[];
5137
+ description: string;
5138
+ type: string;
5139
+ key: string;
5140
+ required: boolean;
5141
+ valueHint: string | null;
5142
+ }[];
5143
+ annotationExample: string;
5144
+ role: "media" | "comparison" | "opener" | "divider" | "content" | "highlight" | "quote" | "event" | "data" | "spatial";
5145
+ bodyPolicy: "complete" | "derived" | "ignored" | "structured";
5146
+ safeForContentFirst: boolean;
5147
+ placement: "heading";
5148
+ }>;
5149
+ declare const templateContentProfileSchema: z.ZodObject<{
5150
+ hasImage: z.ZodBoolean;
5151
+ imageCount: z.ZodNumber;
5152
+ hasVideo: z.ZodBoolean;
5153
+ hasBlockquote: z.ZodBoolean;
5154
+ hasList: z.ZodBoolean;
5155
+ hasTable: z.ZodBoolean;
5156
+ hasDate: z.ZodBoolean;
5157
+ hasNumberHighlight: z.ZodBoolean;
5158
+ wordCount: z.ZodNumber;
5159
+ hasAsciiDiagram: z.ZodBoolean;
5160
+ hasTimeline: z.ZodBoolean;
5161
+ hasTree: z.ZodBoolean;
5162
+ }, "strict", z.ZodTypeAny, {
5163
+ wordCount: number;
5164
+ hasImage: boolean;
5165
+ imageCount: number;
5166
+ hasVideo: boolean;
5167
+ hasBlockquote: boolean;
5168
+ hasList: boolean;
5169
+ hasTable: boolean;
5170
+ hasDate: boolean;
5171
+ hasNumberHighlight: boolean;
5172
+ hasAsciiDiagram: boolean;
5173
+ hasTimeline: boolean;
5174
+ hasTree: boolean;
5175
+ }, {
5176
+ wordCount: number;
5177
+ hasImage: boolean;
5178
+ imageCount: number;
5179
+ hasVideo: boolean;
5180
+ hasBlockquote: boolean;
5181
+ hasList: boolean;
5182
+ hasTable: boolean;
5183
+ hasDate: boolean;
5184
+ hasNumberHighlight: boolean;
5185
+ hasAsciiDiagram: boolean;
5186
+ hasTimeline: boolean;
5187
+ hasTree: boolean;
4161
5188
  }>;
4162
- declare const listThemesResultSchema: z.ZodObject<{
4163
- themes: z.ZodArray<z.ZodObject<{
4164
- id: z.ZodString;
4165
- name: z.ZodString;
4166
- description: z.ZodOptional<z.ZodString>;
5189
+ declare const templateRecommendationSchema: z.ZodObject<{
5190
+ blockId: z.ZodString;
5191
+ title: z.ZodNullable<z.ZodString>;
5192
+ profile: z.ZodObject<{
5193
+ hasImage: z.ZodBoolean;
5194
+ imageCount: z.ZodNumber;
5195
+ hasVideo: z.ZodBoolean;
5196
+ hasBlockquote: z.ZodBoolean;
5197
+ hasList: z.ZodBoolean;
5198
+ hasTable: z.ZodBoolean;
5199
+ hasDate: z.ZodBoolean;
5200
+ hasNumberHighlight: z.ZodBoolean;
5201
+ wordCount: z.ZodNumber;
5202
+ hasAsciiDiagram: z.ZodBoolean;
5203
+ hasTimeline: z.ZodBoolean;
5204
+ hasTree: z.ZodBoolean;
4167
5205
  }, "strict", z.ZodTypeAny, {
4168
- name: string;
4169
- id: string;
4170
- description?: string | undefined;
5206
+ wordCount: number;
5207
+ hasImage: boolean;
5208
+ imageCount: number;
5209
+ hasVideo: boolean;
5210
+ hasBlockquote: boolean;
5211
+ hasList: boolean;
5212
+ hasTable: boolean;
5213
+ hasDate: boolean;
5214
+ hasNumberHighlight: boolean;
5215
+ hasAsciiDiagram: boolean;
5216
+ hasTimeline: boolean;
5217
+ hasTree: boolean;
4171
5218
  }, {
4172
- name: string;
4173
- id: string;
4174
- description?: string | undefined;
4175
- }>, "many">;
4176
- }, "strict", z.ZodTypeAny, {
4177
- themes: {
4178
- name: string;
4179
- id: string;
4180
- description?: string | undefined;
4181
- }[];
4182
- }, {
4183
- themes: {
4184
- name: string;
4185
- id: string;
4186
- description?: string | undefined;
4187
- }[];
4188
- }>;
4189
- declare const transformStyleSummarySchema: z.ZodObject<{
4190
- id: z.ZodString;
4191
- name: z.ZodString;
4192
- description: z.ZodString;
5219
+ wordCount: number;
5220
+ hasImage: boolean;
5221
+ imageCount: number;
5222
+ hasVideo: boolean;
5223
+ hasBlockquote: boolean;
5224
+ hasList: boolean;
5225
+ hasTable: boolean;
5226
+ hasDate: boolean;
5227
+ hasNumberHighlight: boolean;
5228
+ hasAsciiDiagram: boolean;
5229
+ hasTimeline: boolean;
5230
+ hasTree: boolean;
5231
+ }>;
5232
+ recommendedTemplateIds: z.ZodArray<z.ZodString, "many">;
4193
5233
  }, "strict", z.ZodTypeAny, {
4194
- name: string;
4195
- id: string;
4196
- description: string;
5234
+ blockId: string;
5235
+ title: string | null;
5236
+ profile: {
5237
+ wordCount: number;
5238
+ hasImage: boolean;
5239
+ imageCount: number;
5240
+ hasVideo: boolean;
5241
+ hasBlockquote: boolean;
5242
+ hasList: boolean;
5243
+ hasTable: boolean;
5244
+ hasDate: boolean;
5245
+ hasNumberHighlight: boolean;
5246
+ hasAsciiDiagram: boolean;
5247
+ hasTimeline: boolean;
5248
+ hasTree: boolean;
5249
+ };
5250
+ recommendedTemplateIds: string[];
4197
5251
  }, {
4198
- name: string;
4199
- id: string;
4200
- description: string;
5252
+ blockId: string;
5253
+ title: string | null;
5254
+ profile: {
5255
+ wordCount: number;
5256
+ hasImage: boolean;
5257
+ imageCount: number;
5258
+ hasVideo: boolean;
5259
+ hasBlockquote: boolean;
5260
+ hasList: boolean;
5261
+ hasTable: boolean;
5262
+ hasDate: boolean;
5263
+ hasNumberHighlight: boolean;
5264
+ hasAsciiDiagram: boolean;
5265
+ hasTimeline: boolean;
5266
+ hasTree: boolean;
5267
+ };
5268
+ recommendedTemplateIds: string[];
4201
5269
  }>;
4202
- declare const listTransformStylesResultSchema: z.ZodObject<{
4203
- styles: z.ZodArray<z.ZodObject<{
4204
- id: z.ZodString;
4205
- name: z.ZodString;
4206
- description: z.ZodString;
5270
+ declare const recommendTemplatesResultSchema: z.ZodObject<{
5271
+ recommendations: z.ZodArray<z.ZodObject<{
5272
+ blockId: z.ZodString;
5273
+ title: z.ZodNullable<z.ZodString>;
5274
+ profile: z.ZodObject<{
5275
+ hasImage: z.ZodBoolean;
5276
+ imageCount: z.ZodNumber;
5277
+ hasVideo: z.ZodBoolean;
5278
+ hasBlockquote: z.ZodBoolean;
5279
+ hasList: z.ZodBoolean;
5280
+ hasTable: z.ZodBoolean;
5281
+ hasDate: z.ZodBoolean;
5282
+ hasNumberHighlight: z.ZodBoolean;
5283
+ wordCount: z.ZodNumber;
5284
+ hasAsciiDiagram: z.ZodBoolean;
5285
+ hasTimeline: z.ZodBoolean;
5286
+ hasTree: z.ZodBoolean;
5287
+ }, "strict", z.ZodTypeAny, {
5288
+ wordCount: number;
5289
+ hasImage: boolean;
5290
+ imageCount: number;
5291
+ hasVideo: boolean;
5292
+ hasBlockquote: boolean;
5293
+ hasList: boolean;
5294
+ hasTable: boolean;
5295
+ hasDate: boolean;
5296
+ hasNumberHighlight: boolean;
5297
+ hasAsciiDiagram: boolean;
5298
+ hasTimeline: boolean;
5299
+ hasTree: boolean;
5300
+ }, {
5301
+ wordCount: number;
5302
+ hasImage: boolean;
5303
+ imageCount: number;
5304
+ hasVideo: boolean;
5305
+ hasBlockquote: boolean;
5306
+ hasList: boolean;
5307
+ hasTable: boolean;
5308
+ hasDate: boolean;
5309
+ hasNumberHighlight: boolean;
5310
+ hasAsciiDiagram: boolean;
5311
+ hasTimeline: boolean;
5312
+ hasTree: boolean;
5313
+ }>;
5314
+ recommendedTemplateIds: z.ZodArray<z.ZodString, "many">;
4207
5315
  }, "strict", z.ZodTypeAny, {
4208
- name: string;
4209
- id: string;
4210
- description: string;
5316
+ blockId: string;
5317
+ title: string | null;
5318
+ profile: {
5319
+ wordCount: number;
5320
+ hasImage: boolean;
5321
+ imageCount: number;
5322
+ hasVideo: boolean;
5323
+ hasBlockquote: boolean;
5324
+ hasList: boolean;
5325
+ hasTable: boolean;
5326
+ hasDate: boolean;
5327
+ hasNumberHighlight: boolean;
5328
+ hasAsciiDiagram: boolean;
5329
+ hasTimeline: boolean;
5330
+ hasTree: boolean;
5331
+ };
5332
+ recommendedTemplateIds: string[];
4211
5333
  }, {
4212
- name: string;
4213
- id: string;
4214
- description: string;
5334
+ blockId: string;
5335
+ title: string | null;
5336
+ profile: {
5337
+ wordCount: number;
5338
+ hasImage: boolean;
5339
+ imageCount: number;
5340
+ hasVideo: boolean;
5341
+ hasBlockquote: boolean;
5342
+ hasList: boolean;
5343
+ hasTable: boolean;
5344
+ hasDate: boolean;
5345
+ hasNumberHighlight: boolean;
5346
+ hasAsciiDiagram: boolean;
5347
+ hasTimeline: boolean;
5348
+ hasTree: boolean;
5349
+ };
5350
+ recommendedTemplateIds: string[];
4215
5351
  }>, "many">;
5352
+ totalBlocks: z.ZodNumber;
5353
+ truncated: z.ZodBoolean;
4216
5354
  }, "strict", z.ZodTypeAny, {
4217
- styles: {
4218
- name: string;
4219
- id: string;
4220
- description: string;
5355
+ truncated: boolean;
5356
+ recommendations: {
5357
+ blockId: string;
5358
+ title: string | null;
5359
+ profile: {
5360
+ wordCount: number;
5361
+ hasImage: boolean;
5362
+ imageCount: number;
5363
+ hasVideo: boolean;
5364
+ hasBlockquote: boolean;
5365
+ hasList: boolean;
5366
+ hasTable: boolean;
5367
+ hasDate: boolean;
5368
+ hasNumberHighlight: boolean;
5369
+ hasAsciiDiagram: boolean;
5370
+ hasTimeline: boolean;
5371
+ hasTree: boolean;
5372
+ };
5373
+ recommendedTemplateIds: string[];
4221
5374
  }[];
5375
+ totalBlocks: number;
4222
5376
  }, {
4223
- styles: {
4224
- name: string;
4225
- id: string;
4226
- description: string;
5377
+ truncated: boolean;
5378
+ recommendations: {
5379
+ blockId: string;
5380
+ title: string | null;
5381
+ profile: {
5382
+ wordCount: number;
5383
+ hasImage: boolean;
5384
+ imageCount: number;
5385
+ hasVideo: boolean;
5386
+ hasBlockquote: boolean;
5387
+ hasList: boolean;
5388
+ hasTable: boolean;
5389
+ hasDate: boolean;
5390
+ hasNumberHighlight: boolean;
5391
+ hasAsciiDiagram: boolean;
5392
+ hasTimeline: boolean;
5393
+ hasTree: boolean;
5394
+ };
5395
+ recommendedTemplateIds: string[];
4227
5396
  }[];
5397
+ totalBlocks: number;
4228
5398
  }>;
4229
- declare const templateSummarySchema: z.ZodObject<{
4230
- id: z.ZodString;
4231
- label: z.ZodString;
4232
- description: z.ZodString;
4233
- }, "strict", z.ZodTypeAny, {
4234
- id: string;
4235
- description: string;
4236
- label: string;
4237
- }, {
4238
- id: string;
4239
- description: string;
4240
- label: string;
4241
- }>;
4242
- declare const listTemplatesResultSchema: z.ZodObject<{
4243
- templates: z.ZodArray<z.ZodObject<{
5399
+ declare const authoringContextResultSchema: z.ZodObject<{
5400
+ goal: z.ZodEnum<["content-first", "visual-polish"]>;
5401
+ targetFormat: z.ZodNullable<z.ZodString>;
5402
+ defaultTemplateId: z.ZodString;
5403
+ defaultFidelity: z.ZodNullable<z.ZodEnum<["semantic", "editable-native", "rendered-fidelity", "hybrid"]>>;
5404
+ workflow: z.ZodArray<z.ZodString, "many">;
5405
+ syntax: z.ZodObject<{
5406
+ headingAnnotation: z.ZodString;
5407
+ standaloneAnnotation: z.ZodString;
5408
+ standaloneWarning: z.ZodString;
5409
+ }, "strict", z.ZodTypeAny, {
5410
+ headingAnnotation: string;
5411
+ standaloneAnnotation: string;
5412
+ standaloneWarning: string;
5413
+ }, {
5414
+ headingAnnotation: string;
5415
+ standaloneAnnotation: string;
5416
+ standaloneWarning: string;
5417
+ }>;
5418
+ formats: z.ZodArray<z.ZodObject<{
4244
5419
  id: z.ZodString;
4245
5420
  label: z.ZodString;
4246
- description: z.ZodString;
5421
+ mimeType: z.ZodString;
5422
+ extensions: z.ZodArray<z.ZodString, "many">;
5423
+ import: z.ZodDiscriminatedUnion<"supported", [z.ZodObject<{
5424
+ supported: z.ZodLiteral<true>;
5425
+ tool: z.ZodEnum<["inspect_document", "convert_document"]>;
5426
+ }, "strict", z.ZodTypeAny, {
5427
+ supported: true;
5428
+ tool: "convert_document" | "inspect_document";
5429
+ }, {
5430
+ supported: true;
5431
+ tool: "convert_document" | "inspect_document";
5432
+ }>, z.ZodObject<{
5433
+ supported: z.ZodLiteral<false>;
5434
+ excludedReason: z.ZodString;
5435
+ }, "strict", z.ZodTypeAny, {
5436
+ supported: false;
5437
+ excludedReason: string;
5438
+ }, {
5439
+ supported: false;
5440
+ excludedReason: string;
5441
+ }>]>;
5442
+ export: z.ZodDiscriminatedUnion<"supported", [z.ZodObject<{
5443
+ supported: z.ZodLiteral<true>;
5444
+ tool: z.ZodEnum<["inspect_document", "convert_document"]>;
5445
+ }, "strict", z.ZodTypeAny, {
5446
+ supported: true;
5447
+ tool: "convert_document" | "inspect_document";
5448
+ }, {
5449
+ supported: true;
5450
+ tool: "convert_document" | "inspect_document";
5451
+ }>, z.ZodObject<{
5452
+ supported: z.ZodLiteral<false>;
5453
+ excludedReason: z.ZodString;
5454
+ }, "strict", z.ZodTypeAny, {
5455
+ supported: false;
5456
+ excludedReason: string;
5457
+ }, {
5458
+ supported: false;
5459
+ excludedReason: string;
5460
+ }>]>;
4247
5461
  }, "strict", z.ZodTypeAny, {
5462
+ import: {
5463
+ supported: true;
5464
+ tool: "convert_document" | "inspect_document";
5465
+ } | {
5466
+ supported: false;
5467
+ excludedReason: string;
5468
+ };
5469
+ export: {
5470
+ supported: true;
5471
+ tool: "convert_document" | "inspect_document";
5472
+ } | {
5473
+ supported: false;
5474
+ excludedReason: string;
5475
+ };
4248
5476
  id: string;
4249
- description: string;
5477
+ mimeType: string;
4250
5478
  label: string;
5479
+ extensions: string[];
4251
5480
  }, {
5481
+ import: {
5482
+ supported: true;
5483
+ tool: "convert_document" | "inspect_document";
5484
+ } | {
5485
+ supported: false;
5486
+ excludedReason: string;
5487
+ };
5488
+ export: {
5489
+ supported: true;
5490
+ tool: "convert_document" | "inspect_document";
5491
+ } | {
5492
+ supported: false;
5493
+ excludedReason: string;
5494
+ };
4252
5495
  id: string;
4253
- description: string;
5496
+ mimeType: string;
4254
5497
  label: string;
5498
+ extensions: string[];
4255
5499
  }>, "many">;
4256
- }, "strict", z.ZodTypeAny, {
4257
- templates: {
4258
- id: string;
4259
- description: string;
4260
- label: string;
4261
- }[];
4262
- }, {
4263
- templates: {
4264
- id: string;
4265
- description: string;
4266
- label: string;
4267
- }[];
4268
- }>;
4269
- declare const templateInputSummarySchema: z.ZodObject<{
4270
- key: z.ZodString;
4271
- description: z.ZodString;
4272
- type: z.ZodString;
4273
- required: z.ZodBoolean;
4274
- values: z.ZodArray<z.ZodString, "many">;
4275
- valueHint: z.ZodNullable<z.ZodString>;
4276
- }, "strict", z.ZodTypeAny, {
4277
- values: string[];
4278
- description: string;
4279
- type: string;
4280
- key: string;
4281
- required: boolean;
4282
- valueHint: string | null;
4283
- }, {
4284
- values: string[];
4285
- description: string;
4286
- type: string;
4287
- key: string;
4288
- required: boolean;
4289
- valueHint: string | null;
4290
- }>;
4291
- declare const describeTemplateResultSchema: z.ZodObject<{
4292
- template: z.ZodObject<{
5500
+ templates: z.ZodArray<z.ZodObject<{
4293
5501
  id: z.ZodString;
4294
5502
  label: z.ZodString;
4295
5503
  description: z.ZodString;
@@ -4308,193 +5516,80 @@ declare const describeTemplateResultSchema: z.ZodObject<{
4308
5516
  key: string;
4309
5517
  required: boolean;
4310
5518
  valueHint: string | null;
4311
- }, {
4312
- values: string[];
4313
- description: string;
4314
- type: string;
4315
- key: string;
4316
- required: boolean;
4317
- valueHint: string | null;
4318
- }>, "many">;
4319
- }, "strict", z.ZodTypeAny, {
4320
- id: string;
4321
- description: string;
4322
- label: string;
4323
- inputs: {
4324
- values: string[];
4325
- description: string;
4326
- type: string;
4327
- key: string;
4328
- required: boolean;
4329
- valueHint: string | null;
4330
- }[];
4331
- }, {
4332
- id: string;
4333
- description: string;
4334
- label: string;
4335
- inputs: {
4336
- values: string[];
4337
- description: string;
4338
- type: string;
4339
- key: string;
4340
- required: boolean;
4341
- valueHint: string | null;
4342
- }[];
4343
- }>;
4344
- annotationExample: z.ZodString;
4345
- }, "strict", z.ZodTypeAny, {
4346
- template: {
4347
- id: string;
4348
- description: string;
4349
- label: string;
4350
- inputs: {
4351
- values: string[];
4352
- description: string;
4353
- type: string;
4354
- key: string;
4355
- required: boolean;
4356
- valueHint: string | null;
4357
- }[];
4358
- };
4359
- annotationExample: string;
4360
- }, {
4361
- template: {
4362
- id: string;
4363
- description: string;
4364
- label: string;
4365
- inputs: {
4366
- values: string[];
4367
- description: string;
4368
- type: string;
4369
- key: string;
4370
- required: boolean;
4371
- valueHint: string | null;
4372
- }[];
4373
- };
4374
- annotationExample: string;
4375
- }>;
4376
- declare const templateContentProfileSchema: z.ZodObject<{
4377
- hasImage: z.ZodBoolean;
4378
- imageCount: z.ZodNumber;
4379
- hasVideo: z.ZodBoolean;
4380
- hasBlockquote: z.ZodBoolean;
4381
- hasList: z.ZodBoolean;
4382
- hasTable: z.ZodBoolean;
4383
- hasDate: z.ZodBoolean;
4384
- hasNumberHighlight: z.ZodBoolean;
4385
- wordCount: z.ZodNumber;
4386
- hasAsciiDiagram: z.ZodBoolean;
4387
- hasTimeline: z.ZodBoolean;
4388
- hasTree: z.ZodBoolean;
4389
- }, "strict", z.ZodTypeAny, {
4390
- wordCount: number;
4391
- hasImage: boolean;
4392
- imageCount: number;
4393
- hasVideo: boolean;
4394
- hasBlockquote: boolean;
4395
- hasList: boolean;
4396
- hasTable: boolean;
4397
- hasDate: boolean;
4398
- hasNumberHighlight: boolean;
4399
- hasAsciiDiagram: boolean;
4400
- hasTimeline: boolean;
4401
- hasTree: boolean;
4402
- }, {
4403
- wordCount: number;
4404
- hasImage: boolean;
4405
- imageCount: number;
4406
- hasVideo: boolean;
4407
- hasBlockquote: boolean;
4408
- hasList: boolean;
4409
- hasTable: boolean;
4410
- hasDate: boolean;
4411
- hasNumberHighlight: boolean;
4412
- hasAsciiDiagram: boolean;
4413
- hasTimeline: boolean;
4414
- hasTree: boolean;
4415
- }>;
4416
- declare const templateRecommendationSchema: z.ZodObject<{
4417
- blockId: z.ZodString;
4418
- title: z.ZodNullable<z.ZodString>;
4419
- profile: z.ZodObject<{
4420
- hasImage: z.ZodBoolean;
4421
- imageCount: z.ZodNumber;
4422
- hasVideo: z.ZodBoolean;
4423
- hasBlockquote: z.ZodBoolean;
4424
- hasList: z.ZodBoolean;
4425
- hasTable: z.ZodBoolean;
4426
- hasDate: z.ZodBoolean;
4427
- hasNumberHighlight: z.ZodBoolean;
4428
- wordCount: z.ZodNumber;
4429
- hasAsciiDiagram: z.ZodBoolean;
4430
- hasTimeline: z.ZodBoolean;
4431
- hasTree: z.ZodBoolean;
5519
+ }, {
5520
+ values: string[];
5521
+ description: string;
5522
+ type: string;
5523
+ key: string;
5524
+ required: boolean;
5525
+ valueHint: string | null;
5526
+ }>, "many">;
5527
+ role: z.ZodEnum<["opener", "divider", "content", "highlight", "quote", "comparison", "event", "media", "data", "spatial"]>;
5528
+ bodyPolicy: z.ZodEnum<["complete", "derived", "ignored", "structured"]>;
5529
+ safeForContentFirst: z.ZodBoolean;
5530
+ placement: z.ZodLiteral<"heading">;
5531
+ annotationExample: z.ZodString;
4432
5532
  }, "strict", z.ZodTypeAny, {
4433
- wordCount: number;
4434
- hasImage: boolean;
4435
- imageCount: number;
4436
- hasVideo: boolean;
4437
- hasBlockquote: boolean;
4438
- hasList: boolean;
4439
- hasTable: boolean;
4440
- hasDate: boolean;
4441
- hasNumberHighlight: boolean;
4442
- hasAsciiDiagram: boolean;
4443
- hasTimeline: boolean;
4444
- hasTree: boolean;
5533
+ id: string;
5534
+ description: string;
5535
+ label: string;
5536
+ inputs: {
5537
+ values: string[];
5538
+ description: string;
5539
+ type: string;
5540
+ key: string;
5541
+ required: boolean;
5542
+ valueHint: string | null;
5543
+ }[];
5544
+ annotationExample: string;
5545
+ role: "media" | "comparison" | "opener" | "divider" | "content" | "highlight" | "quote" | "event" | "data" | "spatial";
5546
+ bodyPolicy: "complete" | "derived" | "ignored" | "structured";
5547
+ safeForContentFirst: boolean;
5548
+ placement: "heading";
4445
5549
  }, {
4446
- wordCount: number;
4447
- hasImage: boolean;
4448
- imageCount: number;
4449
- hasVideo: boolean;
4450
- hasBlockquote: boolean;
4451
- hasList: boolean;
4452
- hasTable: boolean;
4453
- hasDate: boolean;
4454
- hasNumberHighlight: boolean;
4455
- hasAsciiDiagram: boolean;
4456
- hasTimeline: boolean;
4457
- hasTree: boolean;
4458
- }>;
4459
- recommendedTemplateIds: z.ZodArray<z.ZodString, "many">;
4460
- }, "strict", z.ZodTypeAny, {
4461
- blockId: string;
4462
- title: string | null;
4463
- profile: {
4464
- wordCount: number;
4465
- hasImage: boolean;
4466
- imageCount: number;
4467
- hasVideo: boolean;
4468
- hasBlockquote: boolean;
4469
- hasList: boolean;
4470
- hasTable: boolean;
4471
- hasDate: boolean;
4472
- hasNumberHighlight: boolean;
4473
- hasAsciiDiagram: boolean;
4474
- hasTimeline: boolean;
4475
- hasTree: boolean;
4476
- };
4477
- recommendedTemplateIds: string[];
4478
- }, {
4479
- blockId: string;
4480
- title: string | null;
4481
- profile: {
4482
- wordCount: number;
4483
- hasImage: boolean;
4484
- imageCount: number;
4485
- hasVideo: boolean;
4486
- hasBlockquote: boolean;
4487
- hasList: boolean;
4488
- hasTable: boolean;
4489
- hasDate: boolean;
4490
- hasNumberHighlight: boolean;
4491
- hasAsciiDiagram: boolean;
4492
- hasTimeline: boolean;
4493
- hasTree: boolean;
4494
- };
4495
- recommendedTemplateIds: string[];
4496
- }>;
4497
- declare const recommendTemplatesResultSchema: z.ZodObject<{
5550
+ id: string;
5551
+ description: string;
5552
+ label: string;
5553
+ inputs: {
5554
+ values: string[];
5555
+ description: string;
5556
+ type: string;
5557
+ key: string;
5558
+ required: boolean;
5559
+ valueHint: string | null;
5560
+ }[];
5561
+ annotationExample: string;
5562
+ role: "media" | "comparison" | "opener" | "divider" | "content" | "highlight" | "quote" | "event" | "data" | "spatial";
5563
+ bodyPolicy: "complete" | "derived" | "ignored" | "structured";
5564
+ safeForContentFirst: boolean;
5565
+ placement: "heading";
5566
+ }>, "many">;
5567
+ themes: z.ZodArray<z.ZodObject<{
5568
+ id: z.ZodString;
5569
+ name: z.ZodString;
5570
+ description: z.ZodOptional<z.ZodString>;
5571
+ }, "strict", z.ZodTypeAny, {
5572
+ name: string;
5573
+ id: string;
5574
+ description?: string | undefined;
5575
+ }, {
5576
+ name: string;
5577
+ id: string;
5578
+ description?: string | undefined;
5579
+ }>, "many">;
5580
+ transformStyles: z.ZodArray<z.ZodObject<{
5581
+ id: z.ZodString;
5582
+ name: z.ZodString;
5583
+ description: z.ZodString;
5584
+ }, "strict", z.ZodTypeAny, {
5585
+ name: string;
5586
+ id: string;
5587
+ description: string;
5588
+ }, {
5589
+ name: string;
5590
+ id: string;
5591
+ description: string;
5592
+ }>, "many">;
4498
5593
  recommendations: z.ZodArray<z.ZodObject<{
4499
5594
  blockId: z.ZodString;
4500
5595
  title: z.ZodNullable<z.ZodString>;
@@ -4576,10 +5671,54 @@ declare const recommendTemplatesResultSchema: z.ZodObject<{
4576
5671
  };
4577
5672
  recommendedTemplateIds: string[];
4578
5673
  }>, "many">;
4579
- totalBlocks: z.ZodNumber;
5674
+ totalBlocks: z.ZodNullable<z.ZodNumber>;
4580
5675
  truncated: z.ZodBoolean;
4581
5676
  }, "strict", z.ZodTypeAny, {
5677
+ targetFormat: string | null;
4582
5678
  truncated: boolean;
5679
+ formats: {
5680
+ import: {
5681
+ supported: true;
5682
+ tool: "convert_document" | "inspect_document";
5683
+ } | {
5684
+ supported: false;
5685
+ excludedReason: string;
5686
+ };
5687
+ export: {
5688
+ supported: true;
5689
+ tool: "convert_document" | "inspect_document";
5690
+ } | {
5691
+ supported: false;
5692
+ excludedReason: string;
5693
+ };
5694
+ id: string;
5695
+ mimeType: string;
5696
+ label: string;
5697
+ extensions: string[];
5698
+ }[];
5699
+ themes: {
5700
+ name: string;
5701
+ id: string;
5702
+ description?: string | undefined;
5703
+ }[];
5704
+ templates: {
5705
+ id: string;
5706
+ description: string;
5707
+ label: string;
5708
+ inputs: {
5709
+ values: string[];
5710
+ description: string;
5711
+ type: string;
5712
+ key: string;
5713
+ required: boolean;
5714
+ valueHint: string | null;
5715
+ }[];
5716
+ annotationExample: string;
5717
+ role: "media" | "comparison" | "opener" | "divider" | "content" | "highlight" | "quote" | "event" | "data" | "spatial";
5718
+ bodyPolicy: "complete" | "derived" | "ignored" | "structured";
5719
+ safeForContentFirst: boolean;
5720
+ placement: "heading";
5721
+ }[];
4583
5722
  recommendations: {
4584
5723
  blockId: string;
4585
5724
  title: string | null;
@@ -4599,9 +5738,67 @@ declare const recommendTemplatesResultSchema: z.ZodObject<{
4599
5738
  };
4600
5739
  recommendedTemplateIds: string[];
4601
5740
  }[];
4602
- totalBlocks: number;
5741
+ totalBlocks: number | null;
5742
+ goal: "content-first" | "visual-polish";
5743
+ defaultTemplateId: string;
5744
+ defaultFidelity: "semantic" | "editable-native" | "rendered-fidelity" | "hybrid" | null;
5745
+ workflow: string[];
5746
+ syntax: {
5747
+ headingAnnotation: string;
5748
+ standaloneAnnotation: string;
5749
+ standaloneWarning: string;
5750
+ };
5751
+ transformStyles: {
5752
+ name: string;
5753
+ id: string;
5754
+ description: string;
5755
+ }[];
4603
5756
  }, {
5757
+ targetFormat: string | null;
4604
5758
  truncated: boolean;
5759
+ formats: {
5760
+ import: {
5761
+ supported: true;
5762
+ tool: "convert_document" | "inspect_document";
5763
+ } | {
5764
+ supported: false;
5765
+ excludedReason: string;
5766
+ };
5767
+ export: {
5768
+ supported: true;
5769
+ tool: "convert_document" | "inspect_document";
5770
+ } | {
5771
+ supported: false;
5772
+ excludedReason: string;
5773
+ };
5774
+ id: string;
5775
+ mimeType: string;
5776
+ label: string;
5777
+ extensions: string[];
5778
+ }[];
5779
+ themes: {
5780
+ name: string;
5781
+ id: string;
5782
+ description?: string | undefined;
5783
+ }[];
5784
+ templates: {
5785
+ id: string;
5786
+ description: string;
5787
+ label: string;
5788
+ inputs: {
5789
+ values: string[];
5790
+ description: string;
5791
+ type: string;
5792
+ key: string;
5793
+ required: boolean;
5794
+ valueHint: string | null;
5795
+ }[];
5796
+ annotationExample: string;
5797
+ role: "media" | "comparison" | "opener" | "divider" | "content" | "highlight" | "quote" | "event" | "data" | "spatial";
5798
+ bodyPolicy: "complete" | "derived" | "ignored" | "structured";
5799
+ safeForContentFirst: boolean;
5800
+ placement: "heading";
5801
+ }[];
4605
5802
  recommendations: {
4606
5803
  blockId: string;
4607
5804
  title: string | null;
@@ -4621,7 +5818,21 @@ declare const recommendTemplatesResultSchema: z.ZodObject<{
4621
5818
  };
4622
5819
  recommendedTemplateIds: string[];
4623
5820
  }[];
4624
- totalBlocks: number;
5821
+ totalBlocks: number | null;
5822
+ goal: "content-first" | "visual-polish";
5823
+ defaultTemplateId: string;
5824
+ defaultFidelity: "semantic" | "editable-native" | "rendered-fidelity" | "hybrid" | null;
5825
+ workflow: string[];
5826
+ syntax: {
5827
+ headingAnnotation: string;
5828
+ standaloneAnnotation: string;
5829
+ standaloneWarning: string;
5830
+ };
5831
+ transformStyles: {
5832
+ name: string;
5833
+ id: string;
5834
+ description: string;
5835
+ }[];
4625
5836
  }>;
4626
5837
  declare const themeDescriptionSchema: z.ZodObject<{
4627
5838
  id: z.ZodString;
@@ -4635,16 +5846,16 @@ declare const themeDescriptionSchema: z.ZodObject<{
4635
5846
  highlight: z.ZodString;
4636
5847
  }, "strict", z.ZodTypeAny, {
4637
5848
  text: string;
5849
+ highlight: string;
4638
5850
  primary: string;
4639
5851
  secondary: string;
4640
5852
  background: string;
4641
- highlight: string;
4642
5853
  }, {
4643
5854
  text: string;
5855
+ highlight: string;
4644
5856
  primary: string;
4645
5857
  secondary: string;
4646
5858
  background: string;
4647
- highlight: string;
4648
5859
  }>;
4649
5860
  bodyFont: z.ZodString;
4650
5861
  titleFont: z.ZodString;
@@ -4654,10 +5865,10 @@ declare const themeDescriptionSchema: z.ZodObject<{
4654
5865
  description: string;
4655
5866
  colors: {
4656
5867
  text: string;
5868
+ highlight: string;
4657
5869
  primary: string;
4658
5870
  secondary: string;
4659
5871
  background: string;
4660
- highlight: string;
4661
5872
  };
4662
5873
  bodyFont: string;
4663
5874
  titleFont: string;
@@ -4667,10 +5878,10 @@ declare const themeDescriptionSchema: z.ZodObject<{
4667
5878
  description: string;
4668
5879
  colors: {
4669
5880
  text: string;
5881
+ highlight: string;
4670
5882
  primary: string;
4671
5883
  secondary: string;
4672
5884
  background: string;
4673
- highlight: string;
4674
5885
  };
4675
5886
  bodyFont: string;
4676
5887
  titleFont: string;
@@ -4688,16 +5899,16 @@ declare const describeThemeResultSchema: z.ZodObject<{
4688
5899
  highlight: z.ZodString;
4689
5900
  }, "strict", z.ZodTypeAny, {
4690
5901
  text: string;
5902
+ highlight: string;
4691
5903
  primary: string;
4692
5904
  secondary: string;
4693
5905
  background: string;
4694
- highlight: string;
4695
5906
  }, {
4696
5907
  text: string;
5908
+ highlight: string;
4697
5909
  primary: string;
4698
5910
  secondary: string;
4699
5911
  background: string;
4700
- highlight: string;
4701
5912
  }>;
4702
5913
  bodyFont: z.ZodString;
4703
5914
  titleFont: z.ZodString;
@@ -4707,10 +5918,10 @@ declare const describeThemeResultSchema: z.ZodObject<{
4707
5918
  description: string;
4708
5919
  colors: {
4709
5920
  text: string;
5921
+ highlight: string;
4710
5922
  primary: string;
4711
5923
  secondary: string;
4712
5924
  background: string;
4713
- highlight: string;
4714
5925
  };
4715
5926
  bodyFont: string;
4716
5927
  titleFont: string;
@@ -4720,10 +5931,10 @@ declare const describeThemeResultSchema: z.ZodObject<{
4720
5931
  description: string;
4721
5932
  colors: {
4722
5933
  text: string;
5934
+ highlight: string;
4723
5935
  primary: string;
4724
5936
  secondary: string;
4725
5937
  background: string;
4726
- highlight: string;
4727
5938
  };
4728
5939
  bodyFont: string;
4729
5940
  titleFont: string;
@@ -4737,10 +5948,10 @@ declare const describeThemeResultSchema: z.ZodObject<{
4737
5948
  description: string;
4738
5949
  colors: {
4739
5950
  text: string;
5951
+ highlight: string;
4740
5952
  primary: string;
4741
5953
  secondary: string;
4742
5954
  background: string;
4743
- highlight: string;
4744
5955
  };
4745
5956
  bodyFont: string;
4746
5957
  titleFont: string;
@@ -4753,10 +5964,10 @@ declare const describeThemeResultSchema: z.ZodObject<{
4753
5964
  description: string;
4754
5965
  colors: {
4755
5966
  text: string;
5967
+ highlight: string;
4756
5968
  primary: string;
4757
5969
  secondary: string;
4758
5970
  background: string;
4759
- highlight: string;
4760
5971
  };
4761
5972
  bodyFont: string;
4762
5973
  titleFont: string;
@@ -4790,16 +6001,16 @@ declare const inferThemeResultSchema: z.ZodObject<{
4790
6001
  highlight: z.ZodString;
4791
6002
  }, "strict", z.ZodTypeAny, {
4792
6003
  text: string;
6004
+ highlight: string;
4793
6005
  primary: string;
4794
6006
  secondary: string;
4795
6007
  background: string;
4796
- highlight: string;
4797
6008
  }, {
4798
6009
  text: string;
6010
+ highlight: string;
4799
6011
  primary: string;
4800
6012
  secondary: string;
4801
6013
  background: string;
4802
- highlight: string;
4803
6014
  }>;
4804
6015
  bodyFont: z.ZodString;
4805
6016
  titleFont: z.ZodString;
@@ -4809,10 +6020,10 @@ declare const inferThemeResultSchema: z.ZodObject<{
4809
6020
  description: string;
4810
6021
  colors: {
4811
6022
  text: string;
6023
+ highlight: string;
4812
6024
  primary: string;
4813
6025
  secondary: string;
4814
6026
  background: string;
4815
- highlight: string;
4816
6027
  };
4817
6028
  bodyFont: string;
4818
6029
  titleFont: string;
@@ -4822,10 +6033,10 @@ declare const inferThemeResultSchema: z.ZodObject<{
4822
6033
  description: string;
4823
6034
  colors: {
4824
6035
  text: string;
6036
+ highlight: string;
4825
6037
  primary: string;
4826
6038
  secondary: string;
4827
6039
  background: string;
4828
- highlight: string;
4829
6040
  };
4830
6041
  bodyFont: string;
4831
6042
  titleFont: string;
@@ -4851,10 +6062,10 @@ declare const inferThemeResultSchema: z.ZodObject<{
4851
6062
  description: string;
4852
6063
  colors: {
4853
6064
  text: string;
6065
+ highlight: string;
4854
6066
  primary: string;
4855
6067
  secondary: string;
4856
6068
  background: string;
4857
- highlight: string;
4858
6069
  };
4859
6070
  bodyFont: string;
4860
6071
  titleFont: string;
@@ -4874,10 +6085,10 @@ declare const inferThemeResultSchema: z.ZodObject<{
4874
6085
  description: string;
4875
6086
  colors: {
4876
6087
  text: string;
6088
+ highlight: string;
4877
6089
  primary: string;
4878
6090
  secondary: string;
4879
6091
  background: string;
4880
- highlight: string;
4881
6092
  };
4882
6093
  bodyFont: string;
4883
6094
  titleFont: string;
@@ -5516,16 +6727,16 @@ declare const applyInferredThemeResultSchema: z.ZodObject<{
5516
6727
  highlight: z.ZodString;
5517
6728
  }, "strict", z.ZodTypeAny, {
5518
6729
  text: string;
6730
+ highlight: string;
5519
6731
  primary: string;
5520
6732
  secondary: string;
5521
6733
  background: string;
5522
- highlight: string;
5523
6734
  }, {
5524
6735
  text: string;
6736
+ highlight: string;
5525
6737
  primary: string;
5526
6738
  secondary: string;
5527
6739
  background: string;
5528
- highlight: string;
5529
6740
  }>;
5530
6741
  bodyFont: z.ZodString;
5531
6742
  titleFont: z.ZodString;
@@ -5535,10 +6746,10 @@ declare const applyInferredThemeResultSchema: z.ZodObject<{
5535
6746
  description: string;
5536
6747
  colors: {
5537
6748
  text: string;
6749
+ highlight: string;
5538
6750
  primary: string;
5539
6751
  secondary: string;
5540
6752
  background: string;
5541
- highlight: string;
5542
6753
  };
5543
6754
  bodyFont: string;
5544
6755
  titleFont: string;
@@ -5548,10 +6759,10 @@ declare const applyInferredThemeResultSchema: z.ZodObject<{
5548
6759
  description: string;
5549
6760
  colors: {
5550
6761
  text: string;
6762
+ highlight: string;
5551
6763
  primary: string;
5552
6764
  secondary: string;
5553
6765
  background: string;
5554
- highlight: string;
5555
6766
  };
5556
6767
  bodyFont: string;
5557
6768
  titleFont: string;
@@ -5565,10 +6776,10 @@ declare const applyInferredThemeResultSchema: z.ZodObject<{
5565
6776
  description: string;
5566
6777
  colors: {
5567
6778
  text: string;
6779
+ highlight: string;
5568
6780
  primary: string;
5569
6781
  secondary: string;
5570
6782
  background: string;
5571
- highlight: string;
5572
6783
  };
5573
6784
  bodyFont: string;
5574
6785
  titleFont: string;
@@ -5648,10 +6859,10 @@ declare const applyInferredThemeResultSchema: z.ZodObject<{
5648
6859
  description: string;
5649
6860
  colors: {
5650
6861
  text: string;
6862
+ highlight: string;
5651
6863
  primary: string;
5652
6864
  secondary: string;
5653
6865
  background: string;
5654
- highlight: string;
5655
6866
  };
5656
6867
  bodyFont: string;
5657
6868
  titleFont: string;
@@ -5734,7 +6945,7 @@ declare const materializationOptionsSchema: z.ZodDiscriminatedUnion<"ifExists",
5734
6945
  rootId: z.ZodString;
5735
6946
  path: z.ZodEffects<z.ZodString, string, string>;
5736
6947
  ifExists: z.ZodLiteral<"error">;
5737
- expectedSha256: z.ZodNull;
6948
+ expectedSha256: z.ZodDefault<z.ZodOptional<z.ZodNull>>;
5738
6949
  }, "strict", z.ZodTypeAny, {
5739
6950
  path: string;
5740
6951
  rootId: string;
@@ -5744,7 +6955,7 @@ declare const materializationOptionsSchema: z.ZodDiscriminatedUnion<"ifExists",
5744
6955
  path: string;
5745
6956
  rootId: string;
5746
6957
  ifExists: "error";
5747
- expectedSha256: null;
6958
+ expectedSha256?: null | undefined;
5748
6959
  }>, z.ZodObject<{
5749
6960
  rootId: z.ZodString;
5750
6961
  path: z.ZodEffects<z.ZodString, string, string>;
@@ -5762,4 +6973,4 @@ declare const materializationOptionsSchema: z.ZodDiscriminatedUnion<"ifExists",
5762
6973
  expectedSha256: string;
5763
6974
  }>]>;
5764
6975
 
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 };
6976
+ export { DOCBLOCKS_MCP_TOOL_OUTPUT_SCHEMAS, DOCBLOCKS_MCP_TOOL_RESULT_SCHEMAS, MAX_MARKDOWN_CHARACTERS, MAX_PATH_CHARACTERS, applyInferredThemeResultSchema, artifactRefSchema, artifactUriSchema, authoringContextResultSchema, authoringTemplateSummarySchema, bundleAssetSchema, bundleDocumentSourceSchema, comparisonResultSchema, conversionResultSchema, convertDocumentResultSchema, describeTemplateResultSchema, describeThemeResultSchema, diagnosticSchema, documentRevisionRequestSchema, documentRevisionResultSchema, documentSourceSchema, formatCapabilitySummarySchema, formatDirectionCapabilitySchema, formatInputSchema, formatSchema, inferThemeResultSchema, inferredLayoutSummarySchema, inspectPptxLayoutsResultSchema, inspectionResultSchema, listFormatsResultSchema, listRootsResultSchema, listTemplatesResultSchema, listThemesResultSchema, listTransformStylesResultSchema, materializationOptionsSchema, mcpErrorDetailSchema, mcpErrorResultSchema, pptxLayoutSummarySchema, previewResultSchema, recommendTemplatesResultSchema, replaceBlockRevisionSchema, rootGrantSummarySchema, saveArtifactResultSchema, templateContentProfileSchema, templateInputSummarySchema, templateRecommendationSchema, templateSummarySchema, themeCatalogEntrySchema, themeDescriptionSchema, toolOutputSchema, transformStyleSummarySchema, validationResultSchema };