@wowok/agent-mcp 2.2.8

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 (62) hide show
  1. package/README.md +56 -0
  2. package/dist/index.d.ts +15800 -0
  3. package/dist/index.js +1479 -0
  4. package/dist/schema/call/allocation.d.ts +1430 -0
  5. package/dist/schema/call/allocation.js +24 -0
  6. package/dist/schema/call/arbitration.d.ts +1974 -0
  7. package/dist/schema/call/arbitration.js +92 -0
  8. package/dist/schema/call/base.d.ts +7325 -0
  9. package/dist/schema/call/base.js +138 -0
  10. package/dist/schema/call/contact.d.ts +970 -0
  11. package/dist/schema/call/contact.js +37 -0
  12. package/dist/schema/call/demand.d.ts +1265 -0
  13. package/dist/schema/call/demand.js +47 -0
  14. package/dist/schema/call/guard.d.ts +951 -0
  15. package/dist/schema/call/guard.js +58 -0
  16. package/dist/schema/call/handler.d.ts +38 -0
  17. package/dist/schema/call/handler.js +171 -0
  18. package/dist/schema/call/index.d.ts +18 -0
  19. package/dist/schema/call/index.js +18 -0
  20. package/dist/schema/call/machine.d.ts +3974 -0
  21. package/dist/schema/call/machine.js +152 -0
  22. package/dist/schema/call/order.d.ts +974 -0
  23. package/dist/schema/call/order.js +34 -0
  24. package/dist/schema/call/payment.d.ts +404 -0
  25. package/dist/schema/call/payment.js +17 -0
  26. package/dist/schema/call/permission.d.ts +3017 -0
  27. package/dist/schema/call/permission.js +105 -0
  28. package/dist/schema/call/personal.d.ts +1472 -0
  29. package/dist/schema/call/personal.js +68 -0
  30. package/dist/schema/call/progress.d.ts +725 -0
  31. package/dist/schema/call/progress.js +26 -0
  32. package/dist/schema/call/proof.d.ts +320 -0
  33. package/dist/schema/call/proof.js +27 -0
  34. package/dist/schema/call/repository.d.ts +2358 -0
  35. package/dist/schema/call/repository.js +76 -0
  36. package/dist/schema/call/reward.d.ts +1232 -0
  37. package/dist/schema/call/reward.js +30 -0
  38. package/dist/schema/call/service.d.ts +3494 -0
  39. package/dist/schema/call/service.js +82 -0
  40. package/dist/schema/call/treasury.d.ts +2345 -0
  41. package/dist/schema/call/treasury.js +71 -0
  42. package/dist/schema/common/index.d.ts +843 -0
  43. package/dist/schema/common/index.js +347 -0
  44. package/dist/schema/index.d.ts +7 -0
  45. package/dist/schema/index.js +7 -0
  46. package/dist/schema/local/index.d.ts +17522 -0
  47. package/dist/schema/local/index.js +855 -0
  48. package/dist/schema/local/wip.d.ts +784 -0
  49. package/dist/schema/local/wip.js +187 -0
  50. package/dist/schema/messenger/index.d.ts +4655 -0
  51. package/dist/schema/messenger/index.js +446 -0
  52. package/dist/schema/query/index.d.ts +73445 -0
  53. package/dist/schema/query/index.js +1324 -0
  54. package/dist/schema/utils/guard-parser.d.ts +20 -0
  55. package/dist/schema/utils/guard-parser.js +401 -0
  56. package/dist/schema/utils/guard-query-utils.d.ts +5 -0
  57. package/dist/schema/utils/guard-query-utils.js +22 -0
  58. package/dist/schema/utils/node-parser.d.ts +45 -0
  59. package/dist/schema/utils/node-parser.js +353 -0
  60. package/dist/schema/utils/permission-index-utils.d.ts +2 -0
  61. package/dist/schema/utils/permission-index-utils.js +7 -0
  62. package/package.json +48 -0
@@ -0,0 +1,784 @@
1
+ import { z } from "zod";
2
+ export declare const WipConstraints: {
3
+ readonly maxImageSize: number;
4
+ readonly maxTotalSize: number;
5
+ readonly maxImageCount: 10;
6
+ readonly maxTextLength: 10000;
7
+ readonly schemaUrl: "https://schema.wip.wowok.net/v1";
8
+ readonly version: "1.0.0";
9
+ };
10
+ export declare const TextFormatSchema: z.ZodUnion<[z.ZodLiteral<"plain">, z.ZodLiteral<"markdown">, z.ZodLiteral<"html">]>;
11
+ export declare const ImageMimeTypeSchema: z.ZodUnion<[z.ZodLiteral<"image/png">, z.ZodLiteral<"image/jpeg">, z.ZodLiteral<"image/gif">, z.ZodLiteral<"image/webp">]>;
12
+ export declare const HashAlgorithmSchema: z.ZodLiteral<"sha256">;
13
+ export declare const SignatureAlgorithmSchema: z.ZodLiteral<"Ed25519">;
14
+ export declare const WipContentSchema: z.ZodObject<{
15
+ text: z.ZodString;
16
+ format: z.ZodUnion<[z.ZodLiteral<"plain">, z.ZodLiteral<"markdown">, z.ZodLiteral<"html">]>;
17
+ }, "strip", z.ZodTypeAny, {
18
+ text: string;
19
+ format: "plain" | "markdown" | "html";
20
+ }, {
21
+ text: string;
22
+ format: "plain" | "markdown" | "html";
23
+ }>;
24
+ export declare const WipMediaSchema: z.ZodObject<{
25
+ id: z.ZodString;
26
+ type: z.ZodUnion<[z.ZodLiteral<"image/png">, z.ZodLiteral<"image/jpeg">, z.ZodLiteral<"image/gif">, z.ZodLiteral<"image/webp">]>;
27
+ data: z.ZodString;
28
+ filename: z.ZodOptional<z.ZodString>;
29
+ }, "strip", z.ZodTypeAny, {
30
+ type: "image/png" | "image/jpeg" | "image/gif" | "image/webp";
31
+ id: string;
32
+ data: string;
33
+ filename?: string | undefined;
34
+ }, {
35
+ type: "image/png" | "image/jpeg" | "image/gif" | "image/webp";
36
+ id: string;
37
+ data: string;
38
+ filename?: string | undefined;
39
+ }>;
40
+ export declare const WipPayloadSchema: z.ZodObject<{
41
+ content: z.ZodObject<{
42
+ text: z.ZodString;
43
+ format: z.ZodUnion<[z.ZodLiteral<"plain">, z.ZodLiteral<"markdown">, z.ZodLiteral<"html">]>;
44
+ }, "strip", z.ZodTypeAny, {
45
+ text: string;
46
+ format: "plain" | "markdown" | "html";
47
+ }, {
48
+ text: string;
49
+ format: "plain" | "markdown" | "html";
50
+ }>;
51
+ media: z.ZodArray<z.ZodObject<{
52
+ id: z.ZodString;
53
+ type: z.ZodUnion<[z.ZodLiteral<"image/png">, z.ZodLiteral<"image/jpeg">, z.ZodLiteral<"image/gif">, z.ZodLiteral<"image/webp">]>;
54
+ data: z.ZodString;
55
+ filename: z.ZodOptional<z.ZodString>;
56
+ }, "strip", z.ZodTypeAny, {
57
+ type: "image/png" | "image/jpeg" | "image/gif" | "image/webp";
58
+ id: string;
59
+ data: string;
60
+ filename?: string | undefined;
61
+ }, {
62
+ type: "image/png" | "image/jpeg" | "image/gif" | "image/webp";
63
+ id: string;
64
+ data: string;
65
+ filename?: string | undefined;
66
+ }>, "many">;
67
+ }, "strip", z.ZodTypeAny, {
68
+ content: {
69
+ text: string;
70
+ format: "plain" | "markdown" | "html";
71
+ };
72
+ media: {
73
+ type: "image/png" | "image/jpeg" | "image/gif" | "image/webp";
74
+ id: string;
75
+ data: string;
76
+ filename?: string | undefined;
77
+ }[];
78
+ }, {
79
+ content: {
80
+ text: string;
81
+ format: "plain" | "markdown" | "html";
82
+ };
83
+ media: {
84
+ type: "image/png" | "image/jpeg" | "image/gif" | "image/webp";
85
+ id: string;
86
+ data: string;
87
+ filename?: string | undefined;
88
+ }[];
89
+ }>;
90
+ export declare const WipSignatureSchema: z.ZodObject<{
91
+ value: z.ZodString;
92
+ publicKey: z.ZodString;
93
+ algorithm: z.ZodLiteral<"Ed25519">;
94
+ address: z.ZodOptional<z.ZodString>;
95
+ }, "strip", z.ZodTypeAny, {
96
+ value: string;
97
+ publicKey: string;
98
+ algorithm: "Ed25519";
99
+ address?: string | undefined;
100
+ }, {
101
+ value: string;
102
+ publicKey: string;
103
+ algorithm: "Ed25519";
104
+ address?: string | undefined;
105
+ }>;
106
+ export declare const WipSignatureArraySchema: z.ZodUnion<[z.ZodObject<{
107
+ value: z.ZodString;
108
+ publicKey: z.ZodString;
109
+ algorithm: z.ZodLiteral<"Ed25519">;
110
+ address: z.ZodOptional<z.ZodString>;
111
+ }, "strip", z.ZodTypeAny, {
112
+ value: string;
113
+ publicKey: string;
114
+ algorithm: "Ed25519";
115
+ address?: string | undefined;
116
+ }, {
117
+ value: string;
118
+ publicKey: string;
119
+ algorithm: "Ed25519";
120
+ address?: string | undefined;
121
+ }>, z.ZodArray<z.ZodObject<{
122
+ value: z.ZodString;
123
+ publicKey: z.ZodString;
124
+ algorithm: z.ZodLiteral<"Ed25519">;
125
+ address: z.ZodOptional<z.ZodString>;
126
+ }, "strip", z.ZodTypeAny, {
127
+ value: string;
128
+ publicKey: string;
129
+ algorithm: "Ed25519";
130
+ address?: string | undefined;
131
+ }, {
132
+ value: string;
133
+ publicKey: string;
134
+ algorithm: "Ed25519";
135
+ address?: string | undefined;
136
+ }>, "many">]>;
137
+ export declare const WipMetaSchema: z.ZodObject<{
138
+ type: z.ZodLiteral<"wip">;
139
+ version: z.ZodString;
140
+ created: z.ZodString;
141
+ hash: z.ZodString;
142
+ algorithm: z.ZodLiteral<"sha256">;
143
+ signature: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
144
+ value: z.ZodString;
145
+ publicKey: z.ZodString;
146
+ algorithm: z.ZodLiteral<"Ed25519">;
147
+ address: z.ZodOptional<z.ZodString>;
148
+ }, "strip", z.ZodTypeAny, {
149
+ value: string;
150
+ publicKey: string;
151
+ algorithm: "Ed25519";
152
+ address?: string | undefined;
153
+ }, {
154
+ value: string;
155
+ publicKey: string;
156
+ algorithm: "Ed25519";
157
+ address?: string | undefined;
158
+ }>, z.ZodArray<z.ZodObject<{
159
+ value: z.ZodString;
160
+ publicKey: z.ZodString;
161
+ algorithm: z.ZodLiteral<"Ed25519">;
162
+ address: z.ZodOptional<z.ZodString>;
163
+ }, "strip", z.ZodTypeAny, {
164
+ value: string;
165
+ publicKey: string;
166
+ algorithm: "Ed25519";
167
+ address?: string | undefined;
168
+ }, {
169
+ value: string;
170
+ publicKey: string;
171
+ algorithm: "Ed25519";
172
+ address?: string | undefined;
173
+ }>, "many">]>>;
174
+ }, "strip", z.ZodTypeAny, {
175
+ type: "wip";
176
+ version: string;
177
+ algorithm: "sha256";
178
+ created: string;
179
+ hash: string;
180
+ signature?: {
181
+ value: string;
182
+ publicKey: string;
183
+ algorithm: "Ed25519";
184
+ address?: string | undefined;
185
+ } | {
186
+ value: string;
187
+ publicKey: string;
188
+ algorithm: "Ed25519";
189
+ address?: string | undefined;
190
+ }[] | undefined;
191
+ }, {
192
+ type: "wip";
193
+ version: string;
194
+ algorithm: "sha256";
195
+ created: string;
196
+ hash: string;
197
+ signature?: {
198
+ value: string;
199
+ publicKey: string;
200
+ algorithm: "Ed25519";
201
+ address?: string | undefined;
202
+ } | {
203
+ value: string;
204
+ publicKey: string;
205
+ algorithm: "Ed25519";
206
+ address?: string | undefined;
207
+ }[] | undefined;
208
+ }>;
209
+ export declare const WipFileSchema: z.ZodObject<{
210
+ wip: z.ZodString;
211
+ payload: z.ZodObject<{
212
+ content: z.ZodObject<{
213
+ text: z.ZodString;
214
+ format: z.ZodUnion<[z.ZodLiteral<"plain">, z.ZodLiteral<"markdown">, z.ZodLiteral<"html">]>;
215
+ }, "strip", z.ZodTypeAny, {
216
+ text: string;
217
+ format: "plain" | "markdown" | "html";
218
+ }, {
219
+ text: string;
220
+ format: "plain" | "markdown" | "html";
221
+ }>;
222
+ media: z.ZodArray<z.ZodObject<{
223
+ id: z.ZodString;
224
+ type: z.ZodUnion<[z.ZodLiteral<"image/png">, z.ZodLiteral<"image/jpeg">, z.ZodLiteral<"image/gif">, z.ZodLiteral<"image/webp">]>;
225
+ data: z.ZodString;
226
+ filename: z.ZodOptional<z.ZodString>;
227
+ }, "strip", z.ZodTypeAny, {
228
+ type: "image/png" | "image/jpeg" | "image/gif" | "image/webp";
229
+ id: string;
230
+ data: string;
231
+ filename?: string | undefined;
232
+ }, {
233
+ type: "image/png" | "image/jpeg" | "image/gif" | "image/webp";
234
+ id: string;
235
+ data: string;
236
+ filename?: string | undefined;
237
+ }>, "many">;
238
+ }, "strip", z.ZodTypeAny, {
239
+ content: {
240
+ text: string;
241
+ format: "plain" | "markdown" | "html";
242
+ };
243
+ media: {
244
+ type: "image/png" | "image/jpeg" | "image/gif" | "image/webp";
245
+ id: string;
246
+ data: string;
247
+ filename?: string | undefined;
248
+ }[];
249
+ }, {
250
+ content: {
251
+ text: string;
252
+ format: "plain" | "markdown" | "html";
253
+ };
254
+ media: {
255
+ type: "image/png" | "image/jpeg" | "image/gif" | "image/webp";
256
+ id: string;
257
+ data: string;
258
+ filename?: string | undefined;
259
+ }[];
260
+ }>;
261
+ meta: z.ZodObject<{
262
+ type: z.ZodLiteral<"wip">;
263
+ version: z.ZodString;
264
+ created: z.ZodString;
265
+ hash: z.ZodString;
266
+ algorithm: z.ZodLiteral<"sha256">;
267
+ signature: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
268
+ value: z.ZodString;
269
+ publicKey: z.ZodString;
270
+ algorithm: z.ZodLiteral<"Ed25519">;
271
+ address: z.ZodOptional<z.ZodString>;
272
+ }, "strip", z.ZodTypeAny, {
273
+ value: string;
274
+ publicKey: string;
275
+ algorithm: "Ed25519";
276
+ address?: string | undefined;
277
+ }, {
278
+ value: string;
279
+ publicKey: string;
280
+ algorithm: "Ed25519";
281
+ address?: string | undefined;
282
+ }>, z.ZodArray<z.ZodObject<{
283
+ value: z.ZodString;
284
+ publicKey: z.ZodString;
285
+ algorithm: z.ZodLiteral<"Ed25519">;
286
+ address: z.ZodOptional<z.ZodString>;
287
+ }, "strip", z.ZodTypeAny, {
288
+ value: string;
289
+ publicKey: string;
290
+ algorithm: "Ed25519";
291
+ address?: string | undefined;
292
+ }, {
293
+ value: string;
294
+ publicKey: string;
295
+ algorithm: "Ed25519";
296
+ address?: string | undefined;
297
+ }>, "many">]>>;
298
+ }, "strip", z.ZodTypeAny, {
299
+ type: "wip";
300
+ version: string;
301
+ algorithm: "sha256";
302
+ created: string;
303
+ hash: string;
304
+ signature?: {
305
+ value: string;
306
+ publicKey: string;
307
+ algorithm: "Ed25519";
308
+ address?: string | undefined;
309
+ } | {
310
+ value: string;
311
+ publicKey: string;
312
+ algorithm: "Ed25519";
313
+ address?: string | undefined;
314
+ }[] | undefined;
315
+ }, {
316
+ type: "wip";
317
+ version: string;
318
+ algorithm: "sha256";
319
+ created: string;
320
+ hash: string;
321
+ signature?: {
322
+ value: string;
323
+ publicKey: string;
324
+ algorithm: "Ed25519";
325
+ address?: string | undefined;
326
+ } | {
327
+ value: string;
328
+ publicKey: string;
329
+ algorithm: "Ed25519";
330
+ address?: string | undefined;
331
+ }[] | undefined;
332
+ }>;
333
+ }, "strip", z.ZodTypeAny, {
334
+ wip: string;
335
+ payload: {
336
+ content: {
337
+ text: string;
338
+ format: "plain" | "markdown" | "html";
339
+ };
340
+ media: {
341
+ type: "image/png" | "image/jpeg" | "image/gif" | "image/webp";
342
+ id: string;
343
+ data: string;
344
+ filename?: string | undefined;
345
+ }[];
346
+ };
347
+ meta: {
348
+ type: "wip";
349
+ version: string;
350
+ algorithm: "sha256";
351
+ created: string;
352
+ hash: string;
353
+ signature?: {
354
+ value: string;
355
+ publicKey: string;
356
+ algorithm: "Ed25519";
357
+ address?: string | undefined;
358
+ } | {
359
+ value: string;
360
+ publicKey: string;
361
+ algorithm: "Ed25519";
362
+ address?: string | undefined;
363
+ }[] | undefined;
364
+ };
365
+ }, {
366
+ wip: string;
367
+ payload: {
368
+ content: {
369
+ text: string;
370
+ format: "plain" | "markdown" | "html";
371
+ };
372
+ media: {
373
+ type: "image/png" | "image/jpeg" | "image/gif" | "image/webp";
374
+ id: string;
375
+ data: string;
376
+ filename?: string | undefined;
377
+ }[];
378
+ };
379
+ meta: {
380
+ type: "wip";
381
+ version: string;
382
+ algorithm: "sha256";
383
+ created: string;
384
+ hash: string;
385
+ signature?: {
386
+ value: string;
387
+ publicKey: string;
388
+ algorithm: "Ed25519";
389
+ address?: string | undefined;
390
+ } | {
391
+ value: string;
392
+ publicKey: string;
393
+ algorithm: "Ed25519";
394
+ address?: string | undefined;
395
+ }[] | undefined;
396
+ };
397
+ }>;
398
+ export declare const ImageSourceSchema: z.ZodObject<{
399
+ source: z.ZodString;
400
+ id: z.ZodOptional<z.ZodString>;
401
+ filename: z.ZodOptional<z.ZodString>;
402
+ }, "strip", z.ZodTypeAny, {
403
+ source: string;
404
+ id?: string | undefined;
405
+ filename?: string | undefined;
406
+ }, {
407
+ source: string;
408
+ id?: string | undefined;
409
+ filename?: string | undefined;
410
+ }>;
411
+ export declare const WipGenerationOptionsSchema: z.ZodObject<{
412
+ markdown_text: z.ZodString;
413
+ images: z.ZodOptional<z.ZodArray<z.ZodObject<{
414
+ source: z.ZodString;
415
+ id: z.ZodOptional<z.ZodString>;
416
+ filename: z.ZodOptional<z.ZodString>;
417
+ }, "strip", z.ZodTypeAny, {
418
+ source: string;
419
+ id?: string | undefined;
420
+ filename?: string | undefined;
421
+ }, {
422
+ source: string;
423
+ id?: string | undefined;
424
+ filename?: string | undefined;
425
+ }>, "many">>;
426
+ account: z.ZodOptional<z.ZodString>;
427
+ }, "strip", z.ZodTypeAny, {
428
+ markdown_text: string;
429
+ images?: {
430
+ source: string;
431
+ id?: string | undefined;
432
+ filename?: string | undefined;
433
+ }[] | undefined;
434
+ account?: string | undefined;
435
+ }, {
436
+ markdown_text: string;
437
+ images?: {
438
+ source: string;
439
+ id?: string | undefined;
440
+ filename?: string | undefined;
441
+ }[] | undefined;
442
+ account?: string | undefined;
443
+ }>;
444
+ export declare const WipSignatureVerificationSchema: z.ZodObject<{
445
+ publicKey: z.ZodString;
446
+ address: z.ZodOptional<z.ZodString>;
447
+ valid: z.ZodBoolean;
448
+ }, "strip", z.ZodTypeAny, {
449
+ valid: boolean;
450
+ publicKey: string;
451
+ address?: string | undefined;
452
+ }, {
453
+ valid: boolean;
454
+ publicKey: string;
455
+ address?: string | undefined;
456
+ }>;
457
+ export declare const WipVerificationResultSchema: z.ZodObject<{
458
+ valid: z.ZodBoolean;
459
+ error: z.ZodOptional<z.ZodString>;
460
+ hashValid: z.ZodBoolean;
461
+ signatureValid: z.ZodOptional<z.ZodBoolean>;
462
+ hasSignature: z.ZodBoolean;
463
+ signatures: z.ZodOptional<z.ZodArray<z.ZodObject<{
464
+ publicKey: z.ZodString;
465
+ address: z.ZodOptional<z.ZodString>;
466
+ valid: z.ZodBoolean;
467
+ }, "strip", z.ZodTypeAny, {
468
+ valid: boolean;
469
+ publicKey: string;
470
+ address?: string | undefined;
471
+ }, {
472
+ valid: boolean;
473
+ publicKey: string;
474
+ address?: string | undefined;
475
+ }>, "many">>;
476
+ }, "strip", z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, z.objectOutputType<{
477
+ valid: z.ZodBoolean;
478
+ error: z.ZodOptional<z.ZodString>;
479
+ hashValid: z.ZodBoolean;
480
+ signatureValid: z.ZodOptional<z.ZodBoolean>;
481
+ hasSignature: z.ZodBoolean;
482
+ signatures: z.ZodOptional<z.ZodArray<z.ZodObject<{
483
+ publicKey: z.ZodString;
484
+ address: z.ZodOptional<z.ZodString>;
485
+ valid: z.ZodBoolean;
486
+ }, "strip", z.ZodTypeAny, {
487
+ valid: boolean;
488
+ publicKey: string;
489
+ address?: string | undefined;
490
+ }, {
491
+ valid: boolean;
492
+ publicKey: string;
493
+ address?: string | undefined;
494
+ }>, "many">>;
495
+ }, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, "strip">, z.objectInputType<{
496
+ valid: z.ZodBoolean;
497
+ error: z.ZodOptional<z.ZodString>;
498
+ hashValid: z.ZodBoolean;
499
+ signatureValid: z.ZodOptional<z.ZodBoolean>;
500
+ hasSignature: z.ZodBoolean;
501
+ signatures: z.ZodOptional<z.ZodArray<z.ZodObject<{
502
+ publicKey: z.ZodString;
503
+ address: z.ZodOptional<z.ZodString>;
504
+ valid: z.ZodBoolean;
505
+ }, "strip", z.ZodTypeAny, {
506
+ valid: boolean;
507
+ publicKey: string;
508
+ address?: string | undefined;
509
+ }, {
510
+ valid: boolean;
511
+ publicKey: string;
512
+ address?: string | undefined;
513
+ }>, "many">>;
514
+ }, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, "strip">>;
515
+ export declare const WipToHtmlOptionsSchema: z.ZodObject<{
516
+ title: z.ZodOptional<z.ZodString>;
517
+ theme: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"light">, z.ZodLiteral<"dark">]>>;
518
+ outputPath: z.ZodOptional<z.ZodString>;
519
+ }, "strip", z.ZodTypeAny, {
520
+ title?: string | undefined;
521
+ theme?: "light" | "dark" | undefined;
522
+ outputPath?: string | undefined;
523
+ }, {
524
+ title?: string | undefined;
525
+ theme?: "light" | "dark" | undefined;
526
+ outputPath?: string | undefined;
527
+ }>;
528
+ export declare const GenerateWip_InputSchema: z.ZodObject<{
529
+ options: z.ZodObject<{
530
+ markdown_text: z.ZodString;
531
+ images: z.ZodOptional<z.ZodArray<z.ZodObject<{
532
+ source: z.ZodString;
533
+ id: z.ZodOptional<z.ZodString>;
534
+ filename: z.ZodOptional<z.ZodString>;
535
+ }, "strip", z.ZodTypeAny, {
536
+ source: string;
537
+ id?: string | undefined;
538
+ filename?: string | undefined;
539
+ }, {
540
+ source: string;
541
+ id?: string | undefined;
542
+ filename?: string | undefined;
543
+ }>, "many">>;
544
+ account: z.ZodOptional<z.ZodString>;
545
+ }, "strip", z.ZodTypeAny, {
546
+ markdown_text: string;
547
+ images?: {
548
+ source: string;
549
+ id?: string | undefined;
550
+ filename?: string | undefined;
551
+ }[] | undefined;
552
+ account?: string | undefined;
553
+ }, {
554
+ markdown_text: string;
555
+ images?: {
556
+ source: string;
557
+ id?: string | undefined;
558
+ filename?: string | undefined;
559
+ }[] | undefined;
560
+ account?: string | undefined;
561
+ }>;
562
+ outputPath: z.ZodString;
563
+ }, "strip", z.ZodTypeAny, {
564
+ options: {
565
+ markdown_text: string;
566
+ images?: {
567
+ source: string;
568
+ id?: string | undefined;
569
+ filename?: string | undefined;
570
+ }[] | undefined;
571
+ account?: string | undefined;
572
+ };
573
+ outputPath: string;
574
+ }, {
575
+ options: {
576
+ markdown_text: string;
577
+ images?: {
578
+ source: string;
579
+ id?: string | undefined;
580
+ filename?: string | undefined;
581
+ }[] | undefined;
582
+ account?: string | undefined;
583
+ };
584
+ outputPath: string;
585
+ }>;
586
+ export declare const VerifyWip_InputSchema: z.ZodObject<{
587
+ wipFilePath: z.ZodString;
588
+ hash_equal: z.ZodOptional<z.ZodString>;
589
+ requireSignature: z.ZodOptional<z.ZodBoolean>;
590
+ }, "strip", z.ZodTypeAny, {
591
+ wipFilePath: string;
592
+ hash_equal?: string | undefined;
593
+ requireSignature?: boolean | undefined;
594
+ }, {
595
+ wipFilePath: string;
596
+ hash_equal?: string | undefined;
597
+ requireSignature?: boolean | undefined;
598
+ }>;
599
+ export declare const SignWip_InputSchema: z.ZodObject<{
600
+ wipFilePath: z.ZodString;
601
+ account: z.ZodOptional<z.ZodString>;
602
+ outputPath: z.ZodOptional<z.ZodString>;
603
+ }, "strip", z.ZodTypeAny, {
604
+ wipFilePath: string;
605
+ account?: string | undefined;
606
+ outputPath?: string | undefined;
607
+ }, {
608
+ wipFilePath: string;
609
+ account?: string | undefined;
610
+ outputPath?: string | undefined;
611
+ }>;
612
+ export declare const Wip2Html_InputSchema: z.ZodObject<{
613
+ wipPath: z.ZodString;
614
+ options: z.ZodOptional<z.ZodObject<{
615
+ title: z.ZodOptional<z.ZodString>;
616
+ theme: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"light">, z.ZodLiteral<"dark">]>>;
617
+ outputPath: z.ZodOptional<z.ZodString>;
618
+ }, "strip", z.ZodTypeAny, {
619
+ title?: string | undefined;
620
+ theme?: "light" | "dark" | undefined;
621
+ outputPath?: string | undefined;
622
+ }, {
623
+ title?: string | undefined;
624
+ theme?: "light" | "dark" | undefined;
625
+ outputPath?: string | undefined;
626
+ }>>;
627
+ }, "strip", z.ZodTypeAny, {
628
+ wipPath: string;
629
+ options?: {
630
+ title?: string | undefined;
631
+ theme?: "light" | "dark" | undefined;
632
+ outputPath?: string | undefined;
633
+ } | undefined;
634
+ }, {
635
+ wipPath: string;
636
+ options?: {
637
+ title?: string | undefined;
638
+ theme?: "light" | "dark" | undefined;
639
+ outputPath?: string | undefined;
640
+ } | undefined;
641
+ }>;
642
+ export declare const GenerateWip_OutputSchema: z.ZodObject<{
643
+ filePath: z.ZodString;
644
+ }, "strip", z.ZodTypeAny, {
645
+ filePath: string;
646
+ }, {
647
+ filePath: string;
648
+ }>;
649
+ export declare const VerifyWip_OutputSchema: z.ZodObject<{
650
+ valid: z.ZodBoolean;
651
+ error: z.ZodOptional<z.ZodString>;
652
+ hashValid: z.ZodBoolean;
653
+ signatureValid: z.ZodOptional<z.ZodBoolean>;
654
+ hasSignature: z.ZodBoolean;
655
+ signatures: z.ZodOptional<z.ZodArray<z.ZodObject<{
656
+ publicKey: z.ZodString;
657
+ address: z.ZodOptional<z.ZodString>;
658
+ valid: z.ZodBoolean;
659
+ }, "strip", z.ZodTypeAny, {
660
+ valid: boolean;
661
+ publicKey: string;
662
+ address?: string | undefined;
663
+ }, {
664
+ valid: boolean;
665
+ publicKey: string;
666
+ address?: string | undefined;
667
+ }>, "many">>;
668
+ }, "strip", z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, z.objectOutputType<{
669
+ valid: z.ZodBoolean;
670
+ error: z.ZodOptional<z.ZodString>;
671
+ hashValid: z.ZodBoolean;
672
+ signatureValid: z.ZodOptional<z.ZodBoolean>;
673
+ hasSignature: z.ZodBoolean;
674
+ signatures: z.ZodOptional<z.ZodArray<z.ZodObject<{
675
+ publicKey: z.ZodString;
676
+ address: z.ZodOptional<z.ZodString>;
677
+ valid: z.ZodBoolean;
678
+ }, "strip", z.ZodTypeAny, {
679
+ valid: boolean;
680
+ publicKey: string;
681
+ address?: string | undefined;
682
+ }, {
683
+ valid: boolean;
684
+ publicKey: string;
685
+ address?: string | undefined;
686
+ }>, "many">>;
687
+ }, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, "strip">, z.objectInputType<{
688
+ valid: z.ZodBoolean;
689
+ error: z.ZodOptional<z.ZodString>;
690
+ hashValid: z.ZodBoolean;
691
+ signatureValid: z.ZodOptional<z.ZodBoolean>;
692
+ hasSignature: z.ZodBoolean;
693
+ signatures: z.ZodOptional<z.ZodArray<z.ZodObject<{
694
+ publicKey: z.ZodString;
695
+ address: z.ZodOptional<z.ZodString>;
696
+ valid: z.ZodBoolean;
697
+ }, "strip", z.ZodTypeAny, {
698
+ valid: boolean;
699
+ publicKey: string;
700
+ address?: string | undefined;
701
+ }, {
702
+ valid: boolean;
703
+ publicKey: string;
704
+ address?: string | undefined;
705
+ }>, "many">>;
706
+ }, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, "strip">>;
707
+ export declare const SignWip_OutputSchema: z.ZodObject<{
708
+ filePath: z.ZodString;
709
+ }, "strip", z.ZodTypeAny, {
710
+ filePath: string;
711
+ }, {
712
+ filePath: string;
713
+ }>;
714
+ export declare const Wip2Html_OutputSchema: z.ZodObject<{
715
+ html: z.ZodOptional<z.ZodString>;
716
+ filePath: z.ZodOptional<z.ZodString>;
717
+ files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
718
+ }, "strip", z.ZodTypeAny, {
719
+ html?: string | undefined;
720
+ filePath?: string | undefined;
721
+ files?: string[] | undefined;
722
+ }, {
723
+ html?: string | undefined;
724
+ filePath?: string | undefined;
725
+ files?: string[] | undefined;
726
+ }>;
727
+ export declare const WipOperationOutputSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
728
+ type: z.ZodLiteral<"generate">;
729
+ filePath: z.ZodString;
730
+ }, "strip", z.ZodTypeAny, {
731
+ type: "generate";
732
+ filePath: string;
733
+ }, {
734
+ type: "generate";
735
+ filePath: string;
736
+ }>, z.ZodObject<{
737
+ type: z.ZodLiteral<"verify">;
738
+ valid: z.ZodBoolean;
739
+ error: z.ZodOptional<z.ZodString>;
740
+ hashValid: z.ZodBoolean;
741
+ signatureValid: z.ZodOptional<z.ZodBoolean>;
742
+ hasSignature: z.ZodBoolean;
743
+ signatures: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
744
+ }, "strip", z.ZodTypeAny, {
745
+ valid: boolean;
746
+ type: "verify";
747
+ hashValid: boolean;
748
+ hasSignature: boolean;
749
+ error?: string | undefined;
750
+ signatureValid?: boolean | undefined;
751
+ signatures?: any[] | undefined;
752
+ }, {
753
+ valid: boolean;
754
+ type: "verify";
755
+ hashValid: boolean;
756
+ hasSignature: boolean;
757
+ error?: string | undefined;
758
+ signatureValid?: boolean | undefined;
759
+ signatures?: any[] | undefined;
760
+ }>, z.ZodObject<{
761
+ type: z.ZodLiteral<"sign">;
762
+ filePath: z.ZodString;
763
+ }, "strip", z.ZodTypeAny, {
764
+ type: "sign";
765
+ filePath: string;
766
+ }, {
767
+ type: "sign";
768
+ filePath: string;
769
+ }>, z.ZodObject<{
770
+ type: z.ZodLiteral<"wip2html">;
771
+ html: z.ZodOptional<z.ZodString>;
772
+ filePath: z.ZodOptional<z.ZodString>;
773
+ files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
774
+ }, "strip", z.ZodTypeAny, {
775
+ type: "wip2html";
776
+ html?: string | undefined;
777
+ filePath?: string | undefined;
778
+ files?: string[] | undefined;
779
+ }, {
780
+ type: "wip2html";
781
+ html?: string | undefined;
782
+ filePath?: string | undefined;
783
+ files?: string[] | undefined;
784
+ }>]>;