@inf-monkeys-tech/monkeys 1.1.17 → 1.1.18

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 (55) hide show
  1. package/README.md +20 -0
  2. package/lib/contracts/action-program-http.d.ts +1021 -0
  3. package/lib/contracts/action-program-http.d.ts.map +1 -0
  4. package/lib/contracts/action-program-http.js +42 -0
  5. package/lib/contracts/action-program-http.js.map +1 -0
  6. package/lib/contracts/declarative-control-http.d.ts +11365 -18
  7. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  8. package/lib/contracts/declarative-control.d.ts +3263 -1022
  9. package/lib/contracts/declarative-control.d.ts.map +1 -1
  10. package/lib/contracts/declarative-control.js +278 -5
  11. package/lib/contracts/declarative-control.js.map +1 -1
  12. package/lib/contracts/declarative-publication-job.d.ts +3356 -8
  13. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  14. package/lib/contracts/index.d.ts +1 -0
  15. package/lib/contracts/index.d.ts.map +1 -1
  16. package/lib/contracts/index.js +1 -0
  17. package/lib/contracts/index.js.map +1 -1
  18. package/lib/esm/contracts/index.mjs +342 -3
  19. package/lib/esm/contracts/index.mjs.map +1 -1
  20. package/lib/esm/index.mjs +686 -29
  21. package/lib/esm/index.mjs.map +1 -1
  22. package/lib/esm/runtime/index.mjs +636 -29
  23. package/lib/esm/runtime/index.mjs.map +1 -1
  24. package/lib/esm/schemas/index.mjs +4088 -3797
  25. package/lib/esm/schemas/index.mjs.map +1 -1
  26. package/lib/json-schema/action-program-artifact.schema.json +1226 -0
  27. package/lib/json-schema/action-program-definition.schema.json +1205 -0
  28. package/lib/json-schema/index.json +2 -0
  29. package/lib/json-schema/navigation-release.schema.json +1 -0
  30. package/lib/json-schema/navigation-runtime-bundle.schema.json +1 -0
  31. package/lib/json-schema/page-release.schema.json +1 -0
  32. package/lib/json-schema/page-runtime-bundle.schema.json +2436 -0
  33. package/lib/json-schema/page.schema.json +941 -0
  34. package/lib/json-schema/workbench-release.schema.json +1 -0
  35. package/lib/json-schema/workbench-runtime-bundle.schema.json +1 -0
  36. package/lib/runtime/action-program-author.d.ts +40 -0
  37. package/lib/runtime/action-program-author.d.ts.map +1 -0
  38. package/lib/runtime/action-program-author.js +178 -0
  39. package/lib/runtime/action-program-author.js.map +1 -0
  40. package/lib/runtime/declarative-control-compiler.d.ts +9 -1
  41. package/lib/runtime/declarative-control-compiler.d.ts.map +1 -1
  42. package/lib/runtime/declarative-control-compiler.js +123 -7
  43. package/lib/runtime/declarative-control-compiler.js.map +1 -1
  44. package/lib/runtime/declarative-runtime-contract.d.ts.map +1 -1
  45. package/lib/runtime/declarative-runtime-contract.js +34 -0
  46. package/lib/runtime/declarative-runtime-contract.js.map +1 -1
  47. package/lib/runtime/index.d.ts +1 -0
  48. package/lib/runtime/index.d.ts.map +1 -1
  49. package/lib/runtime/index.js +1 -0
  50. package/lib/runtime/index.js.map +1 -1
  51. package/lib/schemas/index.d.ts +2216 -1232
  52. package/lib/schemas/index.d.ts.map +1 -1
  53. package/lib/schemas/index.js +116 -111
  54. package/lib/schemas/index.js.map +1 -1
  55. package/package.json +4 -2
@@ -0,0 +1,1021 @@
1
+ import { z } from "zod";
2
+ export declare const PrepareActionProgramRequestSchema: z.ZodObject<{
3
+ artifact: z.ZodObject<{
4
+ definition: z.ZodObject<{
5
+ contract: z.ZodLiteral<"ActionProgramDefinition">;
6
+ schemaVersion: z.ZodLiteral<1>;
7
+ programId: z.ZodString;
8
+ ownerRepo: z.ZodString;
9
+ tenantScope: z.ZodObject<{
10
+ tenantRef: z.ZodObject<{
11
+ kind: z.ZodString;
12
+ id: z.ZodString;
13
+ ownerRepo: z.ZodString;
14
+ }, z.core.$strict>;
15
+ dataSpaceRef: z.ZodObject<{
16
+ kind: z.ZodString;
17
+ id: z.ZodString;
18
+ ownerRepo: z.ZodString;
19
+ }, z.core.$strict>;
20
+ teamRef: z.ZodOptional<z.ZodObject<{
21
+ kind: z.ZodString;
22
+ id: z.ZodString;
23
+ ownerRepo: z.ZodString;
24
+ }, z.core.$strict>>;
25
+ }, z.core.$strict>;
26
+ supportedSurface: z.ZodLiteral<"studio">;
27
+ inputSchemaRevisionRef: z.ZodObject<{
28
+ revision: z.ZodNumber;
29
+ schemaVersion: z.ZodNumber;
30
+ contentHash: z.ZodString;
31
+ kind: z.ZodString;
32
+ id: z.ZodString;
33
+ ownerRepo: z.ZodString;
34
+ visibility: z.ZodEnum<{
35
+ tenant: "tenant";
36
+ public: "public";
37
+ global: "global";
38
+ }>;
39
+ tenantScope: z.ZodOptional<z.ZodObject<{
40
+ tenantRef: z.ZodObject<{
41
+ kind: z.ZodString;
42
+ id: z.ZodString;
43
+ ownerRepo: z.ZodString;
44
+ }, z.core.$strict>;
45
+ dataSpaceRef: z.ZodObject<{
46
+ kind: z.ZodString;
47
+ id: z.ZodString;
48
+ ownerRepo: z.ZodString;
49
+ }, z.core.$strict>;
50
+ teamRef: z.ZodOptional<z.ZodObject<{
51
+ kind: z.ZodString;
52
+ id: z.ZodString;
53
+ ownerRepo: z.ZodString;
54
+ }, z.core.$strict>>;
55
+ }, z.core.$strict>>;
56
+ }, z.core.$strict>;
57
+ resultSchemaRevisionRef: z.ZodObject<{
58
+ revision: z.ZodNumber;
59
+ schemaVersion: z.ZodNumber;
60
+ contentHash: z.ZodString;
61
+ kind: z.ZodString;
62
+ id: z.ZodString;
63
+ ownerRepo: z.ZodString;
64
+ visibility: z.ZodEnum<{
65
+ tenant: "tenant";
66
+ public: "public";
67
+ global: "global";
68
+ }>;
69
+ tenantScope: z.ZodOptional<z.ZodObject<{
70
+ tenantRef: z.ZodObject<{
71
+ kind: z.ZodString;
72
+ id: z.ZodString;
73
+ ownerRepo: z.ZodString;
74
+ }, z.core.$strict>;
75
+ dataSpaceRef: z.ZodObject<{
76
+ kind: z.ZodString;
77
+ id: z.ZodString;
78
+ ownerRepo: z.ZodString;
79
+ }, z.core.$strict>;
80
+ teamRef: z.ZodOptional<z.ZodObject<{
81
+ kind: z.ZodString;
82
+ id: z.ZodString;
83
+ ownerRepo: z.ZodString;
84
+ }, z.core.$strict>>;
85
+ }, z.core.$strict>>;
86
+ }, z.core.$strict>;
87
+ entry: z.ZodLiteral<"main">;
88
+ abi: z.ZodLiteral<"monkeys.action-program/2">;
89
+ compiler: z.ZodString;
90
+ target: z.ZodLiteral<"browser-worker-es2020">;
91
+ sourceHash: z.ZodString;
92
+ compiledHash: z.ZodString;
93
+ sourceMapHash: z.ZodString;
94
+ dependencies: z.ZodArray<z.ZodObject<{
95
+ kind: z.ZodEnum<{
96
+ query: "query";
97
+ command: "command";
98
+ }>;
99
+ revisionRef: z.ZodObject<{
100
+ revision: z.ZodNumber;
101
+ schemaVersion: z.ZodNumber;
102
+ contentHash: z.ZodString;
103
+ kind: z.ZodString;
104
+ id: z.ZodString;
105
+ ownerRepo: z.ZodString;
106
+ visibility: z.ZodEnum<{
107
+ tenant: "tenant";
108
+ public: "public";
109
+ global: "global";
110
+ }>;
111
+ tenantScope: z.ZodOptional<z.ZodObject<{
112
+ tenantRef: z.ZodObject<{
113
+ kind: z.ZodString;
114
+ id: z.ZodString;
115
+ ownerRepo: z.ZodString;
116
+ }, z.core.$strict>;
117
+ dataSpaceRef: z.ZodObject<{
118
+ kind: z.ZodString;
119
+ id: z.ZodString;
120
+ ownerRepo: z.ZodString;
121
+ }, z.core.$strict>;
122
+ teamRef: z.ZodOptional<z.ZodObject<{
123
+ kind: z.ZodString;
124
+ id: z.ZodString;
125
+ ownerRepo: z.ZodString;
126
+ }, z.core.$strict>>;
127
+ }, z.core.$strict>>;
128
+ }, z.core.$strict>;
129
+ inputSchemaRevisionRef: z.ZodObject<{
130
+ revision: z.ZodNumber;
131
+ schemaVersion: z.ZodNumber;
132
+ contentHash: z.ZodString;
133
+ kind: z.ZodString;
134
+ id: z.ZodString;
135
+ ownerRepo: z.ZodString;
136
+ visibility: z.ZodEnum<{
137
+ tenant: "tenant";
138
+ public: "public";
139
+ global: "global";
140
+ }>;
141
+ tenantScope: z.ZodOptional<z.ZodObject<{
142
+ tenantRef: z.ZodObject<{
143
+ kind: z.ZodString;
144
+ id: z.ZodString;
145
+ ownerRepo: z.ZodString;
146
+ }, z.core.$strict>;
147
+ dataSpaceRef: z.ZodObject<{
148
+ kind: z.ZodString;
149
+ id: z.ZodString;
150
+ ownerRepo: z.ZodString;
151
+ }, z.core.$strict>;
152
+ teamRef: z.ZodOptional<z.ZodObject<{
153
+ kind: z.ZodString;
154
+ id: z.ZodString;
155
+ ownerRepo: z.ZodString;
156
+ }, z.core.$strict>>;
157
+ }, z.core.$strict>>;
158
+ }, z.core.$strict>;
159
+ resultSchemaRevisionRef: z.ZodObject<{
160
+ revision: z.ZodNumber;
161
+ schemaVersion: z.ZodNumber;
162
+ contentHash: z.ZodString;
163
+ kind: z.ZodString;
164
+ id: z.ZodString;
165
+ ownerRepo: z.ZodString;
166
+ visibility: z.ZodEnum<{
167
+ tenant: "tenant";
168
+ public: "public";
169
+ global: "global";
170
+ }>;
171
+ tenantScope: z.ZodOptional<z.ZodObject<{
172
+ tenantRef: z.ZodObject<{
173
+ kind: z.ZodString;
174
+ id: z.ZodString;
175
+ ownerRepo: z.ZodString;
176
+ }, z.core.$strict>;
177
+ dataSpaceRef: z.ZodObject<{
178
+ kind: z.ZodString;
179
+ id: z.ZodString;
180
+ ownerRepo: z.ZodString;
181
+ }, z.core.$strict>;
182
+ teamRef: z.ZodOptional<z.ZodObject<{
183
+ kind: z.ZodString;
184
+ id: z.ZodString;
185
+ ownerRepo: z.ZodString;
186
+ }, z.core.$strict>>;
187
+ }, z.core.$strict>>;
188
+ }, z.core.$strict>;
189
+ download: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
190
+ kind: z.ZodLiteral<"native">;
191
+ }, z.core.$strict>, z.ZodObject<{
192
+ kind: z.ZodLiteral<"text-artifact">;
193
+ fileNamePath: z.ZodArray<z.ZodString>;
194
+ mimeTypePath: z.ZodArray<z.ZodString>;
195
+ contentPath: z.ZodArray<z.ZodString>;
196
+ maxBytes: z.ZodNumber;
197
+ }, z.core.$strict>], "kind">>;
198
+ dynamicInputKeys: z.ZodArray<z.ZodString>;
199
+ }, z.core.$strict>>;
200
+ effects: z.ZodArray<z.ZodEnum<{
201
+ download: "download";
202
+ toast: "toast";
203
+ form: "form";
204
+ refresh: "refresh";
205
+ "state.get": "state.get";
206
+ "state.set": "state.set";
207
+ }>>;
208
+ refreshAliases: z.ZodArray<z.ZodString>;
209
+ stateAliases: z.ZodArray<z.ZodObject<{
210
+ alias: z.ZodString;
211
+ schemaRevisionRef: z.ZodObject<{
212
+ revision: z.ZodNumber;
213
+ schemaVersion: z.ZodNumber;
214
+ contentHash: z.ZodString;
215
+ kind: z.ZodString;
216
+ id: z.ZodString;
217
+ ownerRepo: z.ZodString;
218
+ visibility: z.ZodEnum<{
219
+ tenant: "tenant";
220
+ public: "public";
221
+ global: "global";
222
+ }>;
223
+ tenantScope: z.ZodOptional<z.ZodObject<{
224
+ tenantRef: z.ZodObject<{
225
+ kind: z.ZodString;
226
+ id: z.ZodString;
227
+ ownerRepo: z.ZodString;
228
+ }, z.core.$strict>;
229
+ dataSpaceRef: z.ZodObject<{
230
+ kind: z.ZodString;
231
+ id: z.ZodString;
232
+ ownerRepo: z.ZodString;
233
+ }, z.core.$strict>;
234
+ teamRef: z.ZodOptional<z.ZodObject<{
235
+ kind: z.ZodString;
236
+ id: z.ZodString;
237
+ ownerRepo: z.ZodString;
238
+ }, z.core.$strict>>;
239
+ }, z.core.$strict>>;
240
+ }, z.core.$strict>;
241
+ }, z.core.$strict>>;
242
+ budgets: z.ZodObject<{
243
+ rpcMs: z.ZodNumber;
244
+ concurrentCalls: z.ZodNumber;
245
+ calls: z.ZodNumber;
246
+ messageBytes: z.ZodNumber;
247
+ activeMs: z.ZodNumber;
248
+ formMs: z.ZodNumber;
249
+ wallMs: z.ZodNumber;
250
+ }, z.core.$strict>;
251
+ }, z.core.$strict>;
252
+ javascript: z.ZodString;
253
+ sourceMap: z.ZodString;
254
+ }, z.core.$strict>;
255
+ expectedVersion: z.ZodNumber;
256
+ }, z.core.$strict>;
257
+ export declare const RegisterActionProgramRequestSchema: z.ZodObject<{
258
+ artifact: z.ZodObject<{
259
+ definition: z.ZodObject<{
260
+ contract: z.ZodLiteral<"ActionProgramDefinition">;
261
+ schemaVersion: z.ZodLiteral<1>;
262
+ programId: z.ZodString;
263
+ ownerRepo: z.ZodString;
264
+ tenantScope: z.ZodObject<{
265
+ tenantRef: z.ZodObject<{
266
+ kind: z.ZodString;
267
+ id: z.ZodString;
268
+ ownerRepo: z.ZodString;
269
+ }, z.core.$strict>;
270
+ dataSpaceRef: z.ZodObject<{
271
+ kind: z.ZodString;
272
+ id: z.ZodString;
273
+ ownerRepo: z.ZodString;
274
+ }, z.core.$strict>;
275
+ teamRef: z.ZodOptional<z.ZodObject<{
276
+ kind: z.ZodString;
277
+ id: z.ZodString;
278
+ ownerRepo: z.ZodString;
279
+ }, z.core.$strict>>;
280
+ }, z.core.$strict>;
281
+ supportedSurface: z.ZodLiteral<"studio">;
282
+ inputSchemaRevisionRef: z.ZodObject<{
283
+ revision: z.ZodNumber;
284
+ schemaVersion: z.ZodNumber;
285
+ contentHash: z.ZodString;
286
+ kind: z.ZodString;
287
+ id: z.ZodString;
288
+ ownerRepo: z.ZodString;
289
+ visibility: z.ZodEnum<{
290
+ tenant: "tenant";
291
+ public: "public";
292
+ global: "global";
293
+ }>;
294
+ tenantScope: z.ZodOptional<z.ZodObject<{
295
+ tenantRef: z.ZodObject<{
296
+ kind: z.ZodString;
297
+ id: z.ZodString;
298
+ ownerRepo: z.ZodString;
299
+ }, z.core.$strict>;
300
+ dataSpaceRef: z.ZodObject<{
301
+ kind: z.ZodString;
302
+ id: z.ZodString;
303
+ ownerRepo: z.ZodString;
304
+ }, z.core.$strict>;
305
+ teamRef: z.ZodOptional<z.ZodObject<{
306
+ kind: z.ZodString;
307
+ id: z.ZodString;
308
+ ownerRepo: z.ZodString;
309
+ }, z.core.$strict>>;
310
+ }, z.core.$strict>>;
311
+ }, z.core.$strict>;
312
+ resultSchemaRevisionRef: z.ZodObject<{
313
+ revision: z.ZodNumber;
314
+ schemaVersion: z.ZodNumber;
315
+ contentHash: z.ZodString;
316
+ kind: z.ZodString;
317
+ id: z.ZodString;
318
+ ownerRepo: z.ZodString;
319
+ visibility: z.ZodEnum<{
320
+ tenant: "tenant";
321
+ public: "public";
322
+ global: "global";
323
+ }>;
324
+ tenantScope: z.ZodOptional<z.ZodObject<{
325
+ tenantRef: z.ZodObject<{
326
+ kind: z.ZodString;
327
+ id: z.ZodString;
328
+ ownerRepo: z.ZodString;
329
+ }, z.core.$strict>;
330
+ dataSpaceRef: z.ZodObject<{
331
+ kind: z.ZodString;
332
+ id: z.ZodString;
333
+ ownerRepo: z.ZodString;
334
+ }, z.core.$strict>;
335
+ teamRef: z.ZodOptional<z.ZodObject<{
336
+ kind: z.ZodString;
337
+ id: z.ZodString;
338
+ ownerRepo: z.ZodString;
339
+ }, z.core.$strict>>;
340
+ }, z.core.$strict>>;
341
+ }, z.core.$strict>;
342
+ entry: z.ZodLiteral<"main">;
343
+ abi: z.ZodLiteral<"monkeys.action-program/2">;
344
+ compiler: z.ZodString;
345
+ target: z.ZodLiteral<"browser-worker-es2020">;
346
+ sourceHash: z.ZodString;
347
+ compiledHash: z.ZodString;
348
+ sourceMapHash: z.ZodString;
349
+ dependencies: z.ZodArray<z.ZodObject<{
350
+ kind: z.ZodEnum<{
351
+ query: "query";
352
+ command: "command";
353
+ }>;
354
+ revisionRef: z.ZodObject<{
355
+ revision: z.ZodNumber;
356
+ schemaVersion: z.ZodNumber;
357
+ contentHash: z.ZodString;
358
+ kind: z.ZodString;
359
+ id: z.ZodString;
360
+ ownerRepo: z.ZodString;
361
+ visibility: z.ZodEnum<{
362
+ tenant: "tenant";
363
+ public: "public";
364
+ global: "global";
365
+ }>;
366
+ tenantScope: z.ZodOptional<z.ZodObject<{
367
+ tenantRef: z.ZodObject<{
368
+ kind: z.ZodString;
369
+ id: z.ZodString;
370
+ ownerRepo: z.ZodString;
371
+ }, z.core.$strict>;
372
+ dataSpaceRef: z.ZodObject<{
373
+ kind: z.ZodString;
374
+ id: z.ZodString;
375
+ ownerRepo: z.ZodString;
376
+ }, z.core.$strict>;
377
+ teamRef: z.ZodOptional<z.ZodObject<{
378
+ kind: z.ZodString;
379
+ id: z.ZodString;
380
+ ownerRepo: z.ZodString;
381
+ }, z.core.$strict>>;
382
+ }, z.core.$strict>>;
383
+ }, z.core.$strict>;
384
+ inputSchemaRevisionRef: z.ZodObject<{
385
+ revision: z.ZodNumber;
386
+ schemaVersion: z.ZodNumber;
387
+ contentHash: z.ZodString;
388
+ kind: z.ZodString;
389
+ id: z.ZodString;
390
+ ownerRepo: z.ZodString;
391
+ visibility: z.ZodEnum<{
392
+ tenant: "tenant";
393
+ public: "public";
394
+ global: "global";
395
+ }>;
396
+ tenantScope: z.ZodOptional<z.ZodObject<{
397
+ tenantRef: z.ZodObject<{
398
+ kind: z.ZodString;
399
+ id: z.ZodString;
400
+ ownerRepo: z.ZodString;
401
+ }, z.core.$strict>;
402
+ dataSpaceRef: z.ZodObject<{
403
+ kind: z.ZodString;
404
+ id: z.ZodString;
405
+ ownerRepo: z.ZodString;
406
+ }, z.core.$strict>;
407
+ teamRef: z.ZodOptional<z.ZodObject<{
408
+ kind: z.ZodString;
409
+ id: z.ZodString;
410
+ ownerRepo: z.ZodString;
411
+ }, z.core.$strict>>;
412
+ }, z.core.$strict>>;
413
+ }, z.core.$strict>;
414
+ resultSchemaRevisionRef: z.ZodObject<{
415
+ revision: z.ZodNumber;
416
+ schemaVersion: z.ZodNumber;
417
+ contentHash: z.ZodString;
418
+ kind: z.ZodString;
419
+ id: z.ZodString;
420
+ ownerRepo: z.ZodString;
421
+ visibility: z.ZodEnum<{
422
+ tenant: "tenant";
423
+ public: "public";
424
+ global: "global";
425
+ }>;
426
+ tenantScope: z.ZodOptional<z.ZodObject<{
427
+ tenantRef: z.ZodObject<{
428
+ kind: z.ZodString;
429
+ id: z.ZodString;
430
+ ownerRepo: z.ZodString;
431
+ }, z.core.$strict>;
432
+ dataSpaceRef: z.ZodObject<{
433
+ kind: z.ZodString;
434
+ id: z.ZodString;
435
+ ownerRepo: z.ZodString;
436
+ }, z.core.$strict>;
437
+ teamRef: z.ZodOptional<z.ZodObject<{
438
+ kind: z.ZodString;
439
+ id: z.ZodString;
440
+ ownerRepo: z.ZodString;
441
+ }, z.core.$strict>>;
442
+ }, z.core.$strict>>;
443
+ }, z.core.$strict>;
444
+ download: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
445
+ kind: z.ZodLiteral<"native">;
446
+ }, z.core.$strict>, z.ZodObject<{
447
+ kind: z.ZodLiteral<"text-artifact">;
448
+ fileNamePath: z.ZodArray<z.ZodString>;
449
+ mimeTypePath: z.ZodArray<z.ZodString>;
450
+ contentPath: z.ZodArray<z.ZodString>;
451
+ maxBytes: z.ZodNumber;
452
+ }, z.core.$strict>], "kind">>;
453
+ dynamicInputKeys: z.ZodArray<z.ZodString>;
454
+ }, z.core.$strict>>;
455
+ effects: z.ZodArray<z.ZodEnum<{
456
+ download: "download";
457
+ toast: "toast";
458
+ form: "form";
459
+ refresh: "refresh";
460
+ "state.get": "state.get";
461
+ "state.set": "state.set";
462
+ }>>;
463
+ refreshAliases: z.ZodArray<z.ZodString>;
464
+ stateAliases: z.ZodArray<z.ZodObject<{
465
+ alias: z.ZodString;
466
+ schemaRevisionRef: z.ZodObject<{
467
+ revision: z.ZodNumber;
468
+ schemaVersion: z.ZodNumber;
469
+ contentHash: z.ZodString;
470
+ kind: z.ZodString;
471
+ id: z.ZodString;
472
+ ownerRepo: z.ZodString;
473
+ visibility: z.ZodEnum<{
474
+ tenant: "tenant";
475
+ public: "public";
476
+ global: "global";
477
+ }>;
478
+ tenantScope: z.ZodOptional<z.ZodObject<{
479
+ tenantRef: z.ZodObject<{
480
+ kind: z.ZodString;
481
+ id: z.ZodString;
482
+ ownerRepo: z.ZodString;
483
+ }, z.core.$strict>;
484
+ dataSpaceRef: z.ZodObject<{
485
+ kind: z.ZodString;
486
+ id: z.ZodString;
487
+ ownerRepo: z.ZodString;
488
+ }, z.core.$strict>;
489
+ teamRef: z.ZodOptional<z.ZodObject<{
490
+ kind: z.ZodString;
491
+ id: z.ZodString;
492
+ ownerRepo: z.ZodString;
493
+ }, z.core.$strict>>;
494
+ }, z.core.$strict>>;
495
+ }, z.core.$strict>;
496
+ }, z.core.$strict>>;
497
+ budgets: z.ZodObject<{
498
+ rpcMs: z.ZodNumber;
499
+ concurrentCalls: z.ZodNumber;
500
+ calls: z.ZodNumber;
501
+ messageBytes: z.ZodNumber;
502
+ activeMs: z.ZodNumber;
503
+ formMs: z.ZodNumber;
504
+ wallMs: z.ZodNumber;
505
+ }, z.core.$strict>;
506
+ }, z.core.$strict>;
507
+ javascript: z.ZodString;
508
+ sourceMap: z.ZodString;
509
+ }, z.core.$strict>;
510
+ expectedVersion: z.ZodNumber;
511
+ planHash: z.ZodString;
512
+ idempotencyKey: z.ZodString;
513
+ }, z.core.$strict>;
514
+ export declare const ReadActionProgramRequestSchema: z.ZodObject<{
515
+ revisionRef: z.ZodObject<{
516
+ revision: z.ZodNumber;
517
+ schemaVersion: z.ZodNumber;
518
+ contentHash: z.ZodString;
519
+ kind: z.ZodString;
520
+ id: z.ZodString;
521
+ ownerRepo: z.ZodString;
522
+ visibility: z.ZodEnum<{
523
+ tenant: "tenant";
524
+ public: "public";
525
+ global: "global";
526
+ }>;
527
+ tenantScope: z.ZodOptional<z.ZodObject<{
528
+ tenantRef: z.ZodObject<{
529
+ kind: z.ZodString;
530
+ id: z.ZodString;
531
+ ownerRepo: z.ZodString;
532
+ }, z.core.$strict>;
533
+ dataSpaceRef: z.ZodObject<{
534
+ kind: z.ZodString;
535
+ id: z.ZodString;
536
+ ownerRepo: z.ZodString;
537
+ }, z.core.$strict>;
538
+ teamRef: z.ZodOptional<z.ZodObject<{
539
+ kind: z.ZodString;
540
+ id: z.ZodString;
541
+ ownerRepo: z.ZodString;
542
+ }, z.core.$strict>>;
543
+ }, z.core.$strict>>;
544
+ }, z.core.$strict>;
545
+ }, z.core.$strict>;
546
+ export type PrepareActionProgramRequest = z.infer<typeof PrepareActionProgramRequestSchema>;
547
+ export type RegisterActionProgramRequest = z.infer<typeof RegisterActionProgramRequestSchema>;
548
+ /** No persistent run: the original event is re-authorized against the exact Page on every call. */
549
+ export declare const RuntimeProgramLoadRequestSchema: z.ZodObject<{
550
+ context: z.ZodObject<{
551
+ activeReleaseRevisionRef: z.ZodObject<{
552
+ revision: z.ZodNumber;
553
+ schemaVersion: z.ZodNumber;
554
+ contentHash: z.ZodString;
555
+ kind: z.ZodString;
556
+ id: z.ZodString;
557
+ ownerRepo: z.ZodString;
558
+ visibility: z.ZodEnum<{
559
+ tenant: "tenant";
560
+ public: "public";
561
+ global: "global";
562
+ }>;
563
+ tenantScope: z.ZodOptional<z.ZodObject<{
564
+ tenantRef: z.ZodObject<{
565
+ kind: z.ZodString;
566
+ id: z.ZodString;
567
+ ownerRepo: z.ZodString;
568
+ }, z.core.$strict>;
569
+ dataSpaceRef: z.ZodObject<{
570
+ kind: z.ZodString;
571
+ id: z.ZodString;
572
+ ownerRepo: z.ZodString;
573
+ }, z.core.$strict>;
574
+ teamRef: z.ZodOptional<z.ZodObject<{
575
+ kind: z.ZodString;
576
+ id: z.ZodString;
577
+ ownerRepo: z.ZodString;
578
+ }, z.core.$strict>>;
579
+ }, z.core.$strict>>;
580
+ }, z.core.$strict>;
581
+ pageRevisionRef: z.ZodObject<{
582
+ revision: z.ZodNumber;
583
+ schemaVersion: z.ZodNumber;
584
+ contentHash: z.ZodString;
585
+ kind: z.ZodString;
586
+ id: z.ZodString;
587
+ ownerRepo: z.ZodString;
588
+ visibility: z.ZodEnum<{
589
+ tenant: "tenant";
590
+ public: "public";
591
+ global: "global";
592
+ }>;
593
+ tenantScope: z.ZodOptional<z.ZodObject<{
594
+ tenantRef: z.ZodObject<{
595
+ kind: z.ZodString;
596
+ id: z.ZodString;
597
+ ownerRepo: z.ZodString;
598
+ }, z.core.$strict>;
599
+ dataSpaceRef: z.ZodObject<{
600
+ kind: z.ZodString;
601
+ id: z.ZodString;
602
+ ownerRepo: z.ZodString;
603
+ }, z.core.$strict>;
604
+ teamRef: z.ZodOptional<z.ZodObject<{
605
+ kind: z.ZodString;
606
+ id: z.ZodString;
607
+ ownerRepo: z.ZodString;
608
+ }, z.core.$strict>>;
609
+ }, z.core.$strict>>;
610
+ }, z.core.$strict>;
611
+ intent: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>;
612
+ recoveryOnly: z.ZodOptional<z.ZodLiteral<true>>;
613
+ pageState: z.ZodPipe<z.ZodAny, z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
614
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
615
+ fileName: z.ZodString;
616
+ content: z.ZodString;
617
+ }, z.core.$strict>, z.ZodObject<{
618
+ fileName: z.ZodString;
619
+ canonicalUri: z.ZodString;
620
+ }, z.core.$strict>]>>>;
621
+ scope: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>>;
622
+ routePath: z.ZodOptional<z.ZodString>;
623
+ idempotencyKey: z.ZodString;
624
+ }, z.core.$strict>;
625
+ }, z.core.$strict>;
626
+ export declare const RuntimeProgramCallRequestSchema: z.ZodObject<{
627
+ context: z.ZodObject<{
628
+ activeReleaseRevisionRef: z.ZodObject<{
629
+ revision: z.ZodNumber;
630
+ schemaVersion: z.ZodNumber;
631
+ contentHash: z.ZodString;
632
+ kind: z.ZodString;
633
+ id: z.ZodString;
634
+ ownerRepo: z.ZodString;
635
+ visibility: z.ZodEnum<{
636
+ tenant: "tenant";
637
+ public: "public";
638
+ global: "global";
639
+ }>;
640
+ tenantScope: z.ZodOptional<z.ZodObject<{
641
+ tenantRef: z.ZodObject<{
642
+ kind: z.ZodString;
643
+ id: z.ZodString;
644
+ ownerRepo: z.ZodString;
645
+ }, z.core.$strict>;
646
+ dataSpaceRef: z.ZodObject<{
647
+ kind: z.ZodString;
648
+ id: z.ZodString;
649
+ ownerRepo: z.ZodString;
650
+ }, z.core.$strict>;
651
+ teamRef: z.ZodOptional<z.ZodObject<{
652
+ kind: z.ZodString;
653
+ id: z.ZodString;
654
+ ownerRepo: z.ZodString;
655
+ }, z.core.$strict>>;
656
+ }, z.core.$strict>>;
657
+ }, z.core.$strict>;
658
+ pageRevisionRef: z.ZodObject<{
659
+ revision: z.ZodNumber;
660
+ schemaVersion: z.ZodNumber;
661
+ contentHash: z.ZodString;
662
+ kind: z.ZodString;
663
+ id: z.ZodString;
664
+ ownerRepo: z.ZodString;
665
+ visibility: z.ZodEnum<{
666
+ tenant: "tenant";
667
+ public: "public";
668
+ global: "global";
669
+ }>;
670
+ tenantScope: z.ZodOptional<z.ZodObject<{
671
+ tenantRef: z.ZodObject<{
672
+ kind: z.ZodString;
673
+ id: z.ZodString;
674
+ ownerRepo: z.ZodString;
675
+ }, z.core.$strict>;
676
+ dataSpaceRef: z.ZodObject<{
677
+ kind: z.ZodString;
678
+ id: z.ZodString;
679
+ ownerRepo: z.ZodString;
680
+ }, z.core.$strict>;
681
+ teamRef: z.ZodOptional<z.ZodObject<{
682
+ kind: z.ZodString;
683
+ id: z.ZodString;
684
+ ownerRepo: z.ZodString;
685
+ }, z.core.$strict>>;
686
+ }, z.core.$strict>>;
687
+ }, z.core.$strict>;
688
+ intent: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>;
689
+ recoveryOnly: z.ZodOptional<z.ZodLiteral<true>>;
690
+ pageState: z.ZodPipe<z.ZodAny, z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>;
691
+ files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
692
+ fileName: z.ZodString;
693
+ content: z.ZodString;
694
+ }, z.core.$strict>, z.ZodObject<{
695
+ fileName: z.ZodString;
696
+ canonicalUri: z.ZodString;
697
+ }, z.core.$strict>]>>>;
698
+ scope: z.ZodOptional<z.ZodPipe<z.ZodUnknown, z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>>>;
699
+ routePath: z.ZodOptional<z.ZodString>;
700
+ idempotencyKey: z.ZodString;
701
+ }, z.core.$strict>;
702
+ kind: z.ZodEnum<{
703
+ query: "query";
704
+ command: "command";
705
+ }>;
706
+ dependencyId: z.ZodString;
707
+ args: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>;
708
+ stepKey: z.ZodString;
709
+ recoveryOnly: z.ZodOptional<z.ZodLiteral<true>>;
710
+ }, z.core.$strict>;
711
+ export declare const RuntimeProgramLoadResultSchema: z.ZodObject<{
712
+ artifact: z.ZodObject<{
713
+ definition: z.ZodObject<{
714
+ contract: z.ZodLiteral<"ActionProgramDefinition">;
715
+ schemaVersion: z.ZodLiteral<1>;
716
+ programId: z.ZodString;
717
+ ownerRepo: z.ZodString;
718
+ tenantScope: z.ZodObject<{
719
+ tenantRef: z.ZodObject<{
720
+ kind: z.ZodString;
721
+ id: z.ZodString;
722
+ ownerRepo: z.ZodString;
723
+ }, z.core.$strict>;
724
+ dataSpaceRef: z.ZodObject<{
725
+ kind: z.ZodString;
726
+ id: z.ZodString;
727
+ ownerRepo: z.ZodString;
728
+ }, z.core.$strict>;
729
+ teamRef: z.ZodOptional<z.ZodObject<{
730
+ kind: z.ZodString;
731
+ id: z.ZodString;
732
+ ownerRepo: z.ZodString;
733
+ }, z.core.$strict>>;
734
+ }, z.core.$strict>;
735
+ supportedSurface: z.ZodLiteral<"studio">;
736
+ inputSchemaRevisionRef: z.ZodObject<{
737
+ revision: z.ZodNumber;
738
+ schemaVersion: z.ZodNumber;
739
+ contentHash: z.ZodString;
740
+ kind: z.ZodString;
741
+ id: z.ZodString;
742
+ ownerRepo: z.ZodString;
743
+ visibility: z.ZodEnum<{
744
+ tenant: "tenant";
745
+ public: "public";
746
+ global: "global";
747
+ }>;
748
+ tenantScope: z.ZodOptional<z.ZodObject<{
749
+ tenantRef: z.ZodObject<{
750
+ kind: z.ZodString;
751
+ id: z.ZodString;
752
+ ownerRepo: z.ZodString;
753
+ }, z.core.$strict>;
754
+ dataSpaceRef: z.ZodObject<{
755
+ kind: z.ZodString;
756
+ id: z.ZodString;
757
+ ownerRepo: z.ZodString;
758
+ }, z.core.$strict>;
759
+ teamRef: z.ZodOptional<z.ZodObject<{
760
+ kind: z.ZodString;
761
+ id: z.ZodString;
762
+ ownerRepo: z.ZodString;
763
+ }, z.core.$strict>>;
764
+ }, z.core.$strict>>;
765
+ }, z.core.$strict>;
766
+ resultSchemaRevisionRef: z.ZodObject<{
767
+ revision: z.ZodNumber;
768
+ schemaVersion: z.ZodNumber;
769
+ contentHash: z.ZodString;
770
+ kind: z.ZodString;
771
+ id: z.ZodString;
772
+ ownerRepo: z.ZodString;
773
+ visibility: z.ZodEnum<{
774
+ tenant: "tenant";
775
+ public: "public";
776
+ global: "global";
777
+ }>;
778
+ tenantScope: z.ZodOptional<z.ZodObject<{
779
+ tenantRef: z.ZodObject<{
780
+ kind: z.ZodString;
781
+ id: z.ZodString;
782
+ ownerRepo: z.ZodString;
783
+ }, z.core.$strict>;
784
+ dataSpaceRef: z.ZodObject<{
785
+ kind: z.ZodString;
786
+ id: z.ZodString;
787
+ ownerRepo: z.ZodString;
788
+ }, z.core.$strict>;
789
+ teamRef: z.ZodOptional<z.ZodObject<{
790
+ kind: z.ZodString;
791
+ id: z.ZodString;
792
+ ownerRepo: z.ZodString;
793
+ }, z.core.$strict>>;
794
+ }, z.core.$strict>>;
795
+ }, z.core.$strict>;
796
+ entry: z.ZodLiteral<"main">;
797
+ abi: z.ZodLiteral<"monkeys.action-program/2">;
798
+ compiler: z.ZodString;
799
+ target: z.ZodLiteral<"browser-worker-es2020">;
800
+ sourceHash: z.ZodString;
801
+ compiledHash: z.ZodString;
802
+ sourceMapHash: z.ZodString;
803
+ dependencies: z.ZodArray<z.ZodObject<{
804
+ kind: z.ZodEnum<{
805
+ query: "query";
806
+ command: "command";
807
+ }>;
808
+ revisionRef: z.ZodObject<{
809
+ revision: z.ZodNumber;
810
+ schemaVersion: z.ZodNumber;
811
+ contentHash: z.ZodString;
812
+ kind: z.ZodString;
813
+ id: z.ZodString;
814
+ ownerRepo: z.ZodString;
815
+ visibility: z.ZodEnum<{
816
+ tenant: "tenant";
817
+ public: "public";
818
+ global: "global";
819
+ }>;
820
+ tenantScope: z.ZodOptional<z.ZodObject<{
821
+ tenantRef: z.ZodObject<{
822
+ kind: z.ZodString;
823
+ id: z.ZodString;
824
+ ownerRepo: z.ZodString;
825
+ }, z.core.$strict>;
826
+ dataSpaceRef: z.ZodObject<{
827
+ kind: z.ZodString;
828
+ id: z.ZodString;
829
+ ownerRepo: z.ZodString;
830
+ }, z.core.$strict>;
831
+ teamRef: z.ZodOptional<z.ZodObject<{
832
+ kind: z.ZodString;
833
+ id: z.ZodString;
834
+ ownerRepo: z.ZodString;
835
+ }, z.core.$strict>>;
836
+ }, z.core.$strict>>;
837
+ }, z.core.$strict>;
838
+ inputSchemaRevisionRef: z.ZodObject<{
839
+ revision: z.ZodNumber;
840
+ schemaVersion: z.ZodNumber;
841
+ contentHash: z.ZodString;
842
+ kind: z.ZodString;
843
+ id: z.ZodString;
844
+ ownerRepo: z.ZodString;
845
+ visibility: z.ZodEnum<{
846
+ tenant: "tenant";
847
+ public: "public";
848
+ global: "global";
849
+ }>;
850
+ tenantScope: z.ZodOptional<z.ZodObject<{
851
+ tenantRef: z.ZodObject<{
852
+ kind: z.ZodString;
853
+ id: z.ZodString;
854
+ ownerRepo: z.ZodString;
855
+ }, z.core.$strict>;
856
+ dataSpaceRef: z.ZodObject<{
857
+ kind: z.ZodString;
858
+ id: z.ZodString;
859
+ ownerRepo: z.ZodString;
860
+ }, z.core.$strict>;
861
+ teamRef: z.ZodOptional<z.ZodObject<{
862
+ kind: z.ZodString;
863
+ id: z.ZodString;
864
+ ownerRepo: z.ZodString;
865
+ }, z.core.$strict>>;
866
+ }, z.core.$strict>>;
867
+ }, z.core.$strict>;
868
+ resultSchemaRevisionRef: z.ZodObject<{
869
+ revision: z.ZodNumber;
870
+ schemaVersion: z.ZodNumber;
871
+ contentHash: z.ZodString;
872
+ kind: z.ZodString;
873
+ id: z.ZodString;
874
+ ownerRepo: z.ZodString;
875
+ visibility: z.ZodEnum<{
876
+ tenant: "tenant";
877
+ public: "public";
878
+ global: "global";
879
+ }>;
880
+ tenantScope: z.ZodOptional<z.ZodObject<{
881
+ tenantRef: z.ZodObject<{
882
+ kind: z.ZodString;
883
+ id: z.ZodString;
884
+ ownerRepo: z.ZodString;
885
+ }, z.core.$strict>;
886
+ dataSpaceRef: z.ZodObject<{
887
+ kind: z.ZodString;
888
+ id: z.ZodString;
889
+ ownerRepo: z.ZodString;
890
+ }, z.core.$strict>;
891
+ teamRef: z.ZodOptional<z.ZodObject<{
892
+ kind: z.ZodString;
893
+ id: z.ZodString;
894
+ ownerRepo: z.ZodString;
895
+ }, z.core.$strict>>;
896
+ }, z.core.$strict>>;
897
+ }, z.core.$strict>;
898
+ download: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
899
+ kind: z.ZodLiteral<"native">;
900
+ }, z.core.$strict>, z.ZodObject<{
901
+ kind: z.ZodLiteral<"text-artifact">;
902
+ fileNamePath: z.ZodArray<z.ZodString>;
903
+ mimeTypePath: z.ZodArray<z.ZodString>;
904
+ contentPath: z.ZodArray<z.ZodString>;
905
+ maxBytes: z.ZodNumber;
906
+ }, z.core.$strict>], "kind">>;
907
+ dynamicInputKeys: z.ZodArray<z.ZodString>;
908
+ }, z.core.$strict>>;
909
+ effects: z.ZodArray<z.ZodEnum<{
910
+ download: "download";
911
+ toast: "toast";
912
+ form: "form";
913
+ refresh: "refresh";
914
+ "state.get": "state.get";
915
+ "state.set": "state.set";
916
+ }>>;
917
+ refreshAliases: z.ZodArray<z.ZodString>;
918
+ stateAliases: z.ZodArray<z.ZodObject<{
919
+ alias: z.ZodString;
920
+ schemaRevisionRef: z.ZodObject<{
921
+ revision: z.ZodNumber;
922
+ schemaVersion: z.ZodNumber;
923
+ contentHash: z.ZodString;
924
+ kind: z.ZodString;
925
+ id: z.ZodString;
926
+ ownerRepo: z.ZodString;
927
+ visibility: z.ZodEnum<{
928
+ tenant: "tenant";
929
+ public: "public";
930
+ global: "global";
931
+ }>;
932
+ tenantScope: z.ZodOptional<z.ZodObject<{
933
+ tenantRef: z.ZodObject<{
934
+ kind: z.ZodString;
935
+ id: z.ZodString;
936
+ ownerRepo: z.ZodString;
937
+ }, z.core.$strict>;
938
+ dataSpaceRef: z.ZodObject<{
939
+ kind: z.ZodString;
940
+ id: z.ZodString;
941
+ ownerRepo: z.ZodString;
942
+ }, z.core.$strict>;
943
+ teamRef: z.ZodOptional<z.ZodObject<{
944
+ kind: z.ZodString;
945
+ id: z.ZodString;
946
+ ownerRepo: z.ZodString;
947
+ }, z.core.$strict>>;
948
+ }, z.core.$strict>>;
949
+ }, z.core.$strict>;
950
+ }, z.core.$strict>>;
951
+ budgets: z.ZodObject<{
952
+ rpcMs: z.ZodNumber;
953
+ concurrentCalls: z.ZodNumber;
954
+ calls: z.ZodNumber;
955
+ messageBytes: z.ZodNumber;
956
+ activeMs: z.ZodNumber;
957
+ formMs: z.ZodNumber;
958
+ wallMs: z.ZodNumber;
959
+ }, z.core.$strict>;
960
+ }, z.core.$strict>;
961
+ javascript: z.ZodString;
962
+ sourceMap: z.ZodString;
963
+ }, z.core.$strict>;
964
+ input: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>;
965
+ schemas: z.ZodArray<z.ZodObject<{
966
+ revisionRef: z.ZodObject<{
967
+ revision: z.ZodNumber;
968
+ schemaVersion: z.ZodNumber;
969
+ contentHash: z.ZodString;
970
+ kind: z.ZodString;
971
+ id: z.ZodString;
972
+ ownerRepo: z.ZodString;
973
+ visibility: z.ZodEnum<{
974
+ tenant: "tenant";
975
+ public: "public";
976
+ global: "global";
977
+ }>;
978
+ tenantScope: z.ZodOptional<z.ZodObject<{
979
+ tenantRef: z.ZodObject<{
980
+ kind: z.ZodString;
981
+ id: z.ZodString;
982
+ ownerRepo: z.ZodString;
983
+ }, z.core.$strict>;
984
+ dataSpaceRef: z.ZodObject<{
985
+ kind: z.ZodString;
986
+ id: z.ZodString;
987
+ ownerRepo: z.ZodString;
988
+ }, z.core.$strict>;
989
+ teamRef: z.ZodOptional<z.ZodObject<{
990
+ kind: z.ZodString;
991
+ id: z.ZodString;
992
+ ownerRepo: z.ZodString;
993
+ }, z.core.$strict>>;
994
+ }, z.core.$strict>>;
995
+ }, z.core.$strict>;
996
+ document: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>;
997
+ }, z.core.$strict>>;
998
+ }, z.core.$strict>;
999
+ export declare const RuntimeProgramCallResultSchema: z.ZodObject<{
1000
+ value: z.ZodRecord<z.ZodString, z.ZodType<import("./common").JsonValue, unknown, z.core.$ZodTypeInternals<import("./common").JsonValue, unknown>>>;
1001
+ }, z.core.$strict>;
1002
+ export type RuntimeProgramLoadRequest = z.infer<typeof RuntimeProgramLoadRequestSchema>;
1003
+ export type RuntimeProgramCallRequest = z.infer<typeof RuntimeProgramCallRequestSchema>;
1004
+ export type RuntimeProgramLoadResult = z.infer<typeof RuntimeProgramLoadResultSchema>;
1005
+ export declare const RuntimeProgramDownloadResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1006
+ kind: z.ZodLiteral<"native">;
1007
+ download: z.ZodObject<{
1008
+ url: z.ZodString;
1009
+ fileName: z.ZodString;
1010
+ }, z.core.$strict>;
1011
+ }, z.core.$strict>, z.ZodObject<{
1012
+ kind: z.ZodLiteral<"text-artifact">;
1013
+ fileName: z.ZodString;
1014
+ mimeType: z.ZodEnum<{
1015
+ "application/json": "application/json";
1016
+ "text/plain": "text/plain";
1017
+ "text/csv": "text/csv";
1018
+ }>;
1019
+ content: z.ZodString;
1020
+ }, z.core.$strict>], "kind">;
1021
+ //# sourceMappingURL=action-program-http.d.ts.map