@hyperlane-xyz/cli 5.0.0 → 5.1.0

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 (49) hide show
  1. package/dist/cli.js +2 -0
  2. package/dist/cli.js.map +1 -1
  3. package/dist/src/commands/core.d.ts.map +1 -1
  4. package/dist/src/commands/core.js +4 -3
  5. package/dist/src/commands/core.js.map +1 -1
  6. package/dist/src/commands/relayer.d.ts +6 -0
  7. package/dist/src/commands/relayer.d.ts.map +1 -0
  8. package/dist/src/commands/relayer.js +26 -0
  9. package/dist/src/commands/relayer.js.map +1 -0
  10. package/dist/src/commands/signCommands.d.ts.map +1 -1
  11. package/dist/src/commands/signCommands.js +1 -1
  12. package/dist/src/commands/signCommands.js.map +1 -1
  13. package/dist/src/commands/status.d.ts +2 -2
  14. package/dist/src/commands/status.d.ts.map +1 -1
  15. package/dist/src/commands/warp.d.ts +1 -1
  16. package/dist/src/commands/warp.d.ts.map +1 -1
  17. package/dist/src/commands/warp.js +5 -5
  18. package/dist/src/commands/warp.js.map +1 -1
  19. package/dist/src/config/agent.js +0 -1
  20. package/dist/src/config/agent.js.map +1 -1
  21. package/dist/src/config/core.d.ts +138 -0
  22. package/dist/src/config/core.d.ts.map +1 -1
  23. package/dist/src/config/hooks.d.ts +806 -121
  24. package/dist/src/config/hooks.d.ts.map +1 -1
  25. package/dist/src/config/hooks.js +2 -2
  26. package/dist/src/config/hooks.js.map +1 -1
  27. package/dist/src/config/ism.d.ts +20 -5
  28. package/dist/src/config/ism.d.ts.map +1 -1
  29. package/dist/src/config/ism.js +2 -3
  30. package/dist/src/config/ism.js.map +1 -1
  31. package/dist/src/config/warp.d.ts.map +1 -1
  32. package/dist/src/config/warp.js +1 -1
  33. package/dist/src/config/warp.js.map +1 -1
  34. package/dist/src/deploy/agent.js +1 -1
  35. package/dist/src/deploy/agent.js.map +1 -1
  36. package/dist/src/deploy/utils.d.ts.map +1 -1
  37. package/dist/src/deploy/utils.js +13 -0
  38. package/dist/src/deploy/utils.js.map +1 -1
  39. package/dist/src/status/message.d.ts +2 -2
  40. package/dist/src/status/message.d.ts.map +1 -1
  41. package/dist/src/status/message.js +15 -8
  42. package/dist/src/status/message.js.map +1 -1
  43. package/dist/src/utils/chains.d.ts +1 -1
  44. package/dist/src/utils/chains.d.ts.map +1 -1
  45. package/dist/src/utils/chains.js +5 -5
  46. package/dist/src/utils/chains.js.map +1 -1
  47. package/dist/src/version.d.ts +1 -1
  48. package/dist/src/version.js +1 -1
  49. package/package.json +4 -4
@@ -102,7 +102,22 @@ declare const HooksConfigSchema: z.ZodObject<{
102
102
  tokenExchangeRate: string;
103
103
  }>;
104
104
  ownerOverrides?: Record<string, string> | undefined;
105
- }>, z.ZodType<import("@hyperlane-xyz/sdk").DomainRoutingHookConfig, z.ZodTypeDef, import("@hyperlane-xyz/sdk").DomainRoutingHookConfig>, z.ZodType<import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig, z.ZodTypeDef, import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig>, z.ZodType<import("@hyperlane-xyz/sdk").AggregationHookConfig, z.ZodTypeDef, import("@hyperlane-xyz/sdk").AggregationHookConfig>]>;
105
+ }>, z.ZodType<import("@hyperlane-xyz/sdk").DomainRoutingHookConfig, z.ZodTypeDef, import("@hyperlane-xyz/sdk").DomainRoutingHookConfig>, z.ZodType<import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig, z.ZodTypeDef, import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig>, z.ZodType<import("@hyperlane-xyz/sdk").AggregationHookConfig, z.ZodTypeDef, import("@hyperlane-xyz/sdk").AggregationHookConfig>, z.ZodObject<{
106
+ type: z.ZodLiteral<HookType.ARB_L2_TO_L1>;
107
+ arbSys: z.ZodString;
108
+ bridge: z.ZodOptional<z.ZodString>;
109
+ destinationChain: z.ZodString;
110
+ }, "strip", z.ZodTypeAny, {
111
+ type: HookType.ARB_L2_TO_L1;
112
+ destinationChain: string;
113
+ arbSys: string;
114
+ bridge?: string | undefined;
115
+ }, {
116
+ type: HookType.ARB_L2_TO_L1;
117
+ destinationChain: string;
118
+ arbSys: string;
119
+ bridge?: string | undefined;
120
+ }>]>;
106
121
  required: z.ZodUnion<[z.ZodString, z.ZodObject<{
107
122
  owner: z.ZodString;
108
123
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -202,7 +217,22 @@ declare const HooksConfigSchema: z.ZodObject<{
202
217
  tokenExchangeRate: string;
203
218
  }>;
204
219
  ownerOverrides?: Record<string, string> | undefined;
205
- }>, z.ZodType<import("@hyperlane-xyz/sdk").DomainRoutingHookConfig, z.ZodTypeDef, import("@hyperlane-xyz/sdk").DomainRoutingHookConfig>, z.ZodType<import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig, z.ZodTypeDef, import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig>, z.ZodType<import("@hyperlane-xyz/sdk").AggregationHookConfig, z.ZodTypeDef, import("@hyperlane-xyz/sdk").AggregationHookConfig>]>;
220
+ }>, z.ZodType<import("@hyperlane-xyz/sdk").DomainRoutingHookConfig, z.ZodTypeDef, import("@hyperlane-xyz/sdk").DomainRoutingHookConfig>, z.ZodType<import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig, z.ZodTypeDef, import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig>, z.ZodType<import("@hyperlane-xyz/sdk").AggregationHookConfig, z.ZodTypeDef, import("@hyperlane-xyz/sdk").AggregationHookConfig>, z.ZodObject<{
221
+ type: z.ZodLiteral<HookType.ARB_L2_TO_L1>;
222
+ arbSys: z.ZodString;
223
+ bridge: z.ZodOptional<z.ZodString>;
224
+ destinationChain: z.ZodString;
225
+ }, "strip", z.ZodTypeAny, {
226
+ type: HookType.ARB_L2_TO_L1;
227
+ destinationChain: string;
228
+ arbSys: string;
229
+ bridge?: string | undefined;
230
+ }, {
231
+ type: HookType.ARB_L2_TO_L1;
232
+ destinationChain: string;
233
+ arbSys: string;
234
+ bridge?: string | undefined;
235
+ }>]>;
206
236
  }, "strip", z.ZodTypeAny, {
207
237
  default: string | {
208
238
  type: HookType.PROTOCOL_FEE;
@@ -235,7 +265,12 @@ declare const HooksConfigSchema: z.ZodObject<{
235
265
  tokenExchangeRate: string;
236
266
  }>;
237
267
  ownerOverrides?: Record<string, string> | undefined;
238
- } | import("@hyperlane-xyz/sdk").AggregationHookConfig | (string & {
268
+ } | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
269
+ type: HookType.ARB_L2_TO_L1;
270
+ destinationChain: string;
271
+ arbSys: string;
272
+ bridge?: string | undefined;
273
+ } | (string & {
239
274
  type: HookType.PROTOCOL_FEE;
240
275
  owner: string;
241
276
  beneficiary: string;
@@ -301,7 +336,12 @@ declare const HooksConfigSchema: z.ZodObject<{
301
336
  tokenExchangeRate: string;
302
337
  }>;
303
338
  ownerOverrides?: Record<string, string> | undefined;
304
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
339
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
340
+ type: HookType.ARB_L2_TO_L1;
341
+ destinationChain: string;
342
+ arbSys: string;
343
+ bridge?: string | undefined;
344
+ }>;
305
345
  } & {
306
346
  type: HookType.ROUTING;
307
347
  }) | (string & {
@@ -339,7 +379,12 @@ declare const HooksConfigSchema: z.ZodObject<{
339
379
  tokenExchangeRate: string;
340
380
  }>;
341
381
  ownerOverrides?: Record<string, string> | undefined;
342
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
382
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
383
+ type: HookType.ARB_L2_TO_L1;
384
+ destinationChain: string;
385
+ arbSys: string;
386
+ bridge?: string | undefined;
387
+ }>;
343
388
  } & {
344
389
  type: HookType.FALLBACK_ROUTING;
345
390
  fallback: string | {
@@ -373,8 +418,18 @@ declare const HooksConfigSchema: z.ZodObject<{
373
418
  tokenExchangeRate: string;
374
419
  }>;
375
420
  ownerOverrides?: Record<string, string> | undefined;
376
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
377
- }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | ({
421
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
422
+ type: HookType.ARB_L2_TO_L1;
423
+ destinationChain: string;
424
+ arbSys: string;
425
+ bridge?: string | undefined;
426
+ };
427
+ }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | (string & {
428
+ type: HookType.ARB_L2_TO_L1;
429
+ destinationChain: string;
430
+ arbSys: string;
431
+ bridge?: string | undefined;
432
+ }) | ({
378
433
  type: HookType.PROTOCOL_FEE;
379
434
  owner: string;
380
435
  beneficiary: string;
@@ -440,7 +495,12 @@ declare const HooksConfigSchema: z.ZodObject<{
440
495
  tokenExchangeRate: string;
441
496
  }>;
442
497
  ownerOverrides?: Record<string, string> | undefined;
443
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
498
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
499
+ type: HookType.ARB_L2_TO_L1;
500
+ destinationChain: string;
501
+ arbSys: string;
502
+ bridge?: string | undefined;
503
+ }>;
444
504
  } & {
445
505
  type: HookType.ROUTING;
446
506
  } & string) | ({
@@ -478,7 +538,12 @@ declare const HooksConfigSchema: z.ZodObject<{
478
538
  tokenExchangeRate: string;
479
539
  }>;
480
540
  ownerOverrides?: Record<string, string> | undefined;
481
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
541
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
542
+ type: HookType.ARB_L2_TO_L1;
543
+ destinationChain: string;
544
+ arbSys: string;
545
+ bridge?: string | undefined;
546
+ }>;
482
547
  } & {
483
548
  type: HookType.ROUTING;
484
549
  }) | ({
@@ -516,7 +581,12 @@ declare const HooksConfigSchema: z.ZodObject<{
516
581
  tokenExchangeRate: string;
517
582
  }>;
518
583
  ownerOverrides?: Record<string, string> | undefined;
519
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
584
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
585
+ type: HookType.ARB_L2_TO_L1;
586
+ destinationChain: string;
587
+ arbSys: string;
588
+ bridge?: string | undefined;
589
+ }>;
520
590
  } & {
521
591
  type: HookType.FALLBACK_ROUTING;
522
592
  fallback: string | {
@@ -550,7 +620,12 @@ declare const HooksConfigSchema: z.ZodObject<{
550
620
  tokenExchangeRate: string;
551
621
  }>;
552
622
  ownerOverrides?: Record<string, string> | undefined;
553
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
623
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
624
+ type: HookType.ARB_L2_TO_L1;
625
+ destinationChain: string;
626
+ arbSys: string;
627
+ bridge?: string | undefined;
628
+ };
554
629
  } & string) | ({
555
630
  owner: string;
556
631
  ownerOverrides?: Record<string, string> | undefined;
@@ -586,7 +661,12 @@ declare const HooksConfigSchema: z.ZodObject<{
586
661
  tokenExchangeRate: string;
587
662
  }>;
588
663
  ownerOverrides?: Record<string, string> | undefined;
589
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
664
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
665
+ type: HookType.ARB_L2_TO_L1;
666
+ destinationChain: string;
667
+ arbSys: string;
668
+ bridge?: string | undefined;
669
+ }>;
590
670
  } & {
591
671
  type: HookType.FALLBACK_ROUTING;
592
672
  fallback: string | {
@@ -620,8 +700,18 @@ declare const HooksConfigSchema: z.ZodObject<{
620
700
  tokenExchangeRate: string;
621
701
  }>;
622
702
  ownerOverrides?: Record<string, string> | undefined;
623
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
624
- }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string);
703
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
704
+ type: HookType.ARB_L2_TO_L1;
705
+ destinationChain: string;
706
+ arbSys: string;
707
+ bridge?: string | undefined;
708
+ };
709
+ }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | ({
710
+ type: HookType.ARB_L2_TO_L1;
711
+ destinationChain: string;
712
+ arbSys: string;
713
+ bridge?: string | undefined;
714
+ } & string);
625
715
  required: string | {
626
716
  type: HookType.PROTOCOL_FEE;
627
717
  owner: string;
@@ -653,7 +743,12 @@ declare const HooksConfigSchema: z.ZodObject<{
653
743
  tokenExchangeRate: string;
654
744
  }>;
655
745
  ownerOverrides?: Record<string, string> | undefined;
656
- } | import("@hyperlane-xyz/sdk").AggregationHookConfig | (string & {
746
+ } | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
747
+ type: HookType.ARB_L2_TO_L1;
748
+ destinationChain: string;
749
+ arbSys: string;
750
+ bridge?: string | undefined;
751
+ } | (string & {
657
752
  type: HookType.PROTOCOL_FEE;
658
753
  owner: string;
659
754
  beneficiary: string;
@@ -719,7 +814,12 @@ declare const HooksConfigSchema: z.ZodObject<{
719
814
  tokenExchangeRate: string;
720
815
  }>;
721
816
  ownerOverrides?: Record<string, string> | undefined;
722
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
817
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
818
+ type: HookType.ARB_L2_TO_L1;
819
+ destinationChain: string;
820
+ arbSys: string;
821
+ bridge?: string | undefined;
822
+ }>;
723
823
  } & {
724
824
  type: HookType.ROUTING;
725
825
  }) | (string & {
@@ -757,7 +857,12 @@ declare const HooksConfigSchema: z.ZodObject<{
757
857
  tokenExchangeRate: string;
758
858
  }>;
759
859
  ownerOverrides?: Record<string, string> | undefined;
760
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
860
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
861
+ type: HookType.ARB_L2_TO_L1;
862
+ destinationChain: string;
863
+ arbSys: string;
864
+ bridge?: string | undefined;
865
+ }>;
761
866
  } & {
762
867
  type: HookType.FALLBACK_ROUTING;
763
868
  fallback: string | {
@@ -791,8 +896,18 @@ declare const HooksConfigSchema: z.ZodObject<{
791
896
  tokenExchangeRate: string;
792
897
  }>;
793
898
  ownerOverrides?: Record<string, string> | undefined;
794
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
795
- }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | ({
899
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
900
+ type: HookType.ARB_L2_TO_L1;
901
+ destinationChain: string;
902
+ arbSys: string;
903
+ bridge?: string | undefined;
904
+ };
905
+ }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | (string & {
906
+ type: HookType.ARB_L2_TO_L1;
907
+ destinationChain: string;
908
+ arbSys: string;
909
+ bridge?: string | undefined;
910
+ }) | ({
796
911
  type: HookType.PROTOCOL_FEE;
797
912
  owner: string;
798
913
  beneficiary: string;
@@ -858,7 +973,12 @@ declare const HooksConfigSchema: z.ZodObject<{
858
973
  tokenExchangeRate: string;
859
974
  }>;
860
975
  ownerOverrides?: Record<string, string> | undefined;
861
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
976
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
977
+ type: HookType.ARB_L2_TO_L1;
978
+ destinationChain: string;
979
+ arbSys: string;
980
+ bridge?: string | undefined;
981
+ }>;
862
982
  } & {
863
983
  type: HookType.ROUTING;
864
984
  } & string) | ({
@@ -896,7 +1016,12 @@ declare const HooksConfigSchema: z.ZodObject<{
896
1016
  tokenExchangeRate: string;
897
1017
  }>;
898
1018
  ownerOverrides?: Record<string, string> | undefined;
899
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
1019
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1020
+ type: HookType.ARB_L2_TO_L1;
1021
+ destinationChain: string;
1022
+ arbSys: string;
1023
+ bridge?: string | undefined;
1024
+ }>;
900
1025
  } & {
901
1026
  type: HookType.ROUTING;
902
1027
  }) | ({
@@ -934,7 +1059,12 @@ declare const HooksConfigSchema: z.ZodObject<{
934
1059
  tokenExchangeRate: string;
935
1060
  }>;
936
1061
  ownerOverrides?: Record<string, string> | undefined;
937
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
1062
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1063
+ type: HookType.ARB_L2_TO_L1;
1064
+ destinationChain: string;
1065
+ arbSys: string;
1066
+ bridge?: string | undefined;
1067
+ }>;
938
1068
  } & {
939
1069
  type: HookType.FALLBACK_ROUTING;
940
1070
  fallback: string | {
@@ -968,7 +1098,12 @@ declare const HooksConfigSchema: z.ZodObject<{
968
1098
  tokenExchangeRate: string;
969
1099
  }>;
970
1100
  ownerOverrides?: Record<string, string> | undefined;
971
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
1101
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1102
+ type: HookType.ARB_L2_TO_L1;
1103
+ destinationChain: string;
1104
+ arbSys: string;
1105
+ bridge?: string | undefined;
1106
+ };
972
1107
  } & string) | ({
973
1108
  owner: string;
974
1109
  ownerOverrides?: Record<string, string> | undefined;
@@ -1004,7 +1139,12 @@ declare const HooksConfigSchema: z.ZodObject<{
1004
1139
  tokenExchangeRate: string;
1005
1140
  }>;
1006
1141
  ownerOverrides?: Record<string, string> | undefined;
1007
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
1142
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1143
+ type: HookType.ARB_L2_TO_L1;
1144
+ destinationChain: string;
1145
+ arbSys: string;
1146
+ bridge?: string | undefined;
1147
+ }>;
1008
1148
  } & {
1009
1149
  type: HookType.FALLBACK_ROUTING;
1010
1150
  fallback: string | {
@@ -1038,8 +1178,18 @@ declare const HooksConfigSchema: z.ZodObject<{
1038
1178
  tokenExchangeRate: string;
1039
1179
  }>;
1040
1180
  ownerOverrides?: Record<string, string> | undefined;
1041
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
1042
- }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string);
1181
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1182
+ type: HookType.ARB_L2_TO_L1;
1183
+ destinationChain: string;
1184
+ arbSys: string;
1185
+ bridge?: string | undefined;
1186
+ };
1187
+ }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | ({
1188
+ type: HookType.ARB_L2_TO_L1;
1189
+ destinationChain: string;
1190
+ arbSys: string;
1191
+ bridge?: string | undefined;
1192
+ } & string);
1043
1193
  }, {
1044
1194
  default: string | {
1045
1195
  type: HookType.PROTOCOL_FEE;
@@ -1072,7 +1222,12 @@ declare const HooksConfigSchema: z.ZodObject<{
1072
1222
  tokenExchangeRate: string;
1073
1223
  }>;
1074
1224
  ownerOverrides?: Record<string, string> | undefined;
1075
- } | import("@hyperlane-xyz/sdk").AggregationHookConfig | (string & {
1225
+ } | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1226
+ type: HookType.ARB_L2_TO_L1;
1227
+ destinationChain: string;
1228
+ arbSys: string;
1229
+ bridge?: string | undefined;
1230
+ } | (string & {
1076
1231
  owner: string;
1077
1232
  ownerOverrides?: Record<string, string> | undefined;
1078
1233
  } & {
@@ -1107,7 +1262,12 @@ declare const HooksConfigSchema: z.ZodObject<{
1107
1262
  tokenExchangeRate: string;
1108
1263
  }>;
1109
1264
  ownerOverrides?: Record<string, string> | undefined;
1110
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
1265
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1266
+ type: HookType.ARB_L2_TO_L1;
1267
+ destinationChain: string;
1268
+ arbSys: string;
1269
+ bridge?: string | undefined;
1270
+ }>;
1111
1271
  } & {
1112
1272
  type: HookType.ROUTING;
1113
1273
  }) | (string & {
@@ -1145,7 +1305,12 @@ declare const HooksConfigSchema: z.ZodObject<{
1145
1305
  tokenExchangeRate: string;
1146
1306
  }>;
1147
1307
  ownerOverrides?: Record<string, string> | undefined;
1148
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
1308
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1309
+ type: HookType.ARB_L2_TO_L1;
1310
+ destinationChain: string;
1311
+ arbSys: string;
1312
+ bridge?: string | undefined;
1313
+ }>;
1149
1314
  } & {
1150
1315
  type: HookType.FALLBACK_ROUTING;
1151
1316
  fallback: string | {
@@ -1179,7 +1344,12 @@ declare const HooksConfigSchema: z.ZodObject<{
1179
1344
  tokenExchangeRate: string;
1180
1345
  }>;
1181
1346
  ownerOverrides?: Record<string, string> | undefined;
1182
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
1347
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1348
+ type: HookType.ARB_L2_TO_L1;
1349
+ destinationChain: string;
1350
+ arbSys: string;
1351
+ bridge?: string | undefined;
1352
+ };
1183
1353
  }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | ({
1184
1354
  owner: string;
1185
1355
  ownerOverrides?: Record<string, string> | undefined;
@@ -1215,7 +1385,12 @@ declare const HooksConfigSchema: z.ZodObject<{
1215
1385
  tokenExchangeRate: string;
1216
1386
  }>;
1217
1387
  ownerOverrides?: Record<string, string> | undefined;
1218
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
1388
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1389
+ type: HookType.ARB_L2_TO_L1;
1390
+ destinationChain: string;
1391
+ arbSys: string;
1392
+ bridge?: string | undefined;
1393
+ }>;
1219
1394
  } & {
1220
1395
  type: HookType.ROUTING;
1221
1396
  } & string) | ({
@@ -1253,7 +1428,12 @@ declare const HooksConfigSchema: z.ZodObject<{
1253
1428
  tokenExchangeRate: string;
1254
1429
  }>;
1255
1430
  ownerOverrides?: Record<string, string> | undefined;
1256
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
1431
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1432
+ type: HookType.ARB_L2_TO_L1;
1433
+ destinationChain: string;
1434
+ arbSys: string;
1435
+ bridge?: string | undefined;
1436
+ }>;
1257
1437
  } & {
1258
1438
  type: HookType.ROUTING;
1259
1439
  }) | ({
@@ -1291,7 +1471,12 @@ declare const HooksConfigSchema: z.ZodObject<{
1291
1471
  tokenExchangeRate: string;
1292
1472
  }>;
1293
1473
  ownerOverrides?: Record<string, string> | undefined;
1294
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
1474
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1475
+ type: HookType.ARB_L2_TO_L1;
1476
+ destinationChain: string;
1477
+ arbSys: string;
1478
+ bridge?: string | undefined;
1479
+ }>;
1295
1480
  } & {
1296
1481
  type: HookType.FALLBACK_ROUTING;
1297
1482
  fallback: string | {
@@ -1325,7 +1510,12 @@ declare const HooksConfigSchema: z.ZodObject<{
1325
1510
  tokenExchangeRate: string;
1326
1511
  }>;
1327
1512
  ownerOverrides?: Record<string, string> | undefined;
1328
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
1513
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1514
+ type: HookType.ARB_L2_TO_L1;
1515
+ destinationChain: string;
1516
+ arbSys: string;
1517
+ bridge?: string | undefined;
1518
+ };
1329
1519
  } & string) | ({
1330
1520
  owner: string;
1331
1521
  ownerOverrides?: Record<string, string> | undefined;
@@ -1361,7 +1551,12 @@ declare const HooksConfigSchema: z.ZodObject<{
1361
1551
  tokenExchangeRate: string;
1362
1552
  }>;
1363
1553
  ownerOverrides?: Record<string, string> | undefined;
1364
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
1554
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1555
+ type: HookType.ARB_L2_TO_L1;
1556
+ destinationChain: string;
1557
+ arbSys: string;
1558
+ bridge?: string | undefined;
1559
+ }>;
1365
1560
  } & {
1366
1561
  type: HookType.FALLBACK_ROUTING;
1367
1562
  fallback: string | {
@@ -1395,7 +1590,12 @@ declare const HooksConfigSchema: z.ZodObject<{
1395
1590
  tokenExchangeRate: string;
1396
1591
  }>;
1397
1592
  ownerOverrides?: Record<string, string> | undefined;
1398
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
1593
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1594
+ type: HookType.ARB_L2_TO_L1;
1595
+ destinationChain: string;
1596
+ arbSys: string;
1597
+ bridge?: string | undefined;
1598
+ };
1399
1599
  }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | (string & {
1400
1600
  type: HookType.PROTOCOL_FEE;
1401
1601
  owner: string;
@@ -1427,6 +1627,11 @@ declare const HooksConfigSchema: z.ZodObject<{
1427
1627
  tokenExchangeRate: string;
1428
1628
  }>;
1429
1629
  ownerOverrides?: Record<string, string> | undefined;
1630
+ }) | (string & {
1631
+ type: HookType.ARB_L2_TO_L1;
1632
+ destinationChain: string;
1633
+ arbSys: string;
1634
+ bridge?: string | undefined;
1430
1635
  }) | ({
1431
1636
  type: HookType.PROTOCOL_FEE;
1432
1637
  owner: string;
@@ -1458,6 +1663,11 @@ declare const HooksConfigSchema: z.ZodObject<{
1458
1663
  tokenExchangeRate: string;
1459
1664
  }>;
1460
1665
  ownerOverrides?: Record<string, string> | undefined;
1666
+ } & string) | ({
1667
+ type: HookType.ARB_L2_TO_L1;
1668
+ destinationChain: string;
1669
+ arbSys: string;
1670
+ bridge?: string | undefined;
1461
1671
  } & string);
1462
1672
  required: string | {
1463
1673
  type: HookType.PROTOCOL_FEE;
@@ -1490,7 +1700,12 @@ declare const HooksConfigSchema: z.ZodObject<{
1490
1700
  tokenExchangeRate: string;
1491
1701
  }>;
1492
1702
  ownerOverrides?: Record<string, string> | undefined;
1493
- } | import("@hyperlane-xyz/sdk").AggregationHookConfig | (string & {
1703
+ } | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1704
+ type: HookType.ARB_L2_TO_L1;
1705
+ destinationChain: string;
1706
+ arbSys: string;
1707
+ bridge?: string | undefined;
1708
+ } | (string & {
1494
1709
  owner: string;
1495
1710
  ownerOverrides?: Record<string, string> | undefined;
1496
1711
  } & {
@@ -1525,7 +1740,12 @@ declare const HooksConfigSchema: z.ZodObject<{
1525
1740
  tokenExchangeRate: string;
1526
1741
  }>;
1527
1742
  ownerOverrides?: Record<string, string> | undefined;
1528
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
1743
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1744
+ type: HookType.ARB_L2_TO_L1;
1745
+ destinationChain: string;
1746
+ arbSys: string;
1747
+ bridge?: string | undefined;
1748
+ }>;
1529
1749
  } & {
1530
1750
  type: HookType.ROUTING;
1531
1751
  }) | (string & {
@@ -1563,7 +1783,12 @@ declare const HooksConfigSchema: z.ZodObject<{
1563
1783
  tokenExchangeRate: string;
1564
1784
  }>;
1565
1785
  ownerOverrides?: Record<string, string> | undefined;
1566
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
1786
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1787
+ type: HookType.ARB_L2_TO_L1;
1788
+ destinationChain: string;
1789
+ arbSys: string;
1790
+ bridge?: string | undefined;
1791
+ }>;
1567
1792
  } & {
1568
1793
  type: HookType.FALLBACK_ROUTING;
1569
1794
  fallback: string | {
@@ -1597,7 +1822,12 @@ declare const HooksConfigSchema: z.ZodObject<{
1597
1822
  tokenExchangeRate: string;
1598
1823
  }>;
1599
1824
  ownerOverrides?: Record<string, string> | undefined;
1600
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
1825
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1826
+ type: HookType.ARB_L2_TO_L1;
1827
+ destinationChain: string;
1828
+ arbSys: string;
1829
+ bridge?: string | undefined;
1830
+ };
1601
1831
  }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | ({
1602
1832
  owner: string;
1603
1833
  ownerOverrides?: Record<string, string> | undefined;
@@ -1633,7 +1863,12 @@ declare const HooksConfigSchema: z.ZodObject<{
1633
1863
  tokenExchangeRate: string;
1634
1864
  }>;
1635
1865
  ownerOverrides?: Record<string, string> | undefined;
1636
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
1866
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1867
+ type: HookType.ARB_L2_TO_L1;
1868
+ destinationChain: string;
1869
+ arbSys: string;
1870
+ bridge?: string | undefined;
1871
+ }>;
1637
1872
  } & {
1638
1873
  type: HookType.ROUTING;
1639
1874
  } & string) | ({
@@ -1671,7 +1906,12 @@ declare const HooksConfigSchema: z.ZodObject<{
1671
1906
  tokenExchangeRate: string;
1672
1907
  }>;
1673
1908
  ownerOverrides?: Record<string, string> | undefined;
1674
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
1909
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1910
+ type: HookType.ARB_L2_TO_L1;
1911
+ destinationChain: string;
1912
+ arbSys: string;
1913
+ bridge?: string | undefined;
1914
+ }>;
1675
1915
  } & {
1676
1916
  type: HookType.ROUTING;
1677
1917
  }) | ({
@@ -1709,7 +1949,12 @@ declare const HooksConfigSchema: z.ZodObject<{
1709
1949
  tokenExchangeRate: string;
1710
1950
  }>;
1711
1951
  ownerOverrides?: Record<string, string> | undefined;
1712
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
1952
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1953
+ type: HookType.ARB_L2_TO_L1;
1954
+ destinationChain: string;
1955
+ arbSys: string;
1956
+ bridge?: string | undefined;
1957
+ }>;
1713
1958
  } & {
1714
1959
  type: HookType.FALLBACK_ROUTING;
1715
1960
  fallback: string | {
@@ -1743,7 +1988,12 @@ declare const HooksConfigSchema: z.ZodObject<{
1743
1988
  tokenExchangeRate: string;
1744
1989
  }>;
1745
1990
  ownerOverrides?: Record<string, string> | undefined;
1746
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
1991
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
1992
+ type: HookType.ARB_L2_TO_L1;
1993
+ destinationChain: string;
1994
+ arbSys: string;
1995
+ bridge?: string | undefined;
1996
+ };
1747
1997
  } & string) | ({
1748
1998
  owner: string;
1749
1999
  ownerOverrides?: Record<string, string> | undefined;
@@ -1779,7 +2029,12 @@ declare const HooksConfigSchema: z.ZodObject<{
1779
2029
  tokenExchangeRate: string;
1780
2030
  }>;
1781
2031
  ownerOverrides?: Record<string, string> | undefined;
1782
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
2032
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
2033
+ type: HookType.ARB_L2_TO_L1;
2034
+ destinationChain: string;
2035
+ arbSys: string;
2036
+ bridge?: string | undefined;
2037
+ }>;
1783
2038
  } & {
1784
2039
  type: HookType.FALLBACK_ROUTING;
1785
2040
  fallback: string | {
@@ -1813,7 +2068,12 @@ declare const HooksConfigSchema: z.ZodObject<{
1813
2068
  tokenExchangeRate: string;
1814
2069
  }>;
1815
2070
  ownerOverrides?: Record<string, string> | undefined;
1816
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
2071
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
2072
+ type: HookType.ARB_L2_TO_L1;
2073
+ destinationChain: string;
2074
+ arbSys: string;
2075
+ bridge?: string | undefined;
2076
+ };
1817
2077
  }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | (string & {
1818
2078
  type: HookType.PROTOCOL_FEE;
1819
2079
  owner: string;
@@ -1845,6 +2105,11 @@ declare const HooksConfigSchema: z.ZodObject<{
1845
2105
  tokenExchangeRate: string;
1846
2106
  }>;
1847
2107
  ownerOverrides?: Record<string, string> | undefined;
2108
+ }) | (string & {
2109
+ type: HookType.ARB_L2_TO_L1;
2110
+ destinationChain: string;
2111
+ arbSys: string;
2112
+ bridge?: string | undefined;
1848
2113
  }) | ({
1849
2114
  type: HookType.PROTOCOL_FEE;
1850
2115
  owner: string;
@@ -1876,6 +2141,11 @@ declare const HooksConfigSchema: z.ZodObject<{
1876
2141
  tokenExchangeRate: string;
1877
2142
  }>;
1878
2143
  ownerOverrides?: Record<string, string> | undefined;
2144
+ } & string) | ({
2145
+ type: HookType.ARB_L2_TO_L1;
2146
+ destinationChain: string;
2147
+ arbSys: string;
2148
+ bridge?: string | undefined;
1879
2149
  } & string);
1880
2150
  }>;
1881
2151
  export type HooksConfig = z.infer<typeof HooksConfigSchema>;
@@ -1979,7 +2249,22 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
1979
2249
  tokenExchangeRate: string;
1980
2250
  }>;
1981
2251
  ownerOverrides?: Record<string, string> | undefined;
1982
- }>, z.ZodType<import("@hyperlane-xyz/sdk").DomainRoutingHookConfig, z.ZodTypeDef, import("@hyperlane-xyz/sdk").DomainRoutingHookConfig>, z.ZodType<import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig, z.ZodTypeDef, import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig>, z.ZodType<import("@hyperlane-xyz/sdk").AggregationHookConfig, z.ZodTypeDef, import("@hyperlane-xyz/sdk").AggregationHookConfig>]>;
2252
+ }>, z.ZodType<import("@hyperlane-xyz/sdk").DomainRoutingHookConfig, z.ZodTypeDef, import("@hyperlane-xyz/sdk").DomainRoutingHookConfig>, z.ZodType<import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig, z.ZodTypeDef, import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig>, z.ZodType<import("@hyperlane-xyz/sdk").AggregationHookConfig, z.ZodTypeDef, import("@hyperlane-xyz/sdk").AggregationHookConfig>, z.ZodObject<{
2253
+ type: z.ZodLiteral<HookType.ARB_L2_TO_L1>;
2254
+ arbSys: z.ZodString;
2255
+ bridge: z.ZodOptional<z.ZodString>;
2256
+ destinationChain: z.ZodString;
2257
+ }, "strip", z.ZodTypeAny, {
2258
+ type: HookType.ARB_L2_TO_L1;
2259
+ destinationChain: string;
2260
+ arbSys: string;
2261
+ bridge?: string | undefined;
2262
+ }, {
2263
+ type: HookType.ARB_L2_TO_L1;
2264
+ destinationChain: string;
2265
+ arbSys: string;
2266
+ bridge?: string | undefined;
2267
+ }>]>;
1983
2268
  required: z.ZodUnion<[z.ZodString, z.ZodObject<{
1984
2269
  owner: z.ZodString;
1985
2270
  ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -2079,7 +2364,22 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2079
2364
  tokenExchangeRate: string;
2080
2365
  }>;
2081
2366
  ownerOverrides?: Record<string, string> | undefined;
2082
- }>, z.ZodType<import("@hyperlane-xyz/sdk").DomainRoutingHookConfig, z.ZodTypeDef, import("@hyperlane-xyz/sdk").DomainRoutingHookConfig>, z.ZodType<import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig, z.ZodTypeDef, import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig>, z.ZodType<import("@hyperlane-xyz/sdk").AggregationHookConfig, z.ZodTypeDef, import("@hyperlane-xyz/sdk").AggregationHookConfig>]>;
2367
+ }>, z.ZodType<import("@hyperlane-xyz/sdk").DomainRoutingHookConfig, z.ZodTypeDef, import("@hyperlane-xyz/sdk").DomainRoutingHookConfig>, z.ZodType<import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig, z.ZodTypeDef, import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig>, z.ZodType<import("@hyperlane-xyz/sdk").AggregationHookConfig, z.ZodTypeDef, import("@hyperlane-xyz/sdk").AggregationHookConfig>, z.ZodObject<{
2368
+ type: z.ZodLiteral<HookType.ARB_L2_TO_L1>;
2369
+ arbSys: z.ZodString;
2370
+ bridge: z.ZodOptional<z.ZodString>;
2371
+ destinationChain: z.ZodString;
2372
+ }, "strip", z.ZodTypeAny, {
2373
+ type: HookType.ARB_L2_TO_L1;
2374
+ destinationChain: string;
2375
+ arbSys: string;
2376
+ bridge?: string | undefined;
2377
+ }, {
2378
+ type: HookType.ARB_L2_TO_L1;
2379
+ destinationChain: string;
2380
+ arbSys: string;
2381
+ bridge?: string | undefined;
2382
+ }>]>;
2083
2383
  }, "strip", z.ZodTypeAny, {
2084
2384
  default: string | {
2085
2385
  type: HookType.PROTOCOL_FEE;
@@ -2112,7 +2412,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2112
2412
  tokenExchangeRate: string;
2113
2413
  }>;
2114
2414
  ownerOverrides?: Record<string, string> | undefined;
2115
- } | import("@hyperlane-xyz/sdk").AggregationHookConfig | (string & {
2415
+ } | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
2416
+ type: HookType.ARB_L2_TO_L1;
2417
+ destinationChain: string;
2418
+ arbSys: string;
2419
+ bridge?: string | undefined;
2420
+ } | (string & {
2116
2421
  type: HookType.PROTOCOL_FEE;
2117
2422
  owner: string;
2118
2423
  beneficiary: string;
@@ -2178,7 +2483,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2178
2483
  tokenExchangeRate: string;
2179
2484
  }>;
2180
2485
  ownerOverrides?: Record<string, string> | undefined;
2181
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
2486
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
2487
+ type: HookType.ARB_L2_TO_L1;
2488
+ destinationChain: string;
2489
+ arbSys: string;
2490
+ bridge?: string | undefined;
2491
+ }>;
2182
2492
  } & {
2183
2493
  type: HookType.ROUTING;
2184
2494
  }) | (string & {
@@ -2216,7 +2526,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2216
2526
  tokenExchangeRate: string;
2217
2527
  }>;
2218
2528
  ownerOverrides?: Record<string, string> | undefined;
2219
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
2529
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
2530
+ type: HookType.ARB_L2_TO_L1;
2531
+ destinationChain: string;
2532
+ arbSys: string;
2533
+ bridge?: string | undefined;
2534
+ }>;
2220
2535
  } & {
2221
2536
  type: HookType.FALLBACK_ROUTING;
2222
2537
  fallback: string | {
@@ -2250,8 +2565,18 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2250
2565
  tokenExchangeRate: string;
2251
2566
  }>;
2252
2567
  ownerOverrides?: Record<string, string> | undefined;
2253
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
2254
- }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | ({
2568
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
2569
+ type: HookType.ARB_L2_TO_L1;
2570
+ destinationChain: string;
2571
+ arbSys: string;
2572
+ bridge?: string | undefined;
2573
+ };
2574
+ }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | (string & {
2575
+ type: HookType.ARB_L2_TO_L1;
2576
+ destinationChain: string;
2577
+ arbSys: string;
2578
+ bridge?: string | undefined;
2579
+ }) | ({
2255
2580
  type: HookType.PROTOCOL_FEE;
2256
2581
  owner: string;
2257
2582
  beneficiary: string;
@@ -2317,7 +2642,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2317
2642
  tokenExchangeRate: string;
2318
2643
  }>;
2319
2644
  ownerOverrides?: Record<string, string> | undefined;
2320
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
2645
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
2646
+ type: HookType.ARB_L2_TO_L1;
2647
+ destinationChain: string;
2648
+ arbSys: string;
2649
+ bridge?: string | undefined;
2650
+ }>;
2321
2651
  } & {
2322
2652
  type: HookType.ROUTING;
2323
2653
  } & string) | ({
@@ -2355,7 +2685,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2355
2685
  tokenExchangeRate: string;
2356
2686
  }>;
2357
2687
  ownerOverrides?: Record<string, string> | undefined;
2358
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
2688
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
2689
+ type: HookType.ARB_L2_TO_L1;
2690
+ destinationChain: string;
2691
+ arbSys: string;
2692
+ bridge?: string | undefined;
2693
+ }>;
2359
2694
  } & {
2360
2695
  type: HookType.ROUTING;
2361
2696
  }) | ({
@@ -2393,7 +2728,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2393
2728
  tokenExchangeRate: string;
2394
2729
  }>;
2395
2730
  ownerOverrides?: Record<string, string> | undefined;
2396
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
2731
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
2732
+ type: HookType.ARB_L2_TO_L1;
2733
+ destinationChain: string;
2734
+ arbSys: string;
2735
+ bridge?: string | undefined;
2736
+ }>;
2397
2737
  } & {
2398
2738
  type: HookType.FALLBACK_ROUTING;
2399
2739
  fallback: string | {
@@ -2427,7 +2767,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2427
2767
  tokenExchangeRate: string;
2428
2768
  }>;
2429
2769
  ownerOverrides?: Record<string, string> | undefined;
2430
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
2770
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
2771
+ type: HookType.ARB_L2_TO_L1;
2772
+ destinationChain: string;
2773
+ arbSys: string;
2774
+ bridge?: string | undefined;
2775
+ };
2431
2776
  } & string) | ({
2432
2777
  owner: string;
2433
2778
  ownerOverrides?: Record<string, string> | undefined;
@@ -2463,7 +2808,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2463
2808
  tokenExchangeRate: string;
2464
2809
  }>;
2465
2810
  ownerOverrides?: Record<string, string> | undefined;
2466
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
2811
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
2812
+ type: HookType.ARB_L2_TO_L1;
2813
+ destinationChain: string;
2814
+ arbSys: string;
2815
+ bridge?: string | undefined;
2816
+ }>;
2467
2817
  } & {
2468
2818
  type: HookType.FALLBACK_ROUTING;
2469
2819
  fallback: string | {
@@ -2497,8 +2847,18 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2497
2847
  tokenExchangeRate: string;
2498
2848
  }>;
2499
2849
  ownerOverrides?: Record<string, string> | undefined;
2500
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
2501
- }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string);
2850
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
2851
+ type: HookType.ARB_L2_TO_L1;
2852
+ destinationChain: string;
2853
+ arbSys: string;
2854
+ bridge?: string | undefined;
2855
+ };
2856
+ }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | ({
2857
+ type: HookType.ARB_L2_TO_L1;
2858
+ destinationChain: string;
2859
+ arbSys: string;
2860
+ bridge?: string | undefined;
2861
+ } & string);
2502
2862
  required: string | {
2503
2863
  type: HookType.PROTOCOL_FEE;
2504
2864
  owner: string;
@@ -2530,7 +2890,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2530
2890
  tokenExchangeRate: string;
2531
2891
  }>;
2532
2892
  ownerOverrides?: Record<string, string> | undefined;
2533
- } | import("@hyperlane-xyz/sdk").AggregationHookConfig | (string & {
2893
+ } | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
2894
+ type: HookType.ARB_L2_TO_L1;
2895
+ destinationChain: string;
2896
+ arbSys: string;
2897
+ bridge?: string | undefined;
2898
+ } | (string & {
2534
2899
  type: HookType.PROTOCOL_FEE;
2535
2900
  owner: string;
2536
2901
  beneficiary: string;
@@ -2596,7 +2961,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2596
2961
  tokenExchangeRate: string;
2597
2962
  }>;
2598
2963
  ownerOverrides?: Record<string, string> | undefined;
2599
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
2964
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
2965
+ type: HookType.ARB_L2_TO_L1;
2966
+ destinationChain: string;
2967
+ arbSys: string;
2968
+ bridge?: string | undefined;
2969
+ }>;
2600
2970
  } & {
2601
2971
  type: HookType.ROUTING;
2602
2972
  }) | (string & {
@@ -2634,7 +3004,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2634
3004
  tokenExchangeRate: string;
2635
3005
  }>;
2636
3006
  ownerOverrides?: Record<string, string> | undefined;
2637
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
3007
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
3008
+ type: HookType.ARB_L2_TO_L1;
3009
+ destinationChain: string;
3010
+ arbSys: string;
3011
+ bridge?: string | undefined;
3012
+ }>;
2638
3013
  } & {
2639
3014
  type: HookType.FALLBACK_ROUTING;
2640
3015
  fallback: string | {
@@ -2668,8 +3043,18 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2668
3043
  tokenExchangeRate: string;
2669
3044
  }>;
2670
3045
  ownerOverrides?: Record<string, string> | undefined;
2671
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
2672
- }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | ({
3046
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
3047
+ type: HookType.ARB_L2_TO_L1;
3048
+ destinationChain: string;
3049
+ arbSys: string;
3050
+ bridge?: string | undefined;
3051
+ };
3052
+ }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | (string & {
3053
+ type: HookType.ARB_L2_TO_L1;
3054
+ destinationChain: string;
3055
+ arbSys: string;
3056
+ bridge?: string | undefined;
3057
+ }) | ({
2673
3058
  type: HookType.PROTOCOL_FEE;
2674
3059
  owner: string;
2675
3060
  beneficiary: string;
@@ -2735,7 +3120,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2735
3120
  tokenExchangeRate: string;
2736
3121
  }>;
2737
3122
  ownerOverrides?: Record<string, string> | undefined;
2738
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
3123
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
3124
+ type: HookType.ARB_L2_TO_L1;
3125
+ destinationChain: string;
3126
+ arbSys: string;
3127
+ bridge?: string | undefined;
3128
+ }>;
2739
3129
  } & {
2740
3130
  type: HookType.ROUTING;
2741
3131
  } & string) | ({
@@ -2773,7 +3163,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2773
3163
  tokenExchangeRate: string;
2774
3164
  }>;
2775
3165
  ownerOverrides?: Record<string, string> | undefined;
2776
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
3166
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
3167
+ type: HookType.ARB_L2_TO_L1;
3168
+ destinationChain: string;
3169
+ arbSys: string;
3170
+ bridge?: string | undefined;
3171
+ }>;
2777
3172
  } & {
2778
3173
  type: HookType.ROUTING;
2779
3174
  }) | ({
@@ -2811,7 +3206,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2811
3206
  tokenExchangeRate: string;
2812
3207
  }>;
2813
3208
  ownerOverrides?: Record<string, string> | undefined;
2814
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
3209
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
3210
+ type: HookType.ARB_L2_TO_L1;
3211
+ destinationChain: string;
3212
+ arbSys: string;
3213
+ bridge?: string | undefined;
3214
+ }>;
2815
3215
  } & {
2816
3216
  type: HookType.FALLBACK_ROUTING;
2817
3217
  fallback: string | {
@@ -2845,7 +3245,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2845
3245
  tokenExchangeRate: string;
2846
3246
  }>;
2847
3247
  ownerOverrides?: Record<string, string> | undefined;
2848
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
3248
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
3249
+ type: HookType.ARB_L2_TO_L1;
3250
+ destinationChain: string;
3251
+ arbSys: string;
3252
+ bridge?: string | undefined;
3253
+ };
2849
3254
  } & string) | ({
2850
3255
  owner: string;
2851
3256
  ownerOverrides?: Record<string, string> | undefined;
@@ -2881,7 +3286,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2881
3286
  tokenExchangeRate: string;
2882
3287
  }>;
2883
3288
  ownerOverrides?: Record<string, string> | undefined;
2884
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
3289
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
3290
+ type: HookType.ARB_L2_TO_L1;
3291
+ destinationChain: string;
3292
+ arbSys: string;
3293
+ bridge?: string | undefined;
3294
+ }>;
2885
3295
  } & {
2886
3296
  type: HookType.FALLBACK_ROUTING;
2887
3297
  fallback: string | {
@@ -2915,8 +3325,18 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2915
3325
  tokenExchangeRate: string;
2916
3326
  }>;
2917
3327
  ownerOverrides?: Record<string, string> | undefined;
2918
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
2919
- }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string);
3328
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
3329
+ type: HookType.ARB_L2_TO_L1;
3330
+ destinationChain: string;
3331
+ arbSys: string;
3332
+ bridge?: string | undefined;
3333
+ };
3334
+ }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | ({
3335
+ type: HookType.ARB_L2_TO_L1;
3336
+ destinationChain: string;
3337
+ arbSys: string;
3338
+ bridge?: string | undefined;
3339
+ } & string);
2920
3340
  }, {
2921
3341
  default: string | {
2922
3342
  type: HookType.PROTOCOL_FEE;
@@ -2949,7 +3369,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2949
3369
  tokenExchangeRate: string;
2950
3370
  }>;
2951
3371
  ownerOverrides?: Record<string, string> | undefined;
2952
- } | import("@hyperlane-xyz/sdk").AggregationHookConfig | (string & {
3372
+ } | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
3373
+ type: HookType.ARB_L2_TO_L1;
3374
+ destinationChain: string;
3375
+ arbSys: string;
3376
+ bridge?: string | undefined;
3377
+ } | (string & {
2953
3378
  owner: string;
2954
3379
  ownerOverrides?: Record<string, string> | undefined;
2955
3380
  } & {
@@ -2984,7 +3409,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2984
3409
  tokenExchangeRate: string;
2985
3410
  }>;
2986
3411
  ownerOverrides?: Record<string, string> | undefined;
2987
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
3412
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
3413
+ type: HookType.ARB_L2_TO_L1;
3414
+ destinationChain: string;
3415
+ arbSys: string;
3416
+ bridge?: string | undefined;
3417
+ }>;
2988
3418
  } & {
2989
3419
  type: HookType.ROUTING;
2990
3420
  }) | (string & {
@@ -3022,7 +3452,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3022
3452
  tokenExchangeRate: string;
3023
3453
  }>;
3024
3454
  ownerOverrides?: Record<string, string> | undefined;
3025
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
3455
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
3456
+ type: HookType.ARB_L2_TO_L1;
3457
+ destinationChain: string;
3458
+ arbSys: string;
3459
+ bridge?: string | undefined;
3460
+ }>;
3026
3461
  } & {
3027
3462
  type: HookType.FALLBACK_ROUTING;
3028
3463
  fallback: string | {
@@ -3056,7 +3491,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3056
3491
  tokenExchangeRate: string;
3057
3492
  }>;
3058
3493
  ownerOverrides?: Record<string, string> | undefined;
3059
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
3494
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
3495
+ type: HookType.ARB_L2_TO_L1;
3496
+ destinationChain: string;
3497
+ arbSys: string;
3498
+ bridge?: string | undefined;
3499
+ };
3060
3500
  }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | ({
3061
3501
  owner: string;
3062
3502
  ownerOverrides?: Record<string, string> | undefined;
@@ -3092,7 +3532,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3092
3532
  tokenExchangeRate: string;
3093
3533
  }>;
3094
3534
  ownerOverrides?: Record<string, string> | undefined;
3095
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
3535
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
3536
+ type: HookType.ARB_L2_TO_L1;
3537
+ destinationChain: string;
3538
+ arbSys: string;
3539
+ bridge?: string | undefined;
3540
+ }>;
3096
3541
  } & {
3097
3542
  type: HookType.ROUTING;
3098
3543
  } & string) | ({
@@ -3130,7 +3575,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3130
3575
  tokenExchangeRate: string;
3131
3576
  }>;
3132
3577
  ownerOverrides?: Record<string, string> | undefined;
3133
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
3578
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
3579
+ type: HookType.ARB_L2_TO_L1;
3580
+ destinationChain: string;
3581
+ arbSys: string;
3582
+ bridge?: string | undefined;
3583
+ }>;
3134
3584
  } & {
3135
3585
  type: HookType.ROUTING;
3136
3586
  }) | ({
@@ -3168,7 +3618,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3168
3618
  tokenExchangeRate: string;
3169
3619
  }>;
3170
3620
  ownerOverrides?: Record<string, string> | undefined;
3171
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
3621
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
3622
+ type: HookType.ARB_L2_TO_L1;
3623
+ destinationChain: string;
3624
+ arbSys: string;
3625
+ bridge?: string | undefined;
3626
+ }>;
3172
3627
  } & {
3173
3628
  type: HookType.FALLBACK_ROUTING;
3174
3629
  fallback: string | {
@@ -3202,7 +3657,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3202
3657
  tokenExchangeRate: string;
3203
3658
  }>;
3204
3659
  ownerOverrides?: Record<string, string> | undefined;
3205
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
3660
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
3661
+ type: HookType.ARB_L2_TO_L1;
3662
+ destinationChain: string;
3663
+ arbSys: string;
3664
+ bridge?: string | undefined;
3665
+ };
3206
3666
  } & string) | ({
3207
3667
  owner: string;
3208
3668
  ownerOverrides?: Record<string, string> | undefined;
@@ -3238,7 +3698,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3238
3698
  tokenExchangeRate: string;
3239
3699
  }>;
3240
3700
  ownerOverrides?: Record<string, string> | undefined;
3241
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
3701
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
3702
+ type: HookType.ARB_L2_TO_L1;
3703
+ destinationChain: string;
3704
+ arbSys: string;
3705
+ bridge?: string | undefined;
3706
+ }>;
3242
3707
  } & {
3243
3708
  type: HookType.FALLBACK_ROUTING;
3244
3709
  fallback: string | {
@@ -3272,7 +3737,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3272
3737
  tokenExchangeRate: string;
3273
3738
  }>;
3274
3739
  ownerOverrides?: Record<string, string> | undefined;
3275
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
3740
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
3741
+ type: HookType.ARB_L2_TO_L1;
3742
+ destinationChain: string;
3743
+ arbSys: string;
3744
+ bridge?: string | undefined;
3745
+ };
3276
3746
  }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | (string & {
3277
3747
  type: HookType.PROTOCOL_FEE;
3278
3748
  owner: string;
@@ -3304,6 +3774,11 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3304
3774
  tokenExchangeRate: string;
3305
3775
  }>;
3306
3776
  ownerOverrides?: Record<string, string> | undefined;
3777
+ }) | (string & {
3778
+ type: HookType.ARB_L2_TO_L1;
3779
+ destinationChain: string;
3780
+ arbSys: string;
3781
+ bridge?: string | undefined;
3307
3782
  }) | ({
3308
3783
  type: HookType.PROTOCOL_FEE;
3309
3784
  owner: string;
@@ -3335,6 +3810,11 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3335
3810
  tokenExchangeRate: string;
3336
3811
  }>;
3337
3812
  ownerOverrides?: Record<string, string> | undefined;
3813
+ } & string) | ({
3814
+ type: HookType.ARB_L2_TO_L1;
3815
+ destinationChain: string;
3816
+ arbSys: string;
3817
+ bridge?: string | undefined;
3338
3818
  } & string);
3339
3819
  required: string | {
3340
3820
  type: HookType.PROTOCOL_FEE;
@@ -3367,7 +3847,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3367
3847
  tokenExchangeRate: string;
3368
3848
  }>;
3369
3849
  ownerOverrides?: Record<string, string> | undefined;
3370
- } | import("@hyperlane-xyz/sdk").AggregationHookConfig | (string & {
3850
+ } | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
3851
+ type: HookType.ARB_L2_TO_L1;
3852
+ destinationChain: string;
3853
+ arbSys: string;
3854
+ bridge?: string | undefined;
3855
+ } | (string & {
3371
3856
  owner: string;
3372
3857
  ownerOverrides?: Record<string, string> | undefined;
3373
3858
  } & {
@@ -3402,7 +3887,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3402
3887
  tokenExchangeRate: string;
3403
3888
  }>;
3404
3889
  ownerOverrides?: Record<string, string> | undefined;
3405
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
3890
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
3891
+ type: HookType.ARB_L2_TO_L1;
3892
+ destinationChain: string;
3893
+ arbSys: string;
3894
+ bridge?: string | undefined;
3895
+ }>;
3406
3896
  } & {
3407
3897
  type: HookType.ROUTING;
3408
3898
  }) | (string & {
@@ -3440,7 +3930,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3440
3930
  tokenExchangeRate: string;
3441
3931
  }>;
3442
3932
  ownerOverrides?: Record<string, string> | undefined;
3443
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
3933
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
3934
+ type: HookType.ARB_L2_TO_L1;
3935
+ destinationChain: string;
3936
+ arbSys: string;
3937
+ bridge?: string | undefined;
3938
+ }>;
3444
3939
  } & {
3445
3940
  type: HookType.FALLBACK_ROUTING;
3446
3941
  fallback: string | {
@@ -3474,7 +3969,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3474
3969
  tokenExchangeRate: string;
3475
3970
  }>;
3476
3971
  ownerOverrides?: Record<string, string> | undefined;
3477
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
3972
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
3973
+ type: HookType.ARB_L2_TO_L1;
3974
+ destinationChain: string;
3975
+ arbSys: string;
3976
+ bridge?: string | undefined;
3977
+ };
3478
3978
  }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | ({
3479
3979
  owner: string;
3480
3980
  ownerOverrides?: Record<string, string> | undefined;
@@ -3510,7 +4010,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3510
4010
  tokenExchangeRate: string;
3511
4011
  }>;
3512
4012
  ownerOverrides?: Record<string, string> | undefined;
3513
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
4013
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
4014
+ type: HookType.ARB_L2_TO_L1;
4015
+ destinationChain: string;
4016
+ arbSys: string;
4017
+ bridge?: string | undefined;
4018
+ }>;
3514
4019
  } & {
3515
4020
  type: HookType.ROUTING;
3516
4021
  } & string) | ({
@@ -3548,7 +4053,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3548
4053
  tokenExchangeRate: string;
3549
4054
  }>;
3550
4055
  ownerOverrides?: Record<string, string> | undefined;
3551
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
4056
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
4057
+ type: HookType.ARB_L2_TO_L1;
4058
+ destinationChain: string;
4059
+ arbSys: string;
4060
+ bridge?: string | undefined;
4061
+ }>;
3552
4062
  } & {
3553
4063
  type: HookType.ROUTING;
3554
4064
  }) | ({
@@ -3586,7 +4096,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3586
4096
  tokenExchangeRate: string;
3587
4097
  }>;
3588
4098
  ownerOverrides?: Record<string, string> | undefined;
3589
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
4099
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
4100
+ type: HookType.ARB_L2_TO_L1;
4101
+ destinationChain: string;
4102
+ arbSys: string;
4103
+ bridge?: string | undefined;
4104
+ }>;
3590
4105
  } & {
3591
4106
  type: HookType.FALLBACK_ROUTING;
3592
4107
  fallback: string | {
@@ -3620,7 +4135,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3620
4135
  tokenExchangeRate: string;
3621
4136
  }>;
3622
4137
  ownerOverrides?: Record<string, string> | undefined;
3623
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
4138
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
4139
+ type: HookType.ARB_L2_TO_L1;
4140
+ destinationChain: string;
4141
+ arbSys: string;
4142
+ bridge?: string | undefined;
4143
+ };
3624
4144
  } & string) | ({
3625
4145
  owner: string;
3626
4146
  ownerOverrides?: Record<string, string> | undefined;
@@ -3656,7 +4176,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3656
4176
  tokenExchangeRate: string;
3657
4177
  }>;
3658
4178
  ownerOverrides?: Record<string, string> | undefined;
3659
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
4179
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
4180
+ type: HookType.ARB_L2_TO_L1;
4181
+ destinationChain: string;
4182
+ arbSys: string;
4183
+ bridge?: string | undefined;
4184
+ }>;
3660
4185
  } & {
3661
4186
  type: HookType.FALLBACK_ROUTING;
3662
4187
  fallback: string | {
@@ -3690,7 +4215,12 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3690
4215
  tokenExchangeRate: string;
3691
4216
  }>;
3692
4217
  ownerOverrides?: Record<string, string> | undefined;
3693
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
4218
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
4219
+ type: HookType.ARB_L2_TO_L1;
4220
+ destinationChain: string;
4221
+ arbSys: string;
4222
+ bridge?: string | undefined;
4223
+ };
3694
4224
  }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | (string & {
3695
4225
  type: HookType.PROTOCOL_FEE;
3696
4226
  owner: string;
@@ -3722,6 +4252,11 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3722
4252
  tokenExchangeRate: string;
3723
4253
  }>;
3724
4254
  ownerOverrides?: Record<string, string> | undefined;
4255
+ }) | (string & {
4256
+ type: HookType.ARB_L2_TO_L1;
4257
+ destinationChain: string;
4258
+ arbSys: string;
4259
+ bridge?: string | undefined;
3725
4260
  }) | ({
3726
4261
  type: HookType.PROTOCOL_FEE;
3727
4262
  owner: string;
@@ -3753,6 +4288,11 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3753
4288
  tokenExchangeRate: string;
3754
4289
  }>;
3755
4290
  ownerOverrides?: Record<string, string> | undefined;
4291
+ } & string) | ({
4292
+ type: HookType.ARB_L2_TO_L1;
4293
+ destinationChain: string;
4294
+ arbSys: string;
4295
+ bridge?: string | undefined;
3756
4296
  } & string);
3757
4297
  }>>;
3758
4298
  export type HooksConfigMap = z.infer<typeof HooksConfigMapSchema>;
@@ -3789,7 +4329,12 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
3789
4329
  tokenExchangeRate: string;
3790
4330
  }>;
3791
4331
  ownerOverrides?: Record<string, string> | undefined;
3792
- } | import("@hyperlane-xyz/sdk").AggregationHookConfig | (string & {
4332
+ } | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
4333
+ type: HookType.ARB_L2_TO_L1;
4334
+ destinationChain: string;
4335
+ arbSys: string;
4336
+ bridge?: string | undefined;
4337
+ } | (string & {
3793
4338
  type: HookType.PROTOCOL_FEE;
3794
4339
  owner: string;
3795
4340
  beneficiary: string;
@@ -3855,7 +4400,12 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
3855
4400
  tokenExchangeRate: string;
3856
4401
  }>;
3857
4402
  ownerOverrides?: Record<string, string> | undefined;
3858
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
4403
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
4404
+ type: HookType.ARB_L2_TO_L1;
4405
+ destinationChain: string;
4406
+ arbSys: string;
4407
+ bridge?: string | undefined;
4408
+ }>;
3859
4409
  } & {
3860
4410
  type: HookType.ROUTING;
3861
4411
  }) | (string & {
@@ -3893,7 +4443,12 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
3893
4443
  tokenExchangeRate: string;
3894
4444
  }>;
3895
4445
  ownerOverrides?: Record<string, string> | undefined;
3896
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
4446
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
4447
+ type: HookType.ARB_L2_TO_L1;
4448
+ destinationChain: string;
4449
+ arbSys: string;
4450
+ bridge?: string | undefined;
4451
+ }>;
3897
4452
  } & {
3898
4453
  type: HookType.FALLBACK_ROUTING;
3899
4454
  fallback: string | {
@@ -3927,8 +4482,18 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
3927
4482
  tokenExchangeRate: string;
3928
4483
  }>;
3929
4484
  ownerOverrides?: Record<string, string> | undefined;
3930
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
3931
- }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | ({
4485
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
4486
+ type: HookType.ARB_L2_TO_L1;
4487
+ destinationChain: string;
4488
+ arbSys: string;
4489
+ bridge?: string | undefined;
4490
+ };
4491
+ }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | (string & {
4492
+ type: HookType.ARB_L2_TO_L1;
4493
+ destinationChain: string;
4494
+ arbSys: string;
4495
+ bridge?: string | undefined;
4496
+ }) | ({
3932
4497
  type: HookType.PROTOCOL_FEE;
3933
4498
  owner: string;
3934
4499
  beneficiary: string;
@@ -3994,7 +4559,12 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
3994
4559
  tokenExchangeRate: string;
3995
4560
  }>;
3996
4561
  ownerOverrides?: Record<string, string> | undefined;
3997
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
4562
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
4563
+ type: HookType.ARB_L2_TO_L1;
4564
+ destinationChain: string;
4565
+ arbSys: string;
4566
+ bridge?: string | undefined;
4567
+ }>;
3998
4568
  } & {
3999
4569
  type: HookType.ROUTING;
4000
4570
  } & string) | ({
@@ -4032,7 +4602,12 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4032
4602
  tokenExchangeRate: string;
4033
4603
  }>;
4034
4604
  ownerOverrides?: Record<string, string> | undefined;
4035
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
4605
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
4606
+ type: HookType.ARB_L2_TO_L1;
4607
+ destinationChain: string;
4608
+ arbSys: string;
4609
+ bridge?: string | undefined;
4610
+ }>;
4036
4611
  } & {
4037
4612
  type: HookType.ROUTING;
4038
4613
  }) | ({
@@ -4070,7 +4645,12 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4070
4645
  tokenExchangeRate: string;
4071
4646
  }>;
4072
4647
  ownerOverrides?: Record<string, string> | undefined;
4073
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
4648
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
4649
+ type: HookType.ARB_L2_TO_L1;
4650
+ destinationChain: string;
4651
+ arbSys: string;
4652
+ bridge?: string | undefined;
4653
+ }>;
4074
4654
  } & {
4075
4655
  type: HookType.FALLBACK_ROUTING;
4076
4656
  fallback: string | {
@@ -4104,7 +4684,12 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4104
4684
  tokenExchangeRate: string;
4105
4685
  }>;
4106
4686
  ownerOverrides?: Record<string, string> | undefined;
4107
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
4687
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
4688
+ type: HookType.ARB_L2_TO_L1;
4689
+ destinationChain: string;
4690
+ arbSys: string;
4691
+ bridge?: string | undefined;
4692
+ };
4108
4693
  } & string) | ({
4109
4694
  owner: string;
4110
4695
  ownerOverrides?: Record<string, string> | undefined;
@@ -4140,7 +4725,12 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4140
4725
  tokenExchangeRate: string;
4141
4726
  }>;
4142
4727
  ownerOverrides?: Record<string, string> | undefined;
4143
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
4728
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
4729
+ type: HookType.ARB_L2_TO_L1;
4730
+ destinationChain: string;
4731
+ arbSys: string;
4732
+ bridge?: string | undefined;
4733
+ }>;
4144
4734
  } & {
4145
4735
  type: HookType.FALLBACK_ROUTING;
4146
4736
  fallback: string | {
@@ -4174,8 +4764,18 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4174
4764
  tokenExchangeRate: string;
4175
4765
  }>;
4176
4766
  ownerOverrides?: Record<string, string> | undefined;
4177
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
4178
- }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string);
4767
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
4768
+ type: HookType.ARB_L2_TO_L1;
4769
+ destinationChain: string;
4770
+ arbSys: string;
4771
+ bridge?: string | undefined;
4772
+ };
4773
+ }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | ({
4774
+ type: HookType.ARB_L2_TO_L1;
4775
+ destinationChain: string;
4776
+ arbSys: string;
4777
+ bridge?: string | undefined;
4778
+ } & string);
4179
4779
  required: string | {
4180
4780
  type: HookType.PROTOCOL_FEE;
4181
4781
  owner: string;
@@ -4207,7 +4807,12 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4207
4807
  tokenExchangeRate: string;
4208
4808
  }>;
4209
4809
  ownerOverrides?: Record<string, string> | undefined;
4210
- } | import("@hyperlane-xyz/sdk").AggregationHookConfig | (string & {
4810
+ } | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
4811
+ type: HookType.ARB_L2_TO_L1;
4812
+ destinationChain: string;
4813
+ arbSys: string;
4814
+ bridge?: string | undefined;
4815
+ } | (string & {
4211
4816
  type: HookType.PROTOCOL_FEE;
4212
4817
  owner: string;
4213
4818
  beneficiary: string;
@@ -4273,7 +4878,12 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4273
4878
  tokenExchangeRate: string;
4274
4879
  }>;
4275
4880
  ownerOverrides?: Record<string, string> | undefined;
4276
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
4881
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
4882
+ type: HookType.ARB_L2_TO_L1;
4883
+ destinationChain: string;
4884
+ arbSys: string;
4885
+ bridge?: string | undefined;
4886
+ }>;
4277
4887
  } & {
4278
4888
  type: HookType.ROUTING;
4279
4889
  }) | (string & {
@@ -4311,7 +4921,12 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4311
4921
  tokenExchangeRate: string;
4312
4922
  }>;
4313
4923
  ownerOverrides?: Record<string, string> | undefined;
4314
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
4924
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
4925
+ type: HookType.ARB_L2_TO_L1;
4926
+ destinationChain: string;
4927
+ arbSys: string;
4928
+ bridge?: string | undefined;
4929
+ }>;
4315
4930
  } & {
4316
4931
  type: HookType.FALLBACK_ROUTING;
4317
4932
  fallback: string | {
@@ -4345,8 +4960,18 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4345
4960
  tokenExchangeRate: string;
4346
4961
  }>;
4347
4962
  ownerOverrides?: Record<string, string> | undefined;
4348
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
4349
- }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | ({
4963
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
4964
+ type: HookType.ARB_L2_TO_L1;
4965
+ destinationChain: string;
4966
+ arbSys: string;
4967
+ bridge?: string | undefined;
4968
+ };
4969
+ }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | (string & {
4970
+ type: HookType.ARB_L2_TO_L1;
4971
+ destinationChain: string;
4972
+ arbSys: string;
4973
+ bridge?: string | undefined;
4974
+ }) | ({
4350
4975
  type: HookType.PROTOCOL_FEE;
4351
4976
  owner: string;
4352
4977
  beneficiary: string;
@@ -4412,7 +5037,12 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4412
5037
  tokenExchangeRate: string;
4413
5038
  }>;
4414
5039
  ownerOverrides?: Record<string, string> | undefined;
4415
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
5040
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
5041
+ type: HookType.ARB_L2_TO_L1;
5042
+ destinationChain: string;
5043
+ arbSys: string;
5044
+ bridge?: string | undefined;
5045
+ }>;
4416
5046
  } & {
4417
5047
  type: HookType.ROUTING;
4418
5048
  } & string) | ({
@@ -4450,7 +5080,12 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4450
5080
  tokenExchangeRate: string;
4451
5081
  }>;
4452
5082
  ownerOverrides?: Record<string, string> | undefined;
4453
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
5083
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
5084
+ type: HookType.ARB_L2_TO_L1;
5085
+ destinationChain: string;
5086
+ arbSys: string;
5087
+ bridge?: string | undefined;
5088
+ }>;
4454
5089
  } & {
4455
5090
  type: HookType.ROUTING;
4456
5091
  }) | ({
@@ -4488,7 +5123,12 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4488
5123
  tokenExchangeRate: string;
4489
5124
  }>;
4490
5125
  ownerOverrides?: Record<string, string> | undefined;
4491
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
5126
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
5127
+ type: HookType.ARB_L2_TO_L1;
5128
+ destinationChain: string;
5129
+ arbSys: string;
5130
+ bridge?: string | undefined;
5131
+ }>;
4492
5132
  } & {
4493
5133
  type: HookType.FALLBACK_ROUTING;
4494
5134
  fallback: string | {
@@ -4522,7 +5162,12 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4522
5162
  tokenExchangeRate: string;
4523
5163
  }>;
4524
5164
  ownerOverrides?: Record<string, string> | undefined;
4525
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
5165
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
5166
+ type: HookType.ARB_L2_TO_L1;
5167
+ destinationChain: string;
5168
+ arbSys: string;
5169
+ bridge?: string | undefined;
5170
+ };
4526
5171
  } & string) | ({
4527
5172
  owner: string;
4528
5173
  ownerOverrides?: Record<string, string> | undefined;
@@ -4558,7 +5203,12 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4558
5203
  tokenExchangeRate: string;
4559
5204
  }>;
4560
5205
  ownerOverrides?: Record<string, string> | undefined;
4561
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
5206
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
5207
+ type: HookType.ARB_L2_TO_L1;
5208
+ destinationChain: string;
5209
+ arbSys: string;
5210
+ bridge?: string | undefined;
5211
+ }>;
4562
5212
  } & {
4563
5213
  type: HookType.FALLBACK_ROUTING;
4564
5214
  fallback: string | {
@@ -4592,8 +5242,18 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4592
5242
  tokenExchangeRate: string;
4593
5243
  }>;
4594
5244
  ownerOverrides?: Record<string, string> | undefined;
4595
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig;
4596
- }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string);
5245
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
5246
+ type: HookType.ARB_L2_TO_L1;
5247
+ destinationChain: string;
5248
+ arbSys: string;
5249
+ bridge?: string | undefined;
5250
+ };
5251
+ }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | ({
5252
+ type: HookType.ARB_L2_TO_L1;
5253
+ destinationChain: string;
5254
+ arbSys: string;
5255
+ bridge?: string | undefined;
5256
+ } & string);
4597
5257
  }> | undefined;
4598
5258
  export declare function createHookConfig({ context, selectMessage, advanced, }: {
4599
5259
  context: CommandContext;
@@ -4631,7 +5291,12 @@ export declare const createMerkleTreeConfig: (...args: any[]) => Promise<string
4631
5291
  tokenExchangeRate: string;
4632
5292
  }>;
4633
5293
  ownerOverrides?: Record<string, string> | undefined;
4634
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
5294
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
5295
+ type: HookType.ARB_L2_TO_L1;
5296
+ destinationChain: string;
5297
+ arbSys: string;
5298
+ bridge?: string | undefined;
5299
+ }>;
4635
5300
  export declare const createProtocolFeeConfig: (...args: any[]) => Promise<string | {
4636
5301
  type: HookType.PROTOCOL_FEE;
4637
5302
  owner: string;
@@ -4663,7 +5328,12 @@ export declare const createProtocolFeeConfig: (...args: any[]) => Promise<string
4663
5328
  tokenExchangeRate: string;
4664
5329
  }>;
4665
5330
  ownerOverrides?: Record<string, string> | undefined;
4666
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
5331
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
5332
+ type: HookType.ARB_L2_TO_L1;
5333
+ destinationChain: string;
5334
+ arbSys: string;
5335
+ bridge?: string | undefined;
5336
+ }>;
4667
5337
  export declare const createIGPConfig: (...args: any[]) => Promise<string | {
4668
5338
  type: HookType.PROTOCOL_FEE;
4669
5339
  owner: string;
@@ -4695,7 +5365,12 @@ export declare const createIGPConfig: (...args: any[]) => Promise<string | {
4695
5365
  tokenExchangeRate: string;
4696
5366
  }>;
4697
5367
  ownerOverrides?: Record<string, string> | undefined;
4698
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
5368
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
5369
+ type: HookType.ARB_L2_TO_L1;
5370
+ destinationChain: string;
5371
+ arbSys: string;
5372
+ bridge?: string | undefined;
5373
+ }>;
4699
5374
  export declare const createAggregationConfig: (...args: any[]) => Promise<string | {
4700
5375
  type: HookType.PROTOCOL_FEE;
4701
5376
  owner: string;
@@ -4727,7 +5402,12 @@ export declare const createAggregationConfig: (...args: any[]) => Promise<string
4727
5402
  tokenExchangeRate: string;
4728
5403
  }>;
4729
5404
  ownerOverrides?: Record<string, string> | undefined;
4730
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
5405
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
5406
+ type: HookType.ARB_L2_TO_L1;
5407
+ destinationChain: string;
5408
+ arbSys: string;
5409
+ bridge?: string | undefined;
5410
+ }>;
4731
5411
  export declare const createRoutingConfig: (...args: any[]) => Promise<string | {
4732
5412
  type: HookType.PROTOCOL_FEE;
4733
5413
  owner: string;
@@ -4759,6 +5439,11 @@ export declare const createRoutingConfig: (...args: any[]) => Promise<string | {
4759
5439
  tokenExchangeRate: string;
4760
5440
  }>;
4761
5441
  ownerOverrides?: Record<string, string> | undefined;
4762
- } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig>;
5442
+ } | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
5443
+ type: HookType.ARB_L2_TO_L1;
5444
+ destinationChain: string;
5445
+ arbSys: string;
5446
+ bridge?: string | undefined;
5447
+ }>;
4763
5448
  export {};
4764
5449
  //# sourceMappingURL=hooks.d.ts.map