wowok_agent 2.1.9 → 2.1.17

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.
@@ -1,3 +1,4 @@
1
+ import { z } from "zod";
1
2
  export declare const WipConstraints: {
2
3
  readonly maxImageSize: number;
3
4
  readonly maxTotalSize: number;
@@ -6,28 +7,775 @@ export declare const WipConstraints: {
6
7
  readonly schemaUrl: "https://schema.wip.wowok.net/v1";
7
8
  readonly version: "1.0.0";
8
9
  };
9
- export declare const TextFormatSchema: any;
10
- export declare const ImageMimeTypeSchema: any;
11
- export declare const HashAlgorithmSchema: any;
12
- export declare const SignatureAlgorithmSchema: any;
13
- export declare const WipContentSchema: any;
14
- export declare const WipMediaSchema: any;
15
- export declare const WipPayloadSchema: any;
16
- export declare const WipSignatureSchema: any;
17
- export declare const WipSignatureArraySchema: any;
18
- export declare const WipMetaSchema: any;
19
- export declare const WipFileSchema: any;
20
- export declare const ImageSourceSchema: any;
21
- export declare const WipGenerationOptionsSchema: any;
22
- export declare const WipSignatureVerificationSchema: any;
23
- export declare const WipVerificationResultSchema: any;
24
- export declare const WipToHtmlOptionsSchema: any;
25
- export declare const GenerateWip_InputSchema: any;
26
- export declare const VerifyWip_InputSchema: any;
27
- export declare const SignWip_InputSchema: any;
28
- export declare const Wip2Html_InputSchema: any;
29
- export declare const GenerateWip_OutputSchema: any;
30
- export declare const VerifyWip_OutputSchema: any;
31
- export declare const SignWip_OutputSchema: any;
32
- export declare const Wip2Html_OutputSchema: any;
33
- export declare const WipOperationOutputSchema: any;
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
+ }, "strip", z.ZodTypeAny, {
590
+ wipFilePath: string;
591
+ hash_equal?: string | undefined;
592
+ }, {
593
+ wipFilePath: string;
594
+ hash_equal?: string | undefined;
595
+ }>;
596
+ export declare const SignWip_InputSchema: z.ZodObject<{
597
+ wipFilePath: z.ZodString;
598
+ account: z.ZodOptional<z.ZodString>;
599
+ outputPath: z.ZodOptional<z.ZodString>;
600
+ }, "strip", z.ZodTypeAny, {
601
+ wipFilePath: string;
602
+ account?: string | undefined;
603
+ outputPath?: string | undefined;
604
+ }, {
605
+ wipFilePath: string;
606
+ account?: string | undefined;
607
+ outputPath?: string | undefined;
608
+ }>;
609
+ export declare const Wip2Html_InputSchema: z.ZodObject<{
610
+ wipPath: z.ZodString;
611
+ options: z.ZodOptional<z.ZodObject<{
612
+ title: z.ZodOptional<z.ZodString>;
613
+ theme: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"light">, z.ZodLiteral<"dark">]>>;
614
+ outputPath: z.ZodOptional<z.ZodString>;
615
+ }, "strip", z.ZodTypeAny, {
616
+ title?: string | undefined;
617
+ theme?: "light" | "dark" | undefined;
618
+ outputPath?: string | undefined;
619
+ }, {
620
+ title?: string | undefined;
621
+ theme?: "light" | "dark" | undefined;
622
+ outputPath?: string | undefined;
623
+ }>>;
624
+ }, "strip", z.ZodTypeAny, {
625
+ wipPath: string;
626
+ options?: {
627
+ title?: string | undefined;
628
+ theme?: "light" | "dark" | undefined;
629
+ outputPath?: string | undefined;
630
+ } | undefined;
631
+ }, {
632
+ wipPath: string;
633
+ options?: {
634
+ title?: string | undefined;
635
+ theme?: "light" | "dark" | undefined;
636
+ outputPath?: string | undefined;
637
+ } | undefined;
638
+ }>;
639
+ export declare const GenerateWip_OutputSchema: z.ZodObject<{
640
+ filePath: z.ZodString;
641
+ }, "strip", z.ZodTypeAny, {
642
+ filePath: string;
643
+ }, {
644
+ filePath: string;
645
+ }>;
646
+ export declare const VerifyWip_OutputSchema: z.ZodObject<{
647
+ valid: z.ZodBoolean;
648
+ error: z.ZodOptional<z.ZodString>;
649
+ hashValid: z.ZodBoolean;
650
+ signatureValid: z.ZodOptional<z.ZodBoolean>;
651
+ hasSignature: z.ZodBoolean;
652
+ signatures: z.ZodOptional<z.ZodArray<z.ZodObject<{
653
+ publicKey: z.ZodString;
654
+ address: z.ZodOptional<z.ZodString>;
655
+ valid: z.ZodBoolean;
656
+ }, "strip", z.ZodTypeAny, {
657
+ valid: boolean;
658
+ publicKey: string;
659
+ address?: string | undefined;
660
+ }, {
661
+ valid: boolean;
662
+ publicKey: string;
663
+ address?: string | undefined;
664
+ }>, "many">>;
665
+ }, "strip", z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, z.objectOutputType<{
666
+ valid: z.ZodBoolean;
667
+ error: z.ZodOptional<z.ZodString>;
668
+ hashValid: z.ZodBoolean;
669
+ signatureValid: z.ZodOptional<z.ZodBoolean>;
670
+ hasSignature: z.ZodBoolean;
671
+ signatures: z.ZodOptional<z.ZodArray<z.ZodObject<{
672
+ publicKey: z.ZodString;
673
+ address: z.ZodOptional<z.ZodString>;
674
+ valid: z.ZodBoolean;
675
+ }, "strip", z.ZodTypeAny, {
676
+ valid: boolean;
677
+ publicKey: string;
678
+ address?: string | undefined;
679
+ }, {
680
+ valid: boolean;
681
+ publicKey: string;
682
+ address?: string | undefined;
683
+ }>, "many">>;
684
+ }, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, "strip">, z.objectInputType<{
685
+ valid: z.ZodBoolean;
686
+ error: z.ZodOptional<z.ZodString>;
687
+ hashValid: z.ZodBoolean;
688
+ signatureValid: z.ZodOptional<z.ZodBoolean>;
689
+ hasSignature: z.ZodBoolean;
690
+ signatures: z.ZodOptional<z.ZodArray<z.ZodObject<{
691
+ publicKey: z.ZodString;
692
+ address: z.ZodOptional<z.ZodString>;
693
+ valid: z.ZodBoolean;
694
+ }, "strip", z.ZodTypeAny, {
695
+ valid: boolean;
696
+ publicKey: string;
697
+ address?: string | undefined;
698
+ }, {
699
+ valid: boolean;
700
+ publicKey: string;
701
+ address?: string | undefined;
702
+ }>, "many">>;
703
+ }, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, "strip">>;
704
+ export declare const SignWip_OutputSchema: z.ZodObject<{
705
+ filePath: z.ZodString;
706
+ }, "strip", z.ZodTypeAny, {
707
+ filePath: string;
708
+ }, {
709
+ filePath: string;
710
+ }>;
711
+ export declare const Wip2Html_OutputSchema: z.ZodObject<{
712
+ html: z.ZodOptional<z.ZodString>;
713
+ filePath: z.ZodOptional<z.ZodString>;
714
+ files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
715
+ }, "strip", z.ZodTypeAny, {
716
+ html?: string | undefined;
717
+ filePath?: string | undefined;
718
+ files?: string[] | undefined;
719
+ }, {
720
+ html?: string | undefined;
721
+ filePath?: string | undefined;
722
+ files?: string[] | undefined;
723
+ }>;
724
+ export declare const WipOperationOutputSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
725
+ type: z.ZodLiteral<"generate">;
726
+ filePath: z.ZodString;
727
+ }, "strip", z.ZodTypeAny, {
728
+ type: "generate";
729
+ filePath: string;
730
+ }, {
731
+ type: "generate";
732
+ filePath: string;
733
+ }>, z.ZodObject<{
734
+ type: z.ZodLiteral<"verify">;
735
+ valid: z.ZodBoolean;
736
+ error: z.ZodOptional<z.ZodString>;
737
+ hashValid: z.ZodBoolean;
738
+ signatureValid: z.ZodOptional<z.ZodBoolean>;
739
+ hasSignature: z.ZodBoolean;
740
+ signatures: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
741
+ }, "strip", z.ZodTypeAny, {
742
+ valid: boolean;
743
+ type: "verify";
744
+ hashValid: boolean;
745
+ hasSignature: boolean;
746
+ error?: string | undefined;
747
+ signatureValid?: boolean | undefined;
748
+ signatures?: any[] | undefined;
749
+ }, {
750
+ valid: boolean;
751
+ type: "verify";
752
+ hashValid: boolean;
753
+ hasSignature: boolean;
754
+ error?: string | undefined;
755
+ signatureValid?: boolean | undefined;
756
+ signatures?: any[] | undefined;
757
+ }>, z.ZodObject<{
758
+ type: z.ZodLiteral<"sign">;
759
+ filePath: z.ZodString;
760
+ }, "strip", z.ZodTypeAny, {
761
+ type: "sign";
762
+ filePath: string;
763
+ }, {
764
+ type: "sign";
765
+ filePath: string;
766
+ }>, z.ZodObject<{
767
+ type: z.ZodLiteral<"wip2html">;
768
+ html: z.ZodOptional<z.ZodString>;
769
+ filePath: z.ZodOptional<z.ZodString>;
770
+ files: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
771
+ }, "strip", z.ZodTypeAny, {
772
+ type: "wip2html";
773
+ html?: string | undefined;
774
+ filePath?: string | undefined;
775
+ files?: string[] | undefined;
776
+ }, {
777
+ type: "wip2html";
778
+ html?: string | undefined;
779
+ filePath?: string | undefined;
780
+ files?: string[] | undefined;
781
+ }>]>;