@hyperlane-xyz/cli 5.5.0 → 5.6.0-superchain.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.
@@ -117,6 +117,18 @@ declare const HooksConfigSchema: z.ZodObject<{
117
117
  destinationChain: string;
118
118
  arbSys: string;
119
119
  bridge?: string | undefined;
120
+ }>, z.ZodObject<{
121
+ owner: z.ZodString;
122
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
123
+ type: z.ZodLiteral<HookType.SUPERCHAIN>;
124
+ }, "strip", z.ZodTypeAny, {
125
+ type: HookType.SUPERCHAIN;
126
+ owner: string;
127
+ ownerOverrides?: Record<string, string> | undefined;
128
+ }, {
129
+ type: HookType.SUPERCHAIN;
130
+ owner: string;
131
+ ownerOverrides?: Record<string, string> | undefined;
120
132
  }>]>;
121
133
  required: z.ZodUnion<[z.ZodString, z.ZodObject<{
122
134
  owner: z.ZodString;
@@ -232,6 +244,18 @@ declare const HooksConfigSchema: z.ZodObject<{
232
244
  destinationChain: string;
233
245
  arbSys: string;
234
246
  bridge?: string | undefined;
247
+ }>, z.ZodObject<{
248
+ owner: z.ZodString;
249
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
250
+ type: z.ZodLiteral<HookType.SUPERCHAIN>;
251
+ }, "strip", z.ZodTypeAny, {
252
+ type: HookType.SUPERCHAIN;
253
+ owner: string;
254
+ ownerOverrides?: Record<string, string> | undefined;
255
+ }, {
256
+ type: HookType.SUPERCHAIN;
257
+ owner: string;
258
+ ownerOverrides?: Record<string, string> | undefined;
235
259
  }>]>;
236
260
  }, "strip", z.ZodTypeAny, {
237
261
  default: string | {
@@ -270,6 +294,10 @@ declare const HooksConfigSchema: z.ZodObject<{
270
294
  destinationChain: string;
271
295
  arbSys: string;
272
296
  bridge?: string | undefined;
297
+ } | {
298
+ type: HookType.SUPERCHAIN;
299
+ owner: string;
300
+ ownerOverrides?: Record<string, string> | undefined;
273
301
  } | (string & {
274
302
  type: HookType.PROTOCOL_FEE;
275
303
  owner: string;
@@ -341,6 +369,10 @@ declare const HooksConfigSchema: z.ZodObject<{
341
369
  destinationChain: string;
342
370
  arbSys: string;
343
371
  bridge?: string | undefined;
372
+ } | {
373
+ type: HookType.SUPERCHAIN;
374
+ owner: string;
375
+ ownerOverrides?: Record<string, string> | undefined;
344
376
  }>;
345
377
  } & {
346
378
  type: HookType.ROUTING;
@@ -384,6 +416,10 @@ declare const HooksConfigSchema: z.ZodObject<{
384
416
  destinationChain: string;
385
417
  arbSys: string;
386
418
  bridge?: string | undefined;
419
+ } | {
420
+ type: HookType.SUPERCHAIN;
421
+ owner: string;
422
+ ownerOverrides?: Record<string, string> | undefined;
387
423
  }>;
388
424
  } & {
389
425
  type: HookType.FALLBACK_ROUTING;
@@ -423,12 +459,20 @@ declare const HooksConfigSchema: z.ZodObject<{
423
459
  destinationChain: string;
424
460
  arbSys: string;
425
461
  bridge?: string | undefined;
462
+ } | {
463
+ type: HookType.SUPERCHAIN;
464
+ owner: string;
465
+ ownerOverrides?: Record<string, string> | undefined;
426
466
  };
427
467
  }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | (string & {
428
468
  type: HookType.ARB_L2_TO_L1;
429
469
  destinationChain: string;
430
470
  arbSys: string;
431
471
  bridge?: string | undefined;
472
+ }) | (string & {
473
+ type: HookType.SUPERCHAIN;
474
+ owner: string;
475
+ ownerOverrides?: Record<string, string> | undefined;
432
476
  }) | ({
433
477
  type: HookType.PROTOCOL_FEE;
434
478
  owner: string;
@@ -500,6 +544,10 @@ declare const HooksConfigSchema: z.ZodObject<{
500
544
  destinationChain: string;
501
545
  arbSys: string;
502
546
  bridge?: string | undefined;
547
+ } | {
548
+ type: HookType.SUPERCHAIN;
549
+ owner: string;
550
+ ownerOverrides?: Record<string, string> | undefined;
503
551
  }>;
504
552
  } & {
505
553
  type: HookType.ROUTING;
@@ -543,6 +591,10 @@ declare const HooksConfigSchema: z.ZodObject<{
543
591
  destinationChain: string;
544
592
  arbSys: string;
545
593
  bridge?: string | undefined;
594
+ } | {
595
+ type: HookType.SUPERCHAIN;
596
+ owner: string;
597
+ ownerOverrides?: Record<string, string> | undefined;
546
598
  }>;
547
599
  } & {
548
600
  type: HookType.ROUTING;
@@ -586,6 +638,10 @@ declare const HooksConfigSchema: z.ZodObject<{
586
638
  destinationChain: string;
587
639
  arbSys: string;
588
640
  bridge?: string | undefined;
641
+ } | {
642
+ type: HookType.SUPERCHAIN;
643
+ owner: string;
644
+ ownerOverrides?: Record<string, string> | undefined;
589
645
  }>;
590
646
  } & {
591
647
  type: HookType.FALLBACK_ROUTING;
@@ -625,6 +681,10 @@ declare const HooksConfigSchema: z.ZodObject<{
625
681
  destinationChain: string;
626
682
  arbSys: string;
627
683
  bridge?: string | undefined;
684
+ } | {
685
+ type: HookType.SUPERCHAIN;
686
+ owner: string;
687
+ ownerOverrides?: Record<string, string> | undefined;
628
688
  };
629
689
  } & string) | ({
630
690
  owner: string;
@@ -666,6 +726,10 @@ declare const HooksConfigSchema: z.ZodObject<{
666
726
  destinationChain: string;
667
727
  arbSys: string;
668
728
  bridge?: string | undefined;
729
+ } | {
730
+ type: HookType.SUPERCHAIN;
731
+ owner: string;
732
+ ownerOverrides?: Record<string, string> | undefined;
669
733
  }>;
670
734
  } & {
671
735
  type: HookType.FALLBACK_ROUTING;
@@ -705,12 +769,20 @@ declare const HooksConfigSchema: z.ZodObject<{
705
769
  destinationChain: string;
706
770
  arbSys: string;
707
771
  bridge?: string | undefined;
772
+ } | {
773
+ type: HookType.SUPERCHAIN;
774
+ owner: string;
775
+ ownerOverrides?: Record<string, string> | undefined;
708
776
  };
709
777
  }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | ({
710
778
  type: HookType.ARB_L2_TO_L1;
711
779
  destinationChain: string;
712
780
  arbSys: string;
713
781
  bridge?: string | undefined;
782
+ } & string) | ({
783
+ type: HookType.SUPERCHAIN;
784
+ owner: string;
785
+ ownerOverrides?: Record<string, string> | undefined;
714
786
  } & string);
715
787
  required: string | {
716
788
  type: HookType.PROTOCOL_FEE;
@@ -748,6 +820,10 @@ declare const HooksConfigSchema: z.ZodObject<{
748
820
  destinationChain: string;
749
821
  arbSys: string;
750
822
  bridge?: string | undefined;
823
+ } | {
824
+ type: HookType.SUPERCHAIN;
825
+ owner: string;
826
+ ownerOverrides?: Record<string, string> | undefined;
751
827
  } | (string & {
752
828
  type: HookType.PROTOCOL_FEE;
753
829
  owner: string;
@@ -819,6 +895,10 @@ declare const HooksConfigSchema: z.ZodObject<{
819
895
  destinationChain: string;
820
896
  arbSys: string;
821
897
  bridge?: string | undefined;
898
+ } | {
899
+ type: HookType.SUPERCHAIN;
900
+ owner: string;
901
+ ownerOverrides?: Record<string, string> | undefined;
822
902
  }>;
823
903
  } & {
824
904
  type: HookType.ROUTING;
@@ -862,6 +942,10 @@ declare const HooksConfigSchema: z.ZodObject<{
862
942
  destinationChain: string;
863
943
  arbSys: string;
864
944
  bridge?: string | undefined;
945
+ } | {
946
+ type: HookType.SUPERCHAIN;
947
+ owner: string;
948
+ ownerOverrides?: Record<string, string> | undefined;
865
949
  }>;
866
950
  } & {
867
951
  type: HookType.FALLBACK_ROUTING;
@@ -901,12 +985,20 @@ declare const HooksConfigSchema: z.ZodObject<{
901
985
  destinationChain: string;
902
986
  arbSys: string;
903
987
  bridge?: string | undefined;
988
+ } | {
989
+ type: HookType.SUPERCHAIN;
990
+ owner: string;
991
+ ownerOverrides?: Record<string, string> | undefined;
904
992
  };
905
993
  }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | (string & {
906
994
  type: HookType.ARB_L2_TO_L1;
907
995
  destinationChain: string;
908
996
  arbSys: string;
909
997
  bridge?: string | undefined;
998
+ }) | (string & {
999
+ type: HookType.SUPERCHAIN;
1000
+ owner: string;
1001
+ ownerOverrides?: Record<string, string> | undefined;
910
1002
  }) | ({
911
1003
  type: HookType.PROTOCOL_FEE;
912
1004
  owner: string;
@@ -978,6 +1070,10 @@ declare const HooksConfigSchema: z.ZodObject<{
978
1070
  destinationChain: string;
979
1071
  arbSys: string;
980
1072
  bridge?: string | undefined;
1073
+ } | {
1074
+ type: HookType.SUPERCHAIN;
1075
+ owner: string;
1076
+ ownerOverrides?: Record<string, string> | undefined;
981
1077
  }>;
982
1078
  } & {
983
1079
  type: HookType.ROUTING;
@@ -1021,6 +1117,10 @@ declare const HooksConfigSchema: z.ZodObject<{
1021
1117
  destinationChain: string;
1022
1118
  arbSys: string;
1023
1119
  bridge?: string | undefined;
1120
+ } | {
1121
+ type: HookType.SUPERCHAIN;
1122
+ owner: string;
1123
+ ownerOverrides?: Record<string, string> | undefined;
1024
1124
  }>;
1025
1125
  } & {
1026
1126
  type: HookType.ROUTING;
@@ -1064,6 +1164,10 @@ declare const HooksConfigSchema: z.ZodObject<{
1064
1164
  destinationChain: string;
1065
1165
  arbSys: string;
1066
1166
  bridge?: string | undefined;
1167
+ } | {
1168
+ type: HookType.SUPERCHAIN;
1169
+ owner: string;
1170
+ ownerOverrides?: Record<string, string> | undefined;
1067
1171
  }>;
1068
1172
  } & {
1069
1173
  type: HookType.FALLBACK_ROUTING;
@@ -1103,6 +1207,10 @@ declare const HooksConfigSchema: z.ZodObject<{
1103
1207
  destinationChain: string;
1104
1208
  arbSys: string;
1105
1209
  bridge?: string | undefined;
1210
+ } | {
1211
+ type: HookType.SUPERCHAIN;
1212
+ owner: string;
1213
+ ownerOverrides?: Record<string, string> | undefined;
1106
1214
  };
1107
1215
  } & string) | ({
1108
1216
  owner: string;
@@ -1144,6 +1252,10 @@ declare const HooksConfigSchema: z.ZodObject<{
1144
1252
  destinationChain: string;
1145
1253
  arbSys: string;
1146
1254
  bridge?: string | undefined;
1255
+ } | {
1256
+ type: HookType.SUPERCHAIN;
1257
+ owner: string;
1258
+ ownerOverrides?: Record<string, string> | undefined;
1147
1259
  }>;
1148
1260
  } & {
1149
1261
  type: HookType.FALLBACK_ROUTING;
@@ -1183,12 +1295,20 @@ declare const HooksConfigSchema: z.ZodObject<{
1183
1295
  destinationChain: string;
1184
1296
  arbSys: string;
1185
1297
  bridge?: string | undefined;
1298
+ } | {
1299
+ type: HookType.SUPERCHAIN;
1300
+ owner: string;
1301
+ ownerOverrides?: Record<string, string> | undefined;
1186
1302
  };
1187
1303
  }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | ({
1188
1304
  type: HookType.ARB_L2_TO_L1;
1189
1305
  destinationChain: string;
1190
1306
  arbSys: string;
1191
1307
  bridge?: string | undefined;
1308
+ } & string) | ({
1309
+ type: HookType.SUPERCHAIN;
1310
+ owner: string;
1311
+ ownerOverrides?: Record<string, string> | undefined;
1192
1312
  } & string);
1193
1313
  }, {
1194
1314
  default: string | {
@@ -1227,6 +1347,10 @@ declare const HooksConfigSchema: z.ZodObject<{
1227
1347
  destinationChain: string;
1228
1348
  arbSys: string;
1229
1349
  bridge?: string | undefined;
1350
+ } | {
1351
+ type: HookType.SUPERCHAIN;
1352
+ owner: string;
1353
+ ownerOverrides?: Record<string, string> | undefined;
1230
1354
  } | (string & {
1231
1355
  owner: string;
1232
1356
  ownerOverrides?: Record<string, string> | undefined;
@@ -1267,6 +1391,10 @@ declare const HooksConfigSchema: z.ZodObject<{
1267
1391
  destinationChain: string;
1268
1392
  arbSys: string;
1269
1393
  bridge?: string | undefined;
1394
+ } | {
1395
+ type: HookType.SUPERCHAIN;
1396
+ owner: string;
1397
+ ownerOverrides?: Record<string, string> | undefined;
1270
1398
  }>;
1271
1399
  } & {
1272
1400
  type: HookType.ROUTING;
@@ -1310,6 +1438,10 @@ declare const HooksConfigSchema: z.ZodObject<{
1310
1438
  destinationChain: string;
1311
1439
  arbSys: string;
1312
1440
  bridge?: string | undefined;
1441
+ } | {
1442
+ type: HookType.SUPERCHAIN;
1443
+ owner: string;
1444
+ ownerOverrides?: Record<string, string> | undefined;
1313
1445
  }>;
1314
1446
  } & {
1315
1447
  type: HookType.FALLBACK_ROUTING;
@@ -1349,6 +1481,10 @@ declare const HooksConfigSchema: z.ZodObject<{
1349
1481
  destinationChain: string;
1350
1482
  arbSys: string;
1351
1483
  bridge?: string | undefined;
1484
+ } | {
1485
+ type: HookType.SUPERCHAIN;
1486
+ owner: string;
1487
+ ownerOverrides?: Record<string, string> | undefined;
1352
1488
  };
1353
1489
  }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | ({
1354
1490
  owner: string;
@@ -1390,6 +1526,10 @@ declare const HooksConfigSchema: z.ZodObject<{
1390
1526
  destinationChain: string;
1391
1527
  arbSys: string;
1392
1528
  bridge?: string | undefined;
1529
+ } | {
1530
+ type: HookType.SUPERCHAIN;
1531
+ owner: string;
1532
+ ownerOverrides?: Record<string, string> | undefined;
1393
1533
  }>;
1394
1534
  } & {
1395
1535
  type: HookType.ROUTING;
@@ -1433,6 +1573,10 @@ declare const HooksConfigSchema: z.ZodObject<{
1433
1573
  destinationChain: string;
1434
1574
  arbSys: string;
1435
1575
  bridge?: string | undefined;
1576
+ } | {
1577
+ type: HookType.SUPERCHAIN;
1578
+ owner: string;
1579
+ ownerOverrides?: Record<string, string> | undefined;
1436
1580
  }>;
1437
1581
  } & {
1438
1582
  type: HookType.ROUTING;
@@ -1476,6 +1620,10 @@ declare const HooksConfigSchema: z.ZodObject<{
1476
1620
  destinationChain: string;
1477
1621
  arbSys: string;
1478
1622
  bridge?: string | undefined;
1623
+ } | {
1624
+ type: HookType.SUPERCHAIN;
1625
+ owner: string;
1626
+ ownerOverrides?: Record<string, string> | undefined;
1479
1627
  }>;
1480
1628
  } & {
1481
1629
  type: HookType.FALLBACK_ROUTING;
@@ -1515,6 +1663,10 @@ declare const HooksConfigSchema: z.ZodObject<{
1515
1663
  destinationChain: string;
1516
1664
  arbSys: string;
1517
1665
  bridge?: string | undefined;
1666
+ } | {
1667
+ type: HookType.SUPERCHAIN;
1668
+ owner: string;
1669
+ ownerOverrides?: Record<string, string> | undefined;
1518
1670
  };
1519
1671
  } & string) | ({
1520
1672
  owner: string;
@@ -1556,6 +1708,10 @@ declare const HooksConfigSchema: z.ZodObject<{
1556
1708
  destinationChain: string;
1557
1709
  arbSys: string;
1558
1710
  bridge?: string | undefined;
1711
+ } | {
1712
+ type: HookType.SUPERCHAIN;
1713
+ owner: string;
1714
+ ownerOverrides?: Record<string, string> | undefined;
1559
1715
  }>;
1560
1716
  } & {
1561
1717
  type: HookType.FALLBACK_ROUTING;
@@ -1595,6 +1751,10 @@ declare const HooksConfigSchema: z.ZodObject<{
1595
1751
  destinationChain: string;
1596
1752
  arbSys: string;
1597
1753
  bridge?: string | undefined;
1754
+ } | {
1755
+ type: HookType.SUPERCHAIN;
1756
+ owner: string;
1757
+ ownerOverrides?: Record<string, string> | undefined;
1598
1758
  };
1599
1759
  }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | (string & {
1600
1760
  type: HookType.PROTOCOL_FEE;
@@ -1632,6 +1792,10 @@ declare const HooksConfigSchema: z.ZodObject<{
1632
1792
  destinationChain: string;
1633
1793
  arbSys: string;
1634
1794
  bridge?: string | undefined;
1795
+ }) | (string & {
1796
+ type: HookType.SUPERCHAIN;
1797
+ owner: string;
1798
+ ownerOverrides?: Record<string, string> | undefined;
1635
1799
  }) | ({
1636
1800
  type: HookType.PROTOCOL_FEE;
1637
1801
  owner: string;
@@ -1668,6 +1832,10 @@ declare const HooksConfigSchema: z.ZodObject<{
1668
1832
  destinationChain: string;
1669
1833
  arbSys: string;
1670
1834
  bridge?: string | undefined;
1835
+ } & string) | ({
1836
+ type: HookType.SUPERCHAIN;
1837
+ owner: string;
1838
+ ownerOverrides?: Record<string, string> | undefined;
1671
1839
  } & string);
1672
1840
  required: string | {
1673
1841
  type: HookType.PROTOCOL_FEE;
@@ -1705,6 +1873,10 @@ declare const HooksConfigSchema: z.ZodObject<{
1705
1873
  destinationChain: string;
1706
1874
  arbSys: string;
1707
1875
  bridge?: string | undefined;
1876
+ } | {
1877
+ type: HookType.SUPERCHAIN;
1878
+ owner: string;
1879
+ ownerOverrides?: Record<string, string> | undefined;
1708
1880
  } | (string & {
1709
1881
  owner: string;
1710
1882
  ownerOverrides?: Record<string, string> | undefined;
@@ -1745,6 +1917,10 @@ declare const HooksConfigSchema: z.ZodObject<{
1745
1917
  destinationChain: string;
1746
1918
  arbSys: string;
1747
1919
  bridge?: string | undefined;
1920
+ } | {
1921
+ type: HookType.SUPERCHAIN;
1922
+ owner: string;
1923
+ ownerOverrides?: Record<string, string> | undefined;
1748
1924
  }>;
1749
1925
  } & {
1750
1926
  type: HookType.ROUTING;
@@ -1788,6 +1964,10 @@ declare const HooksConfigSchema: z.ZodObject<{
1788
1964
  destinationChain: string;
1789
1965
  arbSys: string;
1790
1966
  bridge?: string | undefined;
1967
+ } | {
1968
+ type: HookType.SUPERCHAIN;
1969
+ owner: string;
1970
+ ownerOverrides?: Record<string, string> | undefined;
1791
1971
  }>;
1792
1972
  } & {
1793
1973
  type: HookType.FALLBACK_ROUTING;
@@ -1827,6 +2007,10 @@ declare const HooksConfigSchema: z.ZodObject<{
1827
2007
  destinationChain: string;
1828
2008
  arbSys: string;
1829
2009
  bridge?: string | undefined;
2010
+ } | {
2011
+ type: HookType.SUPERCHAIN;
2012
+ owner: string;
2013
+ ownerOverrides?: Record<string, string> | undefined;
1830
2014
  };
1831
2015
  }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | ({
1832
2016
  owner: string;
@@ -1868,6 +2052,10 @@ declare const HooksConfigSchema: z.ZodObject<{
1868
2052
  destinationChain: string;
1869
2053
  arbSys: string;
1870
2054
  bridge?: string | undefined;
2055
+ } | {
2056
+ type: HookType.SUPERCHAIN;
2057
+ owner: string;
2058
+ ownerOverrides?: Record<string, string> | undefined;
1871
2059
  }>;
1872
2060
  } & {
1873
2061
  type: HookType.ROUTING;
@@ -1911,6 +2099,10 @@ declare const HooksConfigSchema: z.ZodObject<{
1911
2099
  destinationChain: string;
1912
2100
  arbSys: string;
1913
2101
  bridge?: string | undefined;
2102
+ } | {
2103
+ type: HookType.SUPERCHAIN;
2104
+ owner: string;
2105
+ ownerOverrides?: Record<string, string> | undefined;
1914
2106
  }>;
1915
2107
  } & {
1916
2108
  type: HookType.ROUTING;
@@ -1954,6 +2146,10 @@ declare const HooksConfigSchema: z.ZodObject<{
1954
2146
  destinationChain: string;
1955
2147
  arbSys: string;
1956
2148
  bridge?: string | undefined;
2149
+ } | {
2150
+ type: HookType.SUPERCHAIN;
2151
+ owner: string;
2152
+ ownerOverrides?: Record<string, string> | undefined;
1957
2153
  }>;
1958
2154
  } & {
1959
2155
  type: HookType.FALLBACK_ROUTING;
@@ -1993,6 +2189,10 @@ declare const HooksConfigSchema: z.ZodObject<{
1993
2189
  destinationChain: string;
1994
2190
  arbSys: string;
1995
2191
  bridge?: string | undefined;
2192
+ } | {
2193
+ type: HookType.SUPERCHAIN;
2194
+ owner: string;
2195
+ ownerOverrides?: Record<string, string> | undefined;
1996
2196
  };
1997
2197
  } & string) | ({
1998
2198
  owner: string;
@@ -2034,6 +2234,10 @@ declare const HooksConfigSchema: z.ZodObject<{
2034
2234
  destinationChain: string;
2035
2235
  arbSys: string;
2036
2236
  bridge?: string | undefined;
2237
+ } | {
2238
+ type: HookType.SUPERCHAIN;
2239
+ owner: string;
2240
+ ownerOverrides?: Record<string, string> | undefined;
2037
2241
  }>;
2038
2242
  } & {
2039
2243
  type: HookType.FALLBACK_ROUTING;
@@ -2073,6 +2277,10 @@ declare const HooksConfigSchema: z.ZodObject<{
2073
2277
  destinationChain: string;
2074
2278
  arbSys: string;
2075
2279
  bridge?: string | undefined;
2280
+ } | {
2281
+ type: HookType.SUPERCHAIN;
2282
+ owner: string;
2283
+ ownerOverrides?: Record<string, string> | undefined;
2076
2284
  };
2077
2285
  }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | (string & {
2078
2286
  type: HookType.PROTOCOL_FEE;
@@ -2110,6 +2318,10 @@ declare const HooksConfigSchema: z.ZodObject<{
2110
2318
  destinationChain: string;
2111
2319
  arbSys: string;
2112
2320
  bridge?: string | undefined;
2321
+ }) | (string & {
2322
+ type: HookType.SUPERCHAIN;
2323
+ owner: string;
2324
+ ownerOverrides?: Record<string, string> | undefined;
2113
2325
  }) | ({
2114
2326
  type: HookType.PROTOCOL_FEE;
2115
2327
  owner: string;
@@ -2146,6 +2358,10 @@ declare const HooksConfigSchema: z.ZodObject<{
2146
2358
  destinationChain: string;
2147
2359
  arbSys: string;
2148
2360
  bridge?: string | undefined;
2361
+ } & string) | ({
2362
+ type: HookType.SUPERCHAIN;
2363
+ owner: string;
2364
+ ownerOverrides?: Record<string, string> | undefined;
2149
2365
  } & string);
2150
2366
  }>;
2151
2367
  export type HooksConfig = z.infer<typeof HooksConfigSchema>;
@@ -2264,6 +2480,18 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2264
2480
  destinationChain: string;
2265
2481
  arbSys: string;
2266
2482
  bridge?: string | undefined;
2483
+ }>, z.ZodObject<{
2484
+ owner: z.ZodString;
2485
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2486
+ type: z.ZodLiteral<HookType.SUPERCHAIN>;
2487
+ }, "strip", z.ZodTypeAny, {
2488
+ type: HookType.SUPERCHAIN;
2489
+ owner: string;
2490
+ ownerOverrides?: Record<string, string> | undefined;
2491
+ }, {
2492
+ type: HookType.SUPERCHAIN;
2493
+ owner: string;
2494
+ ownerOverrides?: Record<string, string> | undefined;
2267
2495
  }>]>;
2268
2496
  required: z.ZodUnion<[z.ZodString, z.ZodObject<{
2269
2497
  owner: z.ZodString;
@@ -2379,6 +2607,18 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2379
2607
  destinationChain: string;
2380
2608
  arbSys: string;
2381
2609
  bridge?: string | undefined;
2610
+ }>, z.ZodObject<{
2611
+ owner: z.ZodString;
2612
+ ownerOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2613
+ type: z.ZodLiteral<HookType.SUPERCHAIN>;
2614
+ }, "strip", z.ZodTypeAny, {
2615
+ type: HookType.SUPERCHAIN;
2616
+ owner: string;
2617
+ ownerOverrides?: Record<string, string> | undefined;
2618
+ }, {
2619
+ type: HookType.SUPERCHAIN;
2620
+ owner: string;
2621
+ ownerOverrides?: Record<string, string> | undefined;
2382
2622
  }>]>;
2383
2623
  }, "strip", z.ZodTypeAny, {
2384
2624
  default: string | {
@@ -2417,6 +2657,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2417
2657
  destinationChain: string;
2418
2658
  arbSys: string;
2419
2659
  bridge?: string | undefined;
2660
+ } | {
2661
+ type: HookType.SUPERCHAIN;
2662
+ owner: string;
2663
+ ownerOverrides?: Record<string, string> | undefined;
2420
2664
  } | (string & {
2421
2665
  type: HookType.PROTOCOL_FEE;
2422
2666
  owner: string;
@@ -2488,6 +2732,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2488
2732
  destinationChain: string;
2489
2733
  arbSys: string;
2490
2734
  bridge?: string | undefined;
2735
+ } | {
2736
+ type: HookType.SUPERCHAIN;
2737
+ owner: string;
2738
+ ownerOverrides?: Record<string, string> | undefined;
2491
2739
  }>;
2492
2740
  } & {
2493
2741
  type: HookType.ROUTING;
@@ -2531,6 +2779,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2531
2779
  destinationChain: string;
2532
2780
  arbSys: string;
2533
2781
  bridge?: string | undefined;
2782
+ } | {
2783
+ type: HookType.SUPERCHAIN;
2784
+ owner: string;
2785
+ ownerOverrides?: Record<string, string> | undefined;
2534
2786
  }>;
2535
2787
  } & {
2536
2788
  type: HookType.FALLBACK_ROUTING;
@@ -2570,12 +2822,20 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2570
2822
  destinationChain: string;
2571
2823
  arbSys: string;
2572
2824
  bridge?: string | undefined;
2825
+ } | {
2826
+ type: HookType.SUPERCHAIN;
2827
+ owner: string;
2828
+ ownerOverrides?: Record<string, string> | undefined;
2573
2829
  };
2574
2830
  }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | (string & {
2575
2831
  type: HookType.ARB_L2_TO_L1;
2576
2832
  destinationChain: string;
2577
2833
  arbSys: string;
2578
2834
  bridge?: string | undefined;
2835
+ }) | (string & {
2836
+ type: HookType.SUPERCHAIN;
2837
+ owner: string;
2838
+ ownerOverrides?: Record<string, string> | undefined;
2579
2839
  }) | ({
2580
2840
  type: HookType.PROTOCOL_FEE;
2581
2841
  owner: string;
@@ -2647,6 +2907,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2647
2907
  destinationChain: string;
2648
2908
  arbSys: string;
2649
2909
  bridge?: string | undefined;
2910
+ } | {
2911
+ type: HookType.SUPERCHAIN;
2912
+ owner: string;
2913
+ ownerOverrides?: Record<string, string> | undefined;
2650
2914
  }>;
2651
2915
  } & {
2652
2916
  type: HookType.ROUTING;
@@ -2690,6 +2954,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2690
2954
  destinationChain: string;
2691
2955
  arbSys: string;
2692
2956
  bridge?: string | undefined;
2957
+ } | {
2958
+ type: HookType.SUPERCHAIN;
2959
+ owner: string;
2960
+ ownerOverrides?: Record<string, string> | undefined;
2693
2961
  }>;
2694
2962
  } & {
2695
2963
  type: HookType.ROUTING;
@@ -2733,6 +3001,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2733
3001
  destinationChain: string;
2734
3002
  arbSys: string;
2735
3003
  bridge?: string | undefined;
3004
+ } | {
3005
+ type: HookType.SUPERCHAIN;
3006
+ owner: string;
3007
+ ownerOverrides?: Record<string, string> | undefined;
2736
3008
  }>;
2737
3009
  } & {
2738
3010
  type: HookType.FALLBACK_ROUTING;
@@ -2772,6 +3044,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2772
3044
  destinationChain: string;
2773
3045
  arbSys: string;
2774
3046
  bridge?: string | undefined;
3047
+ } | {
3048
+ type: HookType.SUPERCHAIN;
3049
+ owner: string;
3050
+ ownerOverrides?: Record<string, string> | undefined;
2775
3051
  };
2776
3052
  } & string) | ({
2777
3053
  owner: string;
@@ -2813,6 +3089,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2813
3089
  destinationChain: string;
2814
3090
  arbSys: string;
2815
3091
  bridge?: string | undefined;
3092
+ } | {
3093
+ type: HookType.SUPERCHAIN;
3094
+ owner: string;
3095
+ ownerOverrides?: Record<string, string> | undefined;
2816
3096
  }>;
2817
3097
  } & {
2818
3098
  type: HookType.FALLBACK_ROUTING;
@@ -2852,12 +3132,20 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2852
3132
  destinationChain: string;
2853
3133
  arbSys: string;
2854
3134
  bridge?: string | undefined;
3135
+ } | {
3136
+ type: HookType.SUPERCHAIN;
3137
+ owner: string;
3138
+ ownerOverrides?: Record<string, string> | undefined;
2855
3139
  };
2856
3140
  }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | ({
2857
3141
  type: HookType.ARB_L2_TO_L1;
2858
3142
  destinationChain: string;
2859
3143
  arbSys: string;
2860
3144
  bridge?: string | undefined;
3145
+ } & string) | ({
3146
+ type: HookType.SUPERCHAIN;
3147
+ owner: string;
3148
+ ownerOverrides?: Record<string, string> | undefined;
2861
3149
  } & string);
2862
3150
  required: string | {
2863
3151
  type: HookType.PROTOCOL_FEE;
@@ -2895,6 +3183,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2895
3183
  destinationChain: string;
2896
3184
  arbSys: string;
2897
3185
  bridge?: string | undefined;
3186
+ } | {
3187
+ type: HookType.SUPERCHAIN;
3188
+ owner: string;
3189
+ ownerOverrides?: Record<string, string> | undefined;
2898
3190
  } | (string & {
2899
3191
  type: HookType.PROTOCOL_FEE;
2900
3192
  owner: string;
@@ -2966,6 +3258,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2966
3258
  destinationChain: string;
2967
3259
  arbSys: string;
2968
3260
  bridge?: string | undefined;
3261
+ } | {
3262
+ type: HookType.SUPERCHAIN;
3263
+ owner: string;
3264
+ ownerOverrides?: Record<string, string> | undefined;
2969
3265
  }>;
2970
3266
  } & {
2971
3267
  type: HookType.ROUTING;
@@ -3009,6 +3305,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3009
3305
  destinationChain: string;
3010
3306
  arbSys: string;
3011
3307
  bridge?: string | undefined;
3308
+ } | {
3309
+ type: HookType.SUPERCHAIN;
3310
+ owner: string;
3311
+ ownerOverrides?: Record<string, string> | undefined;
3012
3312
  }>;
3013
3313
  } & {
3014
3314
  type: HookType.FALLBACK_ROUTING;
@@ -3048,12 +3348,20 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3048
3348
  destinationChain: string;
3049
3349
  arbSys: string;
3050
3350
  bridge?: string | undefined;
3351
+ } | {
3352
+ type: HookType.SUPERCHAIN;
3353
+ owner: string;
3354
+ ownerOverrides?: Record<string, string> | undefined;
3051
3355
  };
3052
3356
  }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | (string & {
3053
3357
  type: HookType.ARB_L2_TO_L1;
3054
3358
  destinationChain: string;
3055
3359
  arbSys: string;
3056
3360
  bridge?: string | undefined;
3361
+ }) | (string & {
3362
+ type: HookType.SUPERCHAIN;
3363
+ owner: string;
3364
+ ownerOverrides?: Record<string, string> | undefined;
3057
3365
  }) | ({
3058
3366
  type: HookType.PROTOCOL_FEE;
3059
3367
  owner: string;
@@ -3125,6 +3433,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3125
3433
  destinationChain: string;
3126
3434
  arbSys: string;
3127
3435
  bridge?: string | undefined;
3436
+ } | {
3437
+ type: HookType.SUPERCHAIN;
3438
+ owner: string;
3439
+ ownerOverrides?: Record<string, string> | undefined;
3128
3440
  }>;
3129
3441
  } & {
3130
3442
  type: HookType.ROUTING;
@@ -3168,6 +3480,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3168
3480
  destinationChain: string;
3169
3481
  arbSys: string;
3170
3482
  bridge?: string | undefined;
3483
+ } | {
3484
+ type: HookType.SUPERCHAIN;
3485
+ owner: string;
3486
+ ownerOverrides?: Record<string, string> | undefined;
3171
3487
  }>;
3172
3488
  } & {
3173
3489
  type: HookType.ROUTING;
@@ -3211,6 +3527,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3211
3527
  destinationChain: string;
3212
3528
  arbSys: string;
3213
3529
  bridge?: string | undefined;
3530
+ } | {
3531
+ type: HookType.SUPERCHAIN;
3532
+ owner: string;
3533
+ ownerOverrides?: Record<string, string> | undefined;
3214
3534
  }>;
3215
3535
  } & {
3216
3536
  type: HookType.FALLBACK_ROUTING;
@@ -3250,6 +3570,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3250
3570
  destinationChain: string;
3251
3571
  arbSys: string;
3252
3572
  bridge?: string | undefined;
3573
+ } | {
3574
+ type: HookType.SUPERCHAIN;
3575
+ owner: string;
3576
+ ownerOverrides?: Record<string, string> | undefined;
3253
3577
  };
3254
3578
  } & string) | ({
3255
3579
  owner: string;
@@ -3291,6 +3615,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3291
3615
  destinationChain: string;
3292
3616
  arbSys: string;
3293
3617
  bridge?: string | undefined;
3618
+ } | {
3619
+ type: HookType.SUPERCHAIN;
3620
+ owner: string;
3621
+ ownerOverrides?: Record<string, string> | undefined;
3294
3622
  }>;
3295
3623
  } & {
3296
3624
  type: HookType.FALLBACK_ROUTING;
@@ -3330,12 +3658,20 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3330
3658
  destinationChain: string;
3331
3659
  arbSys: string;
3332
3660
  bridge?: string | undefined;
3661
+ } | {
3662
+ type: HookType.SUPERCHAIN;
3663
+ owner: string;
3664
+ ownerOverrides?: Record<string, string> | undefined;
3333
3665
  };
3334
3666
  }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | ({
3335
3667
  type: HookType.ARB_L2_TO_L1;
3336
3668
  destinationChain: string;
3337
3669
  arbSys: string;
3338
3670
  bridge?: string | undefined;
3671
+ } & string) | ({
3672
+ type: HookType.SUPERCHAIN;
3673
+ owner: string;
3674
+ ownerOverrides?: Record<string, string> | undefined;
3339
3675
  } & string);
3340
3676
  }, {
3341
3677
  default: string | {
@@ -3374,6 +3710,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3374
3710
  destinationChain: string;
3375
3711
  arbSys: string;
3376
3712
  bridge?: string | undefined;
3713
+ } | {
3714
+ type: HookType.SUPERCHAIN;
3715
+ owner: string;
3716
+ ownerOverrides?: Record<string, string> | undefined;
3377
3717
  } | (string & {
3378
3718
  owner: string;
3379
3719
  ownerOverrides?: Record<string, string> | undefined;
@@ -3414,6 +3754,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3414
3754
  destinationChain: string;
3415
3755
  arbSys: string;
3416
3756
  bridge?: string | undefined;
3757
+ } | {
3758
+ type: HookType.SUPERCHAIN;
3759
+ owner: string;
3760
+ ownerOverrides?: Record<string, string> | undefined;
3417
3761
  }>;
3418
3762
  } & {
3419
3763
  type: HookType.ROUTING;
@@ -3457,6 +3801,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3457
3801
  destinationChain: string;
3458
3802
  arbSys: string;
3459
3803
  bridge?: string | undefined;
3804
+ } | {
3805
+ type: HookType.SUPERCHAIN;
3806
+ owner: string;
3807
+ ownerOverrides?: Record<string, string> | undefined;
3460
3808
  }>;
3461
3809
  } & {
3462
3810
  type: HookType.FALLBACK_ROUTING;
@@ -3496,6 +3844,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3496
3844
  destinationChain: string;
3497
3845
  arbSys: string;
3498
3846
  bridge?: string | undefined;
3847
+ } | {
3848
+ type: HookType.SUPERCHAIN;
3849
+ owner: string;
3850
+ ownerOverrides?: Record<string, string> | undefined;
3499
3851
  };
3500
3852
  }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | ({
3501
3853
  owner: string;
@@ -3537,6 +3889,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3537
3889
  destinationChain: string;
3538
3890
  arbSys: string;
3539
3891
  bridge?: string | undefined;
3892
+ } | {
3893
+ type: HookType.SUPERCHAIN;
3894
+ owner: string;
3895
+ ownerOverrides?: Record<string, string> | undefined;
3540
3896
  }>;
3541
3897
  } & {
3542
3898
  type: HookType.ROUTING;
@@ -3580,6 +3936,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3580
3936
  destinationChain: string;
3581
3937
  arbSys: string;
3582
3938
  bridge?: string | undefined;
3939
+ } | {
3940
+ type: HookType.SUPERCHAIN;
3941
+ owner: string;
3942
+ ownerOverrides?: Record<string, string> | undefined;
3583
3943
  }>;
3584
3944
  } & {
3585
3945
  type: HookType.ROUTING;
@@ -3623,6 +3983,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3623
3983
  destinationChain: string;
3624
3984
  arbSys: string;
3625
3985
  bridge?: string | undefined;
3986
+ } | {
3987
+ type: HookType.SUPERCHAIN;
3988
+ owner: string;
3989
+ ownerOverrides?: Record<string, string> | undefined;
3626
3990
  }>;
3627
3991
  } & {
3628
3992
  type: HookType.FALLBACK_ROUTING;
@@ -3662,6 +4026,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3662
4026
  destinationChain: string;
3663
4027
  arbSys: string;
3664
4028
  bridge?: string | undefined;
4029
+ } | {
4030
+ type: HookType.SUPERCHAIN;
4031
+ owner: string;
4032
+ ownerOverrides?: Record<string, string> | undefined;
3665
4033
  };
3666
4034
  } & string) | ({
3667
4035
  owner: string;
@@ -3703,6 +4071,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3703
4071
  destinationChain: string;
3704
4072
  arbSys: string;
3705
4073
  bridge?: string | undefined;
4074
+ } | {
4075
+ type: HookType.SUPERCHAIN;
4076
+ owner: string;
4077
+ ownerOverrides?: Record<string, string> | undefined;
3706
4078
  }>;
3707
4079
  } & {
3708
4080
  type: HookType.FALLBACK_ROUTING;
@@ -3742,6 +4114,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3742
4114
  destinationChain: string;
3743
4115
  arbSys: string;
3744
4116
  bridge?: string | undefined;
4117
+ } | {
4118
+ type: HookType.SUPERCHAIN;
4119
+ owner: string;
4120
+ ownerOverrides?: Record<string, string> | undefined;
3745
4121
  };
3746
4122
  }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | (string & {
3747
4123
  type: HookType.PROTOCOL_FEE;
@@ -3779,6 +4155,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3779
4155
  destinationChain: string;
3780
4156
  arbSys: string;
3781
4157
  bridge?: string | undefined;
4158
+ }) | (string & {
4159
+ type: HookType.SUPERCHAIN;
4160
+ owner: string;
4161
+ ownerOverrides?: Record<string, string> | undefined;
3782
4162
  }) | ({
3783
4163
  type: HookType.PROTOCOL_FEE;
3784
4164
  owner: string;
@@ -3815,6 +4195,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3815
4195
  destinationChain: string;
3816
4196
  arbSys: string;
3817
4197
  bridge?: string | undefined;
4198
+ } & string) | ({
4199
+ type: HookType.SUPERCHAIN;
4200
+ owner: string;
4201
+ ownerOverrides?: Record<string, string> | undefined;
3818
4202
  } & string);
3819
4203
  required: string | {
3820
4204
  type: HookType.PROTOCOL_FEE;
@@ -3852,6 +4236,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3852
4236
  destinationChain: string;
3853
4237
  arbSys: string;
3854
4238
  bridge?: string | undefined;
4239
+ } | {
4240
+ type: HookType.SUPERCHAIN;
4241
+ owner: string;
4242
+ ownerOverrides?: Record<string, string> | undefined;
3855
4243
  } | (string & {
3856
4244
  owner: string;
3857
4245
  ownerOverrides?: Record<string, string> | undefined;
@@ -3892,6 +4280,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3892
4280
  destinationChain: string;
3893
4281
  arbSys: string;
3894
4282
  bridge?: string | undefined;
4283
+ } | {
4284
+ type: HookType.SUPERCHAIN;
4285
+ owner: string;
4286
+ ownerOverrides?: Record<string, string> | undefined;
3895
4287
  }>;
3896
4288
  } & {
3897
4289
  type: HookType.ROUTING;
@@ -3935,6 +4327,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3935
4327
  destinationChain: string;
3936
4328
  arbSys: string;
3937
4329
  bridge?: string | undefined;
4330
+ } | {
4331
+ type: HookType.SUPERCHAIN;
4332
+ owner: string;
4333
+ ownerOverrides?: Record<string, string> | undefined;
3938
4334
  }>;
3939
4335
  } & {
3940
4336
  type: HookType.FALLBACK_ROUTING;
@@ -3974,6 +4370,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
3974
4370
  destinationChain: string;
3975
4371
  arbSys: string;
3976
4372
  bridge?: string | undefined;
4373
+ } | {
4374
+ type: HookType.SUPERCHAIN;
4375
+ owner: string;
4376
+ ownerOverrides?: Record<string, string> | undefined;
3977
4377
  };
3978
4378
  }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | ({
3979
4379
  owner: string;
@@ -4015,6 +4415,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
4015
4415
  destinationChain: string;
4016
4416
  arbSys: string;
4017
4417
  bridge?: string | undefined;
4418
+ } | {
4419
+ type: HookType.SUPERCHAIN;
4420
+ owner: string;
4421
+ ownerOverrides?: Record<string, string> | undefined;
4018
4422
  }>;
4019
4423
  } & {
4020
4424
  type: HookType.ROUTING;
@@ -4058,6 +4462,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
4058
4462
  destinationChain: string;
4059
4463
  arbSys: string;
4060
4464
  bridge?: string | undefined;
4465
+ } | {
4466
+ type: HookType.SUPERCHAIN;
4467
+ owner: string;
4468
+ ownerOverrides?: Record<string, string> | undefined;
4061
4469
  }>;
4062
4470
  } & {
4063
4471
  type: HookType.ROUTING;
@@ -4101,6 +4509,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
4101
4509
  destinationChain: string;
4102
4510
  arbSys: string;
4103
4511
  bridge?: string | undefined;
4512
+ } | {
4513
+ type: HookType.SUPERCHAIN;
4514
+ owner: string;
4515
+ ownerOverrides?: Record<string, string> | undefined;
4104
4516
  }>;
4105
4517
  } & {
4106
4518
  type: HookType.FALLBACK_ROUTING;
@@ -4140,6 +4552,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
4140
4552
  destinationChain: string;
4141
4553
  arbSys: string;
4142
4554
  bridge?: string | undefined;
4555
+ } | {
4556
+ type: HookType.SUPERCHAIN;
4557
+ owner: string;
4558
+ ownerOverrides?: Record<string, string> | undefined;
4143
4559
  };
4144
4560
  } & string) | ({
4145
4561
  owner: string;
@@ -4181,6 +4597,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
4181
4597
  destinationChain: string;
4182
4598
  arbSys: string;
4183
4599
  bridge?: string | undefined;
4600
+ } | {
4601
+ type: HookType.SUPERCHAIN;
4602
+ owner: string;
4603
+ ownerOverrides?: Record<string, string> | undefined;
4184
4604
  }>;
4185
4605
  } & {
4186
4606
  type: HookType.FALLBACK_ROUTING;
@@ -4220,6 +4640,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
4220
4640
  destinationChain: string;
4221
4641
  arbSys: string;
4222
4642
  bridge?: string | undefined;
4643
+ } | {
4644
+ type: HookType.SUPERCHAIN;
4645
+ owner: string;
4646
+ ownerOverrides?: Record<string, string> | undefined;
4223
4647
  };
4224
4648
  }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | (string & {
4225
4649
  type: HookType.PROTOCOL_FEE;
@@ -4257,6 +4681,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
4257
4681
  destinationChain: string;
4258
4682
  arbSys: string;
4259
4683
  bridge?: string | undefined;
4684
+ }) | (string & {
4685
+ type: HookType.SUPERCHAIN;
4686
+ owner: string;
4687
+ ownerOverrides?: Record<string, string> | undefined;
4260
4688
  }) | ({
4261
4689
  type: HookType.PROTOCOL_FEE;
4262
4690
  owner: string;
@@ -4293,6 +4721,10 @@ declare const HooksConfigMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
4293
4721
  destinationChain: string;
4294
4722
  arbSys: string;
4295
4723
  bridge?: string | undefined;
4724
+ } & string) | ({
4725
+ type: HookType.SUPERCHAIN;
4726
+ owner: string;
4727
+ ownerOverrides?: Record<string, string> | undefined;
4296
4728
  } & string);
4297
4729
  }>>;
4298
4730
  export type HooksConfigMap = z.infer<typeof HooksConfigMapSchema>;
@@ -4334,6 +4766,10 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4334
4766
  destinationChain: string;
4335
4767
  arbSys: string;
4336
4768
  bridge?: string | undefined;
4769
+ } | {
4770
+ type: HookType.SUPERCHAIN;
4771
+ owner: string;
4772
+ ownerOverrides?: Record<string, string> | undefined;
4337
4773
  } | (string & {
4338
4774
  type: HookType.PROTOCOL_FEE;
4339
4775
  owner: string;
@@ -4405,6 +4841,10 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4405
4841
  destinationChain: string;
4406
4842
  arbSys: string;
4407
4843
  bridge?: string | undefined;
4844
+ } | {
4845
+ type: HookType.SUPERCHAIN;
4846
+ owner: string;
4847
+ ownerOverrides?: Record<string, string> | undefined;
4408
4848
  }>;
4409
4849
  } & {
4410
4850
  type: HookType.ROUTING;
@@ -4448,6 +4888,10 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4448
4888
  destinationChain: string;
4449
4889
  arbSys: string;
4450
4890
  bridge?: string | undefined;
4891
+ } | {
4892
+ type: HookType.SUPERCHAIN;
4893
+ owner: string;
4894
+ ownerOverrides?: Record<string, string> | undefined;
4451
4895
  }>;
4452
4896
  } & {
4453
4897
  type: HookType.FALLBACK_ROUTING;
@@ -4487,12 +4931,20 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4487
4931
  destinationChain: string;
4488
4932
  arbSys: string;
4489
4933
  bridge?: string | undefined;
4934
+ } | {
4935
+ type: HookType.SUPERCHAIN;
4936
+ owner: string;
4937
+ ownerOverrides?: Record<string, string> | undefined;
4490
4938
  };
4491
4939
  }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | (string & {
4492
4940
  type: HookType.ARB_L2_TO_L1;
4493
4941
  destinationChain: string;
4494
4942
  arbSys: string;
4495
4943
  bridge?: string | undefined;
4944
+ }) | (string & {
4945
+ type: HookType.SUPERCHAIN;
4946
+ owner: string;
4947
+ ownerOverrides?: Record<string, string> | undefined;
4496
4948
  }) | ({
4497
4949
  type: HookType.PROTOCOL_FEE;
4498
4950
  owner: string;
@@ -4564,6 +5016,10 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4564
5016
  destinationChain: string;
4565
5017
  arbSys: string;
4566
5018
  bridge?: string | undefined;
5019
+ } | {
5020
+ type: HookType.SUPERCHAIN;
5021
+ owner: string;
5022
+ ownerOverrides?: Record<string, string> | undefined;
4567
5023
  }>;
4568
5024
  } & {
4569
5025
  type: HookType.ROUTING;
@@ -4607,6 +5063,10 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4607
5063
  destinationChain: string;
4608
5064
  arbSys: string;
4609
5065
  bridge?: string | undefined;
5066
+ } | {
5067
+ type: HookType.SUPERCHAIN;
5068
+ owner: string;
5069
+ ownerOverrides?: Record<string, string> | undefined;
4610
5070
  }>;
4611
5071
  } & {
4612
5072
  type: HookType.ROUTING;
@@ -4650,6 +5110,10 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4650
5110
  destinationChain: string;
4651
5111
  arbSys: string;
4652
5112
  bridge?: string | undefined;
5113
+ } | {
5114
+ type: HookType.SUPERCHAIN;
5115
+ owner: string;
5116
+ ownerOverrides?: Record<string, string> | undefined;
4653
5117
  }>;
4654
5118
  } & {
4655
5119
  type: HookType.FALLBACK_ROUTING;
@@ -4689,6 +5153,10 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4689
5153
  destinationChain: string;
4690
5154
  arbSys: string;
4691
5155
  bridge?: string | undefined;
5156
+ } | {
5157
+ type: HookType.SUPERCHAIN;
5158
+ owner: string;
5159
+ ownerOverrides?: Record<string, string> | undefined;
4692
5160
  };
4693
5161
  } & string) | ({
4694
5162
  owner: string;
@@ -4730,6 +5198,10 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4730
5198
  destinationChain: string;
4731
5199
  arbSys: string;
4732
5200
  bridge?: string | undefined;
5201
+ } | {
5202
+ type: HookType.SUPERCHAIN;
5203
+ owner: string;
5204
+ ownerOverrides?: Record<string, string> | undefined;
4733
5205
  }>;
4734
5206
  } & {
4735
5207
  type: HookType.FALLBACK_ROUTING;
@@ -4769,12 +5241,20 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4769
5241
  destinationChain: string;
4770
5242
  arbSys: string;
4771
5243
  bridge?: string | undefined;
5244
+ } | {
5245
+ type: HookType.SUPERCHAIN;
5246
+ owner: string;
5247
+ ownerOverrides?: Record<string, string> | undefined;
4772
5248
  };
4773
5249
  }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | ({
4774
5250
  type: HookType.ARB_L2_TO_L1;
4775
5251
  destinationChain: string;
4776
5252
  arbSys: string;
4777
5253
  bridge?: string | undefined;
5254
+ } & string) | ({
5255
+ type: HookType.SUPERCHAIN;
5256
+ owner: string;
5257
+ ownerOverrides?: Record<string, string> | undefined;
4778
5258
  } & string);
4779
5259
  required: string | {
4780
5260
  type: HookType.PROTOCOL_FEE;
@@ -4812,6 +5292,10 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4812
5292
  destinationChain: string;
4813
5293
  arbSys: string;
4814
5294
  bridge?: string | undefined;
5295
+ } | {
5296
+ type: HookType.SUPERCHAIN;
5297
+ owner: string;
5298
+ ownerOverrides?: Record<string, string> | undefined;
4815
5299
  } | (string & {
4816
5300
  type: HookType.PROTOCOL_FEE;
4817
5301
  owner: string;
@@ -4883,6 +5367,10 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4883
5367
  destinationChain: string;
4884
5368
  arbSys: string;
4885
5369
  bridge?: string | undefined;
5370
+ } | {
5371
+ type: HookType.SUPERCHAIN;
5372
+ owner: string;
5373
+ ownerOverrides?: Record<string, string> | undefined;
4886
5374
  }>;
4887
5375
  } & {
4888
5376
  type: HookType.ROUTING;
@@ -4926,6 +5414,10 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4926
5414
  destinationChain: string;
4927
5415
  arbSys: string;
4928
5416
  bridge?: string | undefined;
5417
+ } | {
5418
+ type: HookType.SUPERCHAIN;
5419
+ owner: string;
5420
+ ownerOverrides?: Record<string, string> | undefined;
4929
5421
  }>;
4930
5422
  } & {
4931
5423
  type: HookType.FALLBACK_ROUTING;
@@ -4965,12 +5457,20 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
4965
5457
  destinationChain: string;
4966
5458
  arbSys: string;
4967
5459
  bridge?: string | undefined;
5460
+ } | {
5461
+ type: HookType.SUPERCHAIN;
5462
+ owner: string;
5463
+ ownerOverrides?: Record<string, string> | undefined;
4968
5464
  };
4969
5465
  }) | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | (string & {
4970
5466
  type: HookType.ARB_L2_TO_L1;
4971
5467
  destinationChain: string;
4972
5468
  arbSys: string;
4973
5469
  bridge?: string | undefined;
5470
+ }) | (string & {
5471
+ type: HookType.SUPERCHAIN;
5472
+ owner: string;
5473
+ ownerOverrides?: Record<string, string> | undefined;
4974
5474
  }) | ({
4975
5475
  type: HookType.PROTOCOL_FEE;
4976
5476
  owner: string;
@@ -5042,6 +5542,10 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
5042
5542
  destinationChain: string;
5043
5543
  arbSys: string;
5044
5544
  bridge?: string | undefined;
5545
+ } | {
5546
+ type: HookType.SUPERCHAIN;
5547
+ owner: string;
5548
+ ownerOverrides?: Record<string, string> | undefined;
5045
5549
  }>;
5046
5550
  } & {
5047
5551
  type: HookType.ROUTING;
@@ -5085,6 +5589,10 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
5085
5589
  destinationChain: string;
5086
5590
  arbSys: string;
5087
5591
  bridge?: string | undefined;
5592
+ } | {
5593
+ type: HookType.SUPERCHAIN;
5594
+ owner: string;
5595
+ ownerOverrides?: Record<string, string> | undefined;
5088
5596
  }>;
5089
5597
  } & {
5090
5598
  type: HookType.ROUTING;
@@ -5128,6 +5636,10 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
5128
5636
  destinationChain: string;
5129
5637
  arbSys: string;
5130
5638
  bridge?: string | undefined;
5639
+ } | {
5640
+ type: HookType.SUPERCHAIN;
5641
+ owner: string;
5642
+ ownerOverrides?: Record<string, string> | undefined;
5131
5643
  }>;
5132
5644
  } & {
5133
5645
  type: HookType.FALLBACK_ROUTING;
@@ -5167,6 +5679,10 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
5167
5679
  destinationChain: string;
5168
5680
  arbSys: string;
5169
5681
  bridge?: string | undefined;
5682
+ } | {
5683
+ type: HookType.SUPERCHAIN;
5684
+ owner: string;
5685
+ ownerOverrides?: Record<string, string> | undefined;
5170
5686
  };
5171
5687
  } & string) | ({
5172
5688
  owner: string;
@@ -5208,6 +5724,10 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
5208
5724
  destinationChain: string;
5209
5725
  arbSys: string;
5210
5726
  bridge?: string | undefined;
5727
+ } | {
5728
+ type: HookType.SUPERCHAIN;
5729
+ owner: string;
5730
+ ownerOverrides?: Record<string, string> | undefined;
5211
5731
  }>;
5212
5732
  } & {
5213
5733
  type: HookType.FALLBACK_ROUTING;
@@ -5247,12 +5767,20 @@ export declare function readHooksConfigMap(filePath: string): ChainMap<{
5247
5767
  destinationChain: string;
5248
5768
  arbSys: string;
5249
5769
  bridge?: string | undefined;
5770
+ } | {
5771
+ type: HookType.SUPERCHAIN;
5772
+ owner: string;
5773
+ ownerOverrides?: Record<string, string> | undefined;
5250
5774
  };
5251
5775
  }) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | ({
5252
5776
  type: HookType.ARB_L2_TO_L1;
5253
5777
  destinationChain: string;
5254
5778
  arbSys: string;
5255
5779
  bridge?: string | undefined;
5780
+ } & string) | ({
5781
+ type: HookType.SUPERCHAIN;
5782
+ owner: string;
5783
+ ownerOverrides?: Record<string, string> | undefined;
5256
5784
  } & string);
5257
5785
  }> | undefined;
5258
5786
  export declare function createHookConfig({ context, selectMessage, advanced, }: {
@@ -5296,6 +5824,10 @@ export declare const createMerkleTreeConfig: (...args: any[]) => Promise<string
5296
5824
  destinationChain: string;
5297
5825
  arbSys: string;
5298
5826
  bridge?: string | undefined;
5827
+ } | {
5828
+ type: HookType.SUPERCHAIN;
5829
+ owner: string;
5830
+ ownerOverrides?: Record<string, string> | undefined;
5299
5831
  }>;
5300
5832
  export declare const createProtocolFeeConfig: (...args: any[]) => Promise<string | {
5301
5833
  type: HookType.PROTOCOL_FEE;
@@ -5333,6 +5865,10 @@ export declare const createProtocolFeeConfig: (...args: any[]) => Promise<string
5333
5865
  destinationChain: string;
5334
5866
  arbSys: string;
5335
5867
  bridge?: string | undefined;
5868
+ } | {
5869
+ type: HookType.SUPERCHAIN;
5870
+ owner: string;
5871
+ ownerOverrides?: Record<string, string> | undefined;
5336
5872
  }>;
5337
5873
  export declare const createIGPConfig: (...args: any[]) => Promise<string | {
5338
5874
  type: HookType.PROTOCOL_FEE;
@@ -5370,6 +5906,10 @@ export declare const createIGPConfig: (...args: any[]) => Promise<string | {
5370
5906
  destinationChain: string;
5371
5907
  arbSys: string;
5372
5908
  bridge?: string | undefined;
5909
+ } | {
5910
+ type: HookType.SUPERCHAIN;
5911
+ owner: string;
5912
+ ownerOverrides?: Record<string, string> | undefined;
5373
5913
  }>;
5374
5914
  export declare const createAggregationConfig: (...args: any[]) => Promise<string | {
5375
5915
  type: HookType.PROTOCOL_FEE;
@@ -5407,6 +5947,10 @@ export declare const createAggregationConfig: (...args: any[]) => Promise<string
5407
5947
  destinationChain: string;
5408
5948
  arbSys: string;
5409
5949
  bridge?: string | undefined;
5950
+ } | {
5951
+ type: HookType.SUPERCHAIN;
5952
+ owner: string;
5953
+ ownerOverrides?: Record<string, string> | undefined;
5410
5954
  }>;
5411
5955
  export declare const createRoutingConfig: (...args: any[]) => Promise<string | {
5412
5956
  type: HookType.PROTOCOL_FEE;
@@ -5444,6 +5988,10 @@ export declare const createRoutingConfig: (...args: any[]) => Promise<string | {
5444
5988
  destinationChain: string;
5445
5989
  arbSys: string;
5446
5990
  bridge?: string | undefined;
5991
+ } | {
5992
+ type: HookType.SUPERCHAIN;
5993
+ owner: string;
5994
+ ownerOverrides?: Record<string, string> | undefined;
5447
5995
  }>;
5448
5996
  export {};
5449
5997
  //# sourceMappingURL=hooks.d.ts.map