@fogo/sessions-sdk 0.1.8 → 0.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cjs/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type { Connection, TransactionError, TransactionInstruction, VersionedTransaction } from "@solana/web3.js";
2
- import { PublicKey } from "@solana/web3.js";
1
+ import type { Connection, TransactionError, VersionedTransaction } from "@solana/web3.js";
2
+ import { PublicKey, TransactionInstruction } from "@solana/web3.js";
3
3
  import type { Chain } from "@wormhole-foundation/sdk";
4
4
  import BN from "bn.js";
5
5
  import { z } from "zod";
@@ -52,2011 +52,195 @@ export declare const getSessionAccount: (connection: Connection, sessionPublicKe
52
52
  authorizedPrograms: {
53
53
  type: AuthorizedProgramsType.All;
54
54
  } | {
55
- type: AuthorizedProgramsType.Specific;
56
- programs: {
57
- programId: PublicKey;
58
- signerPda: PublicKey;
59
- }[];
60
- };
61
- authorizedTokens: AuthorizedTokens;
62
- expiration: Date;
63
- extra: unknown;
64
- major: number;
65
- minor: 4 | 1 | 2 | 3;
66
- user: PublicKey;
67
- sponsor: PublicKey;
68
- } | undefined>;
69
- declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
70
- session_info: z.ZodUnion<[z.ZodObject<{
71
- V1: z.ZodObject<{
72
- "0": z.ZodObject<{
73
- authorized_programs: z.ZodUnion<[z.ZodObject<{
74
- Specific: z.ZodObject<{
75
- 0: z.ZodArray<z.ZodObject<{
76
- program_id: z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>;
77
- signer_pda: z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>;
78
- }, "strip", z.ZodTypeAny, {
79
- program_id: PublicKey;
80
- signer_pda: PublicKey;
81
- }, {
82
- program_id: PublicKey;
83
- signer_pda: PublicKey;
84
- }>, "many">;
85
- }, "strip", z.ZodTypeAny, {
86
- 0: {
87
- program_id: PublicKey;
88
- signer_pda: PublicKey;
89
- }[];
90
- }, {
91
- 0: {
92
- program_id: PublicKey;
93
- signer_pda: PublicKey;
94
- }[];
95
- }>;
96
- }, "strip", z.ZodTypeAny, {
97
- Specific: {
98
- 0: {
99
- program_id: PublicKey;
100
- signer_pda: PublicKey;
101
- }[];
102
- };
103
- }, {
104
- Specific: {
105
- 0: {
106
- program_id: PublicKey;
107
- signer_pda: PublicKey;
108
- }[];
109
- };
110
- }>, z.ZodObject<{
111
- All: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
112
- }, "strip", z.ZodTypeAny, {
113
- All: {};
114
- }, {
115
- All: {};
116
- }>]>;
117
- authorized_tokens: z.ZodUnion<[z.ZodObject<{
118
- Specific: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
119
- }, "strip", z.ZodTypeAny, {
120
- Specific: {};
121
- }, {
122
- Specific: {};
123
- }>, z.ZodObject<{
124
- All: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
125
- }, "strip", z.ZodTypeAny, {
126
- All: {};
127
- }, {
128
- All: {};
129
- }>]>;
130
- expiration: z.ZodType<BN, z.ZodTypeDef, BN>;
131
- extra: z.ZodObject<{
132
- 0: z.ZodUnknown;
133
- }, "strip", z.ZodTypeAny, {
134
- 0?: unknown;
135
- }, {
136
- 0?: unknown;
137
- }>;
138
- user: z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>;
139
- }, "strip", z.ZodTypeAny, {
140
- extra: {
141
- 0?: unknown;
142
- };
143
- user: PublicKey;
144
- expiration: BN;
145
- authorized_programs: {
146
- Specific: {
147
- 0: {
148
- program_id: PublicKey;
149
- signer_pda: PublicKey;
150
- }[];
151
- };
152
- } | {
153
- All: {};
154
- };
155
- authorized_tokens: {
156
- Specific: {};
157
- } | {
158
- All: {};
159
- };
160
- }, {
161
- extra: {
162
- 0?: unknown;
163
- };
164
- user: PublicKey;
165
- expiration: BN;
166
- authorized_programs: {
167
- Specific: {
168
- 0: {
169
- program_id: PublicKey;
170
- signer_pda: PublicKey;
171
- }[];
172
- };
173
- } | {
174
- All: {};
175
- };
176
- authorized_tokens: {
177
- Specific: {};
178
- } | {
179
- All: {};
180
- };
181
- }>;
182
- }, "strip", z.ZodTypeAny, {
183
- "0": {
184
- extra: {
185
- 0?: unknown;
186
- };
187
- user: PublicKey;
188
- expiration: BN;
189
- authorized_programs: {
190
- Specific: {
191
- 0: {
192
- program_id: PublicKey;
193
- signer_pda: PublicKey;
194
- }[];
195
- };
196
- } | {
197
- All: {};
198
- };
199
- authorized_tokens: {
200
- Specific: {};
201
- } | {
202
- All: {};
203
- };
204
- };
205
- }, {
206
- "0": {
207
- extra: {
208
- 0?: unknown;
209
- };
210
- user: PublicKey;
211
- expiration: BN;
212
- authorized_programs: {
213
- Specific: {
214
- 0: {
215
- program_id: PublicKey;
216
- signer_pda: PublicKey;
217
- }[];
218
- };
219
- } | {
220
- All: {};
221
- };
222
- authorized_tokens: {
223
- Specific: {};
224
- } | {
225
- All: {};
226
- };
227
- };
228
- }>;
229
- }, "strip", z.ZodTypeAny, {
230
- V1: {
231
- "0": {
232
- extra: {
233
- 0?: unknown;
234
- };
235
- user: PublicKey;
236
- expiration: BN;
237
- authorized_programs: {
238
- Specific: {
239
- 0: {
240
- program_id: PublicKey;
241
- signer_pda: PublicKey;
242
- }[];
243
- };
244
- } | {
245
- All: {};
246
- };
247
- authorized_tokens: {
248
- Specific: {};
249
- } | {
250
- All: {};
251
- };
252
- };
253
- };
254
- }, {
255
- V1: {
256
- "0": {
257
- extra: {
258
- 0?: unknown;
259
- };
260
- user: PublicKey;
261
- expiration: BN;
262
- authorized_programs: {
263
- Specific: {
264
- 0: {
265
- program_id: PublicKey;
266
- signer_pda: PublicKey;
267
- }[];
268
- };
269
- } | {
270
- All: {};
271
- };
272
- authorized_tokens: {
273
- Specific: {};
274
- } | {
275
- All: {};
276
- };
277
- };
278
- };
279
- }>, z.ZodObject<{
280
- V2: z.ZodObject<{
281
- "0": z.ZodUnion<[z.ZodObject<{
282
- Revoked: z.ZodType<BN, z.ZodTypeDef, BN>;
283
- }, "strip", z.ZodTypeAny, {
284
- Revoked: BN;
285
- }, {
286
- Revoked: BN;
287
- }>, z.ZodObject<{
288
- Active: z.ZodObject<{
289
- "0": z.ZodObject<{
290
- authorized_programs: z.ZodUnion<[z.ZodObject<{
291
- Specific: z.ZodObject<{
292
- 0: z.ZodArray<z.ZodObject<{
293
- program_id: z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>;
294
- signer_pda: z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>;
295
- }, "strip", z.ZodTypeAny, {
296
- program_id: PublicKey;
297
- signer_pda: PublicKey;
298
- }, {
299
- program_id: PublicKey;
300
- signer_pda: PublicKey;
301
- }>, "many">;
302
- }, "strip", z.ZodTypeAny, {
303
- 0: {
304
- program_id: PublicKey;
305
- signer_pda: PublicKey;
306
- }[];
307
- }, {
308
- 0: {
309
- program_id: PublicKey;
310
- signer_pda: PublicKey;
311
- }[];
312
- }>;
313
- }, "strip", z.ZodTypeAny, {
314
- Specific: {
315
- 0: {
316
- program_id: PublicKey;
317
- signer_pda: PublicKey;
318
- }[];
319
- };
320
- }, {
321
- Specific: {
322
- 0: {
323
- program_id: PublicKey;
324
- signer_pda: PublicKey;
325
- }[];
326
- };
327
- }>, z.ZodObject<{
328
- All: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
329
- }, "strip", z.ZodTypeAny, {
330
- All: {};
331
- }, {
332
- All: {};
333
- }>]>;
334
- authorized_tokens: z.ZodUnion<[z.ZodObject<{
335
- Specific: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
336
- }, "strip", z.ZodTypeAny, {
337
- Specific: {};
338
- }, {
339
- Specific: {};
340
- }>, z.ZodObject<{
341
- All: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
342
- }, "strip", z.ZodTypeAny, {
343
- All: {};
344
- }, {
345
- All: {};
346
- }>]>;
347
- expiration: z.ZodType<BN, z.ZodTypeDef, BN>;
348
- extra: z.ZodObject<{
349
- 0: z.ZodUnknown;
350
- }, "strip", z.ZodTypeAny, {
351
- 0?: unknown;
352
- }, {
353
- 0?: unknown;
354
- }>;
355
- user: z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>;
356
- }, "strip", z.ZodTypeAny, {
357
- extra: {
358
- 0?: unknown;
359
- };
360
- user: PublicKey;
361
- expiration: BN;
362
- authorized_programs: {
363
- Specific: {
364
- 0: {
365
- program_id: PublicKey;
366
- signer_pda: PublicKey;
367
- }[];
368
- };
369
- } | {
370
- All: {};
371
- };
372
- authorized_tokens: {
373
- Specific: {};
374
- } | {
375
- All: {};
376
- };
377
- }, {
378
- extra: {
379
- 0?: unknown;
380
- };
381
- user: PublicKey;
382
- expiration: BN;
383
- authorized_programs: {
384
- Specific: {
385
- 0: {
386
- program_id: PublicKey;
387
- signer_pda: PublicKey;
388
- }[];
389
- };
390
- } | {
391
- All: {};
392
- };
393
- authorized_tokens: {
394
- Specific: {};
395
- } | {
396
- All: {};
397
- };
398
- }>;
399
- }, "strip", z.ZodTypeAny, {
400
- "0": {
401
- extra: {
402
- 0?: unknown;
403
- };
404
- user: PublicKey;
405
- expiration: BN;
406
- authorized_programs: {
407
- Specific: {
408
- 0: {
409
- program_id: PublicKey;
410
- signer_pda: PublicKey;
411
- }[];
412
- };
413
- } | {
414
- All: {};
415
- };
416
- authorized_tokens: {
417
- Specific: {};
418
- } | {
419
- All: {};
420
- };
421
- };
422
- }, {
423
- "0": {
424
- extra: {
425
- 0?: unknown;
426
- };
427
- user: PublicKey;
428
- expiration: BN;
429
- authorized_programs: {
430
- Specific: {
431
- 0: {
432
- program_id: PublicKey;
433
- signer_pda: PublicKey;
434
- }[];
435
- };
436
- } | {
437
- All: {};
438
- };
439
- authorized_tokens: {
440
- Specific: {};
441
- } | {
442
- All: {};
443
- };
444
- };
445
- }>;
446
- }, "strip", z.ZodTypeAny, {
447
- Active: {
448
- "0": {
449
- extra: {
450
- 0?: unknown;
451
- };
452
- user: PublicKey;
453
- expiration: BN;
454
- authorized_programs: {
455
- Specific: {
456
- 0: {
457
- program_id: PublicKey;
458
- signer_pda: PublicKey;
459
- }[];
460
- };
461
- } | {
462
- All: {};
463
- };
464
- authorized_tokens: {
465
- Specific: {};
466
- } | {
467
- All: {};
468
- };
469
- };
470
- };
471
- }, {
472
- Active: {
473
- "0": {
474
- extra: {
475
- 0?: unknown;
476
- };
477
- user: PublicKey;
478
- expiration: BN;
479
- authorized_programs: {
480
- Specific: {
481
- 0: {
482
- program_id: PublicKey;
483
- signer_pda: PublicKey;
484
- }[];
485
- };
486
- } | {
487
- All: {};
488
- };
489
- authorized_tokens: {
490
- Specific: {};
491
- } | {
492
- All: {};
493
- };
494
- };
495
- };
496
- }>]>;
497
- }, "strip", z.ZodTypeAny, {
498
- "0": {
499
- Revoked: BN;
500
- } | {
501
- Active: {
502
- "0": {
503
- extra: {
504
- 0?: unknown;
505
- };
506
- user: PublicKey;
507
- expiration: BN;
508
- authorized_programs: {
509
- Specific: {
510
- 0: {
511
- program_id: PublicKey;
512
- signer_pda: PublicKey;
513
- }[];
514
- };
515
- } | {
516
- All: {};
517
- };
518
- authorized_tokens: {
519
- Specific: {};
520
- } | {
521
- All: {};
522
- };
523
- };
524
- };
525
- };
526
- }, {
527
- "0": {
528
- Revoked: BN;
529
- } | {
530
- Active: {
531
- "0": {
532
- extra: {
533
- 0?: unknown;
534
- };
535
- user: PublicKey;
536
- expiration: BN;
537
- authorized_programs: {
538
- Specific: {
539
- 0: {
540
- program_id: PublicKey;
541
- signer_pda: PublicKey;
542
- }[];
543
- };
544
- } | {
545
- All: {};
546
- };
547
- authorized_tokens: {
548
- Specific: {};
549
- } | {
550
- All: {};
551
- };
552
- };
553
- };
554
- };
555
- }>;
556
- }, "strip", z.ZodTypeAny, {
557
- V2: {
558
- "0": {
559
- Revoked: BN;
560
- } | {
561
- Active: {
562
- "0": {
563
- extra: {
564
- 0?: unknown;
565
- };
566
- user: PublicKey;
567
- expiration: BN;
568
- authorized_programs: {
569
- Specific: {
570
- 0: {
571
- program_id: PublicKey;
572
- signer_pda: PublicKey;
573
- }[];
574
- };
575
- } | {
576
- All: {};
577
- };
578
- authorized_tokens: {
579
- Specific: {};
580
- } | {
581
- All: {};
582
- };
583
- };
584
- };
585
- };
586
- };
587
- }, {
588
- V2: {
589
- "0": {
590
- Revoked: BN;
591
- } | {
592
- Active: {
593
- "0": {
594
- extra: {
595
- 0?: unknown;
596
- };
597
- user: PublicKey;
598
- expiration: BN;
599
- authorized_programs: {
600
- Specific: {
601
- 0: {
602
- program_id: PublicKey;
603
- signer_pda: PublicKey;
604
- }[];
605
- };
606
- } | {
607
- All: {};
608
- };
609
- authorized_tokens: {
610
- Specific: {};
611
- } | {
612
- All: {};
613
- };
614
- };
615
- };
616
- };
617
- };
618
- }>, z.ZodObject<{
619
- V3: z.ZodObject<{
620
- "0": z.ZodUnion<[z.ZodObject<{
621
- Revoked: z.ZodObject<{
622
- "0": z.ZodObject<{
623
- user: z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>;
624
- expiration: z.ZodType<BN, z.ZodTypeDef, BN>;
625
- authorized_tokens_with_mints: z.ZodUnion<[z.ZodObject<{
626
- Specific: z.ZodObject<{
627
- "0": z.ZodArray<z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>, "many">;
628
- }, "strip", z.ZodTypeAny, {
629
- "0": PublicKey[];
630
- }, {
631
- "0": PublicKey[];
632
- }>;
633
- }, "strip", z.ZodTypeAny, {
634
- Specific: {
635
- "0": PublicKey[];
636
- };
637
- }, {
638
- Specific: {
639
- "0": PublicKey[];
640
- };
641
- }>, z.ZodObject<{
642
- All: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
643
- }, "strip", z.ZodTypeAny, {
644
- All: {};
645
- }, {
646
- All: {};
647
- }>]>;
648
- }, "strip", z.ZodTypeAny, {
649
- user: PublicKey;
650
- expiration: BN;
651
- authorized_tokens_with_mints: {
652
- Specific: {
653
- "0": PublicKey[];
654
- };
655
- } | {
656
- All: {};
657
- };
658
- }, {
659
- user: PublicKey;
660
- expiration: BN;
661
- authorized_tokens_with_mints: {
662
- Specific: {
663
- "0": PublicKey[];
664
- };
665
- } | {
666
- All: {};
667
- };
668
- }>;
669
- }, "strip", z.ZodTypeAny, {
670
- "0": {
671
- user: PublicKey;
672
- expiration: BN;
673
- authorized_tokens_with_mints: {
674
- Specific: {
675
- "0": PublicKey[];
676
- };
677
- } | {
678
- All: {};
679
- };
680
- };
681
- }, {
682
- "0": {
683
- user: PublicKey;
684
- expiration: BN;
685
- authorized_tokens_with_mints: {
686
- Specific: {
687
- "0": PublicKey[];
688
- };
689
- } | {
690
- All: {};
691
- };
692
- };
693
- }>;
694
- }, "strip", z.ZodTypeAny, {
695
- Revoked: {
696
- "0": {
697
- user: PublicKey;
698
- expiration: BN;
699
- authorized_tokens_with_mints: {
700
- Specific: {
701
- "0": PublicKey[];
702
- };
703
- } | {
704
- All: {};
705
- };
706
- };
707
- };
708
- }, {
709
- Revoked: {
710
- "0": {
711
- user: PublicKey;
712
- expiration: BN;
713
- authorized_tokens_with_mints: {
714
- Specific: {
715
- "0": PublicKey[];
716
- };
717
- } | {
718
- All: {};
719
- };
720
- };
721
- };
722
- }>, z.ZodObject<{
723
- Active: z.ZodObject<{
724
- "0": z.ZodObject<{
725
- authorized_programs: z.ZodUnion<[z.ZodObject<{
726
- Specific: z.ZodObject<{
727
- 0: z.ZodArray<z.ZodObject<{
728
- program_id: z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>;
729
- signer_pda: z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>;
730
- }, "strip", z.ZodTypeAny, {
731
- program_id: PublicKey;
732
- signer_pda: PublicKey;
733
- }, {
734
- program_id: PublicKey;
735
- signer_pda: PublicKey;
736
- }>, "many">;
737
- }, "strip", z.ZodTypeAny, {
738
- 0: {
739
- program_id: PublicKey;
740
- signer_pda: PublicKey;
741
- }[];
742
- }, {
743
- 0: {
744
- program_id: PublicKey;
745
- signer_pda: PublicKey;
746
- }[];
747
- }>;
748
- }, "strip", z.ZodTypeAny, {
749
- Specific: {
750
- 0: {
751
- program_id: PublicKey;
752
- signer_pda: PublicKey;
753
- }[];
754
- };
755
- }, {
756
- Specific: {
757
- 0: {
758
- program_id: PublicKey;
759
- signer_pda: PublicKey;
760
- }[];
761
- };
762
- }>, z.ZodObject<{
763
- All: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
764
- }, "strip", z.ZodTypeAny, {
765
- All: {};
766
- }, {
767
- All: {};
768
- }>]>;
769
- authorized_tokens: z.ZodUnion<[z.ZodObject<{
770
- Specific: z.ZodObject<{
771
- "0": z.ZodArray<z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>, "many">;
772
- }, "strip", z.ZodTypeAny, {
773
- "0": PublicKey[];
774
- }, {
775
- "0": PublicKey[];
776
- }>;
777
- }, "strip", z.ZodTypeAny, {
778
- Specific: {
779
- "0": PublicKey[];
780
- };
781
- }, {
782
- Specific: {
783
- "0": PublicKey[];
784
- };
785
- }>, z.ZodObject<{
786
- All: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
787
- }, "strip", z.ZodTypeAny, {
788
- All: {};
789
- }, {
790
- All: {};
791
- }>]>;
792
- expiration: z.ZodType<BN, z.ZodTypeDef, BN>;
793
- extra: z.ZodObject<{
794
- 0: z.ZodUnknown;
795
- }, "strip", z.ZodTypeAny, {
796
- 0?: unknown;
797
- }, {
798
- 0?: unknown;
799
- }>;
800
- user: z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>;
801
- }, "strip", z.ZodTypeAny, {
802
- extra: {
803
- 0?: unknown;
804
- };
805
- user: PublicKey;
806
- expiration: BN;
807
- authorized_programs: {
808
- Specific: {
809
- 0: {
810
- program_id: PublicKey;
811
- signer_pda: PublicKey;
812
- }[];
813
- };
814
- } | {
815
- All: {};
816
- };
817
- authorized_tokens: {
818
- Specific: {
819
- "0": PublicKey[];
820
- };
821
- } | {
822
- All: {};
823
- };
824
- }, {
825
- extra: {
826
- 0?: unknown;
827
- };
828
- user: PublicKey;
829
- expiration: BN;
830
- authorized_programs: {
831
- Specific: {
832
- 0: {
833
- program_id: PublicKey;
834
- signer_pda: PublicKey;
835
- }[];
836
- };
837
- } | {
838
- All: {};
839
- };
840
- authorized_tokens: {
841
- Specific: {
842
- "0": PublicKey[];
843
- };
844
- } | {
845
- All: {};
846
- };
847
- }>;
848
- }, "strip", z.ZodTypeAny, {
849
- "0": {
850
- extra: {
851
- 0?: unknown;
852
- };
853
- user: PublicKey;
854
- expiration: BN;
855
- authorized_programs: {
856
- Specific: {
857
- 0: {
858
- program_id: PublicKey;
859
- signer_pda: PublicKey;
860
- }[];
861
- };
862
- } | {
863
- All: {};
864
- };
865
- authorized_tokens: {
866
- Specific: {
867
- "0": PublicKey[];
868
- };
869
- } | {
870
- All: {};
871
- };
872
- };
873
- }, {
874
- "0": {
875
- extra: {
876
- 0?: unknown;
877
- };
878
- user: PublicKey;
879
- expiration: BN;
880
- authorized_programs: {
881
- Specific: {
882
- 0: {
883
- program_id: PublicKey;
884
- signer_pda: PublicKey;
885
- }[];
886
- };
887
- } | {
888
- All: {};
889
- };
890
- authorized_tokens: {
891
- Specific: {
892
- "0": PublicKey[];
893
- };
894
- } | {
895
- All: {};
896
- };
897
- };
898
- }>;
899
- }, "strip", z.ZodTypeAny, {
900
- Active: {
901
- "0": {
902
- extra: {
903
- 0?: unknown;
904
- };
905
- user: PublicKey;
906
- expiration: BN;
907
- authorized_programs: {
908
- Specific: {
909
- 0: {
910
- program_id: PublicKey;
911
- signer_pda: PublicKey;
912
- }[];
913
- };
914
- } | {
915
- All: {};
916
- };
917
- authorized_tokens: {
918
- Specific: {
919
- "0": PublicKey[];
920
- };
921
- } | {
922
- All: {};
923
- };
924
- };
925
- };
926
- }, {
927
- Active: {
928
- "0": {
929
- extra: {
930
- 0?: unknown;
931
- };
932
- user: PublicKey;
933
- expiration: BN;
934
- authorized_programs: {
935
- Specific: {
936
- 0: {
937
- program_id: PublicKey;
938
- signer_pda: PublicKey;
939
- }[];
940
- };
941
- } | {
942
- All: {};
943
- };
944
- authorized_tokens: {
945
- Specific: {
946
- "0": PublicKey[];
947
- };
948
- } | {
949
- All: {};
950
- };
951
- };
952
- };
953
- }>]>;
954
- }, "strip", z.ZodTypeAny, {
955
- "0": {
956
- Revoked: {
957
- "0": {
958
- user: PublicKey;
959
- expiration: BN;
960
- authorized_tokens_with_mints: {
961
- Specific: {
962
- "0": PublicKey[];
963
- };
964
- } | {
965
- All: {};
966
- };
967
- };
968
- };
969
- } | {
970
- Active: {
971
- "0": {
972
- extra: {
973
- 0?: unknown;
974
- };
975
- user: PublicKey;
976
- expiration: BN;
977
- authorized_programs: {
978
- Specific: {
979
- 0: {
980
- program_id: PublicKey;
981
- signer_pda: PublicKey;
982
- }[];
983
- };
984
- } | {
985
- All: {};
986
- };
987
- authorized_tokens: {
988
- Specific: {
989
- "0": PublicKey[];
990
- };
991
- } | {
992
- All: {};
993
- };
994
- };
995
- };
996
- };
997
- }, {
998
- "0": {
999
- Revoked: {
1000
- "0": {
1001
- user: PublicKey;
1002
- expiration: BN;
1003
- authorized_tokens_with_mints: {
1004
- Specific: {
1005
- "0": PublicKey[];
1006
- };
1007
- } | {
1008
- All: {};
1009
- };
1010
- };
1011
- };
1012
- } | {
1013
- Active: {
1014
- "0": {
1015
- extra: {
1016
- 0?: unknown;
1017
- };
1018
- user: PublicKey;
1019
- expiration: BN;
1020
- authorized_programs: {
1021
- Specific: {
1022
- 0: {
1023
- program_id: PublicKey;
1024
- signer_pda: PublicKey;
1025
- }[];
1026
- };
1027
- } | {
1028
- All: {};
1029
- };
1030
- authorized_tokens: {
1031
- Specific: {
1032
- "0": PublicKey[];
1033
- };
1034
- } | {
1035
- All: {};
1036
- };
1037
- };
1038
- };
1039
- };
1040
- }>;
1041
- }, "strip", z.ZodTypeAny, {
1042
- V3: {
1043
- "0": {
1044
- Revoked: {
1045
- "0": {
1046
- user: PublicKey;
1047
- expiration: BN;
1048
- authorized_tokens_with_mints: {
1049
- Specific: {
1050
- "0": PublicKey[];
1051
- };
1052
- } | {
1053
- All: {};
1054
- };
1055
- };
1056
- };
1057
- } | {
1058
- Active: {
1059
- "0": {
1060
- extra: {
1061
- 0?: unknown;
1062
- };
1063
- user: PublicKey;
1064
- expiration: BN;
1065
- authorized_programs: {
1066
- Specific: {
1067
- 0: {
1068
- program_id: PublicKey;
1069
- signer_pda: PublicKey;
1070
- }[];
1071
- };
1072
- } | {
1073
- All: {};
1074
- };
1075
- authorized_tokens: {
1076
- Specific: {
1077
- "0": PublicKey[];
1078
- };
1079
- } | {
1080
- All: {};
1081
- };
1082
- };
1083
- };
1084
- };
1085
- };
1086
- }, {
1087
- V3: {
1088
- "0": {
1089
- Revoked: {
1090
- "0": {
1091
- user: PublicKey;
1092
- expiration: BN;
1093
- authorized_tokens_with_mints: {
1094
- Specific: {
1095
- "0": PublicKey[];
1096
- };
1097
- } | {
1098
- All: {};
1099
- };
1100
- };
1101
- };
1102
- } | {
1103
- Active: {
1104
- "0": {
1105
- extra: {
1106
- 0?: unknown;
1107
- };
1108
- user: PublicKey;
1109
- expiration: BN;
1110
- authorized_programs: {
1111
- Specific: {
1112
- 0: {
1113
- program_id: PublicKey;
1114
- signer_pda: PublicKey;
1115
- }[];
1116
- };
1117
- } | {
1118
- All: {};
1119
- };
1120
- authorized_tokens: {
1121
- Specific: {
1122
- "0": PublicKey[];
1123
- };
1124
- } | {
1125
- All: {};
1126
- };
1127
- };
1128
- };
1129
- };
1130
- };
1131
- }>, z.ZodObject<{
1132
- V4: z.ZodObject<{
1133
- "0": z.ZodUnion<[z.ZodObject<{
1134
- Revoked: z.ZodObject<{
1135
- "0": z.ZodObject<{
1136
- user: z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>;
1137
- expiration: z.ZodType<BN, z.ZodTypeDef, BN>;
1138
- authorized_tokens_with_mints: z.ZodUnion<[z.ZodObject<{
1139
- Specific: z.ZodObject<{
1140
- "0": z.ZodArray<z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>, "many">;
1141
- }, "strip", z.ZodTypeAny, {
1142
- "0": PublicKey[];
1143
- }, {
1144
- "0": PublicKey[];
1145
- }>;
1146
- }, "strip", z.ZodTypeAny, {
1147
- Specific: {
1148
- "0": PublicKey[];
1149
- };
1150
- }, {
1151
- Specific: {
1152
- "0": PublicKey[];
1153
- };
1154
- }>, z.ZodObject<{
1155
- All: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1156
- }, "strip", z.ZodTypeAny, {
1157
- All: {};
1158
- }, {
1159
- All: {};
1160
- }>]>;
1161
- }, "strip", z.ZodTypeAny, {
1162
- user: PublicKey;
1163
- expiration: BN;
1164
- authorized_tokens_with_mints: {
1165
- Specific: {
1166
- "0": PublicKey[];
1167
- };
1168
- } | {
1169
- All: {};
1170
- };
1171
- }, {
1172
- user: PublicKey;
1173
- expiration: BN;
1174
- authorized_tokens_with_mints: {
1175
- Specific: {
1176
- "0": PublicKey[];
1177
- };
1178
- } | {
1179
- All: {};
1180
- };
1181
- }>;
1182
- }, "strip", z.ZodTypeAny, {
1183
- "0": {
1184
- user: PublicKey;
1185
- expiration: BN;
1186
- authorized_tokens_with_mints: {
1187
- Specific: {
1188
- "0": PublicKey[];
1189
- };
1190
- } | {
1191
- All: {};
1192
- };
1193
- };
1194
- }, {
1195
- "0": {
1196
- user: PublicKey;
1197
- expiration: BN;
1198
- authorized_tokens_with_mints: {
1199
- Specific: {
1200
- "0": PublicKey[];
1201
- };
1202
- } | {
1203
- All: {};
1204
- };
1205
- };
1206
- }>;
1207
- }, "strip", z.ZodTypeAny, {
1208
- Revoked: {
1209
- "0": {
1210
- user: PublicKey;
1211
- expiration: BN;
1212
- authorized_tokens_with_mints: {
1213
- Specific: {
1214
- "0": PublicKey[];
1215
- };
1216
- } | {
1217
- All: {};
1218
- };
1219
- };
1220
- };
1221
- }, {
1222
- Revoked: {
1223
- "0": {
1224
- user: PublicKey;
1225
- expiration: BN;
1226
- authorized_tokens_with_mints: {
1227
- Specific: {
1228
- "0": PublicKey[];
1229
- };
1230
- } | {
1231
- All: {};
1232
- };
1233
- };
1234
- };
1235
- }>, z.ZodObject<{
1236
- Active: z.ZodObject<{
1237
- "0": z.ZodObject<{
1238
- domain_hash: z.ZodArray<z.ZodNumber, "many">;
1239
- active_session_info: z.ZodObject<{
1240
- authorized_programs: z.ZodUnion<[z.ZodObject<{
1241
- Specific: z.ZodObject<{
1242
- 0: z.ZodArray<z.ZodObject<{
1243
- program_id: z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>;
1244
- signer_pda: z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>;
1245
- }, "strip", z.ZodTypeAny, {
1246
- program_id: PublicKey;
1247
- signer_pda: PublicKey;
1248
- }, {
1249
- program_id: PublicKey;
1250
- signer_pda: PublicKey;
1251
- }>, "many">;
1252
- }, "strip", z.ZodTypeAny, {
1253
- 0: {
1254
- program_id: PublicKey;
1255
- signer_pda: PublicKey;
1256
- }[];
1257
- }, {
1258
- 0: {
1259
- program_id: PublicKey;
1260
- signer_pda: PublicKey;
1261
- }[];
1262
- }>;
1263
- }, "strip", z.ZodTypeAny, {
1264
- Specific: {
1265
- 0: {
1266
- program_id: PublicKey;
1267
- signer_pda: PublicKey;
1268
- }[];
1269
- };
1270
- }, {
1271
- Specific: {
1272
- 0: {
1273
- program_id: PublicKey;
1274
- signer_pda: PublicKey;
1275
- }[];
1276
- };
1277
- }>, z.ZodObject<{
1278
- All: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1279
- }, "strip", z.ZodTypeAny, {
1280
- All: {};
1281
- }, {
1282
- All: {};
1283
- }>]>;
1284
- authorized_tokens: z.ZodUnion<[z.ZodObject<{
1285
- Specific: z.ZodObject<{
1286
- "0": z.ZodArray<z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>, "many">;
1287
- }, "strip", z.ZodTypeAny, {
1288
- "0": PublicKey[];
1289
- }, {
1290
- "0": PublicKey[];
1291
- }>;
1292
- }, "strip", z.ZodTypeAny, {
1293
- Specific: {
1294
- "0": PublicKey[];
1295
- };
1296
- }, {
1297
- Specific: {
1298
- "0": PublicKey[];
1299
- };
1300
- }>, z.ZodObject<{
1301
- All: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1302
- }, "strip", z.ZodTypeAny, {
1303
- All: {};
1304
- }, {
1305
- All: {};
1306
- }>]>;
1307
- expiration: z.ZodType<BN, z.ZodTypeDef, BN>;
1308
- extra: z.ZodObject<{
1309
- 0: z.ZodUnknown;
1310
- }, "strip", z.ZodTypeAny, {
1311
- 0?: unknown;
1312
- }, {
1313
- 0?: unknown;
1314
- }>;
1315
- user: z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>;
1316
- }, "strip", z.ZodTypeAny, {
1317
- extra: {
1318
- 0?: unknown;
1319
- };
1320
- user: PublicKey;
1321
- expiration: BN;
1322
- authorized_programs: {
1323
- Specific: {
1324
- 0: {
1325
- program_id: PublicKey;
1326
- signer_pda: PublicKey;
1327
- }[];
1328
- };
1329
- } | {
1330
- All: {};
1331
- };
1332
- authorized_tokens: {
1333
- Specific: {
1334
- "0": PublicKey[];
1335
- };
1336
- } | {
1337
- All: {};
1338
- };
1339
- }, {
1340
- extra: {
1341
- 0?: unknown;
1342
- };
1343
- user: PublicKey;
1344
- expiration: BN;
1345
- authorized_programs: {
1346
- Specific: {
1347
- 0: {
1348
- program_id: PublicKey;
1349
- signer_pda: PublicKey;
1350
- }[];
1351
- };
1352
- } | {
1353
- All: {};
1354
- };
1355
- authorized_tokens: {
1356
- Specific: {
1357
- "0": PublicKey[];
1358
- };
1359
- } | {
1360
- All: {};
1361
- };
1362
- }>;
1363
- }, "strip", z.ZodTypeAny, {
1364
- domain_hash: number[];
1365
- active_session_info: {
1366
- extra: {
1367
- 0?: unknown;
1368
- };
1369
- user: PublicKey;
1370
- expiration: BN;
1371
- authorized_programs: {
1372
- Specific: {
1373
- 0: {
1374
- program_id: PublicKey;
1375
- signer_pda: PublicKey;
1376
- }[];
1377
- };
1378
- } | {
1379
- All: {};
1380
- };
1381
- authorized_tokens: {
1382
- Specific: {
1383
- "0": PublicKey[];
1384
- };
1385
- } | {
1386
- All: {};
1387
- };
1388
- };
1389
- }, {
1390
- domain_hash: number[];
1391
- active_session_info: {
1392
- extra: {
1393
- 0?: unknown;
1394
- };
1395
- user: PublicKey;
1396
- expiration: BN;
1397
- authorized_programs: {
1398
- Specific: {
1399
- 0: {
1400
- program_id: PublicKey;
1401
- signer_pda: PublicKey;
1402
- }[];
1403
- };
1404
- } | {
1405
- All: {};
1406
- };
1407
- authorized_tokens: {
1408
- Specific: {
1409
- "0": PublicKey[];
1410
- };
1411
- } | {
1412
- All: {};
1413
- };
1414
- };
1415
- }>;
1416
- }, "strip", z.ZodTypeAny, {
1417
- "0": {
1418
- domain_hash: number[];
1419
- active_session_info: {
1420
- extra: {
1421
- 0?: unknown;
1422
- };
1423
- user: PublicKey;
1424
- expiration: BN;
1425
- authorized_programs: {
1426
- Specific: {
1427
- 0: {
1428
- program_id: PublicKey;
1429
- signer_pda: PublicKey;
1430
- }[];
1431
- };
1432
- } | {
1433
- All: {};
1434
- };
1435
- authorized_tokens: {
1436
- Specific: {
1437
- "0": PublicKey[];
1438
- };
1439
- } | {
1440
- All: {};
1441
- };
1442
- };
1443
- };
1444
- }, {
1445
- "0": {
1446
- domain_hash: number[];
1447
- active_session_info: {
1448
- extra: {
1449
- 0?: unknown;
1450
- };
1451
- user: PublicKey;
1452
- expiration: BN;
1453
- authorized_programs: {
1454
- Specific: {
1455
- 0: {
1456
- program_id: PublicKey;
1457
- signer_pda: PublicKey;
1458
- }[];
1459
- };
1460
- } | {
1461
- All: {};
1462
- };
1463
- authorized_tokens: {
1464
- Specific: {
1465
- "0": PublicKey[];
1466
- };
1467
- } | {
1468
- All: {};
1469
- };
1470
- };
1471
- };
1472
- }>;
1473
- }, "strip", z.ZodTypeAny, {
1474
- Active: {
1475
- "0": {
1476
- domain_hash: number[];
1477
- active_session_info: {
1478
- extra: {
1479
- 0?: unknown;
1480
- };
1481
- user: PublicKey;
1482
- expiration: BN;
1483
- authorized_programs: {
1484
- Specific: {
1485
- 0: {
1486
- program_id: PublicKey;
1487
- signer_pda: PublicKey;
1488
- }[];
1489
- };
1490
- } | {
1491
- All: {};
1492
- };
1493
- authorized_tokens: {
1494
- Specific: {
1495
- "0": PublicKey[];
1496
- };
1497
- } | {
1498
- All: {};
1499
- };
1500
- };
1501
- };
1502
- };
1503
- }, {
1504
- Active: {
1505
- "0": {
1506
- domain_hash: number[];
1507
- active_session_info: {
1508
- extra: {
1509
- 0?: unknown;
1510
- };
1511
- user: PublicKey;
1512
- expiration: BN;
1513
- authorized_programs: {
1514
- Specific: {
1515
- 0: {
1516
- program_id: PublicKey;
1517
- signer_pda: PublicKey;
1518
- }[];
1519
- };
1520
- } | {
1521
- All: {};
1522
- };
1523
- authorized_tokens: {
1524
- Specific: {
1525
- "0": PublicKey[];
1526
- };
1527
- } | {
1528
- All: {};
1529
- };
1530
- };
1531
- };
1532
- };
1533
- }>]>;
1534
- }, "strip", z.ZodTypeAny, {
1535
- "0": {
1536
- Revoked: {
1537
- "0": {
1538
- user: PublicKey;
1539
- expiration: BN;
1540
- authorized_tokens_with_mints: {
1541
- Specific: {
1542
- "0": PublicKey[];
1543
- };
1544
- } | {
1545
- All: {};
1546
- };
1547
- };
1548
- };
1549
- } | {
1550
- Active: {
1551
- "0": {
1552
- domain_hash: number[];
1553
- active_session_info: {
1554
- extra: {
1555
- 0?: unknown;
1556
- };
1557
- user: PublicKey;
1558
- expiration: BN;
1559
- authorized_programs: {
1560
- Specific: {
1561
- 0: {
1562
- program_id: PublicKey;
1563
- signer_pda: PublicKey;
1564
- }[];
1565
- };
1566
- } | {
1567
- All: {};
1568
- };
1569
- authorized_tokens: {
1570
- Specific: {
1571
- "0": PublicKey[];
1572
- };
1573
- } | {
1574
- All: {};
1575
- };
1576
- };
1577
- };
1578
- };
1579
- };
1580
- }, {
1581
- "0": {
1582
- Revoked: {
1583
- "0": {
1584
- user: PublicKey;
1585
- expiration: BN;
1586
- authorized_tokens_with_mints: {
1587
- Specific: {
1588
- "0": PublicKey[];
1589
- };
1590
- } | {
1591
- All: {};
1592
- };
1593
- };
1594
- };
1595
- } | {
1596
- Active: {
1597
- "0": {
1598
- domain_hash: number[];
1599
- active_session_info: {
1600
- extra: {
1601
- 0?: unknown;
1602
- };
1603
- user: PublicKey;
1604
- expiration: BN;
1605
- authorized_programs: {
1606
- Specific: {
1607
- 0: {
1608
- program_id: PublicKey;
1609
- signer_pda: PublicKey;
1610
- }[];
1611
- };
1612
- } | {
1613
- All: {};
1614
- };
1615
- authorized_tokens: {
1616
- Specific: {
1617
- "0": PublicKey[];
1618
- };
1619
- } | {
1620
- All: {};
1621
- };
1622
- };
1623
- };
1624
- };
1625
- };
1626
- }>;
1627
- }, "strip", z.ZodTypeAny, {
1628
- V4: {
1629
- "0": {
1630
- Revoked: {
1631
- "0": {
1632
- user: PublicKey;
1633
- expiration: BN;
1634
- authorized_tokens_with_mints: {
1635
- Specific: {
1636
- "0": PublicKey[];
1637
- };
1638
- } | {
1639
- All: {};
1640
- };
1641
- };
1642
- };
1643
- } | {
1644
- Active: {
1645
- "0": {
1646
- domain_hash: number[];
1647
- active_session_info: {
1648
- extra: {
1649
- 0?: unknown;
1650
- };
1651
- user: PublicKey;
1652
- expiration: BN;
1653
- authorized_programs: {
1654
- Specific: {
1655
- 0: {
1656
- program_id: PublicKey;
1657
- signer_pda: PublicKey;
1658
- }[];
1659
- };
1660
- } | {
1661
- All: {};
1662
- };
1663
- authorized_tokens: {
1664
- Specific: {
1665
- "0": PublicKey[];
1666
- };
1667
- } | {
1668
- All: {};
1669
- };
1670
- };
1671
- };
1672
- };
1673
- };
1674
- };
1675
- }, {
1676
- V4: {
1677
- "0": {
1678
- Revoked: {
1679
- "0": {
1680
- user: PublicKey;
1681
- expiration: BN;
1682
- authorized_tokens_with_mints: {
1683
- Specific: {
1684
- "0": PublicKey[];
1685
- };
1686
- } | {
1687
- All: {};
1688
- };
1689
- };
1690
- };
1691
- } | {
1692
- Active: {
1693
- "0": {
1694
- domain_hash: number[];
1695
- active_session_info: {
1696
- extra: {
1697
- 0?: unknown;
1698
- };
1699
- user: PublicKey;
1700
- expiration: BN;
1701
- authorized_programs: {
1702
- Specific: {
1703
- 0: {
1704
- program_id: PublicKey;
1705
- signer_pda: PublicKey;
1706
- }[];
1707
- };
1708
- } | {
1709
- All: {};
1710
- };
1711
- authorized_tokens: {
1712
- Specific: {
1713
- "0": PublicKey[];
1714
- };
1715
- } | {
1716
- All: {};
1717
- };
1718
- };
1719
- };
1720
- };
1721
- };
1722
- };
1723
- }>]>;
1724
- major: z.ZodNumber;
1725
- sponsor: z.ZodType<PublicKey, z.ZodTypeDef, PublicKey>;
1726
- }, "strip", z.ZodTypeAny, {
1727
- sponsor: PublicKey;
1728
- major: number;
1729
- session_info: {
1730
- V1: {
1731
- "0": {
1732
- extra: {
1733
- 0?: unknown;
1734
- };
1735
- user: PublicKey;
1736
- expiration: BN;
1737
- authorized_programs: {
1738
- Specific: {
1739
- 0: {
1740
- program_id: PublicKey;
1741
- signer_pda: PublicKey;
1742
- }[];
1743
- };
1744
- } | {
1745
- All: {};
1746
- };
1747
- authorized_tokens: {
1748
- Specific: {};
1749
- } | {
1750
- All: {};
1751
- };
1752
- };
1753
- };
1754
- } | {
1755
- V2: {
1756
- "0": {
1757
- Revoked: BN;
1758
- } | {
1759
- Active: {
1760
- "0": {
1761
- extra: {
1762
- 0?: unknown;
1763
- };
1764
- user: PublicKey;
1765
- expiration: BN;
1766
- authorized_programs: {
1767
- Specific: {
1768
- 0: {
1769
- program_id: PublicKey;
1770
- signer_pda: PublicKey;
1771
- }[];
1772
- };
1773
- } | {
1774
- All: {};
1775
- };
1776
- authorized_tokens: {
1777
- Specific: {};
1778
- } | {
1779
- All: {};
1780
- };
1781
- };
1782
- };
1783
- };
1784
- };
1785
- } | {
1786
- V3: {
1787
- "0": {
1788
- Revoked: {
1789
- "0": {
1790
- user: PublicKey;
1791
- expiration: BN;
1792
- authorized_tokens_with_mints: {
1793
- Specific: {
1794
- "0": PublicKey[];
1795
- };
1796
- } | {
1797
- All: {};
1798
- };
1799
- };
1800
- };
1801
- } | {
1802
- Active: {
1803
- "0": {
1804
- extra: {
1805
- 0?: unknown;
1806
- };
1807
- user: PublicKey;
1808
- expiration: BN;
1809
- authorized_programs: {
1810
- Specific: {
1811
- 0: {
1812
- program_id: PublicKey;
1813
- signer_pda: PublicKey;
1814
- }[];
1815
- };
1816
- } | {
1817
- All: {};
1818
- };
1819
- authorized_tokens: {
1820
- Specific: {
1821
- "0": PublicKey[];
1822
- };
1823
- } | {
1824
- All: {};
1825
- };
1826
- };
1827
- };
1828
- };
1829
- };
1830
- } | {
1831
- V4: {
1832
- "0": {
1833
- Revoked: {
1834
- "0": {
1835
- user: PublicKey;
1836
- expiration: BN;
1837
- authorized_tokens_with_mints: {
1838
- Specific: {
1839
- "0": PublicKey[];
1840
- };
1841
- } | {
1842
- All: {};
1843
- };
1844
- };
1845
- };
1846
- } | {
1847
- Active: {
1848
- "0": {
1849
- domain_hash: number[];
1850
- active_session_info: {
1851
- extra: {
1852
- 0?: unknown;
1853
- };
1854
- user: PublicKey;
1855
- expiration: BN;
1856
- authorized_programs: {
1857
- Specific: {
1858
- 0: {
1859
- program_id: PublicKey;
1860
- signer_pda: PublicKey;
1861
- }[];
1862
- };
1863
- } | {
1864
- All: {};
1865
- };
1866
- authorized_tokens: {
1867
- Specific: {
1868
- "0": PublicKey[];
1869
- };
1870
- } | {
1871
- All: {};
1872
- };
1873
- };
1874
- };
1875
- };
1876
- };
1877
- };
55
+ programs: {
56
+ programId: PublicKey;
57
+ signerPda: PublicKey;
58
+ }[];
59
+ type: AuthorizedProgramsType.Specific;
1878
60
  };
1879
- }, {
1880
- sponsor: PublicKey;
61
+ authorizedTokens: AuthorizedTokens;
62
+ expiration: Date;
63
+ extra: unknown;
1881
64
  major: number;
1882
- session_info: {
1883
- V1: {
1884
- "0": {
1885
- extra: {
1886
- 0?: unknown;
1887
- };
1888
- user: PublicKey;
1889
- expiration: BN;
1890
- authorized_programs: {
1891
- Specific: {
1892
- 0: {
1893
- program_id: PublicKey;
1894
- signer_pda: PublicKey;
1895
- }[];
1896
- };
1897
- } | {
1898
- All: {};
1899
- };
1900
- authorized_tokens: {
1901
- Specific: {};
1902
- } | {
1903
- All: {};
1904
- };
1905
- };
1906
- };
1907
- } | {
1908
- V2: {
1909
- "0": {
1910
- Revoked: BN;
1911
- } | {
1912
- Active: {
1913
- "0": {
1914
- extra: {
1915
- 0?: unknown;
1916
- };
1917
- user: PublicKey;
1918
- expiration: BN;
1919
- authorized_programs: {
1920
- Specific: {
1921
- 0: {
1922
- program_id: PublicKey;
1923
- signer_pda: PublicKey;
1924
- }[];
1925
- };
1926
- } | {
1927
- All: {};
1928
- };
1929
- authorized_tokens: {
1930
- Specific: {};
1931
- } | {
1932
- All: {};
1933
- };
1934
- };
1935
- };
1936
- };
1937
- };
1938
- } | {
1939
- V3: {
1940
- "0": {
1941
- Revoked: {
1942
- "0": {
1943
- user: PublicKey;
1944
- expiration: BN;
1945
- authorized_tokens_with_mints: {
1946
- Specific: {
1947
- "0": PublicKey[];
1948
- };
1949
- } | {
1950
- All: {};
1951
- };
1952
- };
1953
- };
1954
- } | {
1955
- Active: {
1956
- "0": {
1957
- extra: {
1958
- 0?: unknown;
1959
- };
1960
- user: PublicKey;
1961
- expiration: BN;
1962
- authorized_programs: {
1963
- Specific: {
1964
- 0: {
1965
- program_id: PublicKey;
1966
- signer_pda: PublicKey;
1967
- }[];
1968
- };
1969
- } | {
1970
- All: {};
1971
- };
1972
- authorized_tokens: {
1973
- Specific: {
1974
- "0": PublicKey[];
1975
- };
1976
- } | {
1977
- All: {};
1978
- };
1979
- };
1980
- };
1981
- };
1982
- };
1983
- } | {
1984
- V4: {
1985
- "0": {
1986
- Revoked: {
1987
- "0": {
1988
- user: PublicKey;
1989
- expiration: BN;
1990
- authorized_tokens_with_mints: {
1991
- Specific: {
1992
- "0": PublicKey[];
1993
- };
1994
- } | {
1995
- All: {};
1996
- };
1997
- };
1998
- };
1999
- } | {
2000
- Active: {
2001
- "0": {
2002
- domain_hash: number[];
2003
- active_session_info: {
2004
- extra: {
2005
- 0?: unknown;
2006
- };
2007
- user: PublicKey;
2008
- expiration: BN;
2009
- authorized_programs: {
2010
- Specific: {
2011
- 0: {
2012
- program_id: PublicKey;
2013
- signer_pda: PublicKey;
2014
- }[];
2015
- };
2016
- } | {
2017
- All: {};
2018
- };
2019
- authorized_tokens: {
2020
- Specific: {
2021
- "0": PublicKey[];
2022
- };
2023
- } | {
2024
- All: {};
2025
- };
2026
- };
2027
- };
2028
- };
2029
- };
2030
- };
2031
- };
2032
- }>, {
65
+ minor: 4 | 1 | 2 | 3;
66
+ sponsor: PublicKey;
67
+ user: PublicKey;
68
+ } | undefined>;
69
+ declare const sessionInfoSchema: z.ZodPipe<z.ZodObject<{
70
+ major: z.ZodNumber;
71
+ session_info: z.ZodUnion<readonly [z.ZodObject<{
72
+ V1: z.ZodObject<{
73
+ "0": z.ZodObject<{
74
+ authorized_programs: z.ZodUnion<readonly [z.ZodObject<{
75
+ Specific: z.ZodObject<{
76
+ 0: z.ZodArray<z.ZodObject<{
77
+ program_id: z.ZodCustom<PublicKey, PublicKey>;
78
+ signer_pda: z.ZodCustom<PublicKey, PublicKey>;
79
+ }, z.core.$strip>>;
80
+ }, z.core.$strip>;
81
+ }, z.core.$strip>, z.ZodObject<{
82
+ All: z.ZodObject<{}, z.core.$strip>;
83
+ }, z.core.$strip>]>;
84
+ authorized_tokens: z.ZodUnion<readonly [z.ZodObject<{
85
+ Specific: z.ZodObject<{}, z.core.$strip>;
86
+ }, z.core.$strip>, z.ZodObject<{
87
+ All: z.ZodObject<{}, z.core.$strip>;
88
+ }, z.core.$strip>]>;
89
+ expiration: z.ZodCustom<BN, BN>;
90
+ extra: z.ZodObject<{
91
+ 0: z.ZodUnknown;
92
+ }, z.core.$strip>;
93
+ user: z.ZodCustom<PublicKey, PublicKey>;
94
+ }, z.core.$strip>;
95
+ }, z.core.$strip>;
96
+ }, z.core.$strip>, z.ZodObject<{
97
+ V2: z.ZodObject<{
98
+ "0": z.ZodUnion<readonly [z.ZodObject<{
99
+ Revoked: z.ZodCustom<BN, BN>;
100
+ }, z.core.$strip>, z.ZodObject<{
101
+ Active: z.ZodObject<{
102
+ "0": z.ZodObject<{
103
+ authorized_programs: z.ZodUnion<readonly [z.ZodObject<{
104
+ Specific: z.ZodObject<{
105
+ 0: z.ZodArray<z.ZodObject<{
106
+ program_id: z.ZodCustom<PublicKey, PublicKey>;
107
+ signer_pda: z.ZodCustom<PublicKey, PublicKey>;
108
+ }, z.core.$strip>>;
109
+ }, z.core.$strip>;
110
+ }, z.core.$strip>, z.ZodObject<{
111
+ All: z.ZodObject<{}, z.core.$strip>;
112
+ }, z.core.$strip>]>;
113
+ authorized_tokens: z.ZodUnion<readonly [z.ZodObject<{
114
+ Specific: z.ZodObject<{}, z.core.$strip>;
115
+ }, z.core.$strip>, z.ZodObject<{
116
+ All: z.ZodObject<{}, z.core.$strip>;
117
+ }, z.core.$strip>]>;
118
+ expiration: z.ZodCustom<BN, BN>;
119
+ extra: z.ZodObject<{
120
+ 0: z.ZodUnknown;
121
+ }, z.core.$strip>;
122
+ user: z.ZodCustom<PublicKey, PublicKey>;
123
+ }, z.core.$strip>;
124
+ }, z.core.$strip>;
125
+ }, z.core.$strip>]>;
126
+ }, z.core.$strip>;
127
+ }, z.core.$strip>, z.ZodObject<{
128
+ V3: z.ZodObject<{
129
+ "0": z.ZodUnion<readonly [z.ZodObject<{
130
+ Revoked: z.ZodObject<{
131
+ "0": z.ZodObject<{
132
+ authorized_tokens_with_mints: z.ZodUnion<readonly [z.ZodObject<{
133
+ Specific: z.ZodObject<{
134
+ "0": z.ZodArray<z.ZodCustom<PublicKey, PublicKey>>;
135
+ }, z.core.$strip>;
136
+ }, z.core.$strip>, z.ZodObject<{
137
+ All: z.ZodObject<{}, z.core.$strip>;
138
+ }, z.core.$strip>]>;
139
+ expiration: z.ZodCustom<BN, BN>;
140
+ user: z.ZodCustom<PublicKey, PublicKey>;
141
+ }, z.core.$strip>;
142
+ }, z.core.$strip>;
143
+ }, z.core.$strip>, z.ZodObject<{
144
+ Active: z.ZodObject<{
145
+ "0": z.ZodObject<{
146
+ authorized_programs: z.ZodUnion<readonly [z.ZodObject<{
147
+ Specific: z.ZodObject<{
148
+ 0: z.ZodArray<z.ZodObject<{
149
+ program_id: z.ZodCustom<PublicKey, PublicKey>;
150
+ signer_pda: z.ZodCustom<PublicKey, PublicKey>;
151
+ }, z.core.$strip>>;
152
+ }, z.core.$strip>;
153
+ }, z.core.$strip>, z.ZodObject<{
154
+ All: z.ZodObject<{}, z.core.$strip>;
155
+ }, z.core.$strip>]>;
156
+ authorized_tokens: z.ZodUnion<readonly [z.ZodObject<{
157
+ Specific: z.ZodObject<{
158
+ "0": z.ZodArray<z.ZodCustom<PublicKey, PublicKey>>;
159
+ }, z.core.$strip>;
160
+ }, z.core.$strip>, z.ZodObject<{
161
+ All: z.ZodObject<{}, z.core.$strip>;
162
+ }, z.core.$strip>]>;
163
+ expiration: z.ZodCustom<BN, BN>;
164
+ extra: z.ZodObject<{
165
+ 0: z.ZodUnknown;
166
+ }, z.core.$strip>;
167
+ user: z.ZodCustom<PublicKey, PublicKey>;
168
+ }, z.core.$strip>;
169
+ }, z.core.$strip>;
170
+ }, z.core.$strip>]>;
171
+ }, z.core.$strip>;
172
+ }, z.core.$strip>, z.ZodObject<{
173
+ V4: z.ZodObject<{
174
+ "0": z.ZodUnion<readonly [z.ZodObject<{
175
+ Revoked: z.ZodObject<{
176
+ "0": z.ZodObject<{
177
+ authorized_tokens_with_mints: z.ZodUnion<readonly [z.ZodObject<{
178
+ Specific: z.ZodObject<{
179
+ "0": z.ZodArray<z.ZodCustom<PublicKey, PublicKey>>;
180
+ }, z.core.$strip>;
181
+ }, z.core.$strip>, z.ZodObject<{
182
+ All: z.ZodObject<{}, z.core.$strip>;
183
+ }, z.core.$strip>]>;
184
+ expiration: z.ZodCustom<BN, BN>;
185
+ user: z.ZodCustom<PublicKey, PublicKey>;
186
+ }, z.core.$strip>;
187
+ }, z.core.$strip>;
188
+ }, z.core.$strip>, z.ZodObject<{
189
+ Active: z.ZodObject<{
190
+ "0": z.ZodObject<{
191
+ active_session_info: z.ZodObject<{
192
+ authorized_programs: z.ZodUnion<readonly [z.ZodObject<{
193
+ Specific: z.ZodObject<{
194
+ 0: z.ZodArray<z.ZodObject<{
195
+ program_id: z.ZodCustom<PublicKey, PublicKey>;
196
+ signer_pda: z.ZodCustom<PublicKey, PublicKey>;
197
+ }, z.core.$strip>>;
198
+ }, z.core.$strip>;
199
+ }, z.core.$strip>, z.ZodObject<{
200
+ All: z.ZodObject<{}, z.core.$strip>;
201
+ }, z.core.$strip>]>;
202
+ authorized_tokens: z.ZodUnion<readonly [z.ZodObject<{
203
+ Specific: z.ZodObject<{
204
+ "0": z.ZodArray<z.ZodCustom<PublicKey, PublicKey>>;
205
+ }, z.core.$strip>;
206
+ }, z.core.$strip>, z.ZodObject<{
207
+ All: z.ZodObject<{}, z.core.$strip>;
208
+ }, z.core.$strip>]>;
209
+ expiration: z.ZodCustom<BN, BN>;
210
+ extra: z.ZodObject<{
211
+ 0: z.ZodUnknown;
212
+ }, z.core.$strip>;
213
+ user: z.ZodCustom<PublicKey, PublicKey>;
214
+ }, z.core.$strip>;
215
+ domain_hash: z.ZodArray<z.ZodNumber>;
216
+ }, z.core.$strip>;
217
+ }, z.core.$strip>;
218
+ }, z.core.$strip>]>;
219
+ }, z.core.$strip>;
220
+ }, z.core.$strip>]>;
221
+ sponsor: z.ZodCustom<PublicKey, PublicKey>;
222
+ }, z.core.$strip>, z.ZodTransform<{
2033
223
  authorizedPrograms: {
2034
224
  type: AuthorizedProgramsType.All;
2035
225
  } | {
2036
- type: AuthorizedProgramsType.Specific;
2037
226
  programs: {
2038
227
  programId: PublicKey;
2039
228
  signerPda: PublicKey;
2040
229
  }[];
230
+ type: AuthorizedProgramsType.Specific;
2041
231
  };
2042
232
  authorizedTokens: AuthorizedTokens;
2043
233
  expiration: Date;
2044
234
  extra: unknown;
2045
235
  major: number;
2046
236
  minor: 4 | 1 | 2 | 3;
2047
- user: PublicKey;
2048
237
  sponsor: PublicKey;
238
+ user: PublicKey;
2049
239
  } | undefined, {
2050
- sponsor: PublicKey;
2051
240
  major: number;
2052
241
  session_info: {
2053
242
  V1: {
2054
243
  "0": {
2055
- extra: {
2056
- 0?: unknown;
2057
- };
2058
- user: PublicKey;
2059
- expiration: BN;
2060
244
  authorized_programs: {
2061
245
  Specific: {
2062
246
  0: {
@@ -2065,13 +249,18 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
2065
249
  }[];
2066
250
  };
2067
251
  } | {
2068
- All: {};
252
+ All: Record<string, never>;
2069
253
  };
2070
254
  authorized_tokens: {
2071
- Specific: {};
255
+ Specific: Record<string, never>;
2072
256
  } | {
2073
- All: {};
257
+ All: Record<string, never>;
2074
258
  };
259
+ expiration: BN;
260
+ extra: {
261
+ 0: unknown;
262
+ };
263
+ user: PublicKey;
2075
264
  };
2076
265
  };
2077
266
  } | {
@@ -2081,11 +270,6 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
2081
270
  } | {
2082
271
  Active: {
2083
272
  "0": {
2084
- extra: {
2085
- 0?: unknown;
2086
- };
2087
- user: PublicKey;
2088
- expiration: BN;
2089
273
  authorized_programs: {
2090
274
  Specific: {
2091
275
  0: {
@@ -2094,13 +278,18 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
2094
278
  }[];
2095
279
  };
2096
280
  } | {
2097
- All: {};
281
+ All: Record<string, never>;
2098
282
  };
2099
283
  authorized_tokens: {
2100
- Specific: {};
284
+ Specific: Record<string, never>;
2101
285
  } | {
2102
- All: {};
286
+ All: Record<string, never>;
2103
287
  };
288
+ expiration: BN;
289
+ extra: {
290
+ 0: unknown;
291
+ };
292
+ user: PublicKey;
2104
293
  };
2105
294
  };
2106
295
  };
@@ -2110,25 +299,20 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
2110
299
  "0": {
2111
300
  Revoked: {
2112
301
  "0": {
2113
- user: PublicKey;
2114
- expiration: BN;
2115
302
  authorized_tokens_with_mints: {
2116
303
  Specific: {
2117
304
  "0": PublicKey[];
2118
305
  };
2119
306
  } | {
2120
- All: {};
307
+ All: Record<string, never>;
2121
308
  };
309
+ expiration: BN;
310
+ user: PublicKey;
2122
311
  };
2123
312
  };
2124
313
  } | {
2125
314
  Active: {
2126
315
  "0": {
2127
- extra: {
2128
- 0?: unknown;
2129
- };
2130
- user: PublicKey;
2131
- expiration: BN;
2132
316
  authorized_programs: {
2133
317
  Specific: {
2134
318
  0: {
@@ -2137,15 +321,20 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
2137
321
  }[];
2138
322
  };
2139
323
  } | {
2140
- All: {};
324
+ All: Record<string, never>;
2141
325
  };
2142
326
  authorized_tokens: {
2143
327
  Specific: {
2144
328
  "0": PublicKey[];
2145
329
  };
2146
330
  } | {
2147
- All: {};
331
+ All: Record<string, never>;
2148
332
  };
333
+ expiration: BN;
334
+ extra: {
335
+ 0: unknown;
336
+ };
337
+ user: PublicKey;
2149
338
  };
2150
339
  };
2151
340
  };
@@ -2155,27 +344,21 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
2155
344
  "0": {
2156
345
  Revoked: {
2157
346
  "0": {
2158
- user: PublicKey;
2159
- expiration: BN;
2160
347
  authorized_tokens_with_mints: {
2161
348
  Specific: {
2162
349
  "0": PublicKey[];
2163
350
  };
2164
351
  } | {
2165
- All: {};
352
+ All: Record<string, never>;
2166
353
  };
354
+ expiration: BN;
355
+ user: PublicKey;
2167
356
  };
2168
357
  };
2169
358
  } | {
2170
359
  Active: {
2171
360
  "0": {
2172
- domain_hash: number[];
2173
361
  active_session_info: {
2174
- extra: {
2175
- 0?: unknown;
2176
- };
2177
- user: PublicKey;
2178
- expiration: BN;
2179
362
  authorized_programs: {
2180
363
  Specific: {
2181
364
  0: {
@@ -2184,22 +367,29 @@ declare const sessionInfoSchema: z.ZodEffects<z.ZodObject<{
2184
367
  }[];
2185
368
  };
2186
369
  } | {
2187
- All: {};
370
+ All: Record<string, never>;
2188
371
  };
2189
372
  authorized_tokens: {
2190
373
  Specific: {
2191
374
  "0": PublicKey[];
2192
375
  };
2193
376
  } | {
2194
- All: {};
377
+ All: Record<string, never>;
378
+ };
379
+ expiration: BN;
380
+ extra: {
381
+ 0: unknown;
2195
382
  };
383
+ user: PublicKey;
2196
384
  };
385
+ domain_hash: number[];
2197
386
  };
2198
387
  };
2199
388
  };
2200
389
  };
2201
390
  };
2202
- }>;
391
+ sponsor: PublicKey;
392
+ }>>;
2203
393
  export declare enum AuthorizedProgramsType {
2204
394
  All = 0,
2205
395
  Specific = 1
@@ -2214,15 +404,15 @@ export declare enum SessionResultType {
2214
404
  Failed = 1
2215
405
  }
2216
406
  declare const EstablishSessionResult: {
2217
- Success: (signature: string, session: Session) => {
2218
- type: SessionResultType.Success;
2219
- signature: string;
2220
- session: Session;
2221
- };
2222
407
  Failed: (signature: string, error: TransactionError) => {
408
+ error: TransactionError;
409
+ signature: string;
2223
410
  type: SessionResultType.Failed;
411
+ };
412
+ Success: (signature: string, session: Session) => {
413
+ session: Session;
2224
414
  signature: string;
2225
- error: TransactionError;
415
+ type: SessionResultType.Success;
2226
416
  };
2227
417
  };
2228
418
  type EstablishSessionResult = ReturnType<(typeof EstablishSessionResult)[keyof typeof EstablishSessionResult]>;
@@ -2239,17 +429,17 @@ export type Session = {
2239
429
  };
2240
430
  export declare const getTransferFee: (context: SessionContext) => Promise<{
2241
431
  fee: bigint;
432
+ decimals: number;
2242
433
  metadata: import("@metaplex-foundation/umi").PublicKey<string>;
2243
434
  mint: PublicKey;
2244
435
  symbolOrMint: string;
2245
- decimals: number;
2246
436
  }>;
2247
437
  export declare const getBridgeOutFee: (context: SessionContext) => Promise<{
2248
438
  fee: bigint;
439
+ decimals: number;
2249
440
  metadata: import("@metaplex-foundation/umi").PublicKey<string>;
2250
441
  mint: PublicKey;
2251
442
  symbolOrMint: string;
2252
- decimals: number;
2253
443
  }>;
2254
444
  type SendTransferOptions = {
2255
445
  context: SessionContext;
@@ -2313,7 +503,7 @@ type SendBridgeInOptions = {
2313
503
  chain: "Fogo";
2314
504
  };
2315
505
  };
2316
- export declare const bridgeIn: (options: SendBridgeInOptions) => Promise<import("@wormhole-foundation/sdk/dist/cjs").CreatedTransferReceipt<"Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore"> | import("@wormhole-foundation/sdk/dist/cjs").SourceInitiatedTransferReceipt<"Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore"> | import("@wormhole-foundation/sdk/dist/cjs").FailedTransferReceipt<import("@wormhole-foundation/sdk/dist/cjs").AttestationReceipt<keyof import("@wormhole-foundation/sdk-definitions").WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore">>, "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore"> | import("@wormhole-foundation/sdk/dist/cjs").SourceFinalizedTransferReceipt<import("@wormhole-foundation/sdk/dist/cjs").AttestationReceipt<keyof import("@wormhole-foundation/sdk-definitions").WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore">>, "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore"> | import("@wormhole-foundation/sdk/dist/cjs").InReviewTransferReceipt<import("@wormhole-foundation/sdk/dist/cjs").AttestationReceipt<keyof import("@wormhole-foundation/sdk-definitions").WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore">>, "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore"> | import("@wormhole-foundation/sdk/dist/cjs").AttestedTransferReceipt<import("@wormhole-foundation/sdk/dist/cjs").AttestationReceipt<keyof import("@wormhole-foundation/sdk-definitions").WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore">>, "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore"> | import("@wormhole-foundation/sdk/dist/cjs").RefundedTransferReceipt<import("@wormhole-foundation/sdk/dist/cjs").AttestationReceipt<keyof import("@wormhole-foundation/sdk-definitions").WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore">>, "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore"> | import("@wormhole-foundation/sdk/dist/cjs").RedeemedTransferReceipt<import("@wormhole-foundation/sdk/dist/cjs").AttestationReceipt<keyof import("@wormhole-foundation/sdk-definitions").WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore">>, "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore"> | import("@wormhole-foundation/sdk/dist/cjs").DestinationQueuedTransferReceipt<import("@wormhole-foundation/sdk/dist/cjs").AttestationReceipt<keyof import("@wormhole-foundation/sdk-definitions").WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore">>, "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore"> | import("@wormhole-foundation/sdk/dist/cjs").CompletedTransferReceipt<import("@wormhole-foundation/sdk/dist/cjs").AttestationReceipt<keyof import("@wormhole-foundation/sdk-definitions").WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore">>, "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "HyperCore">>;
506
+ export declare const bridgeIn: (options: SendBridgeInOptions) => Promise<import("@wormhole-foundation/sdk-connect").CreatedTransferReceipt<"Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore"> | import("@wormhole-foundation/sdk-connect").SourceInitiatedTransferReceipt<"Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore"> | import("@wormhole-foundation/sdk-connect").FailedTransferReceipt<import("@wormhole-foundation/sdk-connect").AttestationReceipt<keyof import("@wormhole-foundation/sdk-definitions").WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore">>, "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore"> | import("@wormhole-foundation/sdk-connect").SourceFinalizedTransferReceipt<import("@wormhole-foundation/sdk-connect").AttestationReceipt<keyof import("@wormhole-foundation/sdk-definitions").WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore">>, "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore"> | import("@wormhole-foundation/sdk-connect").InReviewTransferReceipt<import("@wormhole-foundation/sdk-connect").AttestationReceipt<keyof import("@wormhole-foundation/sdk-definitions").WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore">>, "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore"> | import("@wormhole-foundation/sdk-connect").AttestedTransferReceipt<import("@wormhole-foundation/sdk-connect").AttestationReceipt<keyof import("@wormhole-foundation/sdk-definitions").WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore">>, "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore"> | import("@wormhole-foundation/sdk-connect").RefundedTransferReceipt<import("@wormhole-foundation/sdk-connect").AttestationReceipt<keyof import("@wormhole-foundation/sdk-definitions").WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore">>, "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore"> | import("@wormhole-foundation/sdk-connect").RedeemedTransferReceipt<import("@wormhole-foundation/sdk-connect").AttestationReceipt<keyof import("@wormhole-foundation/sdk-definitions").WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore">>, "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore"> | import("@wormhole-foundation/sdk-connect").DestinationQueuedTransferReceipt<import("@wormhole-foundation/sdk-connect").AttestationReceipt<keyof import("@wormhole-foundation/sdk-definitions").WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore">>, "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore"> | import("@wormhole-foundation/sdk-connect").CompletedTransferReceipt<import("@wormhole-foundation/sdk-connect").AttestationReceipt<keyof import("@wormhole-foundation/sdk-definitions").WormholeRegistry.ProtocolToInterfaceMapping<"Mainnet" | "Testnet" | "Devnet", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore">>, "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore", "Fogo" | "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore">>;
2317
507
  /**
2318
508
  * Create a login token signed with the session key
2319
509
  * @param session - The session to create a login token for
@@ -2330,17 +520,17 @@ export declare const verifyLogInToken: (token: string, connection: Connection) =
2330
520
  authorizedPrograms: {
2331
521
  type: AuthorizedProgramsType.All;
2332
522
  } | {
2333
- type: AuthorizedProgramsType.Specific;
2334
523
  programs: {
2335
524
  programId: PublicKey;
2336
525
  signerPda: PublicKey;
2337
526
  }[];
527
+ type: AuthorizedProgramsType.Specific;
2338
528
  };
2339
529
  authorizedTokens: AuthorizedTokens;
2340
530
  expiration: Date;
2341
531
  extra: unknown;
2342
532
  major: number;
2343
533
  minor: 4 | 1 | 2 | 3;
2344
- user: PublicKey;
2345
534
  sponsor: PublicKey;
535
+ user: PublicKey;
2346
536
  } | undefined>;