@lifi/compose-spec 0.6.3 → 0.7.1

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.
package/dist/index.d.cts CHANGED
@@ -2,6 +2,8 @@ import { Schema } from 'effect';
2
2
  import z from 'zod';
3
3
 
4
4
  declare const SolTypeSchema: Schema.Literal<["uint8", "uint16", "uint32", "uint64", "uint128", "uint256", "int128", "int256", "address", "bool", "bytes", "bytes4", "bytes32", "string"]>;
5
+ declare const EVMAddressString: Schema.refine<string, typeof Schema.String>;
6
+ declare const IntegerString: Schema.filter<typeof Schema.String>;
5
7
  /**
6
8
  * THE chain-capabilities chokepoint.
7
9
  *
@@ -24,7 +26,7 @@ declare const ResourceSchema: Schema.transform<Schema.Union<[Schema.Struct<{
24
26
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
25
27
  }>, Schema.Struct<{
26
28
  kind: Schema.Literal<["erc20"]>;
27
- token: typeof Schema.String;
29
+ token: Schema.refine<string, typeof Schema.String>;
28
30
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
29
31
  }>]>, Schema.SchemaClass<{
30
32
  readonly kind: "native";
@@ -48,7 +50,7 @@ declare const ResourceInputSchema: Schema.Struct<{
48
50
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
49
51
  }>, Schema.Struct<{
50
52
  kind: Schema.Literal<["erc20"]>;
51
- token: typeof Schema.String;
53
+ token: Schema.refine<string, typeof Schema.String>;
52
54
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
53
55
  }>]>, Schema.SchemaClass<{
54
56
  readonly kind: "native";
@@ -77,7 +79,7 @@ declare const FlowInputSchema: Schema.Union<[Schema.Struct<{
77
79
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
78
80
  }>, Schema.Struct<{
79
81
  kind: Schema.Literal<["erc20"]>;
80
- token: typeof Schema.String;
82
+ token: Schema.refine<string, typeof Schema.String>;
81
83
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
82
84
  }>]>, Schema.SchemaClass<{
83
85
  readonly kind: "native";
@@ -118,7 +120,7 @@ declare const AppliedGuardSchema: Schema.TypeLiteral<{
118
120
  readonly value: typeof Schema.Unknown;
119
121
  }]>;
120
122
  declare const CallSchema: Schema.Struct<{
121
- id: typeof Schema.String;
123
+ id: Schema.filter<typeof Schema.String>;
122
124
  op: typeof Schema.String;
123
125
  bind: Schema.optionalWith<Schema.Record$<typeof Schema.String, Schema.Union<[Schema.Struct<{
124
126
  $ref: Schema.filter<typeof Schema.String>;
@@ -138,6 +140,11 @@ declare const CallSchema: Schema.Struct<{
138
140
  readonly value: typeof Schema.Unknown;
139
141
  }]>>>;
140
142
  }>;
143
+ declare const UuidSchema: Schema.filter<typeof Schema.String>;
144
+ declare const LineageSchema: Schema.Struct<{
145
+ journeyId: Schema.filter<typeof Schema.String>;
146
+ parentRequestId: Schema.filter<typeof Schema.String>;
147
+ }>;
141
148
  declare const FlowSchema: Schema.Struct<{
142
149
  version: Schema.Literal<[1]>;
143
150
  id: typeof Schema.String;
@@ -149,7 +156,7 @@ declare const FlowSchema: Schema.Struct<{
149
156
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
150
157
  }>, Schema.Struct<{
151
158
  kind: Schema.Literal<["erc20"]>;
152
- token: typeof Schema.String;
159
+ token: Schema.refine<string, typeof Schema.String>;
153
160
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
154
161
  }>]>, Schema.SchemaClass<{
155
162
  readonly kind: "native";
@@ -171,7 +178,7 @@ declare const FlowSchema: Schema.Struct<{
171
178
  type: Schema.Literal<["uint8", "uint16", "uint32", "uint64", "uint128", "uint256", "int128", "int256", "address", "bool", "bytes", "bytes4", "bytes32", "string"]>;
172
179
  }>]>>;
173
180
  nodes: Schema.Array$<Schema.Struct<{
174
- id: typeof Schema.String;
181
+ id: Schema.filter<typeof Schema.String>;
175
182
  op: typeof Schema.String;
176
183
  bind: Schema.optionalWith<Schema.Record$<typeof Schema.String, Schema.Union<[Schema.Struct<{
177
184
  $ref: Schema.filter<typeof Schema.String>;
@@ -191,6 +198,10 @@ declare const FlowSchema: Schema.Struct<{
191
198
  readonly value: typeof Schema.Unknown;
192
199
  }]>>>;
193
200
  }>>;
201
+ lineage: Schema.optional<Schema.Struct<{
202
+ journeyId: Schema.filter<typeof Schema.String>;
203
+ parentRequestId: Schema.filter<typeof Schema.String>;
204
+ }>>;
194
205
  }>;
195
206
  type SolType = typeof SolTypeSchema.Type;
196
207
  type ResourceInput = typeof ResourceInputSchema.Type;
@@ -201,13 +212,14 @@ type LiteralBinding = typeof LiteralBindingSchema.Type;
201
212
  type BindValue = typeof BindValueSchema.Type;
202
213
  type AppliedGuard = typeof AppliedGuardSchema.Type;
203
214
  type Call = typeof CallSchema.Type;
215
+ type Lineage = typeof LineageSchema.Type;
204
216
  type Flow = typeof FlowSchema.Type;
205
217
 
206
218
  declare const CONTINUATION_COMMITMENT_OP_ID = "continuation.commitment";
207
219
  declare const ContinuationOutcomeSchema: Schema.transform<Schema.Struct<{
208
- token: typeof Schema.String;
209
- minAmount: typeof Schema.String;
210
- destination: typeof Schema.String;
220
+ token: Schema.refine<string, typeof Schema.String>;
221
+ minAmount: Schema.filter<typeof Schema.String>;
222
+ destination: Schema.refine<string, typeof Schema.String>;
211
223
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
212
224
  }>, Schema.SchemaClass<{
213
225
  readonly token: string;
@@ -222,9 +234,9 @@ declare const ContinuationOutcomeSchema: Schema.transform<Schema.Struct<{
222
234
  }, never>>;
223
235
  declare const ContinuationIntentSchema: Schema.Struct<{
224
236
  outcomes: Schema.NonEmptyArray<Schema.transform<Schema.Struct<{
225
- token: typeof Schema.String;
226
- minAmount: typeof Schema.String;
227
- destination: typeof Schema.String;
237
+ token: Schema.refine<string, typeof Schema.String>;
238
+ minAmount: Schema.filter<typeof Schema.String>;
239
+ destination: Schema.refine<string, typeof Schema.String>;
228
240
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
229
241
  }>, Schema.SchemaClass<{
230
242
  readonly token: string;
@@ -248,7 +260,7 @@ declare const ContinuationIntentSchema: Schema.Struct<{
248
260
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
249
261
  }>, Schema.Struct<{
250
262
  kind: Schema.Literal<["erc20"]>;
251
- token: typeof Schema.String;
263
+ token: Schema.refine<string, typeof Schema.String>;
252
264
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
253
265
  }>]>, Schema.SchemaClass<{
254
266
  readonly kind: "native";
@@ -270,7 +282,7 @@ declare const ContinuationIntentSchema: Schema.Struct<{
270
282
  type: Schema.Literal<["uint8", "uint16", "uint32", "uint64", "uint128", "uint256", "int128", "int256", "address", "bool", "bytes", "bytes4", "bytes32", "string"]>;
271
283
  }>]>>;
272
284
  nodes: Schema.Array$<Schema.Struct<{
273
- id: typeof Schema.String;
285
+ id: Schema.filter<typeof Schema.String>;
274
286
  op: typeof Schema.String;
275
287
  bind: Schema.optionalWith<Schema.Record$<typeof Schema.String, Schema.Union<[Schema.Struct<{
276
288
  $ref: Schema.filter<typeof Schema.String>;
@@ -290,14 +302,19 @@ declare const ContinuationIntentSchema: Schema.Struct<{
290
302
  readonly value: typeof Schema.Unknown;
291
303
  }]>>>;
292
304
  }>>;
305
+ lineage: Schema.optional<Schema.Struct<{
306
+ journeyId: Schema.filter<typeof Schema.String>;
307
+ parentRequestId: Schema.filter<typeof Schema.String>;
308
+ }>>;
293
309
  }>>;
294
310
  validity: Schema.Struct<{
295
- expiresAtMs: typeof Schema.Number;
311
+ expiresAtMs: Schema.filter<Schema.filter<typeof Schema.Number>>;
296
312
  }>;
297
313
  perpetual: Schema.optional<typeof Schema.Boolean>;
298
314
  provider: Schema.optional<typeof Schema.String>;
299
315
  funding: Schema.optional<Schema.Literal<["inline", "external"]>>;
300
316
  }>;
317
+ declare const HexStringSchema: Schema.filter<typeof Schema.String>;
301
318
  declare const Phase1ArtifactSchema: Schema.Union<[Schema.Struct<{
302
319
  kind: Schema.Literal<["transaction"]>;
303
320
  funding: Schema.Literal<["inline", "external"]>;
@@ -307,54 +324,63 @@ declare const Phase1ArtifactSchema: Schema.Union<[Schema.Struct<{
307
324
  value: typeof Schema.String;
308
325
  chainId: typeof Schema.Number;
309
326
  }>>;
327
+ escrow: Schema.optional<Schema.Struct<{
328
+ chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
329
+ address: Schema.filter<typeof Schema.String>;
330
+ token: Schema.filter<typeof Schema.String>;
331
+ amount: typeof Schema.String;
332
+ cap: typeof Schema.String;
333
+ owner: Schema.filter<typeof Schema.String>;
334
+ refund: Schema.filter<typeof Schema.String>;
335
+ expiresAtMs: Schema.filter<Schema.filter<typeof Schema.Number>>;
336
+ }>>;
310
337
  }>, Schema.Struct<{
311
338
  kind: Schema.Literal<["signables"]>;
312
339
  typedData: Schema.Array$<typeof Schema.Unknown>;
313
340
  }>, Schema.Struct<{
314
341
  kind: Schema.Literal<["none"]>;
315
342
  }>]>;
316
- declare const HexStringSchema: Schema.filter<typeof Schema.String>;
317
- declare const AssertionOwnerSchema: Schema.Union<[Schema.filter<typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
343
+ declare const AssertionOwnerSchema: Schema.Union<[Schema.refine<string, typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
318
344
  type AssertionOwner = typeof AssertionOwnerSchema.Type;
319
345
  declare const Erc20BalanceGteSpecSchema: Schema.Struct<{
320
346
  kind: Schema.Literal<["erc20BalanceGte"]>;
321
347
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
322
- token: Schema.filter<typeof Schema.String>;
323
- owner: Schema.filter<typeof Schema.String>;
324
- minAmount: typeof Schema.String;
348
+ token: Schema.refine<string, typeof Schema.String>;
349
+ owner: Schema.refine<string, typeof Schema.String>;
350
+ minAmount: Schema.filter<typeof Schema.String>;
325
351
  }>;
326
352
  declare const NativeBalanceGteSpecSchema: Schema.Struct<{
327
353
  kind: Schema.Literal<["nativeBalanceGte"]>;
328
354
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
329
- owner: Schema.filter<typeof Schema.String>;
330
- minAmount: typeof Schema.String;
355
+ owner: Schema.refine<string, typeof Schema.String>;
356
+ minAmount: Schema.filter<typeof Schema.String>;
331
357
  }>;
332
358
  declare const CallCheckSpecSchema: Schema.Struct<{
333
359
  kind: Schema.Literal<["call"]>;
334
360
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
335
- to: Schema.filter<typeof Schema.String>;
336
- calldata: Schema.filter<typeof Schema.String>;
361
+ to: Schema.refine<string, typeof Schema.String>;
362
+ calldata: Schema.refine<string, typeof Schema.String>;
337
363
  comparator: Schema.Literal<["gte", "eq", "lte"]>;
338
- value: typeof Schema.String;
364
+ value: Schema.filter<typeof Schema.String>;
339
365
  }>;
340
366
  declare const CheckSchema: Schema.transformOrFail<Schema.Union<[Schema.Struct<{
341
367
  kind: Schema.Literal<["erc20BalanceGte"]>;
342
368
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
343
- token: Schema.filter<typeof Schema.String>;
344
- owner: Schema.filter<typeof Schema.String>;
345
- minAmount: typeof Schema.String;
369
+ token: Schema.refine<string, typeof Schema.String>;
370
+ owner: Schema.refine<string, typeof Schema.String>;
371
+ minAmount: Schema.filter<typeof Schema.String>;
346
372
  }>, Schema.Struct<{
347
373
  kind: Schema.Literal<["nativeBalanceGte"]>;
348
374
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
349
- owner: Schema.filter<typeof Schema.String>;
350
- minAmount: typeof Schema.String;
375
+ owner: Schema.refine<string, typeof Schema.String>;
376
+ minAmount: Schema.filter<typeof Schema.String>;
351
377
  }>, Schema.Struct<{
352
378
  kind: Schema.Literal<["call"]>;
353
379
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
354
- to: Schema.filter<typeof Schema.String>;
355
- calldata: Schema.filter<typeof Schema.String>;
380
+ to: Schema.refine<string, typeof Schema.String>;
381
+ calldata: Schema.refine<string, typeof Schema.String>;
356
382
  comparator: Schema.Literal<["gte", "eq", "lte"]>;
357
- value: typeof Schema.String;
383
+ value: Schema.filter<typeof Schema.String>;
358
384
  }>]>, Schema.SchemaClass<{
359
385
  readonly token: string;
360
386
  readonly kind: "erc20BalanceGte";
@@ -395,45 +421,45 @@ declare const CheckSchema: Schema.transformOrFail<Schema.Union<[Schema.Struct<{
395
421
  declare const Erc20BalanceDeltaGteSpecSchema: Schema.Struct<{
396
422
  kind: Schema.Literal<["erc20BalanceDeltaGte"]>;
397
423
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
398
- token: Schema.filter<typeof Schema.String>;
399
- owner: Schema.Union<[Schema.filter<typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
400
- minDelta: typeof Schema.String;
424
+ token: Schema.refine<string, typeof Schema.String>;
425
+ owner: Schema.Union<[Schema.refine<string, typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
426
+ minDelta: Schema.filter<typeof Schema.String>;
401
427
  }>;
402
428
  declare const NativeBalanceDeltaGteSpecSchema: Schema.Struct<{
403
429
  kind: Schema.Literal<["nativeBalanceDeltaGte"]>;
404
430
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
405
- owner: Schema.Union<[Schema.filter<typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
406
- minDelta: typeof Schema.String;
431
+ owner: Schema.Union<[Schema.refine<string, typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
432
+ minDelta: Schema.filter<typeof Schema.String>;
407
433
  }>;
408
434
  declare const AssertionSpecSchema: Schema.Union<[Schema.Struct<{
409
435
  kind: Schema.Literal<["erc20BalanceGte"]>;
410
436
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
411
- token: Schema.filter<typeof Schema.String>;
412
- owner: Schema.filter<typeof Schema.String>;
413
- minAmount: typeof Schema.String;
437
+ token: Schema.refine<string, typeof Schema.String>;
438
+ owner: Schema.refine<string, typeof Schema.String>;
439
+ minAmount: Schema.filter<typeof Schema.String>;
414
440
  }>, Schema.Struct<{
415
441
  kind: Schema.Literal<["nativeBalanceGte"]>;
416
442
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
417
- owner: Schema.filter<typeof Schema.String>;
418
- minAmount: typeof Schema.String;
443
+ owner: Schema.refine<string, typeof Schema.String>;
444
+ minAmount: Schema.filter<typeof Schema.String>;
419
445
  }>, Schema.Struct<{
420
446
  kind: Schema.Literal<["call"]>;
421
447
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
422
- to: Schema.filter<typeof Schema.String>;
423
- calldata: Schema.filter<typeof Schema.String>;
448
+ to: Schema.refine<string, typeof Schema.String>;
449
+ calldata: Schema.refine<string, typeof Schema.String>;
424
450
  comparator: Schema.Literal<["gte", "eq", "lte"]>;
425
- value: typeof Schema.String;
451
+ value: Schema.filter<typeof Schema.String>;
426
452
  }>, Schema.Struct<{
427
453
  kind: Schema.Literal<["erc20BalanceDeltaGte"]>;
428
454
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
429
- token: Schema.filter<typeof Schema.String>;
430
- owner: Schema.Union<[Schema.filter<typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
431
- minDelta: typeof Schema.String;
455
+ token: Schema.refine<string, typeof Schema.String>;
456
+ owner: Schema.Union<[Schema.refine<string, typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
457
+ minDelta: Schema.filter<typeof Schema.String>;
432
458
  }>, Schema.Struct<{
433
459
  kind: Schema.Literal<["nativeBalanceDeltaGte"]>;
434
460
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
435
- owner: Schema.Union<[Schema.filter<typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
436
- minDelta: typeof Schema.String;
461
+ owner: Schema.Union<[Schema.refine<string, typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
462
+ minDelta: Schema.filter<typeof Schema.String>;
437
463
  }>]>;
438
464
  declare const ContinuationPlanSchema: Schema.Struct<{
439
465
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
@@ -448,7 +474,7 @@ declare const ContinuationPlanSchema: Schema.Struct<{
448
474
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
449
475
  }>, Schema.Struct<{
450
476
  kind: Schema.Literal<["erc20"]>;
451
- token: typeof Schema.String;
477
+ token: Schema.refine<string, typeof Schema.String>;
452
478
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
453
479
  }>]>, Schema.SchemaClass<{
454
480
  readonly kind: "native";
@@ -470,7 +496,7 @@ declare const ContinuationPlanSchema: Schema.Struct<{
470
496
  type: Schema.Literal<["uint8", "uint16", "uint32", "uint64", "uint128", "uint256", "int128", "int256", "address", "bool", "bytes", "bytes4", "bytes32", "string"]>;
471
497
  }>]>>;
472
498
  nodes: Schema.Array$<Schema.Struct<{
473
- id: typeof Schema.String;
499
+ id: Schema.filter<typeof Schema.String>;
474
500
  op: typeof Schema.String;
475
501
  bind: Schema.optionalWith<Schema.Record$<typeof Schema.String, Schema.Union<[Schema.Struct<{
476
502
  $ref: Schema.filter<typeof Schema.String>;
@@ -490,25 +516,29 @@ declare const ContinuationPlanSchema: Schema.Struct<{
490
516
  readonly value: typeof Schema.Unknown;
491
517
  }]>>>;
492
518
  }>>;
519
+ lineage: Schema.optional<Schema.Struct<{
520
+ journeyId: Schema.filter<typeof Schema.String>;
521
+ parentRequestId: Schema.filter<typeof Schema.String>;
522
+ }>>;
493
523
  }>;
494
524
  check: Schema.transformOrFail<Schema.Union<[Schema.Struct<{
495
525
  kind: Schema.Literal<["erc20BalanceGte"]>;
496
526
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
497
- token: Schema.filter<typeof Schema.String>;
498
- owner: Schema.filter<typeof Schema.String>;
499
- minAmount: typeof Schema.String;
527
+ token: Schema.refine<string, typeof Schema.String>;
528
+ owner: Schema.refine<string, typeof Schema.String>;
529
+ minAmount: Schema.filter<typeof Schema.String>;
500
530
  }>, Schema.Struct<{
501
531
  kind: Schema.Literal<["nativeBalanceGte"]>;
502
532
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
503
- owner: Schema.filter<typeof Schema.String>;
504
- minAmount: typeof Schema.String;
533
+ owner: Schema.refine<string, typeof Schema.String>;
534
+ minAmount: Schema.filter<typeof Schema.String>;
505
535
  }>, Schema.Struct<{
506
536
  kind: Schema.Literal<["call"]>;
507
537
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
508
- to: Schema.filter<typeof Schema.String>;
509
- calldata: Schema.filter<typeof Schema.String>;
538
+ to: Schema.refine<string, typeof Schema.String>;
539
+ calldata: Schema.refine<string, typeof Schema.String>;
510
540
  comparator: Schema.Literal<["gte", "eq", "lte"]>;
511
- value: typeof Schema.String;
541
+ value: Schema.filter<typeof Schema.String>;
512
542
  }>]>, Schema.SchemaClass<{
513
543
  readonly token: string;
514
544
  readonly kind: "erc20BalanceGte";
@@ -547,7 +577,7 @@ declare const ContinuationPlanSchema: Schema.Struct<{
547
577
  readonly comparator: "gte" | "eq" | "lte";
548
578
  }, never>, never>;
549
579
  validity: Schema.Struct<{
550
- expiresAtMs: typeof Schema.Number;
580
+ expiresAtMs: Schema.filter<Schema.filter<typeof Schema.Number>>;
551
581
  }>;
552
582
  correlationId: Schema.optional<typeof Schema.String>;
553
583
  }>;
@@ -567,45 +597,45 @@ declare const Bytes32HexSchema: Schema.filter<typeof Schema.String>;
567
597
  declare const AssertedErc20BalanceGteSpecSchema: Schema.Struct<{
568
598
  kind: Schema.Literal<["erc20BalanceGte"]>;
569
599
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
570
- token: Schema.filter<typeof Schema.String>;
571
- owner: Schema.Union<[Schema.filter<typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
572
- minAmount: typeof Schema.String;
600
+ token: Schema.refine<string, typeof Schema.String>;
601
+ owner: Schema.Union<[Schema.refine<string, typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
602
+ minAmount: Schema.filter<typeof Schema.String>;
573
603
  }>;
574
604
  declare const AssertedNativeBalanceGteSpecSchema: Schema.Struct<{
575
605
  kind: Schema.Literal<["nativeBalanceGte"]>;
576
606
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
577
- owner: Schema.Union<[Schema.filter<typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
578
- minAmount: typeof Schema.String;
607
+ owner: Schema.Union<[Schema.refine<string, typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
608
+ minAmount: Schema.filter<typeof Schema.String>;
579
609
  }>;
580
610
  declare const AssertedPredicateSchema: Schema.transformOrFail<Schema.Union<[Schema.Struct<{
581
611
  kind: Schema.Literal<["erc20BalanceGte"]>;
582
612
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
583
- token: Schema.filter<typeof Schema.String>;
584
- owner: Schema.Union<[Schema.filter<typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
585
- minAmount: typeof Schema.String;
613
+ token: Schema.refine<string, typeof Schema.String>;
614
+ owner: Schema.Union<[Schema.refine<string, typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
615
+ minAmount: Schema.filter<typeof Schema.String>;
586
616
  }>, Schema.Struct<{
587
617
  kind: Schema.Literal<["nativeBalanceGte"]>;
588
618
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
589
- owner: Schema.Union<[Schema.filter<typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
590
- minAmount: typeof Schema.String;
619
+ owner: Schema.Union<[Schema.refine<string, typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
620
+ minAmount: Schema.filter<typeof Schema.String>;
591
621
  }>, Schema.Struct<{
592
622
  kind: Schema.Literal<["call"]>;
593
623
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
594
- to: Schema.filter<typeof Schema.String>;
595
- calldata: Schema.filter<typeof Schema.String>;
624
+ to: Schema.refine<string, typeof Schema.String>;
625
+ calldata: Schema.refine<string, typeof Schema.String>;
596
626
  comparator: Schema.Literal<["gte", "eq", "lte"]>;
597
- value: typeof Schema.String;
627
+ value: Schema.filter<typeof Schema.String>;
598
628
  }>, Schema.Struct<{
599
629
  kind: Schema.Literal<["erc20BalanceDeltaGte"]>;
600
630
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
601
- token: Schema.filter<typeof Schema.String>;
602
- owner: Schema.Union<[Schema.filter<typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
603
- minDelta: typeof Schema.String;
631
+ token: Schema.refine<string, typeof Schema.String>;
632
+ owner: Schema.Union<[Schema.refine<string, typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
633
+ minDelta: Schema.filter<typeof Schema.String>;
604
634
  }>, Schema.Struct<{
605
635
  kind: Schema.Literal<["nativeBalanceDeltaGte"]>;
606
636
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
607
- owner: Schema.Union<[Schema.filter<typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
608
- minDelta: typeof Schema.String;
637
+ owner: Schema.Union<[Schema.refine<string, typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
638
+ minDelta: Schema.filter<typeof Schema.String>;
609
639
  }>]>, Schema.SchemaClass<{
610
640
  readonly kind: "call";
611
641
  readonly chainId: number;
@@ -671,32 +701,32 @@ declare const VerificationDescriptorSchema: Schema.Struct<{
671
701
  assertedPredicate: Schema.Array$<Schema.transformOrFail<Schema.Union<[Schema.Struct<{
672
702
  kind: Schema.Literal<["erc20BalanceGte"]>;
673
703
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
674
- token: Schema.filter<typeof Schema.String>;
675
- owner: Schema.Union<[Schema.filter<typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
676
- minAmount: typeof Schema.String;
704
+ token: Schema.refine<string, typeof Schema.String>;
705
+ owner: Schema.Union<[Schema.refine<string, typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
706
+ minAmount: Schema.filter<typeof Schema.String>;
677
707
  }>, Schema.Struct<{
678
708
  kind: Schema.Literal<["nativeBalanceGte"]>;
679
709
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
680
- owner: Schema.Union<[Schema.filter<typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
681
- minAmount: typeof Schema.String;
710
+ owner: Schema.Union<[Schema.refine<string, typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
711
+ minAmount: Schema.filter<typeof Schema.String>;
682
712
  }>, Schema.Struct<{
683
713
  kind: Schema.Literal<["call"]>;
684
714
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
685
- to: Schema.filter<typeof Schema.String>;
686
- calldata: Schema.filter<typeof Schema.String>;
715
+ to: Schema.refine<string, typeof Schema.String>;
716
+ calldata: Schema.refine<string, typeof Schema.String>;
687
717
  comparator: Schema.Literal<["gte", "eq", "lte"]>;
688
- value: typeof Schema.String;
718
+ value: Schema.filter<typeof Schema.String>;
689
719
  }>, Schema.Struct<{
690
720
  kind: Schema.Literal<["erc20BalanceDeltaGte"]>;
691
721
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
692
- token: Schema.filter<typeof Schema.String>;
693
- owner: Schema.Union<[Schema.filter<typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
694
- minDelta: typeof Schema.String;
722
+ token: Schema.refine<string, typeof Schema.String>;
723
+ owner: Schema.Union<[Schema.refine<string, typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
724
+ minDelta: Schema.filter<typeof Schema.String>;
695
725
  }>, Schema.Struct<{
696
726
  kind: Schema.Literal<["nativeBalanceDeltaGte"]>;
697
727
  chainId: Schema.filter<Schema.filter<typeof Schema.Number>>;
698
- owner: Schema.Union<[Schema.filter<typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
699
- minDelta: typeof Schema.String;
728
+ owner: Schema.Union<[Schema.refine<string, typeof Schema.String>, Schema.Literal<["escrow", "delivery"]>]>;
729
+ minDelta: Schema.filter<typeof Schema.String>;
700
730
  }>]>, Schema.SchemaClass<{
701
731
  readonly kind: "call";
702
732
  readonly chainId: number;
@@ -956,6 +986,7 @@ declare const ResourceOutputPortZod: z.ZodObject<{
956
986
  providesMinimum: z.ZodOptional<z.ZodBoolean>;
957
987
  omitIfZero: z.ZodOptional<z.ZodBoolean>;
958
988
  deliveryAddressInput: z.ZodOptional<z.ZodString>;
989
+ countFrom: z.ZodOptional<z.ZodString>;
959
990
  }, z.core.$strip>;
960
991
  declare const OutputPortZod: z.ZodDiscriminatedUnion<[z.ZodObject<{
961
992
  kind: z.ZodLiteral<"resource_output">;
@@ -971,6 +1002,7 @@ declare const OutputPortZod: z.ZodDiscriminatedUnion<[z.ZodObject<{
971
1002
  providesMinimum: z.ZodOptional<z.ZodBoolean>;
972
1003
  omitIfZero: z.ZodOptional<z.ZodBoolean>;
973
1004
  deliveryAddressInput: z.ZodOptional<z.ZodString>;
1005
+ countFrom: z.ZodOptional<z.ZodString>;
974
1006
  }, z.core.$strip>, z.ZodObject<{
975
1007
  kind: z.ZodLiteral<"handle">;
976
1008
  name: z.ZodString;
@@ -1067,6 +1099,7 @@ declare const ManifestOperationZod: z.ZodObject<{
1067
1099
  providesMinimum: z.ZodOptional<z.ZodBoolean>;
1068
1100
  omitIfZero: z.ZodOptional<z.ZodBoolean>;
1069
1101
  deliveryAddressInput: z.ZodOptional<z.ZodString>;
1102
+ countFrom: z.ZodOptional<z.ZodString>;
1070
1103
  }, z.core.$strip>, z.ZodObject<{
1071
1104
  kind: z.ZodLiteral<"handle">;
1072
1105
  name: z.ZodString;
@@ -1304,6 +1337,7 @@ declare const ComposeManifestZod: z.ZodObject<{
1304
1337
  providesMinimum: z.ZodOptional<z.ZodBoolean>;
1305
1338
  omitIfZero: z.ZodOptional<z.ZodBoolean>;
1306
1339
  deliveryAddressInput: z.ZodOptional<z.ZodString>;
1340
+ countFrom: z.ZodOptional<z.ZodString>;
1307
1341
  }, z.core.$strip>, z.ZodObject<{
1308
1342
  kind: z.ZodLiteral<"handle">;
1309
1343
  name: z.ZodString;
@@ -1399,18 +1433,16 @@ declare const ComposeManifestZod: z.ZodObject<{
1399
1433
  configSchema: z.ZodOptional<z.ZodUnknown>;
1400
1434
  }, z.core.$strip>>>;
1401
1435
  }, z.core.$strip>;
1402
- declare const Phase1ArtifactZod: z.ZodDiscriminatedUnion<[z.ZodObject<{
1403
- kind: z.ZodLiteral<"transaction">;
1404
- funding: z.ZodEnum<{
1405
- inline: "inline";
1406
- external: "external";
1407
- }>;
1408
- }, z.core.$strip>, z.ZodObject<{
1409
- kind: z.ZodLiteral<"signables">;
1410
- typedData: z.ZodArray<z.ZodUnknown>;
1411
- }, z.core.$strip>, z.ZodObject<{
1412
- kind: z.ZodLiteral<"none">;
1413
- }, z.core.$strip>], "kind">;
1436
+ declare const SettlementEscrowZod: z.ZodObject<{
1437
+ chainId: z.ZodNumber;
1438
+ address: z.ZodString;
1439
+ token: z.ZodString;
1440
+ amount: z.ZodString;
1441
+ cap: z.ZodString;
1442
+ owner: z.ZodString;
1443
+ refund: z.ZodString;
1444
+ expiresAtMs: z.ZodNumber;
1445
+ }, z.core.$strip>;
1414
1446
  declare const CheckZod: z.ZodDiscriminatedUnion<[z.ZodObject<{
1415
1447
  kind: z.ZodLiteral<"erc20BalanceGte">;
1416
1448
  chainId: z.ZodNumber;
@@ -1782,6 +1814,49 @@ declare const ContinuationPlanZod: z.ZodObject<{
1782
1814
  }, z.core.$strip>;
1783
1815
  correlationId: z.ZodOptional<z.ZodString>;
1784
1816
  }, z.core.$strip>;
1817
+ declare const SettlementZod: z.ZodObject<{
1818
+ escrow: z.ZodOptional<z.ZodObject<{
1819
+ chainId: z.ZodNumber;
1820
+ address: z.ZodString;
1821
+ token: z.ZodString;
1822
+ amount: z.ZodString;
1823
+ cap: z.ZodString;
1824
+ owner: z.ZodString;
1825
+ refund: z.ZodString;
1826
+ expiresAtMs: z.ZodNumber;
1827
+ }, z.core.$strip>>;
1828
+ continuation: z.ZodOptional<z.ZodObject<{
1829
+ chainId: z.ZodNumber;
1830
+ nextFlow: z.ZodUnknown;
1831
+ check: z.ZodDiscriminatedUnion<[z.ZodObject<{
1832
+ kind: z.ZodLiteral<"erc20BalanceGte">;
1833
+ chainId: z.ZodNumber;
1834
+ token: z.ZodString;
1835
+ owner: z.ZodString;
1836
+ minAmount: z.ZodString;
1837
+ }, z.core.$strip>, z.ZodObject<{
1838
+ kind: z.ZodLiteral<"nativeBalanceGte">;
1839
+ chainId: z.ZodNumber;
1840
+ owner: z.ZodString;
1841
+ minAmount: z.ZodString;
1842
+ }, z.core.$strip>, z.ZodObject<{
1843
+ kind: z.ZodLiteral<"call">;
1844
+ chainId: z.ZodNumber;
1845
+ to: z.ZodString;
1846
+ calldata: z.ZodString;
1847
+ comparator: z.ZodEnum<{
1848
+ gte: "gte";
1849
+ eq: "eq";
1850
+ lte: "lte";
1851
+ }>;
1852
+ value: z.ZodString;
1853
+ }, z.core.$strip>], "kind">;
1854
+ validity: z.ZodObject<{
1855
+ expiresAtMs: z.ZodNumber;
1856
+ }, z.core.$strip>;
1857
+ correlationId: z.ZodOptional<z.ZodString>;
1858
+ }, z.core.$strip>>;
1859
+ }, z.core.$strip>;
1785
1860
  type ResourcePort = z.infer<typeof ResourcePortZod>;
1786
1861
  type HandlePort = z.infer<typeof HandlePortZod>;
1787
1862
  type HandleUnits = z.infer<typeof HandleUnitsZod>;
@@ -1796,7 +1871,8 @@ type ManifestGuard = z.infer<typeof ManifestGuardZod>;
1796
1871
  type ManifestMaterialiser = z.infer<typeof ManifestMaterialiserZod>;
1797
1872
  type ManifestPrecondition = z.infer<typeof ManifestPreconditionZod>;
1798
1873
  type ComposeManifest = z.infer<typeof ComposeManifestZod>;
1799
- type Phase1ArtifactWire = z.infer<typeof Phase1ArtifactZod>;
1874
+ type SettlementEscrowWire = z.infer<typeof SettlementEscrowZod>;
1875
+ type SettlementWire = z.infer<typeof SettlementZod>;
1800
1876
  type ContinuationPlanWire = z.infer<typeof ContinuationPlanZod>;
1801
1877
 
1802
1878
  type SimulationPolicy = 'strict' | 'allow-revert';
@@ -1865,16 +1941,26 @@ interface ComposeTransactionRequest {
1865
1941
  readonly value: string;
1866
1942
  readonly gasLimit?: string;
1867
1943
  }
1868
- interface ComposeAction {
1944
+ type ComposeAction = {
1869
1945
  readonly kind: 'transaction';
1870
- readonly purpose: 'approval' | 'execute' | 'fundEscrow';
1946
+ readonly purpose: 'approval' | 'execute';
1871
1947
  readonly submitter: 'signer' | 'anyone';
1872
1948
  readonly transactionRequest: ComposeTransactionRequest;
1873
- readonly nodeId?: string;
1874
- }
1949
+ } | {
1950
+ readonly kind: 'transaction';
1951
+ readonly purpose: 'fundEscrow';
1952
+ readonly submitter: 'signer' | 'anyone';
1953
+ readonly transactionRequest: ComposeTransactionRequest;
1954
+ readonly nodeId: string;
1955
+ } | {
1956
+ readonly kind: 'typedData';
1957
+ readonly purpose: 'signOrder';
1958
+ readonly submitter: 'signer';
1959
+ readonly nodeId: string;
1960
+ readonly typedData: readonly unknown[];
1961
+ };
1875
1962
  interface ComposeContinuationData {
1876
- readonly phase1ByNode?: Record<string, Phase1ArtifactWire>;
1877
- readonly continuationPlans?: Record<string, ContinuationPlanWire>;
1963
+ readonly settlements?: Record<string, SettlementWire>;
1878
1964
  }
1879
1965
  interface SpendEntry {
1880
1966
  readonly input: string;
@@ -2056,14 +2142,28 @@ type ResourceOutputOptions = Availability | {
2056
2142
  readonly providesMinimum?: boolean;
2057
2143
  readonly omitIfZero?: boolean;
2058
2144
  readonly deliveryAddressInput?: string;
2145
+ readonly countFrom?: string;
2059
2146
  };
2147
+ type OutputCountFrom<O> = O extends {
2148
+ readonly countFrom: infer K extends string;
2149
+ } ? {
2150
+ readonly countFrom: K;
2151
+ } : unknown;
2060
2152
  type OutputAvailability<O> = [O] extends ['future'] ? 'future' : [O] extends ['now'] ? 'now' : [O] extends [string] ? Availability : O extends {
2061
2153
  readonly availability: infer A;
2062
2154
  } ? [A] extends ['future'] ? 'future' : [A] extends ['now'] ? 'now' : Availability : 'now';
2063
2155
  declare const resourceOutput: <N extends string, const O extends ResourceOutputOptions = "now">(name: N, options?: O) => ResourceOutputPort & {
2064
2156
  readonly name: N;
2065
2157
  readonly availability: OutputAvailability<O>;
2158
+ } & OutputCountFrom<O>;
2159
+
2160
+ type OutputFamilyPort = ResourceOutputPort & {
2161
+ readonly countFrom: string;
2066
2162
  };
2163
+ declare const isOutputFamily: (port: OpOutputPort) => port is OutputFamilyPort;
2164
+ declare const instancePortName: (family: string, index: number) => string;
2165
+ declare const familySize: (family: Pick<OutputFamilyPort, "name" | "countFrom">, config: Call["config"]) => number;
2166
+ declare const expandOutputPorts: (declared: readonly OpOutputPort[], config: Call["config"]) => readonly OpOutputPort[];
2067
2167
 
2068
2168
  type ParsedRef = {
2069
2169
  readonly scope: 'input';
@@ -2735,4 +2835,4 @@ declare const foldMaterialiserMetadata: <R>(meta: MaterialiserMetadata, cases: {
2735
2835
  readonly runtime: () => R;
2736
2836
  }) => R;
2737
2837
 
2738
- export { ARC_CHAIN_ID, ARC_NATIVE_ERC20, ARC_NATIVE_SCALE, type Amount, type AppliedGuard, AppliedGuardSchema, type ApprovalEntry, AssertedErc20BalanceGteSpecSchema, AssertedNativeBalanceGteSpecSchema, type AssertedPredicate, AssertedPredicateSchema, type AssertedPredicateWire, AssertedPredicateZod, type AssertionOwner, AssertionOwnerSchema, type AssertionSpec, AssertionSpecSchema, type AssertionSpecWire, AssertionSpecZod, type Availability, type BindValue, BindValueSchema, Bytes32HexSchema, COMPOSER_SDK_VERSION_HEADER, COMPOSE_VERSION_HEADER, CONTINUATION_COMMITMENT_OP_ID, type Call, CallCheckSpecSchema, CallSchema, type ChainCapabilities, type Check, type CheckComparator, CheckSchema, CheckZod, type ComposeAction, type ComposeCompilePartialData, type ComposeCompileRequest, type ComposeCompileResult, type ComposeCompileSuccessData, type ComposeError, type ComposeErrorKind, type ComposeFee, type ComposeFill, type ComposeManifest, ComposeManifestZod, type ComposeRouteErrorKind, type ComposeRouteRequest, type ComposeRun, type ComposeTransactionRequest, type ComposeUserProgramSimulation, type ComposeVersion, type ConsumedOutput, type ContextKey, type ContinuationIntent, ContinuationIntentSchema, type ContinuationOutcome, ContinuationOutcomeSchema, type ContinuationPlan, ContinuationPlanSchema, type ContinuationPlanWire, ContinuationPlanZod, type Delivery, EVM_NATIVE_SENTINEL, type Erc20AllowancePrecondition, type Erc20AllowanceRequirement, Erc20BalanceDeltaGteSpecSchema, Erc20BalanceGteSpecSchema, type Erc20BalancePrecondition, type Erc20BalanceRequirement, type Estimate, type EstimateBasis, type FailedPreparedOp, type FlashloanMaterialiserInput, type Flow, type FlowInput, FlowInputSchema, FlowSchema, type GenericComposeError, type GenericComposeErrorKind, type GuardCompatibility, GuardCompatibilityZod, type GuardSelector, GuardSelectorZod, HANDLE_UNITS, type HandleInput, HandleInputSchema, type HandlePort, HandlePortZod, type HandleUnits, HandleUnitsZod, HexStringSchema, InputPortZod, type InputSpec, type LiteralBinding, LiteralBindingSchema, type ManifestGuard, ManifestGuardZod, type ManifestMaterialiser, ManifestMaterialiserZod, type ManifestOperation, ManifestOperationZod, type ManifestPrecondition, ManifestPreconditionZod, type MaterialiserConfigOf, type MaterialiserInput, type MaterialiserInputBase, type MaterialiserInputOf, type MaterialiserMetadata, type MaterialiserResolution, type Minimum, type MinimumBasis, NativeBalanceDeltaGteSpecSchema, NativeBalanceGteSpecSchema, type NativeBalancePrecondition, type NativeBalanceRequirement, type NativeCheckPolicy, type NativeErc20, type OpInputPort, type OpOutputPort, type Output, type OutputAmount, OutputPortZod, type Outputs, PROVIDER_KIND, type ParsedRef, type Phase1Artifact, Phase1ArtifactSchema, type Phase1ArtifactWire, Phase1ArtifactZod, type Port, type Precondition, type PreconditionBase, type PreconditionConfigOf, type PreconditionOf, type PreparationComposeError, type PriceImpact, type ProviderKindName, RESERVED_REF_SCOPES, type Ref, type RefBuilder, type RefPath, RefSchema, type RefScope, type Resource, type ResourceInput, ResourceInputSchema, type ResourceOutputPort, ResourceOutputPortZod, type ResourcePort, ResourcePortZod, ResourceSchema, type RouteAmount, type RouteAmountAll, type RouteAmountExact, SIMULATE_MAX_REQUIREMENTS, SIMULATE_MAX_TRACKED_BALANCES, STATIC_SOL_TYPES, type SimulateBalanceEntry, type SimulateOkResult, type SimulateRequest, type SimulateResult, type SimulateRevertDecodeResult, type SimulateRevertResult, type SimulateSetupErrorResult, type SimulationPolicy, type SimulationRevert, type SimulationRevertComposeError, type SlotFinderRequirement, type SolType, SolTypeSchema, type SpendEntry, type StaticSolType, StaticSolTypeZod, type SweepTo, TEMPO_CHAIN_ID, TEMPO_NATIVE_ERC20, type TerminalOutput, type TrackedBalance, type VerificationDescriptor, VerificationDescriptorSchema, type VerificationDescriptorWire, VerificationDescriptorZod, type VersionCompatibility, canonicalAssertedPredicate, canonicalNativeAddress, checkCompatibility, copy, erc20, erc20Allowance, erc20Balance, erc20Resource, erc20Token, flowInputMode, flowInputResource, flowInputType, foldChainCapabilities, foldMaterialiserMetadata, foldRef, foldResource, getChainCapabilities, handle, hasErc20CanonicalNative, isAsErc20Chain, isContextKey, isEQCheck, isERC20Resource, isErc20AllowancePrecondition, isErc20BalancePrecondition, isFutureResourceOutput, isGTECheck, isHandlePort, isLTECheck, isMaterialiserInput, isMsgValueNative, isNativeAddressForChain, isNativeBalancePrecondition, isNativeResource, isRef, isResourceInput, isResourceOutputPort, isResourcePort, isStaticSolType, linear, native, nativeBalance, nativeCheckPolicy, nativeResource, normalizeNativeTokenAddress, normalizeResource, opHandle, parseRef, parseVersion, providerKindByName, providerKindNames, readResource, ref, refKey, resource, resourceKey, resourceOutput, resourceToken, resourcesEqual, settledOutcome };
2838
+ export { ARC_CHAIN_ID, ARC_NATIVE_ERC20, ARC_NATIVE_SCALE, type Amount, type AppliedGuard, AppliedGuardSchema, type ApprovalEntry, AssertedErc20BalanceGteSpecSchema, AssertedNativeBalanceGteSpecSchema, type AssertedPredicate, AssertedPredicateSchema, type AssertedPredicateWire, AssertedPredicateZod, type AssertionOwner, AssertionOwnerSchema, type AssertionSpec, AssertionSpecSchema, type AssertionSpecWire, AssertionSpecZod, type Availability, type BindValue, BindValueSchema, Bytes32HexSchema, COMPOSER_SDK_VERSION_HEADER, COMPOSE_VERSION_HEADER, CONTINUATION_COMMITMENT_OP_ID, type Call, CallCheckSpecSchema, CallSchema, type ChainCapabilities, type Check, type CheckComparator, CheckSchema, CheckZod, type ComposeAction, type ComposeCompilePartialData, type ComposeCompileRequest, type ComposeCompileResult, type ComposeCompileSuccessData, type ComposeError, type ComposeErrorKind, type ComposeFee, type ComposeFill, type ComposeManifest, ComposeManifestZod, type ComposeRouteErrorKind, type ComposeRouteRequest, type ComposeRun, type ComposeTransactionRequest, type ComposeUserProgramSimulation, type ComposeVersion, type ConsumedOutput, type ContextKey, type ContinuationIntent, ContinuationIntentSchema, type ContinuationOutcome, ContinuationOutcomeSchema, type ContinuationPlan, ContinuationPlanSchema, type ContinuationPlanWire, ContinuationPlanZod, type Delivery, EVMAddressString, EVM_NATIVE_SENTINEL, type Erc20AllowancePrecondition, type Erc20AllowanceRequirement, Erc20BalanceDeltaGteSpecSchema, Erc20BalanceGteSpecSchema, type Erc20BalancePrecondition, type Erc20BalanceRequirement, type Estimate, type EstimateBasis, type FailedPreparedOp, type FlashloanMaterialiserInput, type Flow, type FlowInput, FlowInputSchema, FlowSchema, type GenericComposeError, type GenericComposeErrorKind, type GuardCompatibility, GuardCompatibilityZod, type GuardSelector, GuardSelectorZod, HANDLE_UNITS, type HandleInput, HandleInputSchema, type HandlePort, HandlePortZod, type HandleUnits, HandleUnitsZod, HexStringSchema, InputPortZod, type InputSpec, IntegerString, type Lineage, LineageSchema, type LiteralBinding, LiteralBindingSchema, type ManifestGuard, ManifestGuardZod, type ManifestMaterialiser, ManifestMaterialiserZod, type ManifestOperation, ManifestOperationZod, type ManifestPrecondition, ManifestPreconditionZod, type MaterialiserConfigOf, type MaterialiserInput, type MaterialiserInputBase, type MaterialiserInputOf, type MaterialiserMetadata, type MaterialiserResolution, type Minimum, type MinimumBasis, NativeBalanceDeltaGteSpecSchema, NativeBalanceGteSpecSchema, type NativeBalancePrecondition, type NativeBalanceRequirement, type NativeCheckPolicy, type NativeErc20, type OpInputPort, type OpOutputPort, type Output, type OutputAmount, type OutputFamilyPort, OutputPortZod, type Outputs, PROVIDER_KIND, type ParsedRef, type Phase1Artifact, Phase1ArtifactSchema, type Port, type Precondition, type PreconditionBase, type PreconditionConfigOf, type PreconditionOf, type PreparationComposeError, type PriceImpact, type ProviderKindName, RESERVED_REF_SCOPES, type Ref, type RefBuilder, type RefPath, RefSchema, type RefScope, type Resource, type ResourceInput, ResourceInputSchema, type ResourceOutputPort, ResourceOutputPortZod, type ResourcePort, ResourcePortZod, ResourceSchema, type RouteAmount, type RouteAmountAll, type RouteAmountExact, SIMULATE_MAX_REQUIREMENTS, SIMULATE_MAX_TRACKED_BALANCES, STATIC_SOL_TYPES, type SettlementEscrowWire, type SettlementWire, SettlementZod, type SimulateBalanceEntry, type SimulateOkResult, type SimulateRequest, type SimulateResult, type SimulateRevertDecodeResult, type SimulateRevertResult, type SimulateSetupErrorResult, type SimulationPolicy, type SimulationRevert, type SimulationRevertComposeError, type SlotFinderRequirement, type SolType, SolTypeSchema, type SpendEntry, type StaticSolType, StaticSolTypeZod, type SweepTo, TEMPO_CHAIN_ID, TEMPO_NATIVE_ERC20, type TerminalOutput, type TrackedBalance, UuidSchema, type VerificationDescriptor, VerificationDescriptorSchema, type VerificationDescriptorWire, VerificationDescriptorZod, type VersionCompatibility, canonicalAssertedPredicate, canonicalNativeAddress, checkCompatibility, copy, erc20, erc20Allowance, erc20Balance, erc20Resource, erc20Token, expandOutputPorts, familySize, flowInputMode, flowInputResource, flowInputType, foldChainCapabilities, foldMaterialiserMetadata, foldRef, foldResource, getChainCapabilities, handle, hasErc20CanonicalNative, instancePortName, isAsErc20Chain, isContextKey, isEQCheck, isERC20Resource, isErc20AllowancePrecondition, isErc20BalancePrecondition, isFutureResourceOutput, isGTECheck, isHandlePort, isLTECheck, isMaterialiserInput, isMsgValueNative, isNativeAddressForChain, isNativeBalancePrecondition, isNativeResource, isOutputFamily, isRef, isResourceInput, isResourceOutputPort, isResourcePort, isStaticSolType, linear, native, nativeBalance, nativeCheckPolicy, nativeResource, normalizeNativeTokenAddress, normalizeResource, opHandle, parseRef, parseVersion, providerKindByName, providerKindNames, readResource, ref, refKey, resource, resourceKey, resourceOutput, resourceToken, resourcesEqual, settledOutcome };