@hyperlane-xyz/cli 4.2.0-beta1 → 5.0.0-beta.2

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 (43) hide show
  1. package/dist/src/commands/core.d.ts +5 -1
  2. package/dist/src/commands/core.d.ts.map +1 -1
  3. package/dist/src/commands/core.js +38 -7
  4. package/dist/src/commands/core.js.map +1 -1
  5. package/dist/src/config/chain.d.ts.map +1 -1
  6. package/dist/src/config/chain.js +4 -0
  7. package/dist/src/config/chain.js.map +1 -1
  8. package/dist/src/config/core.d.ts +979 -0
  9. package/dist/src/config/core.d.ts.map +1 -1
  10. package/dist/src/config/core.js +5 -1
  11. package/dist/src/config/core.js.map +1 -1
  12. package/dist/src/config/warp.d.ts.map +1 -1
  13. package/dist/src/config/warp.js +12 -1
  14. package/dist/src/config/warp.js.map +1 -1
  15. package/dist/src/deploy/core.d.ts +12 -5
  16. package/dist/src/deploy/core.d.ts.map +1 -1
  17. package/dist/src/deploy/core.js +24 -2
  18. package/dist/src/deploy/core.js.map +1 -1
  19. package/dist/src/send/message.d.ts.map +1 -1
  20. package/dist/src/send/message.js +4 -0
  21. package/dist/src/send/message.js.map +1 -1
  22. package/dist/src/send/transfer.d.ts.map +1 -1
  23. package/dist/src/send/transfer.js +4 -0
  24. package/dist/src/send/transfer.js.map +1 -1
  25. package/dist/src/status/message.d.ts.map +1 -1
  26. package/dist/src/status/message.js +4 -0
  27. package/dist/src/status/message.js.map +1 -1
  28. package/dist/src/utils/chains.d.ts.map +1 -1
  29. package/dist/src/utils/chains.js +19 -9
  30. package/dist/src/utils/chains.js.map +1 -1
  31. package/dist/src/utils/files.d.ts +9 -0
  32. package/dist/src/utils/files.d.ts.map +1 -1
  33. package/dist/src/utils/files.js +15 -1
  34. package/dist/src/utils/files.js.map +1 -1
  35. package/dist/src/utils/relay.d.ts +6 -0
  36. package/dist/src/utils/relay.d.ts.map +1 -0
  37. package/dist/src/utils/relay.js +18 -0
  38. package/dist/src/utils/relay.js.map +1 -0
  39. package/dist/src/version.d.ts +1 -1
  40. package/dist/src/version.d.ts.map +1 -1
  41. package/dist/src/version.js +1 -1
  42. package/dist/src/version.js.map +1 -1
  43. package/package.json +4 -4
@@ -4,4 +4,983 @@ export declare function createCoreDeployConfig({ context, configFilePath, advanc
4
4
  configFilePath: string;
5
5
  advanced: boolean;
6
6
  }): Promise<void>;
7
+ export declare function readCoreDeployConfigs(filePath: string): Promise<{
8
+ owner: string;
9
+ defaultHook: string | import("@hyperlane-xyz/sdk").AggregationHookConfig | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | {
10
+ type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
11
+ owner: string;
12
+ beneficiary: string;
13
+ maxProtocolFee: string;
14
+ protocolFee: string;
15
+ ownerOverrides?: Record<string, string> | undefined;
16
+ } | {
17
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
18
+ } | {
19
+ type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
20
+ owner: string;
21
+ paused: boolean;
22
+ ownerOverrides?: Record<string, string> | undefined;
23
+ } | {
24
+ type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
25
+ owner: string;
26
+ nativeBridge: string;
27
+ destinationChain: string;
28
+ ownerOverrides?: Record<string, string> | undefined;
29
+ } | {
30
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
31
+ owner: string;
32
+ beneficiary: string;
33
+ oracleKey: string;
34
+ overhead: Record<string, number>;
35
+ oracleConfig: Record<string, {
36
+ gasPrice: string;
37
+ tokenExchangeRate: string;
38
+ }>;
39
+ ownerOverrides?: Record<string, string> | undefined;
40
+ } | (string & {
41
+ type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
42
+ owner: string;
43
+ beneficiary: string;
44
+ maxProtocolFee: string;
45
+ protocolFee: string;
46
+ ownerOverrides?: Record<string, string> | undefined;
47
+ }) | (string & {
48
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
49
+ }) | (string & {
50
+ type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
51
+ owner: string;
52
+ paused: boolean;
53
+ ownerOverrides?: Record<string, string> | undefined;
54
+ }) | (string & {
55
+ type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
56
+ owner: string;
57
+ nativeBridge: string;
58
+ destinationChain: string;
59
+ ownerOverrides?: Record<string, string> | undefined;
60
+ }) | (string & {
61
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
62
+ owner: string;
63
+ beneficiary: string;
64
+ oracleKey: string;
65
+ overhead: Record<string, number>;
66
+ oracleConfig: Record<string, {
67
+ gasPrice: string;
68
+ tokenExchangeRate: string;
69
+ }>;
70
+ ownerOverrides?: Record<string, string> | undefined;
71
+ }) | (string & {
72
+ owner: string;
73
+ ownerOverrides?: Record<string, string> | undefined;
74
+ } & {
75
+ domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
76
+ type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
77
+ owner: string;
78
+ beneficiary: string;
79
+ maxProtocolFee: string;
80
+ protocolFee: string;
81
+ ownerOverrides?: Record<string, string> | undefined;
82
+ } | {
83
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
84
+ } | {
85
+ type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
86
+ owner: string;
87
+ paused: boolean;
88
+ ownerOverrides?: Record<string, string> | undefined;
89
+ } | {
90
+ type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
91
+ owner: string;
92
+ nativeBridge: string;
93
+ destinationChain: string;
94
+ ownerOverrides?: Record<string, string> | undefined;
95
+ } | {
96
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
97
+ owner: string;
98
+ beneficiary: string;
99
+ oracleKey: string;
100
+ overhead: Record<string, number>;
101
+ oracleConfig: Record<string, {
102
+ gasPrice: string;
103
+ tokenExchangeRate: string;
104
+ }>;
105
+ ownerOverrides?: Record<string, string> | undefined;
106
+ }>;
107
+ } & {
108
+ type: import("@hyperlane-xyz/sdk").HookType.ROUTING;
109
+ }) | (string & {
110
+ owner: string;
111
+ ownerOverrides?: Record<string, string> | undefined;
112
+ } & {
113
+ domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
114
+ type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
115
+ owner: string;
116
+ beneficiary: string;
117
+ maxProtocolFee: string;
118
+ protocolFee: string;
119
+ ownerOverrides?: Record<string, string> | undefined;
120
+ } | {
121
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
122
+ } | {
123
+ type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
124
+ owner: string;
125
+ paused: boolean;
126
+ ownerOverrides?: Record<string, string> | undefined;
127
+ } | {
128
+ type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
129
+ owner: string;
130
+ nativeBridge: string;
131
+ destinationChain: string;
132
+ ownerOverrides?: Record<string, string> | undefined;
133
+ } | {
134
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
135
+ owner: string;
136
+ beneficiary: string;
137
+ oracleKey: string;
138
+ overhead: Record<string, number>;
139
+ oracleConfig: Record<string, {
140
+ gasPrice: string;
141
+ tokenExchangeRate: string;
142
+ }>;
143
+ ownerOverrides?: Record<string, string> | undefined;
144
+ }>;
145
+ } & {
146
+ type: import("@hyperlane-xyz/sdk").HookType.FALLBACK_ROUTING;
147
+ fallback: string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
148
+ type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
149
+ owner: string;
150
+ beneficiary: string;
151
+ maxProtocolFee: string;
152
+ protocolFee: string;
153
+ ownerOverrides?: Record<string, string> | undefined;
154
+ } | {
155
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
156
+ } | {
157
+ type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
158
+ owner: string;
159
+ paused: boolean;
160
+ ownerOverrides?: Record<string, string> | undefined;
161
+ } | {
162
+ type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
163
+ owner: string;
164
+ nativeBridge: string;
165
+ destinationChain: string;
166
+ ownerOverrides?: Record<string, string> | undefined;
167
+ } | {
168
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
169
+ owner: string;
170
+ beneficiary: string;
171
+ oracleKey: string;
172
+ overhead: Record<string, number>;
173
+ oracleConfig: Record<string, {
174
+ gasPrice: string;
175
+ tokenExchangeRate: string;
176
+ }>;
177
+ ownerOverrides?: Record<string, string> | undefined;
178
+ };
179
+ }) | ({
180
+ type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
181
+ owner: string;
182
+ beneficiary: string;
183
+ maxProtocolFee: string;
184
+ protocolFee: string;
185
+ ownerOverrides?: Record<string, string> | undefined;
186
+ } & string) | ({
187
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
188
+ } & string) | ({
189
+ type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
190
+ owner: string;
191
+ paused: boolean;
192
+ ownerOverrides?: Record<string, string> | undefined;
193
+ } & string) | ({
194
+ type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
195
+ owner: string;
196
+ nativeBridge: string;
197
+ destinationChain: string;
198
+ ownerOverrides?: Record<string, string> | undefined;
199
+ } & string) | ({
200
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
201
+ owner: string;
202
+ beneficiary: string;
203
+ oracleKey: string;
204
+ overhead: Record<string, number>;
205
+ oracleConfig: Record<string, {
206
+ gasPrice: string;
207
+ tokenExchangeRate: string;
208
+ }>;
209
+ ownerOverrides?: Record<string, string> | undefined;
210
+ } & string) | ({
211
+ owner: string;
212
+ ownerOverrides?: Record<string, string> | undefined;
213
+ } & {
214
+ domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
215
+ type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
216
+ owner: string;
217
+ beneficiary: string;
218
+ maxProtocolFee: string;
219
+ protocolFee: string;
220
+ ownerOverrides?: Record<string, string> | undefined;
221
+ } | {
222
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
223
+ } | {
224
+ type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
225
+ owner: string;
226
+ paused: boolean;
227
+ ownerOverrides?: Record<string, string> | undefined;
228
+ } | {
229
+ type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
230
+ owner: string;
231
+ nativeBridge: string;
232
+ destinationChain: string;
233
+ ownerOverrides?: Record<string, string> | undefined;
234
+ } | {
235
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
236
+ owner: string;
237
+ beneficiary: string;
238
+ oracleKey: string;
239
+ overhead: Record<string, number>;
240
+ oracleConfig: Record<string, {
241
+ gasPrice: string;
242
+ tokenExchangeRate: string;
243
+ }>;
244
+ ownerOverrides?: Record<string, string> | undefined;
245
+ }>;
246
+ } & {
247
+ type: import("@hyperlane-xyz/sdk").HookType.ROUTING;
248
+ } & string) | ({
249
+ owner: string;
250
+ ownerOverrides?: Record<string, string> | undefined;
251
+ } & {
252
+ domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
253
+ type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
254
+ owner: string;
255
+ beneficiary: string;
256
+ maxProtocolFee: string;
257
+ protocolFee: string;
258
+ ownerOverrides?: Record<string, string> | undefined;
259
+ } | {
260
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
261
+ } | {
262
+ type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
263
+ owner: string;
264
+ paused: boolean;
265
+ ownerOverrides?: Record<string, string> | undefined;
266
+ } | {
267
+ type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
268
+ owner: string;
269
+ nativeBridge: string;
270
+ destinationChain: string;
271
+ ownerOverrides?: Record<string, string> | undefined;
272
+ } | {
273
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
274
+ owner: string;
275
+ beneficiary: string;
276
+ oracleKey: string;
277
+ overhead: Record<string, number>;
278
+ oracleConfig: Record<string, {
279
+ gasPrice: string;
280
+ tokenExchangeRate: string;
281
+ }>;
282
+ ownerOverrides?: Record<string, string> | undefined;
283
+ }>;
284
+ } & {
285
+ type: import("@hyperlane-xyz/sdk").HookType.ROUTING;
286
+ }) | ({
287
+ owner: string;
288
+ ownerOverrides?: Record<string, string> | undefined;
289
+ } & {
290
+ domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
291
+ type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
292
+ owner: string;
293
+ beneficiary: string;
294
+ maxProtocolFee: string;
295
+ protocolFee: string;
296
+ ownerOverrides?: Record<string, string> | undefined;
297
+ } | {
298
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
299
+ } | {
300
+ type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
301
+ owner: string;
302
+ paused: boolean;
303
+ ownerOverrides?: Record<string, string> | undefined;
304
+ } | {
305
+ type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
306
+ owner: string;
307
+ nativeBridge: string;
308
+ destinationChain: string;
309
+ ownerOverrides?: Record<string, string> | undefined;
310
+ } | {
311
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
312
+ owner: string;
313
+ beneficiary: string;
314
+ oracleKey: string;
315
+ overhead: Record<string, number>;
316
+ oracleConfig: Record<string, {
317
+ gasPrice: string;
318
+ tokenExchangeRate: string;
319
+ }>;
320
+ ownerOverrides?: Record<string, string> | undefined;
321
+ }>;
322
+ } & {
323
+ type: import("@hyperlane-xyz/sdk").HookType.FALLBACK_ROUTING;
324
+ fallback: string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
325
+ type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
326
+ owner: string;
327
+ beneficiary: string;
328
+ maxProtocolFee: string;
329
+ protocolFee: string;
330
+ ownerOverrides?: Record<string, string> | undefined;
331
+ } | {
332
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
333
+ } | {
334
+ type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
335
+ owner: string;
336
+ paused: boolean;
337
+ ownerOverrides?: Record<string, string> | undefined;
338
+ } | {
339
+ type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
340
+ owner: string;
341
+ nativeBridge: string;
342
+ destinationChain: string;
343
+ ownerOverrides?: Record<string, string> | undefined;
344
+ } | {
345
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
346
+ owner: string;
347
+ beneficiary: string;
348
+ oracleKey: string;
349
+ overhead: Record<string, number>;
350
+ oracleConfig: Record<string, {
351
+ gasPrice: string;
352
+ tokenExchangeRate: string;
353
+ }>;
354
+ ownerOverrides?: Record<string, string> | undefined;
355
+ };
356
+ } & string) | ({
357
+ owner: string;
358
+ ownerOverrides?: Record<string, string> | undefined;
359
+ } & {
360
+ domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
361
+ type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
362
+ owner: string;
363
+ beneficiary: string;
364
+ maxProtocolFee: string;
365
+ protocolFee: string;
366
+ ownerOverrides?: Record<string, string> | undefined;
367
+ } | {
368
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
369
+ } | {
370
+ type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
371
+ owner: string;
372
+ paused: boolean;
373
+ ownerOverrides?: Record<string, string> | undefined;
374
+ } | {
375
+ type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
376
+ owner: string;
377
+ nativeBridge: string;
378
+ destinationChain: string;
379
+ ownerOverrides?: Record<string, string> | undefined;
380
+ } | {
381
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
382
+ owner: string;
383
+ beneficiary: string;
384
+ oracleKey: string;
385
+ overhead: Record<string, number>;
386
+ oracleConfig: Record<string, {
387
+ gasPrice: string;
388
+ tokenExchangeRate: string;
389
+ }>;
390
+ ownerOverrides?: Record<string, string> | undefined;
391
+ }>;
392
+ } & {
393
+ type: import("@hyperlane-xyz/sdk").HookType.FALLBACK_ROUTING;
394
+ fallback: string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
395
+ type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
396
+ owner: string;
397
+ beneficiary: string;
398
+ maxProtocolFee: string;
399
+ protocolFee: string;
400
+ ownerOverrides?: Record<string, string> | undefined;
401
+ } | {
402
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
403
+ } | {
404
+ type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
405
+ owner: string;
406
+ paused: boolean;
407
+ ownerOverrides?: Record<string, string> | undefined;
408
+ } | {
409
+ type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
410
+ owner: string;
411
+ nativeBridge: string;
412
+ destinationChain: string;
413
+ ownerOverrides?: Record<string, string> | undefined;
414
+ } | {
415
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
416
+ owner: string;
417
+ beneficiary: string;
418
+ oracleKey: string;
419
+ overhead: Record<string, number>;
420
+ oracleConfig: Record<string, {
421
+ gasPrice: string;
422
+ tokenExchangeRate: string;
423
+ }>;
424
+ ownerOverrides?: Record<string, string> | undefined;
425
+ };
426
+ });
427
+ defaultIsm: string | import("@hyperlane-xyz/sdk").AggregationIsmConfig | {
428
+ type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
429
+ } | {
430
+ type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
431
+ relayer: string;
432
+ } | {
433
+ type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
434
+ origin: string;
435
+ nativeBridge: string;
436
+ } | ({
437
+ owner: string;
438
+ paused: boolean;
439
+ ownerOverrides?: Record<string, string> | undefined;
440
+ } & {
441
+ type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
442
+ }) | ({
443
+ validators: string[];
444
+ threshold: number;
445
+ } & {
446
+ type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG;
447
+ }) | (string & {
448
+ type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
449
+ }) | (string & {
450
+ type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
451
+ relayer: string;
452
+ }) | (string & {
453
+ type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
454
+ origin: string;
455
+ nativeBridge: string;
456
+ }) | (string & {
457
+ owner: string;
458
+ ownerOverrides?: Record<string, string> | undefined;
459
+ } & {
460
+ type: import("@hyperlane-xyz/sdk").IsmType.ROUTING | import("@hyperlane-xyz/sdk").IsmType.FALLBACK_ROUTING;
461
+ domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").RoutingIsmConfig | import("@hyperlane-xyz/sdk").AggregationIsmConfig | {
462
+ type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
463
+ } | {
464
+ type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
465
+ relayer: string;
466
+ } | {
467
+ type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
468
+ origin: string;
469
+ nativeBridge: string;
470
+ } | ({
471
+ owner: string;
472
+ paused: boolean;
473
+ ownerOverrides?: Record<string, string> | undefined;
474
+ } & {
475
+ type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
476
+ }) | ({
477
+ validators: string[];
478
+ threshold: number;
479
+ } & {
480
+ type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG;
481
+ })>;
482
+ }) | (string & {
483
+ owner: string;
484
+ paused: boolean;
485
+ ownerOverrides?: Record<string, string> | undefined;
486
+ } & {
487
+ type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
488
+ }) | (string & {
489
+ validators: string[];
490
+ threshold: number;
491
+ } & {
492
+ type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG;
493
+ }) | (string & import("@hyperlane-xyz/sdk").AggregationIsmConfig) | ({
494
+ type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
495
+ } & string) | ({
496
+ type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
497
+ relayer: string;
498
+ } & string) | ({
499
+ type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
500
+ origin: string;
501
+ nativeBridge: string;
502
+ } & string) | ({
503
+ owner: string;
504
+ ownerOverrides?: Record<string, string> | undefined;
505
+ } & {
506
+ type: import("@hyperlane-xyz/sdk").IsmType.ROUTING | import("@hyperlane-xyz/sdk").IsmType.FALLBACK_ROUTING;
507
+ domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").RoutingIsmConfig | import("@hyperlane-xyz/sdk").AggregationIsmConfig | {
508
+ type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
509
+ } | {
510
+ type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
511
+ relayer: string;
512
+ } | {
513
+ type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
514
+ origin: string;
515
+ nativeBridge: string;
516
+ } | ({
517
+ owner: string;
518
+ paused: boolean;
519
+ ownerOverrides?: Record<string, string> | undefined;
520
+ } & {
521
+ type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
522
+ }) | ({
523
+ validators: string[];
524
+ threshold: number;
525
+ } & {
526
+ type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG;
527
+ })>;
528
+ } & string) | ({
529
+ owner: string;
530
+ ownerOverrides?: Record<string, string> | undefined;
531
+ } & {
532
+ type: import("@hyperlane-xyz/sdk").IsmType.ROUTING | import("@hyperlane-xyz/sdk").IsmType.FALLBACK_ROUTING;
533
+ domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").RoutingIsmConfig | import("@hyperlane-xyz/sdk").AggregationIsmConfig | {
534
+ type: import("@hyperlane-xyz/sdk").IsmType.TEST_ISM;
535
+ } | {
536
+ type: import("@hyperlane-xyz/sdk").IsmType.TRUSTED_RELAYER;
537
+ relayer: string;
538
+ } | {
539
+ type: import("@hyperlane-xyz/sdk").IsmType.OP_STACK;
540
+ origin: string;
541
+ nativeBridge: string;
542
+ } | ({
543
+ owner: string;
544
+ paused: boolean;
545
+ ownerOverrides?: Record<string, string> | undefined;
546
+ } & {
547
+ type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
548
+ }) | ({
549
+ validators: string[];
550
+ threshold: number;
551
+ } & {
552
+ type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG;
553
+ })>;
554
+ }) | ({
555
+ owner: string;
556
+ paused: boolean;
557
+ ownerOverrides?: Record<string, string> | undefined;
558
+ } & {
559
+ type: import("@hyperlane-xyz/sdk").IsmType.PAUSABLE;
560
+ } & string) | ({
561
+ validators: string[];
562
+ threshold: number;
563
+ } & {
564
+ type: import("@hyperlane-xyz/sdk").IsmType.MERKLE_ROOT_MULTISIG | import("@hyperlane-xyz/sdk").IsmType.MESSAGE_ID_MULTISIG;
565
+ } & string) | (import("@hyperlane-xyz/sdk").AggregationIsmConfig & string);
566
+ requiredHook: string | import("@hyperlane-xyz/sdk").AggregationHookConfig | (string & import("@hyperlane-xyz/sdk").AggregationHookConfig) | (import("@hyperlane-xyz/sdk").AggregationHookConfig & string) | {
567
+ type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
568
+ owner: string;
569
+ beneficiary: string;
570
+ maxProtocolFee: string;
571
+ protocolFee: string;
572
+ ownerOverrides?: Record<string, string> | undefined;
573
+ } | {
574
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
575
+ } | {
576
+ type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
577
+ owner: string;
578
+ paused: boolean;
579
+ ownerOverrides?: Record<string, string> | undefined;
580
+ } | {
581
+ type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
582
+ owner: string;
583
+ nativeBridge: string;
584
+ destinationChain: string;
585
+ ownerOverrides?: Record<string, string> | undefined;
586
+ } | {
587
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
588
+ owner: string;
589
+ beneficiary: string;
590
+ oracleKey: string;
591
+ overhead: Record<string, number>;
592
+ oracleConfig: Record<string, {
593
+ gasPrice: string;
594
+ tokenExchangeRate: string;
595
+ }>;
596
+ ownerOverrides?: Record<string, string> | undefined;
597
+ } | (string & {
598
+ type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
599
+ owner: string;
600
+ beneficiary: string;
601
+ maxProtocolFee: string;
602
+ protocolFee: string;
603
+ ownerOverrides?: Record<string, string> | undefined;
604
+ }) | (string & {
605
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
606
+ }) | (string & {
607
+ type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
608
+ owner: string;
609
+ paused: boolean;
610
+ ownerOverrides?: Record<string, string> | undefined;
611
+ }) | (string & {
612
+ type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
613
+ owner: string;
614
+ nativeBridge: string;
615
+ destinationChain: string;
616
+ ownerOverrides?: Record<string, string> | undefined;
617
+ }) | (string & {
618
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
619
+ owner: string;
620
+ beneficiary: string;
621
+ oracleKey: string;
622
+ overhead: Record<string, number>;
623
+ oracleConfig: Record<string, {
624
+ gasPrice: string;
625
+ tokenExchangeRate: string;
626
+ }>;
627
+ ownerOverrides?: Record<string, string> | undefined;
628
+ }) | (string & {
629
+ owner: string;
630
+ ownerOverrides?: Record<string, string> | undefined;
631
+ } & {
632
+ domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
633
+ type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
634
+ owner: string;
635
+ beneficiary: string;
636
+ maxProtocolFee: string;
637
+ protocolFee: string;
638
+ ownerOverrides?: Record<string, string> | undefined;
639
+ } | {
640
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
641
+ } | {
642
+ type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
643
+ owner: string;
644
+ paused: boolean;
645
+ ownerOverrides?: Record<string, string> | undefined;
646
+ } | {
647
+ type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
648
+ owner: string;
649
+ nativeBridge: string;
650
+ destinationChain: string;
651
+ ownerOverrides?: Record<string, string> | undefined;
652
+ } | {
653
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
654
+ owner: string;
655
+ beneficiary: string;
656
+ oracleKey: string;
657
+ overhead: Record<string, number>;
658
+ oracleConfig: Record<string, {
659
+ gasPrice: string;
660
+ tokenExchangeRate: string;
661
+ }>;
662
+ ownerOverrides?: Record<string, string> | undefined;
663
+ }>;
664
+ } & {
665
+ type: import("@hyperlane-xyz/sdk").HookType.ROUTING;
666
+ }) | (string & {
667
+ owner: string;
668
+ ownerOverrides?: Record<string, string> | undefined;
669
+ } & {
670
+ domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
671
+ type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
672
+ owner: string;
673
+ beneficiary: string;
674
+ maxProtocolFee: string;
675
+ protocolFee: string;
676
+ ownerOverrides?: Record<string, string> | undefined;
677
+ } | {
678
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
679
+ } | {
680
+ type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
681
+ owner: string;
682
+ paused: boolean;
683
+ ownerOverrides?: Record<string, string> | undefined;
684
+ } | {
685
+ type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
686
+ owner: string;
687
+ nativeBridge: string;
688
+ destinationChain: string;
689
+ ownerOverrides?: Record<string, string> | undefined;
690
+ } | {
691
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
692
+ owner: string;
693
+ beneficiary: string;
694
+ oracleKey: string;
695
+ overhead: Record<string, number>;
696
+ oracleConfig: Record<string, {
697
+ gasPrice: string;
698
+ tokenExchangeRate: string;
699
+ }>;
700
+ ownerOverrides?: Record<string, string> | undefined;
701
+ }>;
702
+ } & {
703
+ type: import("@hyperlane-xyz/sdk").HookType.FALLBACK_ROUTING;
704
+ fallback: string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
705
+ type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
706
+ owner: string;
707
+ beneficiary: string;
708
+ maxProtocolFee: string;
709
+ protocolFee: string;
710
+ ownerOverrides?: Record<string, string> | undefined;
711
+ } | {
712
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
713
+ } | {
714
+ type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
715
+ owner: string;
716
+ paused: boolean;
717
+ ownerOverrides?: Record<string, string> | undefined;
718
+ } | {
719
+ type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
720
+ owner: string;
721
+ nativeBridge: string;
722
+ destinationChain: string;
723
+ ownerOverrides?: Record<string, string> | undefined;
724
+ } | {
725
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
726
+ owner: string;
727
+ beneficiary: string;
728
+ oracleKey: string;
729
+ overhead: Record<string, number>;
730
+ oracleConfig: Record<string, {
731
+ gasPrice: string;
732
+ tokenExchangeRate: string;
733
+ }>;
734
+ ownerOverrides?: Record<string, string> | undefined;
735
+ };
736
+ }) | ({
737
+ type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
738
+ owner: string;
739
+ beneficiary: string;
740
+ maxProtocolFee: string;
741
+ protocolFee: string;
742
+ ownerOverrides?: Record<string, string> | undefined;
743
+ } & string) | ({
744
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
745
+ } & string) | ({
746
+ type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
747
+ owner: string;
748
+ paused: boolean;
749
+ ownerOverrides?: Record<string, string> | undefined;
750
+ } & string) | ({
751
+ type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
752
+ owner: string;
753
+ nativeBridge: string;
754
+ destinationChain: string;
755
+ ownerOverrides?: Record<string, string> | undefined;
756
+ } & string) | ({
757
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
758
+ owner: string;
759
+ beneficiary: string;
760
+ oracleKey: string;
761
+ overhead: Record<string, number>;
762
+ oracleConfig: Record<string, {
763
+ gasPrice: string;
764
+ tokenExchangeRate: string;
765
+ }>;
766
+ ownerOverrides?: Record<string, string> | undefined;
767
+ } & string) | ({
768
+ owner: string;
769
+ ownerOverrides?: Record<string, string> | undefined;
770
+ } & {
771
+ domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
772
+ type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
773
+ owner: string;
774
+ beneficiary: string;
775
+ maxProtocolFee: string;
776
+ protocolFee: string;
777
+ ownerOverrides?: Record<string, string> | undefined;
778
+ } | {
779
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
780
+ } | {
781
+ type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
782
+ owner: string;
783
+ paused: boolean;
784
+ ownerOverrides?: Record<string, string> | undefined;
785
+ } | {
786
+ type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
787
+ owner: string;
788
+ nativeBridge: string;
789
+ destinationChain: string;
790
+ ownerOverrides?: Record<string, string> | undefined;
791
+ } | {
792
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
793
+ owner: string;
794
+ beneficiary: string;
795
+ oracleKey: string;
796
+ overhead: Record<string, number>;
797
+ oracleConfig: Record<string, {
798
+ gasPrice: string;
799
+ tokenExchangeRate: string;
800
+ }>;
801
+ ownerOverrides?: Record<string, string> | undefined;
802
+ }>;
803
+ } & {
804
+ type: import("@hyperlane-xyz/sdk").HookType.ROUTING;
805
+ } & string) | ({
806
+ owner: string;
807
+ ownerOverrides?: Record<string, string> | undefined;
808
+ } & {
809
+ domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
810
+ type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
811
+ owner: string;
812
+ beneficiary: string;
813
+ maxProtocolFee: string;
814
+ protocolFee: string;
815
+ ownerOverrides?: Record<string, string> | undefined;
816
+ } | {
817
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
818
+ } | {
819
+ type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
820
+ owner: string;
821
+ paused: boolean;
822
+ ownerOverrides?: Record<string, string> | undefined;
823
+ } | {
824
+ type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
825
+ owner: string;
826
+ nativeBridge: string;
827
+ destinationChain: string;
828
+ ownerOverrides?: Record<string, string> | undefined;
829
+ } | {
830
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
831
+ owner: string;
832
+ beneficiary: string;
833
+ oracleKey: string;
834
+ overhead: Record<string, number>;
835
+ oracleConfig: Record<string, {
836
+ gasPrice: string;
837
+ tokenExchangeRate: string;
838
+ }>;
839
+ ownerOverrides?: Record<string, string> | undefined;
840
+ }>;
841
+ } & {
842
+ type: import("@hyperlane-xyz/sdk").HookType.ROUTING;
843
+ }) | ({
844
+ owner: string;
845
+ ownerOverrides?: Record<string, string> | undefined;
846
+ } & {
847
+ domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
848
+ type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
849
+ owner: string;
850
+ beneficiary: string;
851
+ maxProtocolFee: string;
852
+ protocolFee: string;
853
+ ownerOverrides?: Record<string, string> | undefined;
854
+ } | {
855
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
856
+ } | {
857
+ type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
858
+ owner: string;
859
+ paused: boolean;
860
+ ownerOverrides?: Record<string, string> | undefined;
861
+ } | {
862
+ type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
863
+ owner: string;
864
+ nativeBridge: string;
865
+ destinationChain: string;
866
+ ownerOverrides?: Record<string, string> | undefined;
867
+ } | {
868
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
869
+ owner: string;
870
+ beneficiary: string;
871
+ oracleKey: string;
872
+ overhead: Record<string, number>;
873
+ oracleConfig: Record<string, {
874
+ gasPrice: string;
875
+ tokenExchangeRate: string;
876
+ }>;
877
+ ownerOverrides?: Record<string, string> | undefined;
878
+ }>;
879
+ } & {
880
+ type: import("@hyperlane-xyz/sdk").HookType.FALLBACK_ROUTING;
881
+ fallback: string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
882
+ type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
883
+ owner: string;
884
+ beneficiary: string;
885
+ maxProtocolFee: string;
886
+ protocolFee: string;
887
+ ownerOverrides?: Record<string, string> | undefined;
888
+ } | {
889
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
890
+ } | {
891
+ type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
892
+ owner: string;
893
+ paused: boolean;
894
+ ownerOverrides?: Record<string, string> | undefined;
895
+ } | {
896
+ type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
897
+ owner: string;
898
+ nativeBridge: string;
899
+ destinationChain: string;
900
+ ownerOverrides?: Record<string, string> | undefined;
901
+ } | {
902
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
903
+ owner: string;
904
+ beneficiary: string;
905
+ oracleKey: string;
906
+ overhead: Record<string, number>;
907
+ oracleConfig: Record<string, {
908
+ gasPrice: string;
909
+ tokenExchangeRate: string;
910
+ }>;
911
+ ownerOverrides?: Record<string, string> | undefined;
912
+ };
913
+ } & string) | ({
914
+ owner: string;
915
+ ownerOverrides?: Record<string, string> | undefined;
916
+ } & {
917
+ domains: import("@hyperlane-xyz/sdk").ChainMap<string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
918
+ type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
919
+ owner: string;
920
+ beneficiary: string;
921
+ maxProtocolFee: string;
922
+ protocolFee: string;
923
+ ownerOverrides?: Record<string, string> | undefined;
924
+ } | {
925
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
926
+ } | {
927
+ type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
928
+ owner: string;
929
+ paused: boolean;
930
+ ownerOverrides?: Record<string, string> | undefined;
931
+ } | {
932
+ type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
933
+ owner: string;
934
+ nativeBridge: string;
935
+ destinationChain: string;
936
+ ownerOverrides?: Record<string, string> | undefined;
937
+ } | {
938
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
939
+ owner: string;
940
+ beneficiary: string;
941
+ oracleKey: string;
942
+ overhead: Record<string, number>;
943
+ oracleConfig: Record<string, {
944
+ gasPrice: string;
945
+ tokenExchangeRate: string;
946
+ }>;
947
+ ownerOverrides?: Record<string, string> | undefined;
948
+ }>;
949
+ } & {
950
+ type: import("@hyperlane-xyz/sdk").HookType.FALLBACK_ROUTING;
951
+ fallback: string | import("@hyperlane-xyz/sdk").DomainRoutingHookConfig | import("@hyperlane-xyz/sdk").FallbackRoutingHookConfig | import("@hyperlane-xyz/sdk").AggregationHookConfig | {
952
+ type: import("@hyperlane-xyz/sdk").HookType.PROTOCOL_FEE;
953
+ owner: string;
954
+ beneficiary: string;
955
+ maxProtocolFee: string;
956
+ protocolFee: string;
957
+ ownerOverrides?: Record<string, string> | undefined;
958
+ } | {
959
+ type: import("@hyperlane-xyz/sdk").HookType.MERKLE_TREE;
960
+ } | {
961
+ type: import("@hyperlane-xyz/sdk").HookType.PAUSABLE;
962
+ owner: string;
963
+ paused: boolean;
964
+ ownerOverrides?: Record<string, string> | undefined;
965
+ } | {
966
+ type: import("@hyperlane-xyz/sdk").HookType.OP_STACK;
967
+ owner: string;
968
+ nativeBridge: string;
969
+ destinationChain: string;
970
+ ownerOverrides?: Record<string, string> | undefined;
971
+ } | {
972
+ type: import("@hyperlane-xyz/sdk").HookType.INTERCHAIN_GAS_PAYMASTER;
973
+ owner: string;
974
+ beneficiary: string;
975
+ oracleKey: string;
976
+ overhead: Record<string, number>;
977
+ oracleConfig: Record<string, {
978
+ gasPrice: string;
979
+ tokenExchangeRate: string;
980
+ }>;
981
+ ownerOverrides?: Record<string, string> | undefined;
982
+ };
983
+ });
984
+ ownerOverrides?: Record<string, string> | undefined;
985
+ }>;
7
986
  //# sourceMappingURL=core.d.ts.map