@revibase/core 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3223 @@
1
+ import * as gill from 'gill';
2
+ import { ReadonlyUint8Array, Address, FixedSizeEncoder, FixedSizeDecoder, FixedSizeCodec, EncodedAccount, Account, MaybeEncodedAccount, MaybeAccount, fetchEncodedAccount, FetchAccountConfig, fetchEncodedAccounts, FetchAccountsConfig, Option, OptionOrNullable, Encoder, Decoder, Codec, GetDiscriminatedUnionVariantContent, GetDiscriminatedUnionVariant, SolanaError, SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM, AccountMeta, Instruction, InstructionWithData, InstructionWithAccounts, WritableAccount, WritableSignerAccount, AccountSignerMeta, ReadonlySignerAccount, ReadonlyAccount, TransactionSigner, AddressesByLookupTableAddress, CompiledTransactionMessage, Rpc as Rpc$1, SendAndConfirmTransactionWithSignersFunction, CompilableTransactionMessage, TransactionMessage as TransactionMessage$1, TransactionMessageWithFeePayer } from 'gill';
3
+ import { AuthenticationResponseJSON } from '@simplewebauthn/server';
4
+ import * as bn_js from 'bn.js';
5
+ import { PublicKey } from '@solana/web3.js';
6
+ import { Rpc } from '@lightprotocol/stateless.js';
7
+
8
+ declare const DOMAIN_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
9
+ declare function getDomainConfigDiscriminatorBytes(): ReadonlyUint8Array;
10
+ type DomainConfig = {
11
+ discriminator: ReadonlyUint8Array;
12
+ numOrigins: number;
13
+ authority: Address;
14
+ rpIdHash: ReadonlyUint8Array;
15
+ bump: number;
16
+ isDisabled: number;
17
+ rpIdLength: number;
18
+ rpId: ReadonlyUint8Array;
19
+ origins: ReadonlyUint8Array;
20
+ metadataUrlLength: number;
21
+ metadataUrl: ReadonlyUint8Array;
22
+ };
23
+ type DomainConfigArgs = {
24
+ numOrigins: number;
25
+ authority: Address;
26
+ rpIdHash: ReadonlyUint8Array;
27
+ bump: number;
28
+ isDisabled: number;
29
+ rpIdLength: number;
30
+ rpId: ReadonlyUint8Array;
31
+ origins: ReadonlyUint8Array;
32
+ metadataUrlLength: number;
33
+ metadataUrl: ReadonlyUint8Array;
34
+ };
35
+ declare function getDomainConfigEncoder(): FixedSizeEncoder<DomainConfigArgs>;
36
+ declare function getDomainConfigDecoder(): FixedSizeDecoder<DomainConfig>;
37
+ declare function getDomainConfigCodec(): FixedSizeCodec<DomainConfigArgs, DomainConfig>;
38
+ declare function decodeDomainConfig<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<DomainConfig, TAddress>;
39
+ declare function decodeDomainConfig<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<DomainConfig, TAddress>;
40
+ declare function fetchDomainConfig<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<DomainConfig, TAddress>>;
41
+ declare function fetchMaybeDomainConfig<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<DomainConfig, TAddress>>;
42
+ declare function fetchAllDomainConfig(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<DomainConfig>[]>;
43
+ declare function fetchAllMaybeDomainConfig(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<DomainConfig>[]>;
44
+ declare function getDomainConfigSize(): number;
45
+
46
+ declare const GLOBAL_COUNTER_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
47
+ declare function getGlobalCounterDiscriminatorBytes(): ReadonlyUint8Array;
48
+ type GlobalCounter = {
49
+ discriminator: ReadonlyUint8Array;
50
+ index: bigint;
51
+ };
52
+ type GlobalCounterArgs = {
53
+ index: number | bigint;
54
+ };
55
+ declare function getGlobalCounterEncoder(): FixedSizeEncoder<GlobalCounterArgs>;
56
+ declare function getGlobalCounterDecoder(): FixedSizeDecoder<GlobalCounter>;
57
+ declare function getGlobalCounterCodec(): FixedSizeCodec<GlobalCounterArgs, GlobalCounter>;
58
+ declare function decodeGlobalCounter<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<GlobalCounter, TAddress>;
59
+ declare function decodeGlobalCounter<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<GlobalCounter, TAddress>;
60
+ declare function fetchGlobalCounter<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<GlobalCounter, TAddress>>;
61
+ declare function fetchMaybeGlobalCounter<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<GlobalCounter, TAddress>>;
62
+ declare function fetchAllGlobalCounter(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<GlobalCounter>[]>;
63
+ declare function fetchAllMaybeGlobalCounter(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<GlobalCounter>[]>;
64
+ declare function getGlobalCounterSize(): number;
65
+
66
+ type AddMemberArgs$1 = {
67
+ member: Member;
68
+ verifyArgs: Option<Secp256r1VerifyArgs>;
69
+ userArgs: UserReadOnlyOrMutateArgs;
70
+ setAsDelegate: boolean;
71
+ };
72
+ type AddMemberArgsArgs = {
73
+ member: MemberArgs;
74
+ verifyArgs: OptionOrNullable<Secp256r1VerifyArgsArgs>;
75
+ userArgs: UserReadOnlyOrMutateArgsArgs;
76
+ setAsDelegate: boolean;
77
+ };
78
+ declare function getAddMemberArgsEncoder(): Encoder<AddMemberArgsArgs>;
79
+ declare function getAddMemberArgsDecoder(): Decoder<AddMemberArgs$1>;
80
+ declare function getAddMemberArgsCodec(): Codec<AddMemberArgsArgs, AddMemberArgs$1>;
81
+
82
+ type CompiledInstruction = {
83
+ programAddressIndex: number;
84
+ accountIndices: ReadonlyUint8Array;
85
+ data: ReadonlyUint8Array;
86
+ };
87
+ type CompiledInstructionArgs = CompiledInstruction;
88
+ declare function getCompiledInstructionEncoder(): Encoder<CompiledInstructionArgs>;
89
+ declare function getCompiledInstructionDecoder(): Decoder<CompiledInstruction>;
90
+ declare function getCompiledInstructionCodec(): Codec<CompiledInstructionArgs, CompiledInstruction>;
91
+
92
+ type CompressedAccountMeta = {
93
+ treeInfo: PackedStateTreeInfo;
94
+ address: ReadonlyUint8Array;
95
+ outputStateTreeIndex: number;
96
+ };
97
+ type CompressedAccountMetaArgs = {
98
+ treeInfo: PackedStateTreeInfoArgs;
99
+ address: ReadonlyUint8Array;
100
+ outputStateTreeIndex: number;
101
+ };
102
+ declare function getCompressedAccountMetaEncoder(): FixedSizeEncoder<CompressedAccountMetaArgs>;
103
+ declare function getCompressedAccountMetaDecoder(): FixedSizeDecoder<CompressedAccountMeta>;
104
+ declare function getCompressedAccountMetaCodec(): FixedSizeCodec<CompressedAccountMetaArgs, CompressedAccountMeta>;
105
+
106
+ type CompressedAccountMetaReadOnly = {
107
+ treeInfo: PackedStateTreeInfo;
108
+ address: ReadonlyUint8Array;
109
+ };
110
+ type CompressedAccountMetaReadOnlyArgs = {
111
+ treeInfo: PackedStateTreeInfoArgs;
112
+ address: ReadonlyUint8Array;
113
+ };
114
+ declare function getCompressedAccountMetaReadOnlyEncoder(): FixedSizeEncoder<CompressedAccountMetaReadOnlyArgs>;
115
+ declare function getCompressedAccountMetaReadOnlyDecoder(): FixedSizeDecoder<CompressedAccountMetaReadOnly>;
116
+ declare function getCompressedAccountMetaReadOnlyCodec(): FixedSizeCodec<CompressedAccountMetaReadOnlyArgs, CompressedAccountMetaReadOnly>;
117
+
118
+ type CompressedProof = {
119
+ a: ReadonlyUint8Array;
120
+ b: ReadonlyUint8Array;
121
+ c: ReadonlyUint8Array;
122
+ };
123
+ type CompressedProofArgs = CompressedProof;
124
+ declare function getCompressedProofEncoder(): FixedSizeEncoder<CompressedProofArgs>;
125
+ declare function getCompressedProofDecoder(): FixedSizeDecoder<CompressedProof>;
126
+ declare function getCompressedProofCodec(): FixedSizeCodec<CompressedProofArgs, CompressedProof>;
127
+
128
+ type CompressedSettings = {
129
+ data: Option<CompressedSettingsData>;
130
+ };
131
+ type CompressedSettingsArgs = {
132
+ data: OptionOrNullable<CompressedSettingsDataArgs>;
133
+ };
134
+ declare function getCompressedSettingsEncoder(): Encoder<CompressedSettingsArgs>;
135
+ declare function getCompressedSettingsDecoder(): Decoder<CompressedSettings>;
136
+ declare function getCompressedSettingsCodec(): Codec<CompressedSettingsArgs, CompressedSettings>;
137
+
138
+ type CompressedSettingsData = {
139
+ threshold: number;
140
+ bump: number;
141
+ index: bigint;
142
+ multiWalletBump: number;
143
+ members: Array<Member>;
144
+ };
145
+ type CompressedSettingsDataArgs = {
146
+ threshold: number;
147
+ bump: number;
148
+ index: number | bigint;
149
+ multiWalletBump: number;
150
+ members: Array<MemberArgs>;
151
+ };
152
+ declare function getCompressedSettingsDataEncoder(): Encoder<CompressedSettingsDataArgs>;
153
+ declare function getCompressedSettingsDataDecoder(): Decoder<CompressedSettingsData>;
154
+ declare function getCompressedSettingsDataCodec(): Codec<CompressedSettingsDataArgs, CompressedSettingsData>;
155
+
156
+ type ConfigAction = {
157
+ __kind: "EditPermissions";
158
+ fields: readonly [Array<EditMemberArgs>];
159
+ } | {
160
+ __kind: "AddMembers";
161
+ fields: readonly [Array<AddMemberArgs$1>];
162
+ } | {
163
+ __kind: "RemoveMembers";
164
+ fields: readonly [Array<RemoveMemberArgs>];
165
+ } | {
166
+ __kind: "SetThreshold";
167
+ fields: readonly [number];
168
+ };
169
+ type ConfigActionArgs = {
170
+ __kind: "EditPermissions";
171
+ fields: readonly [Array<EditMemberArgsArgs>];
172
+ } | {
173
+ __kind: "AddMembers";
174
+ fields: readonly [Array<AddMemberArgsArgs>];
175
+ } | {
176
+ __kind: "RemoveMembers";
177
+ fields: readonly [Array<RemoveMemberArgsArgs>];
178
+ } | {
179
+ __kind: "SetThreshold";
180
+ fields: readonly [number];
181
+ };
182
+ declare function getConfigActionEncoder(): Encoder<ConfigActionArgs>;
183
+ declare function getConfigActionDecoder(): Decoder<ConfigAction>;
184
+ declare function getConfigActionCodec(): Codec<ConfigActionArgs, ConfigAction>;
185
+ declare function configAction(kind: "EditPermissions", data: GetDiscriminatedUnionVariantContent<ConfigActionArgs, "__kind", "EditPermissions">["fields"]): GetDiscriminatedUnionVariant<ConfigActionArgs, "__kind", "EditPermissions">;
186
+ declare function configAction(kind: "AddMembers", data: GetDiscriminatedUnionVariantContent<ConfigActionArgs, "__kind", "AddMembers">["fields"]): GetDiscriminatedUnionVariant<ConfigActionArgs, "__kind", "AddMembers">;
187
+ declare function configAction(kind: "RemoveMembers", data: GetDiscriminatedUnionVariantContent<ConfigActionArgs, "__kind", "RemoveMembers">["fields"]): GetDiscriminatedUnionVariant<ConfigActionArgs, "__kind", "RemoveMembers">;
188
+ declare function configAction(kind: "SetThreshold", data: GetDiscriminatedUnionVariantContent<ConfigActionArgs, "__kind", "SetThreshold">["fields"]): GetDiscriminatedUnionVariant<ConfigActionArgs, "__kind", "SetThreshold">;
189
+ declare function isConfigAction<K extends ConfigAction["__kind"]>(kind: K, value: ConfigAction): value is ConfigAction & {
190
+ __kind: K;
191
+ };
192
+
193
+ type CreateUserAccountArgs = {
194
+ member: Address;
195
+ isPermanentMember: boolean;
196
+ transactionManagerUrl: Option<string>;
197
+ userCreationArgs: UserCreationArgs$2;
198
+ };
199
+ type CreateUserAccountArgsArgs = {
200
+ member: Address;
201
+ isPermanentMember: boolean;
202
+ transactionManagerUrl: OptionOrNullable<string>;
203
+ userCreationArgs: UserCreationArgsArgs;
204
+ };
205
+ declare function getCreateUserAccountArgsEncoder(): Encoder<CreateUserAccountArgsArgs>;
206
+ declare function getCreateUserAccountArgsDecoder(): Decoder<CreateUserAccountArgs>;
207
+ declare function getCreateUserAccountArgsCodec(): Codec<CreateUserAccountArgsArgs, CreateUserAccountArgs>;
208
+
209
+ declare enum DelegateOp {
210
+ Add = 0,
211
+ Remove = 1,
212
+ Ignore = 2
213
+ }
214
+ type DelegateOpArgs = DelegateOp;
215
+ declare function getDelegateOpEncoder(): FixedSizeEncoder<DelegateOpArgs>;
216
+ declare function getDelegateOpDecoder(): FixedSizeDecoder<DelegateOp>;
217
+ declare function getDelegateOpCodec(): FixedSizeCodec<DelegateOpArgs, DelegateOp>;
218
+
219
+ type EditMemberArgs = {
220
+ memberKey: MemberKey;
221
+ permissions: IPermissions;
222
+ userArgs: Option<UserMutArgs>;
223
+ delegateOperation: DelegateOp;
224
+ };
225
+ type EditMemberArgsArgs = {
226
+ memberKey: MemberKeyArgs;
227
+ permissions: PermissionsArgs;
228
+ userArgs: OptionOrNullable<UserMutArgsArgs>;
229
+ delegateOperation: DelegateOpArgs;
230
+ };
231
+ declare function getEditMemberArgsEncoder(): Encoder<EditMemberArgsArgs>;
232
+ declare function getEditMemberArgsDecoder(): Decoder<EditMemberArgs>;
233
+ declare function getEditMemberArgsCodec(): Codec<EditMemberArgsArgs, EditMemberArgs>;
234
+
235
+ type LinkWalletArgs = {
236
+ settingsMutArgs: SettingsMutArgs;
237
+ transactionManager: Option<UserMutArgs>;
238
+ };
239
+ type LinkWalletArgsArgs = {
240
+ settingsMutArgs: SettingsMutArgsArgs;
241
+ transactionManager: OptionOrNullable<UserMutArgsArgs>;
242
+ };
243
+ declare function getLinkWalletArgsEncoder(): Encoder<LinkWalletArgsArgs>;
244
+ declare function getLinkWalletArgsDecoder(): Decoder<LinkWalletArgs>;
245
+ declare function getLinkWalletArgsCodec(): Codec<LinkWalletArgsArgs, LinkWalletArgs>;
246
+
247
+ type Member = {
248
+ pubkey: MemberKey;
249
+ permissions: IPermissions;
250
+ };
251
+ type MemberArgs = {
252
+ pubkey: MemberKeyArgs;
253
+ permissions: PermissionsArgs;
254
+ };
255
+ declare function getMemberEncoder(): FixedSizeEncoder<MemberArgs>;
256
+ declare function getMemberDecoder(): FixedSizeDecoder<Member>;
257
+ declare function getMemberCodec(): FixedSizeCodec<MemberArgs, Member>;
258
+
259
+ type MemberKey = {
260
+ keyType: number;
261
+ key: ReadonlyUint8Array;
262
+ };
263
+ type MemberKeyArgs = MemberKey;
264
+ declare function getMemberKeyEncoder(): FixedSizeEncoder<MemberKeyArgs>;
265
+ declare function getMemberKeyDecoder(): FixedSizeDecoder<MemberKey>;
266
+ declare function getMemberKeyCodec(): FixedSizeCodec<MemberKeyArgs, MemberKey>;
267
+
268
+ type PackedAddressTreeInfo = {
269
+ addressMerkleTreePubkeyIndex: number;
270
+ addressQueuePubkeyIndex: number;
271
+ rootIndex: number;
272
+ };
273
+ type PackedAddressTreeInfoArgs = PackedAddressTreeInfo;
274
+ declare function getPackedAddressTreeInfoEncoder(): FixedSizeEncoder<PackedAddressTreeInfoArgs>;
275
+ declare function getPackedAddressTreeInfoDecoder(): FixedSizeDecoder<PackedAddressTreeInfo>;
276
+ declare function getPackedAddressTreeInfoCodec(): FixedSizeCodec<PackedAddressTreeInfoArgs, PackedAddressTreeInfo>;
277
+
278
+ type PackedStateTreeInfo = {
279
+ rootIndex: number;
280
+ proveByIndex: boolean;
281
+ merkleTreePubkeyIndex: number;
282
+ queuePubkeyIndex: number;
283
+ leafIndex: number;
284
+ };
285
+ type PackedStateTreeInfoArgs = PackedStateTreeInfo;
286
+ declare function getPackedStateTreeInfoEncoder(): FixedSizeEncoder<PackedStateTreeInfoArgs>;
287
+ declare function getPackedStateTreeInfoDecoder(): FixedSizeDecoder<PackedStateTreeInfo>;
288
+ declare function getPackedStateTreeInfoCodec(): FixedSizeCodec<PackedStateTreeInfoArgs, PackedStateTreeInfo>;
289
+
290
+ type IPermissions = {
291
+ mask: number;
292
+ };
293
+ type PermissionsArgs = IPermissions;
294
+ declare function getPermissionsEncoder(): FixedSizeEncoder<PermissionsArgs>;
295
+ declare function getPermissionsDecoder(): FixedSizeDecoder<IPermissions>;
296
+ declare function getPermissionsCodec(): FixedSizeCodec<PermissionsArgs, IPermissions>;
297
+
298
+ type ProofArgs = {
299
+ proof: Option<CompressedProof>;
300
+ lightCpiAccountsStartIndex: number;
301
+ };
302
+ type ProofArgsArgs = {
303
+ proof: OptionOrNullable<CompressedProofArgs>;
304
+ lightCpiAccountsStartIndex: number;
305
+ };
306
+ declare function getProofArgsEncoder(): Encoder<ProofArgsArgs>;
307
+ declare function getProofArgsDecoder(): Decoder<ProofArgs>;
308
+ declare function getProofArgsCodec(): Codec<ProofArgsArgs, ProofArgs>;
309
+
310
+ type RemoveMemberArgs = {
311
+ memberKey: MemberKey;
312
+ userArgs: UserReadOnlyOrMutateArgs;
313
+ };
314
+ type RemoveMemberArgsArgs = {
315
+ memberKey: MemberKeyArgs;
316
+ userArgs: UserReadOnlyOrMutateArgsArgs;
317
+ };
318
+ declare function getRemoveMemberArgsEncoder(): Encoder<RemoveMemberArgsArgs>;
319
+ declare function getRemoveMemberArgsDecoder(): Decoder<RemoveMemberArgs>;
320
+ declare function getRemoveMemberArgsCodec(): Codec<RemoveMemberArgsArgs, RemoveMemberArgs>;
321
+
322
+ type Secp256r1Pubkey = readonly [ReadonlyUint8Array];
323
+ type Secp256r1PubkeyArgs = Secp256r1Pubkey;
324
+ declare function getSecp256r1PubkeyEncoder(): FixedSizeEncoder<Secp256r1PubkeyArgs>;
325
+ declare function getSecp256r1PubkeyDecoder(): FixedSizeDecoder<Secp256r1Pubkey>;
326
+ declare function getSecp256r1PubkeyCodec(): FixedSizeCodec<Secp256r1PubkeyArgs, Secp256r1Pubkey>;
327
+
328
+ type Secp256r1VerifyArgs = {
329
+ signedMessageIndex: number;
330
+ slotNumber: bigint;
331
+ originIndex: number;
332
+ crossOrigin: boolean;
333
+ truncatedClientDataJson: ReadonlyUint8Array;
334
+ };
335
+ type Secp256r1VerifyArgsArgs = {
336
+ signedMessageIndex: number;
337
+ slotNumber: number | bigint;
338
+ originIndex: number;
339
+ crossOrigin: boolean;
340
+ truncatedClientDataJson: ReadonlyUint8Array;
341
+ };
342
+ declare function getSecp256r1VerifyArgsEncoder(): Encoder<Secp256r1VerifyArgsArgs>;
343
+ declare function getSecp256r1VerifyArgsDecoder(): Decoder<Secp256r1VerifyArgs>;
344
+ declare function getSecp256r1VerifyArgsCodec(): Codec<Secp256r1VerifyArgsArgs, Secp256r1VerifyArgs>;
345
+
346
+ type Secp256r1VerifyArgsWithDomainAddress = {
347
+ domainConfigKey: Address;
348
+ verifyArgs: Secp256r1VerifyArgs;
349
+ };
350
+ type Secp256r1VerifyArgsWithDomainAddressArgs = {
351
+ domainConfigKey: Address;
352
+ verifyArgs: Secp256r1VerifyArgsArgs;
353
+ };
354
+ declare function getSecp256r1VerifyArgsWithDomainAddressEncoder(): Encoder<Secp256r1VerifyArgsWithDomainAddressArgs>;
355
+ declare function getSecp256r1VerifyArgsWithDomainAddressDecoder(): Decoder<Secp256r1VerifyArgsWithDomainAddress>;
356
+ declare function getSecp256r1VerifyArgsWithDomainAddressCodec(): Codec<Secp256r1VerifyArgsWithDomainAddressArgs, Secp256r1VerifyArgsWithDomainAddress>;
357
+
358
+ type SettingsCreateOrMutateArgs = {
359
+ __kind: "Create";
360
+ fields: readonly [SettingsCreationArgs];
361
+ } | {
362
+ __kind: "Mutate";
363
+ fields: readonly [SettingsMutArgs];
364
+ };
365
+ type SettingsCreateOrMutateArgsArgs = {
366
+ __kind: "Create";
367
+ fields: readonly [SettingsCreationArgsArgs];
368
+ } | {
369
+ __kind: "Mutate";
370
+ fields: readonly [SettingsMutArgsArgs];
371
+ };
372
+ declare function getSettingsCreateOrMutateArgsEncoder(): Encoder<SettingsCreateOrMutateArgsArgs>;
373
+ declare function getSettingsCreateOrMutateArgsDecoder(): Decoder<SettingsCreateOrMutateArgs>;
374
+ declare function getSettingsCreateOrMutateArgsCodec(): Codec<SettingsCreateOrMutateArgsArgs, SettingsCreateOrMutateArgs>;
375
+ declare function settingsCreateOrMutateArgs(kind: "Create", data: GetDiscriminatedUnionVariantContent<SettingsCreateOrMutateArgsArgs, "__kind", "Create">["fields"]): GetDiscriminatedUnionVariant<SettingsCreateOrMutateArgsArgs, "__kind", "Create">;
376
+ declare function settingsCreateOrMutateArgs(kind: "Mutate", data: GetDiscriminatedUnionVariantContent<SettingsCreateOrMutateArgsArgs, "__kind", "Mutate">["fields"]): GetDiscriminatedUnionVariant<SettingsCreateOrMutateArgsArgs, "__kind", "Mutate">;
377
+ declare function isSettingsCreateOrMutateArgs<K extends SettingsCreateOrMutateArgs["__kind"]>(kind: K, value: SettingsCreateOrMutateArgs): value is SettingsCreateOrMutateArgs & {
378
+ __kind: K;
379
+ };
380
+
381
+ type SettingsCreationArgs = {
382
+ addressTreeInfo: PackedAddressTreeInfo;
383
+ outputStateTreeIndex: number;
384
+ };
385
+ type SettingsCreationArgsArgs = {
386
+ addressTreeInfo: PackedAddressTreeInfoArgs;
387
+ outputStateTreeIndex: number;
388
+ };
389
+ declare function getSettingsCreationArgsEncoder(): FixedSizeEncoder<SettingsCreationArgsArgs>;
390
+ declare function getSettingsCreationArgsDecoder(): FixedSizeDecoder<SettingsCreationArgs>;
391
+ declare function getSettingsCreationArgsCodec(): FixedSizeCodec<SettingsCreationArgsArgs, SettingsCreationArgs>;
392
+
393
+ type SettingsMutArgs = {
394
+ accountMeta: CompressedAccountMeta;
395
+ data: CompressedSettings;
396
+ };
397
+ type SettingsMutArgsArgs = {
398
+ accountMeta: CompressedAccountMetaArgs;
399
+ data: CompressedSettingsArgs;
400
+ };
401
+ declare function getSettingsMutArgsEncoder(): Encoder<SettingsMutArgsArgs>;
402
+ declare function getSettingsMutArgsDecoder(): Decoder<SettingsMutArgs>;
403
+ declare function getSettingsMutArgsCodec(): Codec<SettingsMutArgsArgs, SettingsMutArgs>;
404
+
405
+ type SettingsReadonlyArgs = {
406
+ accountMeta: CompressedAccountMetaReadOnly;
407
+ data: CompressedSettings;
408
+ };
409
+ type SettingsReadonlyArgsArgs = {
410
+ accountMeta: CompressedAccountMetaReadOnlyArgs;
411
+ data: CompressedSettingsArgs;
412
+ };
413
+ declare function getSettingsReadonlyArgsEncoder(): Encoder<SettingsReadonlyArgsArgs>;
414
+ declare function getSettingsReadonlyArgsDecoder(): Decoder<SettingsReadonlyArgs>;
415
+ declare function getSettingsReadonlyArgsCodec(): Codec<SettingsReadonlyArgsArgs, SettingsReadonlyArgs>;
416
+
417
+ type TransactionBufferCreateArgs = {
418
+ bufferIndex: number;
419
+ preauthorizeExecution: boolean;
420
+ bufferExtendHashes: Array<ReadonlyUint8Array>;
421
+ finalBufferHash: ReadonlyUint8Array;
422
+ finalBufferSize: number;
423
+ };
424
+ type TransactionBufferCreateArgsArgs = TransactionBufferCreateArgs;
425
+ declare function getTransactionBufferCreateArgsEncoder(): Encoder<TransactionBufferCreateArgsArgs>;
426
+ declare function getTransactionBufferCreateArgsDecoder(): Decoder<TransactionBufferCreateArgs>;
427
+ declare function getTransactionBufferCreateArgsCodec(): Codec<TransactionBufferCreateArgsArgs, TransactionBufferCreateArgs>;
428
+
429
+ type TransactionMessage = {
430
+ numSigners: number;
431
+ numWritableSigners: number;
432
+ numWritableNonSigners: number;
433
+ numAccountKeys: number;
434
+ instructions: Array<CompiledInstruction>;
435
+ addressTableLookups: Array<TransactionMessageAddressTableLookup>;
436
+ };
437
+ type TransactionMessageArgs = {
438
+ numSigners: number;
439
+ numWritableSigners: number;
440
+ numWritableNonSigners: number;
441
+ numAccountKeys: number;
442
+ instructions: Array<CompiledInstructionArgs>;
443
+ addressTableLookups: Array<TransactionMessageAddressTableLookupArgs>;
444
+ };
445
+ declare function getTransactionMessageEncoder(): Encoder<TransactionMessageArgs>;
446
+ declare function getTransactionMessageDecoder(): Decoder<TransactionMessage>;
447
+ declare function getTransactionMessageCodec(): Codec<TransactionMessageArgs, TransactionMessage>;
448
+
449
+ type TransactionMessageAddressTableLookup = {
450
+ lookupTableAddressIndex: number;
451
+ writableIndexes: ReadonlyUint8Array;
452
+ readonlyIndexes: ReadonlyUint8Array;
453
+ };
454
+ type TransactionMessageAddressTableLookupArgs = TransactionMessageAddressTableLookup;
455
+ declare function getTransactionMessageAddressTableLookupEncoder(): Encoder<TransactionMessageAddressTableLookupArgs>;
456
+ declare function getTransactionMessageAddressTableLookupDecoder(): Decoder<TransactionMessageAddressTableLookup>;
457
+ declare function getTransactionMessageAddressTableLookupCodec(): Codec<TransactionMessageAddressTableLookupArgs, TransactionMessageAddressTableLookup>;
458
+
459
+ type User = {
460
+ member: MemberKey;
461
+ domainConfig: Option<Address>;
462
+ isPermanentMember: boolean;
463
+ settingsIndex: Option<bigint>;
464
+ transactionManagerUrl: Option<string>;
465
+ };
466
+ type UserArgs = {
467
+ member: MemberKeyArgs;
468
+ domainConfig: OptionOrNullable<Address>;
469
+ isPermanentMember: boolean;
470
+ settingsIndex: OptionOrNullable<number | bigint>;
471
+ transactionManagerUrl: OptionOrNullable<string>;
472
+ };
473
+ declare function getUserEncoder(): Encoder<UserArgs>;
474
+ declare function getUserDecoder(): Decoder<User>;
475
+ declare function getUserCodec(): Codec<UserArgs, User>;
476
+
477
+ type UserCreationArgs$2 = {
478
+ addressTreeInfo: PackedAddressTreeInfo;
479
+ outputStateTreeIndex: number;
480
+ };
481
+ type UserCreationArgsArgs = {
482
+ addressTreeInfo: PackedAddressTreeInfoArgs;
483
+ outputStateTreeIndex: number;
484
+ };
485
+ declare function getUserCreationArgsEncoder(): FixedSizeEncoder<UserCreationArgsArgs>;
486
+ declare function getUserCreationArgsDecoder(): FixedSizeDecoder<UserCreationArgs$2>;
487
+ declare function getUserCreationArgsCodec(): FixedSizeCodec<UserCreationArgsArgs, UserCreationArgs$2>;
488
+
489
+ type UserMutArgs = {
490
+ accountMeta: CompressedAccountMeta;
491
+ data: User;
492
+ };
493
+ type UserMutArgsArgs = {
494
+ accountMeta: CompressedAccountMetaArgs;
495
+ data: UserArgs;
496
+ };
497
+ declare function getUserMutArgsEncoder(): Encoder<UserMutArgsArgs>;
498
+ declare function getUserMutArgsDecoder(): Decoder<UserMutArgs>;
499
+ declare function getUserMutArgsCodec(): Codec<UserMutArgsArgs, UserMutArgs>;
500
+
501
+ type UserReadOnlyArgs = {
502
+ accountMeta: CompressedAccountMetaReadOnly;
503
+ data: User;
504
+ };
505
+ type UserReadOnlyArgsArgs = {
506
+ accountMeta: CompressedAccountMetaReadOnlyArgs;
507
+ data: UserArgs;
508
+ };
509
+ declare function getUserReadOnlyArgsEncoder(): Encoder<UserReadOnlyArgsArgs>;
510
+ declare function getUserReadOnlyArgsDecoder(): Decoder<UserReadOnlyArgs>;
511
+ declare function getUserReadOnlyArgsCodec(): Codec<UserReadOnlyArgsArgs, UserReadOnlyArgs>;
512
+
513
+ type UserReadOnlyOrMutateArgs = {
514
+ __kind: "Read";
515
+ fields: readonly [UserReadOnlyArgs];
516
+ } | {
517
+ __kind: "Mutate";
518
+ fields: readonly [UserMutArgs];
519
+ };
520
+ type UserReadOnlyOrMutateArgsArgs = {
521
+ __kind: "Read";
522
+ fields: readonly [UserReadOnlyArgsArgs];
523
+ } | {
524
+ __kind: "Mutate";
525
+ fields: readonly [UserMutArgsArgs];
526
+ };
527
+ declare function getUserReadOnlyOrMutateArgsEncoder(): Encoder<UserReadOnlyOrMutateArgsArgs>;
528
+ declare function getUserReadOnlyOrMutateArgsDecoder(): Decoder<UserReadOnlyOrMutateArgs>;
529
+ declare function getUserReadOnlyOrMutateArgsCodec(): Codec<UserReadOnlyOrMutateArgsArgs, UserReadOnlyOrMutateArgs>;
530
+ declare function userReadOnlyOrMutateArgs(kind: "Read", data: GetDiscriminatedUnionVariantContent<UserReadOnlyOrMutateArgsArgs, "__kind", "Read">["fields"]): GetDiscriminatedUnionVariant<UserReadOnlyOrMutateArgsArgs, "__kind", "Read">;
531
+ declare function userReadOnlyOrMutateArgs(kind: "Mutate", data: GetDiscriminatedUnionVariantContent<UserReadOnlyOrMutateArgsArgs, "__kind", "Mutate">["fields"]): GetDiscriminatedUnionVariant<UserReadOnlyOrMutateArgsArgs, "__kind", "Mutate">;
532
+ declare function isUserReadOnlyOrMutateArgs<K extends UserReadOnlyOrMutateArgs["__kind"]>(kind: K, value: UserReadOnlyOrMutateArgs): value is UserReadOnlyOrMutateArgs & {
533
+ __kind: K;
534
+ };
535
+
536
+ declare const SETTINGS_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
537
+ declare function getSettingsDiscriminatorBytes(): ReadonlyUint8Array;
538
+ type Settings = {
539
+ discriminator: ReadonlyUint8Array;
540
+ index: bigint;
541
+ members: Array<Member>;
542
+ membersLen: number;
543
+ threshold: number;
544
+ multiWalletBump: number;
545
+ bump: number;
546
+ };
547
+ type SettingsArgs = {
548
+ index: number | bigint;
549
+ members: Array<MemberArgs>;
550
+ membersLen: number;
551
+ threshold: number;
552
+ multiWalletBump: number;
553
+ bump: number;
554
+ };
555
+ declare function getSettingsEncoder(): FixedSizeEncoder<SettingsArgs>;
556
+ declare function getSettingsDecoder(): FixedSizeDecoder<Settings>;
557
+ declare function getSettingsCodec(): FixedSizeCodec<SettingsArgs, Settings>;
558
+ declare function decodeSettings<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<Settings, TAddress>;
559
+ declare function decodeSettings<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<Settings, TAddress>;
560
+ declare function fetchSettings<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<Settings, TAddress>>;
561
+ declare function fetchMaybeSettings<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<Settings, TAddress>>;
562
+ declare function fetchAllSettings(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<Settings>[]>;
563
+ declare function fetchAllMaybeSettings(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<Settings>[]>;
564
+ declare function getSettingsSize(): number;
565
+
566
+ declare const TRANSACTION_BUFFER_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
567
+ declare function getTransactionBufferDiscriminatorBytes(): ReadonlyUint8Array;
568
+ type TransactionBuffer = {
569
+ discriminator: ReadonlyUint8Array;
570
+ multiWalletSettings: Address;
571
+ multiWalletBump: number;
572
+ canExecute: boolean;
573
+ preauthorizeExecution: boolean;
574
+ validTill: bigint;
575
+ payer: Address;
576
+ bump: number;
577
+ bufferIndex: number;
578
+ finalBufferHash: ReadonlyUint8Array;
579
+ finalBufferSize: number;
580
+ creator: MemberKey;
581
+ bufferExtendHashes: Array<ReadonlyUint8Array>;
582
+ voters: Array<MemberKey>;
583
+ buffer: ReadonlyUint8Array;
584
+ };
585
+ type TransactionBufferArgs = {
586
+ multiWalletSettings: Address;
587
+ multiWalletBump: number;
588
+ canExecute: boolean;
589
+ preauthorizeExecution: boolean;
590
+ validTill: number | bigint;
591
+ payer: Address;
592
+ bump: number;
593
+ bufferIndex: number;
594
+ finalBufferHash: ReadonlyUint8Array;
595
+ finalBufferSize: number;
596
+ creator: MemberKeyArgs;
597
+ bufferExtendHashes: Array<ReadonlyUint8Array>;
598
+ voters: Array<MemberKeyArgs>;
599
+ buffer: ReadonlyUint8Array;
600
+ };
601
+ declare function getTransactionBufferEncoder(): Encoder<TransactionBufferArgs>;
602
+ declare function getTransactionBufferDecoder(): Decoder<TransactionBuffer>;
603
+ declare function getTransactionBufferCodec(): Codec<TransactionBufferArgs, TransactionBuffer>;
604
+ declare function decodeTransactionBuffer<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<TransactionBuffer, TAddress>;
605
+ declare function decodeTransactionBuffer<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<TransactionBuffer, TAddress>;
606
+ declare function fetchTransactionBuffer<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<TransactionBuffer, TAddress>>;
607
+ declare function fetchMaybeTransactionBuffer<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<TransactionBuffer, TAddress>>;
608
+ declare function fetchAllTransactionBuffer(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<TransactionBuffer>[]>;
609
+ declare function fetchAllMaybeTransactionBuffer(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<TransactionBuffer>[]>;
610
+
611
+ declare const MULTI_WALLET_ERROR__INVALID_SIGNED_MESSAGE = 6000;
612
+ declare const MULTI_WALLET_ERROR__INVALID_SECP256R1_VERIFY_ARG = 6001;
613
+ declare const MULTI_WALLET_ERROR__DURABLE_NONCE_DETECTED = 6002;
614
+ declare const MULTI_WALLET_ERROR__DUPLICATE_MEMBER = 6003;
615
+ declare const MULTI_WALLET_ERROR__PERMANENT_MEMBER = 6004;
616
+ declare const MULTI_WALLET_ERROR__PERMANENT_MEMBER_NOT_ALLOWED = 6005;
617
+ declare const MULTI_WALLET_ERROR__ONLY_ONE_PERMANENT_MEMBER_ALLOWED = 6006;
618
+ declare const MULTI_WALLET_ERROR__ONLY_ONE_TRANSACTION_MANAGER_ALLOWED = 6007;
619
+ declare const MULTI_WALLET_ERROR__TRANSACTION_MANAGER_NOT_ALLOWED = 6008;
620
+ declare const MULTI_WALLET_ERROR__EMPTY_MEMBERS = 6009;
621
+ declare const MULTI_WALLET_ERROR__TOO_MANY_MEMBERS = 6010;
622
+ declare const MULTI_WALLET_ERROR__INVALID_THRESHOLD = 6011;
623
+ declare const MULTI_WALLET_ERROR__INVALID_TRANSACTION_MESSAGE = 6012;
624
+ declare const MULTI_WALLET_ERROR__INVALID_NUMBER_OF_ACCOUNTS = 6013;
625
+ declare const MULTI_WALLET_ERROR__INVALID_ACCOUNT = 6014;
626
+ declare const MULTI_WALLET_ERROR__INVALID_ARGUMENTS = 6015;
627
+ declare const MULTI_WALLET_ERROR__MISSING_ACCOUNT = 6016;
628
+ declare const MULTI_WALLET_ERROR__MISSING_USER_ARGS = 6017;
629
+ declare const MULTI_WALLET_ERROR__ALREADY_DELEGATED = 6018;
630
+ declare const MULTI_WALLET_ERROR__INSUFFICIENT_SIGNER_WITH_EXECUTE_PERMISSION = 6019;
631
+ declare const MULTI_WALLET_ERROR__INSUFFICIENT_SIGNER_WITH_INITIATE_PERMISSION = 6020;
632
+ declare const MULTI_WALLET_ERROR__INSUFFICIENT_SIGNERS_WITH_VOTE_PERMISSION = 6021;
633
+ declare const MULTI_WALLET_ERROR__NO_SIGNER_FOUND = 6022;
634
+ declare const MULTI_WALLET_ERROR__UNAUTHORISED_TO_CLOSE_TRANSACTION_BUFFER = 6023;
635
+ declare const MULTI_WALLET_ERROR__INVALID_BUFFER = 6024;
636
+ declare const MULTI_WALLET_ERROR__FINAL_BUFFER_HASH_MISMATCH = 6025;
637
+ declare const MULTI_WALLET_ERROR__FINAL_BUFFER_SIZE_EXCEEDED = 6026;
638
+ declare const MULTI_WALLET_ERROR__FINAL_BUFFER_SIZE_MISMATCH = 6027;
639
+ declare const MULTI_WALLET_ERROR__TRANSACTION_HAS_EXPIRED = 6028;
640
+ declare const MULTI_WALLET_ERROR__TRANSACTION_NOT_APPROVED = 6029;
641
+ declare const MULTI_WALLET_ERROR__PROTECTED_ACCOUNT = 6030;
642
+ declare const MULTI_WALLET_ERROR__MAX_LENGTH_EXCEEDED = 6031;
643
+ declare const MULTI_WALLET_ERROR__MISSING_SYSVAR_SLOT_HISTORY = 6032;
644
+ declare const MULTI_WALLET_ERROR__INVALID_SYSVAR_DATA_FORMAT = 6033;
645
+ declare const MULTI_WALLET_ERROR__SLOT_NUMBER_NOT_FOUND = 6034;
646
+ declare const MULTI_WALLET_ERROR__DOMAIN_CONFIG_IS_DISABLED = 6035;
647
+ declare const MULTI_WALLET_ERROR__DOMAIN_CONFIG_IS_MISSING = 6036;
648
+ declare const MULTI_WALLET_ERROR__MEMBER_DOES_NOT_BELONG_TO_DOMAIN_CONFIG = 6037;
649
+ declare const MULTI_WALLET_ERROR__RP_ID_HASH_MISMATCH = 6038;
650
+ declare const MULTI_WALLET_ERROR__ORIGIN_INDEX_OUT_OF_BOUNDS = 6039;
651
+ type MultiWalletError = typeof MULTI_WALLET_ERROR__ALREADY_DELEGATED | typeof MULTI_WALLET_ERROR__DOMAIN_CONFIG_IS_DISABLED | typeof MULTI_WALLET_ERROR__DOMAIN_CONFIG_IS_MISSING | typeof MULTI_WALLET_ERROR__DUPLICATE_MEMBER | typeof MULTI_WALLET_ERROR__DURABLE_NONCE_DETECTED | typeof MULTI_WALLET_ERROR__EMPTY_MEMBERS | typeof MULTI_WALLET_ERROR__FINAL_BUFFER_HASH_MISMATCH | typeof MULTI_WALLET_ERROR__FINAL_BUFFER_SIZE_EXCEEDED | typeof MULTI_WALLET_ERROR__FINAL_BUFFER_SIZE_MISMATCH | typeof MULTI_WALLET_ERROR__INSUFFICIENT_SIGNERS_WITH_VOTE_PERMISSION | typeof MULTI_WALLET_ERROR__INSUFFICIENT_SIGNER_WITH_EXECUTE_PERMISSION | typeof MULTI_WALLET_ERROR__INSUFFICIENT_SIGNER_WITH_INITIATE_PERMISSION | typeof MULTI_WALLET_ERROR__INVALID_ACCOUNT | typeof MULTI_WALLET_ERROR__INVALID_ARGUMENTS | typeof MULTI_WALLET_ERROR__INVALID_BUFFER | typeof MULTI_WALLET_ERROR__INVALID_NUMBER_OF_ACCOUNTS | typeof MULTI_WALLET_ERROR__INVALID_SECP256R1_VERIFY_ARG | typeof MULTI_WALLET_ERROR__INVALID_SIGNED_MESSAGE | typeof MULTI_WALLET_ERROR__INVALID_SYSVAR_DATA_FORMAT | typeof MULTI_WALLET_ERROR__INVALID_THRESHOLD | typeof MULTI_WALLET_ERROR__INVALID_TRANSACTION_MESSAGE | typeof MULTI_WALLET_ERROR__MAX_LENGTH_EXCEEDED | typeof MULTI_WALLET_ERROR__MEMBER_DOES_NOT_BELONG_TO_DOMAIN_CONFIG | typeof MULTI_WALLET_ERROR__MISSING_ACCOUNT | typeof MULTI_WALLET_ERROR__MISSING_SYSVAR_SLOT_HISTORY | typeof MULTI_WALLET_ERROR__MISSING_USER_ARGS | typeof MULTI_WALLET_ERROR__NO_SIGNER_FOUND | typeof MULTI_WALLET_ERROR__ONLY_ONE_PERMANENT_MEMBER_ALLOWED | typeof MULTI_WALLET_ERROR__ONLY_ONE_TRANSACTION_MANAGER_ALLOWED | typeof MULTI_WALLET_ERROR__ORIGIN_INDEX_OUT_OF_BOUNDS | typeof MULTI_WALLET_ERROR__PERMANENT_MEMBER | typeof MULTI_WALLET_ERROR__PERMANENT_MEMBER_NOT_ALLOWED | typeof MULTI_WALLET_ERROR__PROTECTED_ACCOUNT | typeof MULTI_WALLET_ERROR__RP_ID_HASH_MISMATCH | typeof MULTI_WALLET_ERROR__SLOT_NUMBER_NOT_FOUND | typeof MULTI_WALLET_ERROR__TOO_MANY_MEMBERS | typeof MULTI_WALLET_ERROR__TRANSACTION_HAS_EXPIRED | typeof MULTI_WALLET_ERROR__TRANSACTION_MANAGER_NOT_ALLOWED | typeof MULTI_WALLET_ERROR__TRANSACTION_NOT_APPROVED | typeof MULTI_WALLET_ERROR__UNAUTHORISED_TO_CLOSE_TRANSACTION_BUFFER;
652
+ declare function getMultiWalletErrorMessage(code: MultiWalletError): string;
653
+ declare function isMultiWalletError<TProgramErrorCode extends MultiWalletError>(error: unknown, transactionMessage: {
654
+ instructions: Record<number, {
655
+ programAddress: Address;
656
+ }>;
657
+ }, code?: TProgramErrorCode): error is SolanaError<typeof SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM> & Readonly<{
658
+ context: Readonly<{
659
+ code: TProgramErrorCode;
660
+ }>;
661
+ }>;
662
+
663
+ declare const MULTI_WALLET_PROGRAM_ADDRESS: Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">;
664
+ declare enum MultiWalletAccount {
665
+ DomainConfig = 0,
666
+ GlobalCounter = 1,
667
+ Settings = 2,
668
+ TransactionBuffer = 3
669
+ }
670
+ declare function identifyMultiWalletAccount(account: {
671
+ data: ReadonlyUint8Array;
672
+ } | ReadonlyUint8Array): MultiWalletAccount;
673
+ declare enum MultiWalletInstruction {
674
+ ChangeConfig = 0,
675
+ ChangeConfigCompressed = 1,
676
+ CompressSettingsAccount = 2,
677
+ CreateDomainConfig = 3,
678
+ CreateDomainUserAccount = 4,
679
+ CreateGlobalCounter = 5,
680
+ CreateMultiWallet = 6,
681
+ CreateMultiWalletCompressed = 7,
682
+ CreateUserAccounts = 8,
683
+ DecompressSettingsAccount = 9,
684
+ DisableDomainConfig = 10,
685
+ EditDomainConfig = 11,
686
+ EditTransactionManagerUrl = 12,
687
+ MigrateCompressedSettings = 13,
688
+ MigrateCompressedUsers = 14,
689
+ NativeTransferIntent = 15,
690
+ NativeTransferIntentCompressed = 16,
691
+ TokenTransferIntent = 17,
692
+ TokenTransferIntentCompressed = 18,
693
+ TransactionBufferClose = 19,
694
+ TransactionBufferCloseCompressed = 20,
695
+ TransactionBufferCreate = 21,
696
+ TransactionBufferCreateCompressed = 22,
697
+ TransactionBufferExecute = 23,
698
+ TransactionBufferExecuteCompressed = 24,
699
+ TransactionBufferExtend = 25,
700
+ TransactionBufferExtendCompressed = 26,
701
+ TransactionBufferVote = 27,
702
+ TransactionBufferVoteCompressed = 28,
703
+ TransactionExecute = 29,
704
+ TransactionExecuteCompressed = 30,
705
+ TransactionExecuteSync = 31,
706
+ TransactionExecuteSyncCompressed = 32
707
+ }
708
+ declare function identifyMultiWalletInstruction(instruction: {
709
+ data: ReadonlyUint8Array;
710
+ } | ReadonlyUint8Array): MultiWalletInstruction;
711
+ type ParsedMultiWalletInstruction<TProgram extends string = "reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT"> = ({
712
+ instructionType: MultiWalletInstruction.ChangeConfig;
713
+ } & ParsedChangeConfigInstruction<TProgram>) | ({
714
+ instructionType: MultiWalletInstruction.ChangeConfigCompressed;
715
+ } & ParsedChangeConfigCompressedInstruction<TProgram>) | ({
716
+ instructionType: MultiWalletInstruction.CompressSettingsAccount;
717
+ } & ParsedCompressSettingsAccountInstruction<TProgram>) | ({
718
+ instructionType: MultiWalletInstruction.CreateDomainConfig;
719
+ } & ParsedCreateDomainConfigInstruction<TProgram>) | ({
720
+ instructionType: MultiWalletInstruction.CreateDomainUserAccount;
721
+ } & ParsedCreateDomainUserAccountInstruction<TProgram>) | ({
722
+ instructionType: MultiWalletInstruction.CreateGlobalCounter;
723
+ } & ParsedCreateGlobalCounterInstruction<TProgram>) | ({
724
+ instructionType: MultiWalletInstruction.CreateMultiWallet;
725
+ } & ParsedCreateMultiWalletInstruction<TProgram>) | ({
726
+ instructionType: MultiWalletInstruction.CreateMultiWalletCompressed;
727
+ } & ParsedCreateMultiWalletCompressedInstruction<TProgram>) | ({
728
+ instructionType: MultiWalletInstruction.CreateUserAccounts;
729
+ } & ParsedCreateUserAccountsInstruction<TProgram>) | ({
730
+ instructionType: MultiWalletInstruction.DecompressSettingsAccount;
731
+ } & ParsedDecompressSettingsAccountInstruction<TProgram>) | ({
732
+ instructionType: MultiWalletInstruction.DisableDomainConfig;
733
+ } & ParsedDisableDomainConfigInstruction<TProgram>) | ({
734
+ instructionType: MultiWalletInstruction.EditDomainConfig;
735
+ } & ParsedEditDomainConfigInstruction<TProgram>) | ({
736
+ instructionType: MultiWalletInstruction.EditTransactionManagerUrl;
737
+ } & ParsedEditTransactionManagerUrlInstruction<TProgram>) | ({
738
+ instructionType: MultiWalletInstruction.MigrateCompressedSettings;
739
+ } & ParsedMigrateCompressedSettingsInstruction<TProgram>) | ({
740
+ instructionType: MultiWalletInstruction.MigrateCompressedUsers;
741
+ } & ParsedMigrateCompressedUsersInstruction<TProgram>) | ({
742
+ instructionType: MultiWalletInstruction.NativeTransferIntent;
743
+ } & ParsedNativeTransferIntentInstruction<TProgram>) | ({
744
+ instructionType: MultiWalletInstruction.NativeTransferIntentCompressed;
745
+ } & ParsedNativeTransferIntentCompressedInstruction<TProgram>) | ({
746
+ instructionType: MultiWalletInstruction.TokenTransferIntent;
747
+ } & ParsedTokenTransferIntentInstruction<TProgram>) | ({
748
+ instructionType: MultiWalletInstruction.TokenTransferIntentCompressed;
749
+ } & ParsedTokenTransferIntentCompressedInstruction<TProgram>) | ({
750
+ instructionType: MultiWalletInstruction.TransactionBufferClose;
751
+ } & ParsedTransactionBufferCloseInstruction<TProgram>) | ({
752
+ instructionType: MultiWalletInstruction.TransactionBufferCloseCompressed;
753
+ } & ParsedTransactionBufferCloseCompressedInstruction<TProgram>) | ({
754
+ instructionType: MultiWalletInstruction.TransactionBufferCreate;
755
+ } & ParsedTransactionBufferCreateInstruction<TProgram>) | ({
756
+ instructionType: MultiWalletInstruction.TransactionBufferCreateCompressed;
757
+ } & ParsedTransactionBufferCreateCompressedInstruction<TProgram>) | ({
758
+ instructionType: MultiWalletInstruction.TransactionBufferExecute;
759
+ } & ParsedTransactionBufferExecuteInstruction<TProgram>) | ({
760
+ instructionType: MultiWalletInstruction.TransactionBufferExecuteCompressed;
761
+ } & ParsedTransactionBufferExecuteCompressedInstruction<TProgram>) | ({
762
+ instructionType: MultiWalletInstruction.TransactionBufferExtend;
763
+ } & ParsedTransactionBufferExtendInstruction<TProgram>) | ({
764
+ instructionType: MultiWalletInstruction.TransactionBufferExtendCompressed;
765
+ } & ParsedTransactionBufferExtendCompressedInstruction<TProgram>) | ({
766
+ instructionType: MultiWalletInstruction.TransactionBufferVote;
767
+ } & ParsedTransactionBufferVoteInstruction<TProgram>) | ({
768
+ instructionType: MultiWalletInstruction.TransactionBufferVoteCompressed;
769
+ } & ParsedTransactionBufferVoteCompressedInstruction<TProgram>) | ({
770
+ instructionType: MultiWalletInstruction.TransactionExecute;
771
+ } & ParsedTransactionExecuteInstruction<TProgram>) | ({
772
+ instructionType: MultiWalletInstruction.TransactionExecuteCompressed;
773
+ } & ParsedTransactionExecuteCompressedInstruction<TProgram>) | ({
774
+ instructionType: MultiWalletInstruction.TransactionExecuteSync;
775
+ } & ParsedTransactionExecuteSyncInstruction<TProgram>) | ({
776
+ instructionType: MultiWalletInstruction.TransactionExecuteSyncCompressed;
777
+ } & ParsedTransactionExecuteSyncCompressedInstruction<TProgram>);
778
+
779
+ declare const CHANGE_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
780
+ declare function getChangeConfigDiscriminatorBytes(): ReadonlyUint8Array;
781
+ type ChangeConfigInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountSlotHashSysvar extends string | AccountMeta<string> = "SysvarS1otHashes111111111111111111111111111", TAccountInstructionsSysvar extends string | AccountMeta<string> = "Sysvar1nstructions1111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
782
+ TAccountSettings extends string ? WritableAccount<TAccountSettings> : TAccountSettings,
783
+ TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
784
+ TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
785
+ TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
786
+ TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
787
+ TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
788
+ ...TRemainingAccounts
789
+ ]>;
790
+ type ChangeConfigInstructionData = {
791
+ discriminator: ReadonlyUint8Array;
792
+ settingsIndex: bigint;
793
+ configActions: Array<ConfigAction>;
794
+ compressedProofArgs: Option<ProofArgs>;
795
+ };
796
+ type ChangeConfigInstructionDataArgs = {
797
+ settingsIndex: number | bigint;
798
+ configActions: Array<ConfigActionArgs>;
799
+ compressedProofArgs: OptionOrNullable<ProofArgsArgs>;
800
+ };
801
+ declare function getChangeConfigInstructionDataEncoder(): Encoder<ChangeConfigInstructionDataArgs>;
802
+ declare function getChangeConfigInstructionDataDecoder(): Decoder<ChangeConfigInstructionData>;
803
+ declare function getChangeConfigInstructionDataCodec(): Codec<ChangeConfigInstructionDataArgs, ChangeConfigInstructionData>;
804
+ type ChangeConfigInstructionExtraArgs = {
805
+ remainingAccounts: Array<{
806
+ address: Address;
807
+ role: number;
808
+ }>;
809
+ };
810
+ type ChangeConfigAsyncInput<TAccountSettings extends string = string, TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string> = {
811
+ settings?: Address<TAccountSettings>;
812
+ payer: TransactionSigner<TAccountPayer>;
813
+ authority?: TransactionSigner<TAccountAuthority>;
814
+ systemProgram?: Address<TAccountSystemProgram>;
815
+ slotHashSysvar?: Address<TAccountSlotHashSysvar>;
816
+ instructionsSysvar?: Address<TAccountInstructionsSysvar>;
817
+ settingsIndex: ChangeConfigInstructionDataArgs["settingsIndex"];
818
+ configActions: ChangeConfigInstructionDataArgs["configActions"];
819
+ compressedProofArgs: ChangeConfigInstructionDataArgs["compressedProofArgs"];
820
+ remainingAccounts: ChangeConfigInstructionExtraArgs["remainingAccounts"];
821
+ };
822
+ declare function getChangeConfigInstructionAsync<TAccountSettings extends string, TAccountPayer extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: ChangeConfigAsyncInput<TAccountSettings, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountSlotHashSysvar, TAccountInstructionsSysvar>, config?: {
823
+ programAddress?: TProgramAddress;
824
+ }): Promise<ChangeConfigInstruction<TProgramAddress, TAccountSettings, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountSlotHashSysvar, TAccountInstructionsSysvar>>;
825
+ type ChangeConfigInput<TAccountSettings extends string = string, TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string> = {
826
+ settings: Address<TAccountSettings>;
827
+ payer: TransactionSigner<TAccountPayer>;
828
+ authority: TransactionSigner<TAccountAuthority>;
829
+ systemProgram?: Address<TAccountSystemProgram>;
830
+ slotHashSysvar?: Address<TAccountSlotHashSysvar>;
831
+ instructionsSysvar?: Address<TAccountInstructionsSysvar>;
832
+ settingsIndex: ChangeConfigInstructionDataArgs["settingsIndex"];
833
+ configActions: ChangeConfigInstructionDataArgs["configActions"];
834
+ compressedProofArgs: ChangeConfigInstructionDataArgs["compressedProofArgs"];
835
+ remainingAccounts: ChangeConfigInstructionExtraArgs["remainingAccounts"];
836
+ };
837
+ declare function getChangeConfigInstruction<TAccountSettings extends string, TAccountPayer extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: ChangeConfigInput<TAccountSettings, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountSlotHashSysvar, TAccountInstructionsSysvar>, config?: {
838
+ programAddress?: TProgramAddress;
839
+ }): ChangeConfigInstruction<TProgramAddress, TAccountSettings, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountSlotHashSysvar, TAccountInstructionsSysvar>;
840
+ type ParsedChangeConfigInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
841
+ programAddress: Address<TProgram>;
842
+ accounts: {
843
+ settings: TAccountMetas[0];
844
+ payer: TAccountMetas[1];
845
+ authority: TAccountMetas[2];
846
+ systemProgram: TAccountMetas[3];
847
+ slotHashSysvar?: TAccountMetas[4] | undefined;
848
+ instructionsSysvar?: TAccountMetas[5] | undefined;
849
+ };
850
+ data: ChangeConfigInstructionData;
851
+ };
852
+ declare function parseChangeConfigInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedChangeConfigInstruction<TProgram, TAccountMetas>;
853
+
854
+ declare const CHANGE_CONFIG_COMPRESSED_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
855
+ declare function getChangeConfigCompressedDiscriminatorBytes(): ReadonlyUint8Array;
856
+ type ChangeConfigCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSlotHashSysvar extends string | AccountMeta<string> = "SysvarS1otHashes111111111111111111111111111", TAccountInstructionsSysvar extends string | AccountMeta<string> = "Sysvar1nstructions1111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
857
+ TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
858
+ TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
859
+ TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
860
+ TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
861
+ ...TRemainingAccounts
862
+ ]>;
863
+ type ChangeConfigCompressedInstructionData = {
864
+ discriminator: ReadonlyUint8Array;
865
+ configActions: Array<ConfigAction>;
866
+ settingsMut: SettingsMutArgs;
867
+ compressedProofArgs: ProofArgs;
868
+ };
869
+ type ChangeConfigCompressedInstructionDataArgs = {
870
+ configActions: Array<ConfigActionArgs>;
871
+ settingsMut: SettingsMutArgsArgs;
872
+ compressedProofArgs: ProofArgsArgs;
873
+ };
874
+ declare function getChangeConfigCompressedInstructionDataEncoder(): Encoder<ChangeConfigCompressedInstructionDataArgs>;
875
+ declare function getChangeConfigCompressedInstructionDataDecoder(): Decoder<ChangeConfigCompressedInstructionData>;
876
+ declare function getChangeConfigCompressedInstructionDataCodec(): Codec<ChangeConfigCompressedInstructionDataArgs, ChangeConfigCompressedInstructionData>;
877
+ type ChangeConfigCompressedInstructionExtraArgs = {
878
+ remainingAccounts: Array<{
879
+ address: Address;
880
+ role: number;
881
+ }>;
882
+ };
883
+ type ChangeConfigCompressedInput<TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string> = {
884
+ payer: TransactionSigner<TAccountPayer>;
885
+ authority: TransactionSigner<TAccountAuthority>;
886
+ slotHashSysvar?: Address<TAccountSlotHashSysvar>;
887
+ instructionsSysvar?: Address<TAccountInstructionsSysvar>;
888
+ configActions: ChangeConfigCompressedInstructionDataArgs["configActions"];
889
+ settingsMut: ChangeConfigCompressedInstructionDataArgs["settingsMut"];
890
+ compressedProofArgs: ChangeConfigCompressedInstructionDataArgs["compressedProofArgs"];
891
+ remainingAccounts: ChangeConfigCompressedInstructionExtraArgs["remainingAccounts"];
892
+ };
893
+ declare function getChangeConfigCompressedInstruction<TAccountPayer extends string, TAccountAuthority extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: ChangeConfigCompressedInput<TAccountPayer, TAccountAuthority, TAccountSlotHashSysvar, TAccountInstructionsSysvar>, config?: {
894
+ programAddress?: TProgramAddress;
895
+ }): ChangeConfigCompressedInstruction<TProgramAddress, TAccountPayer, TAccountAuthority, TAccountSlotHashSysvar, TAccountInstructionsSysvar>;
896
+ type ParsedChangeConfigCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
897
+ programAddress: Address<TProgram>;
898
+ accounts: {
899
+ payer: TAccountMetas[0];
900
+ authority: TAccountMetas[1];
901
+ slotHashSysvar?: TAccountMetas[2] | undefined;
902
+ instructionsSysvar?: TAccountMetas[3] | undefined;
903
+ };
904
+ data: ChangeConfigCompressedInstructionData;
905
+ };
906
+ declare function parseChangeConfigCompressedInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedChangeConfigCompressedInstruction<TProgram, TAccountMetas>;
907
+
908
+ declare const COMPRESS_SETTINGS_ACCOUNT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
909
+ declare function getCompressSettingsAccountDiscriminatorBytes(): ReadonlyUint8Array;
910
+ type CompressSettingsAccountInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountSlotHashSysvar extends string | AccountMeta<string> = "SysvarS1otHashes111111111111111111111111111", TAccountInstructionsSysvar extends string | AccountMeta<string> = "Sysvar1nstructions1111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
911
+ TAccountSettings extends string ? WritableAccount<TAccountSettings> : TAccountSettings,
912
+ TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
913
+ TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
914
+ TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
915
+ ...TRemainingAccounts
916
+ ]>;
917
+ type CompressSettingsAccountInstructionData = {
918
+ discriminator: ReadonlyUint8Array;
919
+ compressedProofArgs: ProofArgs;
920
+ settingsArg: SettingsCreateOrMutateArgs;
921
+ secp256r1VerifyArgs: Array<Secp256r1VerifyArgsWithDomainAddress>;
922
+ };
923
+ type CompressSettingsAccountInstructionDataArgs = {
924
+ compressedProofArgs: ProofArgsArgs;
925
+ settingsArg: SettingsCreateOrMutateArgsArgs;
926
+ secp256r1VerifyArgs: Array<Secp256r1VerifyArgsWithDomainAddressArgs>;
927
+ };
928
+ declare function getCompressSettingsAccountInstructionDataEncoder(): Encoder<CompressSettingsAccountInstructionDataArgs>;
929
+ declare function getCompressSettingsAccountInstructionDataDecoder(): Decoder<CompressSettingsAccountInstructionData>;
930
+ declare function getCompressSettingsAccountInstructionDataCodec(): Codec<CompressSettingsAccountInstructionDataArgs, CompressSettingsAccountInstructionData>;
931
+ type CompressSettingsAccountInstructionExtraArgs = {
932
+ remainingAccounts: Array<{
933
+ address: Address;
934
+ role: number;
935
+ }>;
936
+ };
937
+ type CompressSettingsAccountInput<TAccountSettings extends string = string, TAccountPayer extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string> = {
938
+ settings: Address<TAccountSettings>;
939
+ payer: TransactionSigner<TAccountPayer>;
940
+ slotHashSysvar?: Address<TAccountSlotHashSysvar>;
941
+ instructionsSysvar?: Address<TAccountInstructionsSysvar>;
942
+ compressedProofArgs: CompressSettingsAccountInstructionDataArgs["compressedProofArgs"];
943
+ settingsArg: CompressSettingsAccountInstructionDataArgs["settingsArg"];
944
+ secp256r1VerifyArgs: CompressSettingsAccountInstructionDataArgs["secp256r1VerifyArgs"];
945
+ remainingAccounts: CompressSettingsAccountInstructionExtraArgs["remainingAccounts"];
946
+ };
947
+ declare function getCompressSettingsAccountInstruction<TAccountSettings extends string, TAccountPayer extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: CompressSettingsAccountInput<TAccountSettings, TAccountPayer, TAccountSlotHashSysvar, TAccountInstructionsSysvar>, config?: {
948
+ programAddress?: TProgramAddress;
949
+ }): CompressSettingsAccountInstruction<TProgramAddress, TAccountSettings, TAccountPayer, TAccountSlotHashSysvar, TAccountInstructionsSysvar>;
950
+ type ParsedCompressSettingsAccountInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
951
+ programAddress: Address<TProgram>;
952
+ accounts: {
953
+ settings: TAccountMetas[0];
954
+ payer: TAccountMetas[1];
955
+ slotHashSysvar?: TAccountMetas[2] | undefined;
956
+ instructionsSysvar: TAccountMetas[3];
957
+ };
958
+ data: CompressSettingsAccountInstructionData;
959
+ };
960
+ declare function parseCompressSettingsAccountInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCompressSettingsAccountInstruction<TProgram, TAccountMetas>;
961
+
962
+ declare const CREATE_DOMAIN_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
963
+ declare function getCreateDomainConfigDiscriminatorBytes(): ReadonlyUint8Array;
964
+ type CreateDomainConfigInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountDomainConfig extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountAdminDomainConfig extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
965
+ TAccountDomainConfig extends string ? WritableAccount<TAccountDomainConfig> : TAccountDomainConfig,
966
+ TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
967
+ TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
968
+ TAccountAdminDomainConfig extends string ? ReadonlyAccount<TAccountAdminDomainConfig> : TAccountAdminDomainConfig,
969
+ ...TRemainingAccounts
970
+ ]>;
971
+ type CreateDomainConfigInstructionData = {
972
+ discriminator: ReadonlyUint8Array;
973
+ rpId: string;
974
+ origins: Array<string>;
975
+ authority: Address;
976
+ metadataUrl: string;
977
+ };
978
+ type CreateDomainConfigInstructionDataArgs = {
979
+ rpId: string;
980
+ origins: Array<string>;
981
+ authority: Address;
982
+ metadataUrl: string;
983
+ };
984
+ declare function getCreateDomainConfigInstructionDataEncoder(): Encoder<CreateDomainConfigInstructionDataArgs>;
985
+ declare function getCreateDomainConfigInstructionDataDecoder(): Decoder<CreateDomainConfigInstructionData>;
986
+ declare function getCreateDomainConfigInstructionDataCodec(): Codec<CreateDomainConfigInstructionDataArgs, CreateDomainConfigInstructionData>;
987
+ type CreateDomainConfigInstructionExtraArgs = {
988
+ remainingAccounts: Array<{
989
+ address: Address;
990
+ role: number;
991
+ }>;
992
+ };
993
+ type CreateDomainConfigInput<TAccountDomainConfig extends string = string, TAccountPayer extends string = string, TAccountSystemProgram extends string = string, TAccountAdminDomainConfig extends string = string> = {
994
+ domainConfig: Address<TAccountDomainConfig>;
995
+ payer: TransactionSigner<TAccountPayer>;
996
+ systemProgram?: Address<TAccountSystemProgram>;
997
+ adminDomainConfig?: Address<TAccountAdminDomainConfig>;
998
+ rpId: CreateDomainConfigInstructionDataArgs["rpId"];
999
+ origins: CreateDomainConfigInstructionDataArgs["origins"];
1000
+ authority: CreateDomainConfigInstructionDataArgs["authority"];
1001
+ metadataUrl: CreateDomainConfigInstructionDataArgs["metadataUrl"];
1002
+ remainingAccounts: CreateDomainConfigInstructionExtraArgs["remainingAccounts"];
1003
+ };
1004
+ declare function getCreateDomainConfigInstruction<TAccountDomainConfig extends string, TAccountPayer extends string, TAccountSystemProgram extends string, TAccountAdminDomainConfig extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: CreateDomainConfigInput<TAccountDomainConfig, TAccountPayer, TAccountSystemProgram, TAccountAdminDomainConfig>, config?: {
1005
+ programAddress?: TProgramAddress;
1006
+ }): CreateDomainConfigInstruction<TProgramAddress, TAccountDomainConfig, TAccountPayer, TAccountSystemProgram, TAccountAdminDomainConfig>;
1007
+ type ParsedCreateDomainConfigInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1008
+ programAddress: Address<TProgram>;
1009
+ accounts: {
1010
+ domainConfig: TAccountMetas[0];
1011
+ payer: TAccountMetas[1];
1012
+ systemProgram: TAccountMetas[2];
1013
+ adminDomainConfig?: TAccountMetas[3] | undefined;
1014
+ };
1015
+ data: CreateDomainConfigInstructionData;
1016
+ };
1017
+ declare function parseCreateDomainConfigInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCreateDomainConfigInstruction<TProgram, TAccountMetas>;
1018
+
1019
+ declare const CREATE_DOMAIN_USER_ACCOUNT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1020
+ declare function getCreateDomainUserAccountDiscriminatorBytes(): ReadonlyUint8Array;
1021
+ type CreateDomainUserAccountInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountDomainConfig extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1022
+ TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
1023
+ TAccountDomainConfig extends string ? ReadonlyAccount<TAccountDomainConfig> : TAccountDomainConfig,
1024
+ TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
1025
+ ...TRemainingAccounts
1026
+ ]>;
1027
+ type CreateDomainUserAccountInstructionData = {
1028
+ discriminator: ReadonlyUint8Array;
1029
+ compressedProofArgs: ProofArgs;
1030
+ member: Secp256r1Pubkey;
1031
+ isPermanentMember: boolean;
1032
+ userAccountCreationArgs: UserCreationArgs$2;
1033
+ linkWalletArgs: Option<LinkWalletArgs>;
1034
+ };
1035
+ type CreateDomainUserAccountInstructionDataArgs = {
1036
+ compressedProofArgs: ProofArgsArgs;
1037
+ member: Secp256r1PubkeyArgs;
1038
+ isPermanentMember: boolean;
1039
+ userAccountCreationArgs: UserCreationArgsArgs;
1040
+ linkWalletArgs: OptionOrNullable<LinkWalletArgsArgs>;
1041
+ };
1042
+ declare function getCreateDomainUserAccountInstructionDataEncoder(): Encoder<CreateDomainUserAccountInstructionDataArgs>;
1043
+ declare function getCreateDomainUserAccountInstructionDataDecoder(): Decoder<CreateDomainUserAccountInstructionData>;
1044
+ declare function getCreateDomainUserAccountInstructionDataCodec(): Codec<CreateDomainUserAccountInstructionDataArgs, CreateDomainUserAccountInstructionData>;
1045
+ type CreateDomainUserAccountInstructionExtraArgs = {
1046
+ remainingAccounts: Array<{
1047
+ address: Address;
1048
+ role: number;
1049
+ }>;
1050
+ };
1051
+ type CreateDomainUserAccountInput<TAccountPayer extends string = string, TAccountDomainConfig extends string = string, TAccountAuthority extends string = string> = {
1052
+ payer: TransactionSigner<TAccountPayer>;
1053
+ domainConfig: Address<TAccountDomainConfig>;
1054
+ authority: TransactionSigner<TAccountAuthority>;
1055
+ compressedProofArgs: CreateDomainUserAccountInstructionDataArgs["compressedProofArgs"];
1056
+ member: CreateDomainUserAccountInstructionDataArgs["member"];
1057
+ isPermanentMember: CreateDomainUserAccountInstructionDataArgs["isPermanentMember"];
1058
+ userAccountCreationArgs: CreateDomainUserAccountInstructionDataArgs["userAccountCreationArgs"];
1059
+ linkWalletArgs: CreateDomainUserAccountInstructionDataArgs["linkWalletArgs"];
1060
+ remainingAccounts: CreateDomainUserAccountInstructionExtraArgs["remainingAccounts"];
1061
+ };
1062
+ declare function getCreateDomainUserAccountInstruction<TAccountPayer extends string, TAccountDomainConfig extends string, TAccountAuthority extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: CreateDomainUserAccountInput<TAccountPayer, TAccountDomainConfig, TAccountAuthority>, config?: {
1063
+ programAddress?: TProgramAddress;
1064
+ }): CreateDomainUserAccountInstruction<TProgramAddress, TAccountPayer, TAccountDomainConfig, TAccountAuthority>;
1065
+ type ParsedCreateDomainUserAccountInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1066
+ programAddress: Address<TProgram>;
1067
+ accounts: {
1068
+ payer: TAccountMetas[0];
1069
+ domainConfig: TAccountMetas[1];
1070
+ authority: TAccountMetas[2];
1071
+ };
1072
+ data: CreateDomainUserAccountInstructionData;
1073
+ };
1074
+ declare function parseCreateDomainUserAccountInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCreateDomainUserAccountInstruction<TProgram, TAccountMetas>;
1075
+
1076
+ declare const CREATE_GLOBAL_COUNTER_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1077
+ declare function getCreateGlobalCounterDiscriminatorBytes(): ReadonlyUint8Array;
1078
+ type CreateGlobalCounterInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountGlobalCounter extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1079
+ TAccountGlobalCounter extends string ? WritableAccount<TAccountGlobalCounter> : TAccountGlobalCounter,
1080
+ TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
1081
+ TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
1082
+ ...TRemainingAccounts
1083
+ ]>;
1084
+ type CreateGlobalCounterInstructionData = {
1085
+ discriminator: ReadonlyUint8Array;
1086
+ };
1087
+ type CreateGlobalCounterInstructionDataArgs = {};
1088
+ declare function getCreateGlobalCounterInstructionDataEncoder(): FixedSizeEncoder<CreateGlobalCounterInstructionDataArgs>;
1089
+ declare function getCreateGlobalCounterInstructionDataDecoder(): FixedSizeDecoder<CreateGlobalCounterInstructionData>;
1090
+ declare function getCreateGlobalCounterInstructionDataCodec(): FixedSizeCodec<CreateGlobalCounterInstructionDataArgs, CreateGlobalCounterInstructionData>;
1091
+ type CreateGlobalCounterInstructionExtraArgs = {
1092
+ remainingAccounts: Array<{
1093
+ address: Address;
1094
+ role: number;
1095
+ }>;
1096
+ };
1097
+ type CreateGlobalCounterAsyncInput<TAccountGlobalCounter extends string = string, TAccountPayer extends string = string, TAccountSystemProgram extends string = string> = {
1098
+ globalCounter?: Address<TAccountGlobalCounter>;
1099
+ payer: TransactionSigner<TAccountPayer>;
1100
+ systemProgram?: Address<TAccountSystemProgram>;
1101
+ remainingAccounts: CreateGlobalCounterInstructionExtraArgs["remainingAccounts"];
1102
+ };
1103
+ declare function getCreateGlobalCounterInstructionAsync<TAccountGlobalCounter extends string, TAccountPayer extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: CreateGlobalCounterAsyncInput<TAccountGlobalCounter, TAccountPayer, TAccountSystemProgram>, config?: {
1104
+ programAddress?: TProgramAddress;
1105
+ }): Promise<CreateGlobalCounterInstruction<TProgramAddress, TAccountGlobalCounter, TAccountPayer, TAccountSystemProgram>>;
1106
+ type CreateGlobalCounterInput<TAccountGlobalCounter extends string = string, TAccountPayer extends string = string, TAccountSystemProgram extends string = string> = {
1107
+ globalCounter: Address<TAccountGlobalCounter>;
1108
+ payer: TransactionSigner<TAccountPayer>;
1109
+ systemProgram?: Address<TAccountSystemProgram>;
1110
+ remainingAccounts: CreateGlobalCounterInstructionExtraArgs["remainingAccounts"];
1111
+ };
1112
+ declare function getCreateGlobalCounterInstruction<TAccountGlobalCounter extends string, TAccountPayer extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: CreateGlobalCounterInput<TAccountGlobalCounter, TAccountPayer, TAccountSystemProgram>, config?: {
1113
+ programAddress?: TProgramAddress;
1114
+ }): CreateGlobalCounterInstruction<TProgramAddress, TAccountGlobalCounter, TAccountPayer, TAccountSystemProgram>;
1115
+ type ParsedCreateGlobalCounterInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1116
+ programAddress: Address<TProgram>;
1117
+ accounts: {
1118
+ globalCounter: TAccountMetas[0];
1119
+ payer: TAccountMetas[1];
1120
+ systemProgram: TAccountMetas[2];
1121
+ };
1122
+ data: CreateGlobalCounterInstructionData;
1123
+ };
1124
+ declare function parseCreateGlobalCounterInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCreateGlobalCounterInstruction<TProgram, TAccountMetas>;
1125
+
1126
+ declare const CREATE_MULTI_WALLET_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1127
+ declare function getCreateMultiWalletDiscriminatorBytes(): ReadonlyUint8Array;
1128
+ type CreateMultiWalletInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountInitialMember extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountSlotHashSysvar extends string | AccountMeta<string> = "SysvarS1otHashes111111111111111111111111111", TAccountInstructionsSysvar extends string | AccountMeta<string> = "Sysvar1nstructions1111111111111111111111111", TAccountDomainConfig extends string | AccountMeta<string> = string, TAccountGlobalCounter extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1129
+ TAccountSettings extends string ? WritableAccount<TAccountSettings> : TAccountSettings,
1130
+ TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
1131
+ TAccountInitialMember extends string ? ReadonlySignerAccount<TAccountInitialMember> & AccountSignerMeta<TAccountInitialMember> : TAccountInitialMember,
1132
+ TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
1133
+ TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
1134
+ TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
1135
+ TAccountDomainConfig extends string ? ReadonlyAccount<TAccountDomainConfig> : TAccountDomainConfig,
1136
+ TAccountGlobalCounter extends string ? WritableAccount<TAccountGlobalCounter> : TAccountGlobalCounter,
1137
+ ...TRemainingAccounts
1138
+ ]>;
1139
+ type CreateMultiWalletInstructionData = {
1140
+ discriminator: ReadonlyUint8Array;
1141
+ settingsIndex: bigint;
1142
+ secp256r1VerifyArgs: Option<Secp256r1VerifyArgs>;
1143
+ userMutArgs: UserMutArgs;
1144
+ compressedProofArgs: ProofArgs;
1145
+ setAsDelegate: boolean;
1146
+ };
1147
+ type CreateMultiWalletInstructionDataArgs = {
1148
+ settingsIndex: number | bigint;
1149
+ secp256r1VerifyArgs: OptionOrNullable<Secp256r1VerifyArgsArgs>;
1150
+ userMutArgs: UserMutArgsArgs;
1151
+ compressedProofArgs: ProofArgsArgs;
1152
+ setAsDelegate: boolean;
1153
+ };
1154
+ declare function getCreateMultiWalletInstructionDataEncoder(): Encoder<CreateMultiWalletInstructionDataArgs>;
1155
+ declare function getCreateMultiWalletInstructionDataDecoder(): Decoder<CreateMultiWalletInstructionData>;
1156
+ declare function getCreateMultiWalletInstructionDataCodec(): Codec<CreateMultiWalletInstructionDataArgs, CreateMultiWalletInstructionData>;
1157
+ type CreateMultiWalletInstructionExtraArgs = {
1158
+ remainingAccounts: Array<{
1159
+ address: Address;
1160
+ role: number;
1161
+ }>;
1162
+ };
1163
+ type CreateMultiWalletAsyncInput<TAccountSettings extends string = string, TAccountPayer extends string = string, TAccountInitialMember extends string = string, TAccountSystemProgram extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string, TAccountDomainConfig extends string = string, TAccountGlobalCounter extends string = string> = {
1164
+ settings?: Address<TAccountSettings>;
1165
+ payer: TransactionSigner<TAccountPayer>;
1166
+ initialMember?: TransactionSigner<TAccountInitialMember>;
1167
+ systemProgram?: Address<TAccountSystemProgram>;
1168
+ slotHashSysvar?: Address<TAccountSlotHashSysvar>;
1169
+ instructionsSysvar?: Address<TAccountInstructionsSysvar>;
1170
+ domainConfig?: Address<TAccountDomainConfig>;
1171
+ globalCounter: Address<TAccountGlobalCounter>;
1172
+ settingsIndex: CreateMultiWalletInstructionDataArgs["settingsIndex"];
1173
+ secp256r1VerifyArgs: CreateMultiWalletInstructionDataArgs["secp256r1VerifyArgs"];
1174
+ userMutArgs: CreateMultiWalletInstructionDataArgs["userMutArgs"];
1175
+ compressedProofArgs: CreateMultiWalletInstructionDataArgs["compressedProofArgs"];
1176
+ setAsDelegate: CreateMultiWalletInstructionDataArgs["setAsDelegate"];
1177
+ remainingAccounts: CreateMultiWalletInstructionExtraArgs["remainingAccounts"];
1178
+ };
1179
+ declare function getCreateMultiWalletInstructionAsync<TAccountSettings extends string, TAccountPayer extends string, TAccountInitialMember extends string, TAccountSystemProgram extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TAccountDomainConfig extends string, TAccountGlobalCounter extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: CreateMultiWalletAsyncInput<TAccountSettings, TAccountPayer, TAccountInitialMember, TAccountSystemProgram, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountDomainConfig, TAccountGlobalCounter>, config?: {
1180
+ programAddress?: TProgramAddress;
1181
+ }): Promise<CreateMultiWalletInstruction<TProgramAddress, TAccountSettings, TAccountPayer, TAccountInitialMember, TAccountSystemProgram, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountDomainConfig, TAccountGlobalCounter>>;
1182
+ type CreateMultiWalletInput<TAccountSettings extends string = string, TAccountPayer extends string = string, TAccountInitialMember extends string = string, TAccountSystemProgram extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string, TAccountDomainConfig extends string = string, TAccountGlobalCounter extends string = string> = {
1183
+ settings: Address<TAccountSettings>;
1184
+ payer: TransactionSigner<TAccountPayer>;
1185
+ initialMember?: TransactionSigner<TAccountInitialMember>;
1186
+ systemProgram?: Address<TAccountSystemProgram>;
1187
+ slotHashSysvar?: Address<TAccountSlotHashSysvar>;
1188
+ instructionsSysvar?: Address<TAccountInstructionsSysvar>;
1189
+ domainConfig?: Address<TAccountDomainConfig>;
1190
+ globalCounter: Address<TAccountGlobalCounter>;
1191
+ settingsIndex: CreateMultiWalletInstructionDataArgs["settingsIndex"];
1192
+ secp256r1VerifyArgs: CreateMultiWalletInstructionDataArgs["secp256r1VerifyArgs"];
1193
+ userMutArgs: CreateMultiWalletInstructionDataArgs["userMutArgs"];
1194
+ compressedProofArgs: CreateMultiWalletInstructionDataArgs["compressedProofArgs"];
1195
+ setAsDelegate: CreateMultiWalletInstructionDataArgs["setAsDelegate"];
1196
+ remainingAccounts: CreateMultiWalletInstructionExtraArgs["remainingAccounts"];
1197
+ };
1198
+ declare function getCreateMultiWalletInstruction<TAccountSettings extends string, TAccountPayer extends string, TAccountInitialMember extends string, TAccountSystemProgram extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TAccountDomainConfig extends string, TAccountGlobalCounter extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: CreateMultiWalletInput<TAccountSettings, TAccountPayer, TAccountInitialMember, TAccountSystemProgram, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountDomainConfig, TAccountGlobalCounter>, config?: {
1199
+ programAddress?: TProgramAddress;
1200
+ }): CreateMultiWalletInstruction<TProgramAddress, TAccountSettings, TAccountPayer, TAccountInitialMember, TAccountSystemProgram, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountDomainConfig, TAccountGlobalCounter>;
1201
+ type ParsedCreateMultiWalletInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1202
+ programAddress: Address<TProgram>;
1203
+ accounts: {
1204
+ settings: TAccountMetas[0];
1205
+ payer: TAccountMetas[1];
1206
+ initialMember?: TAccountMetas[2] | undefined;
1207
+ systemProgram: TAccountMetas[3];
1208
+ slotHashSysvar?: TAccountMetas[4] | undefined;
1209
+ instructionsSysvar?: TAccountMetas[5] | undefined;
1210
+ domainConfig?: TAccountMetas[6] | undefined;
1211
+ globalCounter: TAccountMetas[7];
1212
+ };
1213
+ data: CreateMultiWalletInstructionData;
1214
+ };
1215
+ declare function parseCreateMultiWalletInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCreateMultiWalletInstruction<TProgram, TAccountMetas>;
1216
+
1217
+ declare const CREATE_MULTI_WALLET_COMPRESSED_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1218
+ declare function getCreateMultiWalletCompressedDiscriminatorBytes(): ReadonlyUint8Array;
1219
+ type CreateMultiWalletCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountInitialMember extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountSlotHashSysvar extends string | AccountMeta<string> = "SysvarS1otHashes111111111111111111111111111", TAccountInstructionsSysvar extends string | AccountMeta<string> = "Sysvar1nstructions1111111111111111111111111", TAccountDomainConfig extends string | AccountMeta<string> = string, TAccountGlobalCounter extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1220
+ TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
1221
+ TAccountInitialMember extends string ? ReadonlySignerAccount<TAccountInitialMember> & AccountSignerMeta<TAccountInitialMember> : TAccountInitialMember,
1222
+ TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
1223
+ TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
1224
+ TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
1225
+ TAccountDomainConfig extends string ? ReadonlyAccount<TAccountDomainConfig> : TAccountDomainConfig,
1226
+ TAccountGlobalCounter extends string ? WritableAccount<TAccountGlobalCounter> : TAccountGlobalCounter,
1227
+ ...TRemainingAccounts
1228
+ ]>;
1229
+ type CreateMultiWalletCompressedInstructionData = {
1230
+ discriminator: ReadonlyUint8Array;
1231
+ secp256r1VerifyArgs: Option<Secp256r1VerifyArgs>;
1232
+ compressedProofArgs: ProofArgs;
1233
+ settingsCreation: SettingsCreationArgs;
1234
+ userMutArgs: UserMutArgs;
1235
+ settingsIndex: bigint;
1236
+ setAsDelegate: boolean;
1237
+ };
1238
+ type CreateMultiWalletCompressedInstructionDataArgs = {
1239
+ secp256r1VerifyArgs: OptionOrNullable<Secp256r1VerifyArgsArgs>;
1240
+ compressedProofArgs: ProofArgsArgs;
1241
+ settingsCreation: SettingsCreationArgsArgs;
1242
+ userMutArgs: UserMutArgsArgs;
1243
+ settingsIndex: number | bigint;
1244
+ setAsDelegate: boolean;
1245
+ };
1246
+ declare function getCreateMultiWalletCompressedInstructionDataEncoder(): Encoder<CreateMultiWalletCompressedInstructionDataArgs>;
1247
+ declare function getCreateMultiWalletCompressedInstructionDataDecoder(): Decoder<CreateMultiWalletCompressedInstructionData>;
1248
+ declare function getCreateMultiWalletCompressedInstructionDataCodec(): Codec<CreateMultiWalletCompressedInstructionDataArgs, CreateMultiWalletCompressedInstructionData>;
1249
+ type CreateMultiWalletCompressedInstructionExtraArgs = {
1250
+ remainingAccounts: Array<{
1251
+ address: Address;
1252
+ role: number;
1253
+ }>;
1254
+ };
1255
+ type CreateMultiWalletCompressedInput<TAccountPayer extends string = string, TAccountInitialMember extends string = string, TAccountSystemProgram extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string, TAccountDomainConfig extends string = string, TAccountGlobalCounter extends string = string> = {
1256
+ payer: TransactionSigner<TAccountPayer>;
1257
+ initialMember?: TransactionSigner<TAccountInitialMember>;
1258
+ systemProgram?: Address<TAccountSystemProgram>;
1259
+ slotHashSysvar?: Address<TAccountSlotHashSysvar>;
1260
+ instructionsSysvar?: Address<TAccountInstructionsSysvar>;
1261
+ domainConfig?: Address<TAccountDomainConfig>;
1262
+ globalCounter: Address<TAccountGlobalCounter>;
1263
+ secp256r1VerifyArgs: CreateMultiWalletCompressedInstructionDataArgs["secp256r1VerifyArgs"];
1264
+ compressedProofArgs: CreateMultiWalletCompressedInstructionDataArgs["compressedProofArgs"];
1265
+ settingsCreation: CreateMultiWalletCompressedInstructionDataArgs["settingsCreation"];
1266
+ userMutArgs: CreateMultiWalletCompressedInstructionDataArgs["userMutArgs"];
1267
+ settingsIndex: CreateMultiWalletCompressedInstructionDataArgs["settingsIndex"];
1268
+ setAsDelegate: CreateMultiWalletCompressedInstructionDataArgs["setAsDelegate"];
1269
+ remainingAccounts: CreateMultiWalletCompressedInstructionExtraArgs["remainingAccounts"];
1270
+ };
1271
+ declare function getCreateMultiWalletCompressedInstruction<TAccountPayer extends string, TAccountInitialMember extends string, TAccountSystemProgram extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TAccountDomainConfig extends string, TAccountGlobalCounter extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: CreateMultiWalletCompressedInput<TAccountPayer, TAccountInitialMember, TAccountSystemProgram, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountDomainConfig, TAccountGlobalCounter>, config?: {
1272
+ programAddress?: TProgramAddress;
1273
+ }): CreateMultiWalletCompressedInstruction<TProgramAddress, TAccountPayer, TAccountInitialMember, TAccountSystemProgram, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountDomainConfig, TAccountGlobalCounter>;
1274
+ type ParsedCreateMultiWalletCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1275
+ programAddress: Address<TProgram>;
1276
+ accounts: {
1277
+ payer: TAccountMetas[0];
1278
+ initialMember?: TAccountMetas[1] | undefined;
1279
+ systemProgram: TAccountMetas[2];
1280
+ slotHashSysvar?: TAccountMetas[3] | undefined;
1281
+ instructionsSysvar?: TAccountMetas[4] | undefined;
1282
+ domainConfig?: TAccountMetas[5] | undefined;
1283
+ globalCounter: TAccountMetas[6];
1284
+ };
1285
+ data: CreateMultiWalletCompressedInstructionData;
1286
+ };
1287
+ declare function parseCreateMultiWalletCompressedInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCreateMultiWalletCompressedInstruction<TProgram, TAccountMetas>;
1288
+
1289
+ declare const CREATE_USER_ACCOUNTS_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1290
+ declare function getCreateUserAccountsDiscriminatorBytes(): ReadonlyUint8Array;
1291
+ type CreateUserAccountsInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1292
+ TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
1293
+ TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
1294
+ ...TRemainingAccounts
1295
+ ]>;
1296
+ type CreateUserAccountsInstructionData = {
1297
+ discriminator: ReadonlyUint8Array;
1298
+ compressedProofArgs: ProofArgs;
1299
+ createUserArgs: Array<CreateUserAccountArgs>;
1300
+ };
1301
+ type CreateUserAccountsInstructionDataArgs = {
1302
+ compressedProofArgs: ProofArgsArgs;
1303
+ createUserArgs: Array<CreateUserAccountArgsArgs>;
1304
+ };
1305
+ declare function getCreateUserAccountsInstructionDataEncoder(): Encoder<CreateUserAccountsInstructionDataArgs>;
1306
+ declare function getCreateUserAccountsInstructionDataDecoder(): Decoder<CreateUserAccountsInstructionData>;
1307
+ declare function getCreateUserAccountsInstructionDataCodec(): Codec<CreateUserAccountsInstructionDataArgs, CreateUserAccountsInstructionData>;
1308
+ type CreateUserAccountsInstructionExtraArgs = {
1309
+ remainingAccounts: Array<{
1310
+ address: Address;
1311
+ role: number;
1312
+ }>;
1313
+ };
1314
+ type CreateUserAccountsInput<TAccountPayer extends string = string, TAccountSystemProgram extends string = string> = {
1315
+ payer: TransactionSigner<TAccountPayer>;
1316
+ systemProgram?: Address<TAccountSystemProgram>;
1317
+ compressedProofArgs: CreateUserAccountsInstructionDataArgs["compressedProofArgs"];
1318
+ createUserArgs: CreateUserAccountsInstructionDataArgs["createUserArgs"];
1319
+ remainingAccounts: CreateUserAccountsInstructionExtraArgs["remainingAccounts"];
1320
+ };
1321
+ declare function getCreateUserAccountsInstruction<TAccountPayer extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: CreateUserAccountsInput<TAccountPayer, TAccountSystemProgram>, config?: {
1322
+ programAddress?: TProgramAddress;
1323
+ }): CreateUserAccountsInstruction<TProgramAddress, TAccountPayer, TAccountSystemProgram>;
1324
+ type ParsedCreateUserAccountsInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1325
+ programAddress: Address<TProgram>;
1326
+ accounts: {
1327
+ payer: TAccountMetas[0];
1328
+ systemProgram: TAccountMetas[1];
1329
+ };
1330
+ data: CreateUserAccountsInstructionData;
1331
+ };
1332
+ declare function parseCreateUserAccountsInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCreateUserAccountsInstruction<TProgram, TAccountMetas>;
1333
+
1334
+ declare const DECOMPRESS_SETTINGS_ACCOUNT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1335
+ declare function getDecompressSettingsAccountDiscriminatorBytes(): ReadonlyUint8Array;
1336
+ type DecompressSettingsAccountInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountSlotHashSysvar extends string | AccountMeta<string> = "SysvarS1otHashes111111111111111111111111111", TAccountInstructionsSysvar extends string | AccountMeta<string> = "Sysvar1nstructions1111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1337
+ TAccountSettings extends string ? WritableAccount<TAccountSettings> : TAccountSettings,
1338
+ TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
1339
+ TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
1340
+ TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
1341
+ TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
1342
+ ...TRemainingAccounts
1343
+ ]>;
1344
+ type DecompressSettingsAccountInstructionData = {
1345
+ discriminator: ReadonlyUint8Array;
1346
+ settingsMut: SettingsMutArgs;
1347
+ compressedProofArgs: ProofArgs;
1348
+ secp256r1VerifyArgs: Array<Secp256r1VerifyArgsWithDomainAddress>;
1349
+ };
1350
+ type DecompressSettingsAccountInstructionDataArgs = {
1351
+ settingsMut: SettingsMutArgsArgs;
1352
+ compressedProofArgs: ProofArgsArgs;
1353
+ secp256r1VerifyArgs: Array<Secp256r1VerifyArgsWithDomainAddressArgs>;
1354
+ };
1355
+ declare function getDecompressSettingsAccountInstructionDataEncoder(): Encoder<DecompressSettingsAccountInstructionDataArgs>;
1356
+ declare function getDecompressSettingsAccountInstructionDataDecoder(): Decoder<DecompressSettingsAccountInstructionData>;
1357
+ declare function getDecompressSettingsAccountInstructionDataCodec(): Codec<DecompressSettingsAccountInstructionDataArgs, DecompressSettingsAccountInstructionData>;
1358
+ type DecompressSettingsAccountInstructionExtraArgs = {
1359
+ remainingAccounts: Array<{
1360
+ address: Address;
1361
+ role: number;
1362
+ }>;
1363
+ };
1364
+ type DecompressSettingsAccountInput<TAccountSettings extends string = string, TAccountPayer extends string = string, TAccountSystemProgram extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string> = {
1365
+ settings: Address<TAccountSettings>;
1366
+ payer: TransactionSigner<TAccountPayer>;
1367
+ systemProgram?: Address<TAccountSystemProgram>;
1368
+ slotHashSysvar?: Address<TAccountSlotHashSysvar>;
1369
+ instructionsSysvar?: Address<TAccountInstructionsSysvar>;
1370
+ settingsMut: DecompressSettingsAccountInstructionDataArgs["settingsMut"];
1371
+ compressedProofArgs: DecompressSettingsAccountInstructionDataArgs["compressedProofArgs"];
1372
+ secp256r1VerifyArgs: DecompressSettingsAccountInstructionDataArgs["secp256r1VerifyArgs"];
1373
+ remainingAccounts: DecompressSettingsAccountInstructionExtraArgs["remainingAccounts"];
1374
+ };
1375
+ declare function getDecompressSettingsAccountInstruction<TAccountSettings extends string, TAccountPayer extends string, TAccountSystemProgram extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: DecompressSettingsAccountInput<TAccountSettings, TAccountPayer, TAccountSystemProgram, TAccountSlotHashSysvar, TAccountInstructionsSysvar>, config?: {
1376
+ programAddress?: TProgramAddress;
1377
+ }): DecompressSettingsAccountInstruction<TProgramAddress, TAccountSettings, TAccountPayer, TAccountSystemProgram, TAccountSlotHashSysvar, TAccountInstructionsSysvar>;
1378
+ type ParsedDecompressSettingsAccountInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1379
+ programAddress: Address<TProgram>;
1380
+ accounts: {
1381
+ settings: TAccountMetas[0];
1382
+ payer: TAccountMetas[1];
1383
+ systemProgram: TAccountMetas[2];
1384
+ slotHashSysvar?: TAccountMetas[3] | undefined;
1385
+ instructionsSysvar: TAccountMetas[4];
1386
+ };
1387
+ data: DecompressSettingsAccountInstructionData;
1388
+ };
1389
+ declare function parseDecompressSettingsAccountInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedDecompressSettingsAccountInstruction<TProgram, TAccountMetas>;
1390
+
1391
+ declare const DISABLE_DOMAIN_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1392
+ declare function getDisableDomainConfigDiscriminatorBytes(): ReadonlyUint8Array;
1393
+ type DisableDomainConfigInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountDomainConfig extends string | AccountMeta<string> = string, TAccountAdmin extends string | AccountMeta<string> = string, TAccountAdminDomainConfig extends string | AccountMeta<string> = "5tgzUZaVtfnnSEBgmBDtJj6PdgYCnA1uaEGEUi3y5Njg", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1394
+ TAccountDomainConfig extends string ? WritableAccount<TAccountDomainConfig> : TAccountDomainConfig,
1395
+ TAccountAdmin extends string ? ReadonlySignerAccount<TAccountAdmin> & AccountSignerMeta<TAccountAdmin> : TAccountAdmin,
1396
+ TAccountAdminDomainConfig extends string ? ReadonlyAccount<TAccountAdminDomainConfig> : TAccountAdminDomainConfig,
1397
+ ...TRemainingAccounts
1398
+ ]>;
1399
+ type DisableDomainConfigInstructionData = {
1400
+ discriminator: ReadonlyUint8Array;
1401
+ disable: boolean;
1402
+ };
1403
+ type DisableDomainConfigInstructionDataArgs = {
1404
+ disable: boolean;
1405
+ };
1406
+ declare function getDisableDomainConfigInstructionDataEncoder(): FixedSizeEncoder<DisableDomainConfigInstructionDataArgs>;
1407
+ declare function getDisableDomainConfigInstructionDataDecoder(): FixedSizeDecoder<DisableDomainConfigInstructionData>;
1408
+ declare function getDisableDomainConfigInstructionDataCodec(): FixedSizeCodec<DisableDomainConfigInstructionDataArgs, DisableDomainConfigInstructionData>;
1409
+ type DisableDomainConfigInstructionExtraArgs = {
1410
+ remainingAccounts: Array<{
1411
+ address: Address;
1412
+ role: number;
1413
+ }>;
1414
+ };
1415
+ type DisableDomainConfigInput<TAccountDomainConfig extends string = string, TAccountAdmin extends string = string, TAccountAdminDomainConfig extends string = string> = {
1416
+ domainConfig: Address<TAccountDomainConfig>;
1417
+ admin: TransactionSigner<TAccountAdmin>;
1418
+ adminDomainConfig?: Address<TAccountAdminDomainConfig>;
1419
+ disable: DisableDomainConfigInstructionDataArgs["disable"];
1420
+ remainingAccounts: DisableDomainConfigInstructionExtraArgs["remainingAccounts"];
1421
+ };
1422
+ declare function getDisableDomainConfigInstruction<TAccountDomainConfig extends string, TAccountAdmin extends string, TAccountAdminDomainConfig extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: DisableDomainConfigInput<TAccountDomainConfig, TAccountAdmin, TAccountAdminDomainConfig>, config?: {
1423
+ programAddress?: TProgramAddress;
1424
+ }): DisableDomainConfigInstruction<TProgramAddress, TAccountDomainConfig, TAccountAdmin, TAccountAdminDomainConfig>;
1425
+ type ParsedDisableDomainConfigInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1426
+ programAddress: Address<TProgram>;
1427
+ accounts: {
1428
+ domainConfig: TAccountMetas[0];
1429
+ admin: TAccountMetas[1];
1430
+ adminDomainConfig: TAccountMetas[2];
1431
+ };
1432
+ data: DisableDomainConfigInstructionData;
1433
+ };
1434
+ declare function parseDisableDomainConfigInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedDisableDomainConfigInstruction<TProgram, TAccountMetas>;
1435
+
1436
+ declare const EDIT_DOMAIN_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1437
+ declare function getEditDomainConfigDiscriminatorBytes(): ReadonlyUint8Array;
1438
+ type EditDomainConfigInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountDomainConfig extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1439
+ TAccountDomainConfig extends string ? WritableAccount<TAccountDomainConfig> : TAccountDomainConfig,
1440
+ TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
1441
+ TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
1442
+ ...TRemainingAccounts
1443
+ ]>;
1444
+ type EditDomainConfigInstructionData = {
1445
+ discriminator: ReadonlyUint8Array;
1446
+ newOrigins: Option<Array<string>>;
1447
+ newAuthority: Option<Address>;
1448
+ newMetadataUrl: Option<string>;
1449
+ };
1450
+ type EditDomainConfigInstructionDataArgs = {
1451
+ newOrigins: OptionOrNullable<Array<string>>;
1452
+ newAuthority: OptionOrNullable<Address>;
1453
+ newMetadataUrl: OptionOrNullable<string>;
1454
+ };
1455
+ declare function getEditDomainConfigInstructionDataEncoder(): Encoder<EditDomainConfigInstructionDataArgs>;
1456
+ declare function getEditDomainConfigInstructionDataDecoder(): Decoder<EditDomainConfigInstructionData>;
1457
+ declare function getEditDomainConfigInstructionDataCodec(): Codec<EditDomainConfigInstructionDataArgs, EditDomainConfigInstructionData>;
1458
+ type EditDomainConfigInstructionExtraArgs = {
1459
+ remainingAccounts: Array<{
1460
+ address: Address;
1461
+ role: number;
1462
+ }>;
1463
+ };
1464
+ type EditDomainConfigInput<TAccountDomainConfig extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string> = {
1465
+ domainConfig: Address<TAccountDomainConfig>;
1466
+ authority: TransactionSigner<TAccountAuthority>;
1467
+ systemProgram?: Address<TAccountSystemProgram>;
1468
+ newOrigins: EditDomainConfigInstructionDataArgs["newOrigins"];
1469
+ newAuthority: EditDomainConfigInstructionDataArgs["newAuthority"];
1470
+ newMetadataUrl: EditDomainConfigInstructionDataArgs["newMetadataUrl"];
1471
+ remainingAccounts: EditDomainConfigInstructionExtraArgs["remainingAccounts"];
1472
+ };
1473
+ declare function getEditDomainConfigInstruction<TAccountDomainConfig extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: EditDomainConfigInput<TAccountDomainConfig, TAccountAuthority, TAccountSystemProgram>, config?: {
1474
+ programAddress?: TProgramAddress;
1475
+ }): EditDomainConfigInstruction<TProgramAddress, TAccountDomainConfig, TAccountAuthority, TAccountSystemProgram>;
1476
+ type ParsedEditDomainConfigInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1477
+ programAddress: Address<TProgram>;
1478
+ accounts: {
1479
+ domainConfig: TAccountMetas[0];
1480
+ authority: TAccountMetas[1];
1481
+ systemProgram: TAccountMetas[2];
1482
+ };
1483
+ data: EditDomainConfigInstructionData;
1484
+ };
1485
+ declare function parseEditDomainConfigInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedEditDomainConfigInstruction<TProgram, TAccountMetas>;
1486
+
1487
+ declare const EDIT_TRANSACTION_MANAGER_URL_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1488
+ declare function getEditTransactionManagerUrlDiscriminatorBytes(): ReadonlyUint8Array;
1489
+ type EditTransactionManagerUrlInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountAuthority extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1490
+ TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
1491
+ ...TRemainingAccounts
1492
+ ]>;
1493
+ type EditTransactionManagerUrlInstructionData = {
1494
+ discriminator: ReadonlyUint8Array;
1495
+ userMutArgs: UserMutArgs;
1496
+ transactionManagerUrl: string;
1497
+ compressedProofArgs: ProofArgs;
1498
+ };
1499
+ type EditTransactionManagerUrlInstructionDataArgs = {
1500
+ userMutArgs: UserMutArgsArgs;
1501
+ transactionManagerUrl: string;
1502
+ compressedProofArgs: ProofArgsArgs;
1503
+ };
1504
+ declare function getEditTransactionManagerUrlInstructionDataEncoder(): Encoder<EditTransactionManagerUrlInstructionDataArgs>;
1505
+ declare function getEditTransactionManagerUrlInstructionDataDecoder(): Decoder<EditTransactionManagerUrlInstructionData>;
1506
+ declare function getEditTransactionManagerUrlInstructionDataCodec(): Codec<EditTransactionManagerUrlInstructionDataArgs, EditTransactionManagerUrlInstructionData>;
1507
+ type EditTransactionManagerUrlInstructionExtraArgs = {
1508
+ remainingAccounts: Array<{
1509
+ address: Address;
1510
+ role: number;
1511
+ }>;
1512
+ };
1513
+ type EditTransactionManagerUrlInput<TAccountAuthority extends string = string> = {
1514
+ authority: TransactionSigner<TAccountAuthority>;
1515
+ userMutArgs: EditTransactionManagerUrlInstructionDataArgs["userMutArgs"];
1516
+ transactionManagerUrl: EditTransactionManagerUrlInstructionDataArgs["transactionManagerUrl"];
1517
+ compressedProofArgs: EditTransactionManagerUrlInstructionDataArgs["compressedProofArgs"];
1518
+ remainingAccounts: EditTransactionManagerUrlInstructionExtraArgs["remainingAccounts"];
1519
+ };
1520
+ declare function getEditTransactionManagerUrlInstruction<TAccountAuthority extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: EditTransactionManagerUrlInput<TAccountAuthority>, config?: {
1521
+ programAddress?: TProgramAddress;
1522
+ }): EditTransactionManagerUrlInstruction<TProgramAddress, TAccountAuthority>;
1523
+ type ParsedEditTransactionManagerUrlInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1524
+ programAddress: Address<TProgram>;
1525
+ accounts: {
1526
+ authority: TAccountMetas[0];
1527
+ };
1528
+ data: EditTransactionManagerUrlInstructionData;
1529
+ };
1530
+ declare function parseEditTransactionManagerUrlInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedEditTransactionManagerUrlInstruction<TProgram, TAccountMetas>;
1531
+
1532
+ declare const MIGRATE_COMPRESSED_SETTINGS_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1533
+ declare function getMigrateCompressedSettingsDiscriminatorBytes(): ReadonlyUint8Array;
1534
+ type MigrateCompressedSettingsInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountAuthority extends string | AccountMeta<string> = string, TAccountAdminDomainConfig extends string | AccountMeta<string> = "5tgzUZaVtfnnSEBgmBDtJj6PdgYCnA1uaEGEUi3y5Njg", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1535
+ TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
1536
+ TAccountAdminDomainConfig extends string ? ReadonlyAccount<TAccountAdminDomainConfig> : TAccountAdminDomainConfig,
1537
+ ...TRemainingAccounts
1538
+ ]>;
1539
+ type MigrateCompressedSettingsInstructionData = {
1540
+ discriminator: ReadonlyUint8Array;
1541
+ args: CompressedSettingsData;
1542
+ compressedProofArgs: ProofArgs;
1543
+ settingsCreationArgs: SettingsCreationArgs;
1544
+ };
1545
+ type MigrateCompressedSettingsInstructionDataArgs = {
1546
+ args: CompressedSettingsDataArgs;
1547
+ compressedProofArgs: ProofArgsArgs;
1548
+ settingsCreationArgs: SettingsCreationArgsArgs;
1549
+ };
1550
+ declare function getMigrateCompressedSettingsInstructionDataEncoder(): Encoder<MigrateCompressedSettingsInstructionDataArgs>;
1551
+ declare function getMigrateCompressedSettingsInstructionDataDecoder(): Decoder<MigrateCompressedSettingsInstructionData>;
1552
+ declare function getMigrateCompressedSettingsInstructionDataCodec(): Codec<MigrateCompressedSettingsInstructionDataArgs, MigrateCompressedSettingsInstructionData>;
1553
+ type MigrateCompressedSettingsInstructionExtraArgs = {
1554
+ remainingAccounts: Array<{
1555
+ address: Address;
1556
+ role: number;
1557
+ }>;
1558
+ };
1559
+ type MigrateCompressedSettingsInput<TAccountAuthority extends string = string, TAccountAdminDomainConfig extends string = string> = {
1560
+ authority: TransactionSigner<TAccountAuthority>;
1561
+ adminDomainConfig?: Address<TAccountAdminDomainConfig>;
1562
+ args: MigrateCompressedSettingsInstructionDataArgs["args"];
1563
+ compressedProofArgs: MigrateCompressedSettingsInstructionDataArgs["compressedProofArgs"];
1564
+ settingsCreationArgs: MigrateCompressedSettingsInstructionDataArgs["settingsCreationArgs"];
1565
+ remainingAccounts: MigrateCompressedSettingsInstructionExtraArgs["remainingAccounts"];
1566
+ };
1567
+ declare function getMigrateCompressedSettingsInstruction<TAccountAuthority extends string, TAccountAdminDomainConfig extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: MigrateCompressedSettingsInput<TAccountAuthority, TAccountAdminDomainConfig>, config?: {
1568
+ programAddress?: TProgramAddress;
1569
+ }): MigrateCompressedSettingsInstruction<TProgramAddress, TAccountAuthority, TAccountAdminDomainConfig>;
1570
+ type ParsedMigrateCompressedSettingsInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1571
+ programAddress: Address<TProgram>;
1572
+ accounts: {
1573
+ authority: TAccountMetas[0];
1574
+ adminDomainConfig: TAccountMetas[1];
1575
+ };
1576
+ data: MigrateCompressedSettingsInstructionData;
1577
+ };
1578
+ declare function parseMigrateCompressedSettingsInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedMigrateCompressedSettingsInstruction<TProgram, TAccountMetas>;
1579
+
1580
+ declare const MIGRATE_COMPRESSED_USERS_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1581
+ declare function getMigrateCompressedUsersDiscriminatorBytes(): ReadonlyUint8Array;
1582
+ type MigrateCompressedUsersInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountAuthority extends string | AccountMeta<string> = string, TAccountAdminDomainConfig extends string | AccountMeta<string> = "5tgzUZaVtfnnSEBgmBDtJj6PdgYCnA1uaEGEUi3y5Njg", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1583
+ TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
1584
+ TAccountAdminDomainConfig extends string ? ReadonlyAccount<TAccountAdminDomainConfig> : TAccountAdminDomainConfig,
1585
+ ...TRemainingAccounts
1586
+ ]>;
1587
+ type MigrateCompressedUsersInstructionData = {
1588
+ discriminator: ReadonlyUint8Array;
1589
+ args: User;
1590
+ compressedProofArgs: ProofArgs;
1591
+ userCreationArgs: UserCreationArgs$2;
1592
+ };
1593
+ type MigrateCompressedUsersInstructionDataArgs = {
1594
+ args: UserArgs;
1595
+ compressedProofArgs: ProofArgsArgs;
1596
+ userCreationArgs: UserCreationArgsArgs;
1597
+ };
1598
+ declare function getMigrateCompressedUsersInstructionDataEncoder(): Encoder<MigrateCompressedUsersInstructionDataArgs>;
1599
+ declare function getMigrateCompressedUsersInstructionDataDecoder(): Decoder<MigrateCompressedUsersInstructionData>;
1600
+ declare function getMigrateCompressedUsersInstructionDataCodec(): Codec<MigrateCompressedUsersInstructionDataArgs, MigrateCompressedUsersInstructionData>;
1601
+ type MigrateCompressedUsersInstructionExtraArgs = {
1602
+ remainingAccounts: Array<{
1603
+ address: Address;
1604
+ role: number;
1605
+ }>;
1606
+ };
1607
+ type MigrateCompressedUsersInput<TAccountAuthority extends string = string, TAccountAdminDomainConfig extends string = string> = {
1608
+ authority: TransactionSigner<TAccountAuthority>;
1609
+ adminDomainConfig?: Address<TAccountAdminDomainConfig>;
1610
+ args: MigrateCompressedUsersInstructionDataArgs["args"];
1611
+ compressedProofArgs: MigrateCompressedUsersInstructionDataArgs["compressedProofArgs"];
1612
+ userCreationArgs: MigrateCompressedUsersInstructionDataArgs["userCreationArgs"];
1613
+ remainingAccounts: MigrateCompressedUsersInstructionExtraArgs["remainingAccounts"];
1614
+ };
1615
+ declare function getMigrateCompressedUsersInstruction<TAccountAuthority extends string, TAccountAdminDomainConfig extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: MigrateCompressedUsersInput<TAccountAuthority, TAccountAdminDomainConfig>, config?: {
1616
+ programAddress?: TProgramAddress;
1617
+ }): MigrateCompressedUsersInstruction<TProgramAddress, TAccountAuthority, TAccountAdminDomainConfig>;
1618
+ type ParsedMigrateCompressedUsersInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1619
+ programAddress: Address<TProgram>;
1620
+ accounts: {
1621
+ authority: TAccountMetas[0];
1622
+ adminDomainConfig: TAccountMetas[1];
1623
+ };
1624
+ data: MigrateCompressedUsersInstructionData;
1625
+ };
1626
+ declare function parseMigrateCompressedUsersInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedMigrateCompressedUsersInstruction<TProgram, TAccountMetas>;
1627
+
1628
+ declare const NATIVE_TRANSFER_INTENT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1629
+ declare function getNativeTransferIntentDiscriminatorBytes(): ReadonlyUint8Array;
1630
+ type NativeTransferIntentInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountSlotHashSysvar extends string | AccountMeta<string> = "SysvarS1otHashes111111111111111111111111111", TAccountInstructionsSysvar extends string | AccountMeta<string> = "Sysvar1nstructions1111111111111111111111111", TAccountSource extends string | AccountMeta<string> = string, TAccountDestination extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1631
+ TAccountSettings extends string ? ReadonlyAccount<TAccountSettings> : TAccountSettings,
1632
+ TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
1633
+ TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
1634
+ TAccountSource extends string ? WritableAccount<TAccountSource> : TAccountSource,
1635
+ TAccountDestination extends string ? WritableAccount<TAccountDestination> : TAccountDestination,
1636
+ TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
1637
+ ...TRemainingAccounts
1638
+ ]>;
1639
+ type NativeTransferIntentInstructionData = {
1640
+ discriminator: ReadonlyUint8Array;
1641
+ amount: bigint;
1642
+ secp256r1VerifyArgs: Array<Secp256r1VerifyArgsWithDomainAddress>;
1643
+ };
1644
+ type NativeTransferIntentInstructionDataArgs = {
1645
+ amount: number | bigint;
1646
+ secp256r1VerifyArgs: Array<Secp256r1VerifyArgsWithDomainAddressArgs>;
1647
+ };
1648
+ declare function getNativeTransferIntentInstructionDataEncoder(): Encoder<NativeTransferIntentInstructionDataArgs>;
1649
+ declare function getNativeTransferIntentInstructionDataDecoder(): Decoder<NativeTransferIntentInstructionData>;
1650
+ declare function getNativeTransferIntentInstructionDataCodec(): Codec<NativeTransferIntentInstructionDataArgs, NativeTransferIntentInstructionData>;
1651
+ type NativeTransferIntentInstructionExtraArgs = {
1652
+ remainingAccounts: Array<{
1653
+ address: Address;
1654
+ role: number;
1655
+ }>;
1656
+ };
1657
+ type NativeTransferIntentAsyncInput<TAccountSettings extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string, TAccountSource extends string = string, TAccountDestination extends string = string, TAccountSystemProgram extends string = string> = {
1658
+ settings: Address<TAccountSettings>;
1659
+ slotHashSysvar?: Address<TAccountSlotHashSysvar>;
1660
+ instructionsSysvar?: Address<TAccountInstructionsSysvar>;
1661
+ source?: Address<TAccountSource>;
1662
+ destination: Address<TAccountDestination>;
1663
+ systemProgram?: Address<TAccountSystemProgram>;
1664
+ amount: NativeTransferIntentInstructionDataArgs["amount"];
1665
+ secp256r1VerifyArgs: NativeTransferIntentInstructionDataArgs["secp256r1VerifyArgs"];
1666
+ remainingAccounts: NativeTransferIntentInstructionExtraArgs["remainingAccounts"];
1667
+ };
1668
+ declare function getNativeTransferIntentInstructionAsync<TAccountSettings extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TAccountSource extends string, TAccountDestination extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: NativeTransferIntentAsyncInput<TAccountSettings, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountDestination, TAccountSystemProgram>, config?: {
1669
+ programAddress?: TProgramAddress;
1670
+ }): Promise<NativeTransferIntentInstruction<TProgramAddress, TAccountSettings, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountDestination, TAccountSystemProgram>>;
1671
+ type NativeTransferIntentInput<TAccountSettings extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string, TAccountSource extends string = string, TAccountDestination extends string = string, TAccountSystemProgram extends string = string> = {
1672
+ settings: Address<TAccountSettings>;
1673
+ slotHashSysvar?: Address<TAccountSlotHashSysvar>;
1674
+ instructionsSysvar?: Address<TAccountInstructionsSysvar>;
1675
+ source: Address<TAccountSource>;
1676
+ destination: Address<TAccountDestination>;
1677
+ systemProgram?: Address<TAccountSystemProgram>;
1678
+ amount: NativeTransferIntentInstructionDataArgs["amount"];
1679
+ secp256r1VerifyArgs: NativeTransferIntentInstructionDataArgs["secp256r1VerifyArgs"];
1680
+ remainingAccounts: NativeTransferIntentInstructionExtraArgs["remainingAccounts"];
1681
+ };
1682
+ declare function getNativeTransferIntentInstruction<TAccountSettings extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TAccountSource extends string, TAccountDestination extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: NativeTransferIntentInput<TAccountSettings, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountDestination, TAccountSystemProgram>, config?: {
1683
+ programAddress?: TProgramAddress;
1684
+ }): NativeTransferIntentInstruction<TProgramAddress, TAccountSettings, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountDestination, TAccountSystemProgram>;
1685
+ type ParsedNativeTransferIntentInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1686
+ programAddress: Address<TProgram>;
1687
+ accounts: {
1688
+ settings: TAccountMetas[0];
1689
+ slotHashSysvar?: TAccountMetas[1] | undefined;
1690
+ instructionsSysvar: TAccountMetas[2];
1691
+ source: TAccountMetas[3];
1692
+ destination: TAccountMetas[4];
1693
+ systemProgram: TAccountMetas[5];
1694
+ };
1695
+ data: NativeTransferIntentInstructionData;
1696
+ };
1697
+ declare function parseNativeTransferIntentInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedNativeTransferIntentInstruction<TProgram, TAccountMetas>;
1698
+
1699
+ declare const NATIVE_TRANSFER_INTENT_COMPRESSED_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1700
+ declare function getNativeTransferIntentCompressedDiscriminatorBytes(): ReadonlyUint8Array;
1701
+ type NativeTransferIntentCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountSlotHashSysvar extends string | AccountMeta<string> = "SysvarS1otHashes111111111111111111111111111", TAccountInstructionsSysvar extends string | AccountMeta<string> = "Sysvar1nstructions1111111111111111111111111", TAccountSource extends string | AccountMeta<string> = string, TAccountDestination extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1702
+ TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
1703
+ TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
1704
+ TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
1705
+ TAccountSource extends string ? WritableAccount<TAccountSource> : TAccountSource,
1706
+ TAccountDestination extends string ? WritableAccount<TAccountDestination> : TAccountDestination,
1707
+ TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
1708
+ ...TRemainingAccounts
1709
+ ]>;
1710
+ type NativeTransferIntentCompressedInstructionData = {
1711
+ discriminator: ReadonlyUint8Array;
1712
+ amount: bigint;
1713
+ secp256r1VerifyArgs: Array<Secp256r1VerifyArgsWithDomainAddress>;
1714
+ settingsReadonlyArgs: SettingsReadonlyArgs;
1715
+ compressedProofArgs: ProofArgs;
1716
+ };
1717
+ type NativeTransferIntentCompressedInstructionDataArgs = {
1718
+ amount: number | bigint;
1719
+ secp256r1VerifyArgs: Array<Secp256r1VerifyArgsWithDomainAddressArgs>;
1720
+ settingsReadonlyArgs: SettingsReadonlyArgsArgs;
1721
+ compressedProofArgs: ProofArgsArgs;
1722
+ };
1723
+ declare function getNativeTransferIntentCompressedInstructionDataEncoder(): Encoder<NativeTransferIntentCompressedInstructionDataArgs>;
1724
+ declare function getNativeTransferIntentCompressedInstructionDataDecoder(): Decoder<NativeTransferIntentCompressedInstructionData>;
1725
+ declare function getNativeTransferIntentCompressedInstructionDataCodec(): Codec<NativeTransferIntentCompressedInstructionDataArgs, NativeTransferIntentCompressedInstructionData>;
1726
+ type NativeTransferIntentCompressedInstructionExtraArgs = {
1727
+ remainingAccounts: Array<{
1728
+ address: Address;
1729
+ role: number;
1730
+ }>;
1731
+ };
1732
+ type NativeTransferIntentCompressedInput<TAccountPayer extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string, TAccountSource extends string = string, TAccountDestination extends string = string, TAccountSystemProgram extends string = string> = {
1733
+ payer: TransactionSigner<TAccountPayer>;
1734
+ slotHashSysvar?: Address<TAccountSlotHashSysvar>;
1735
+ instructionsSysvar?: Address<TAccountInstructionsSysvar>;
1736
+ source: Address<TAccountSource>;
1737
+ destination: Address<TAccountDestination>;
1738
+ systemProgram?: Address<TAccountSystemProgram>;
1739
+ amount: NativeTransferIntentCompressedInstructionDataArgs["amount"];
1740
+ secp256r1VerifyArgs: NativeTransferIntentCompressedInstructionDataArgs["secp256r1VerifyArgs"];
1741
+ settingsReadonlyArgs: NativeTransferIntentCompressedInstructionDataArgs["settingsReadonlyArgs"];
1742
+ compressedProofArgs: NativeTransferIntentCompressedInstructionDataArgs["compressedProofArgs"];
1743
+ remainingAccounts: NativeTransferIntentCompressedInstructionExtraArgs["remainingAccounts"];
1744
+ };
1745
+ declare function getNativeTransferIntentCompressedInstruction<TAccountPayer extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TAccountSource extends string, TAccountDestination extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: NativeTransferIntentCompressedInput<TAccountPayer, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountDestination, TAccountSystemProgram>, config?: {
1746
+ programAddress?: TProgramAddress;
1747
+ }): NativeTransferIntentCompressedInstruction<TProgramAddress, TAccountPayer, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountDestination, TAccountSystemProgram>;
1748
+ type ParsedNativeTransferIntentCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1749
+ programAddress: Address<TProgram>;
1750
+ accounts: {
1751
+ payer: TAccountMetas[0];
1752
+ slotHashSysvar?: TAccountMetas[1] | undefined;
1753
+ instructionsSysvar: TAccountMetas[2];
1754
+ source: TAccountMetas[3];
1755
+ destination: TAccountMetas[4];
1756
+ systemProgram: TAccountMetas[5];
1757
+ };
1758
+ data: NativeTransferIntentCompressedInstructionData;
1759
+ };
1760
+ declare function parseNativeTransferIntentCompressedInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedNativeTransferIntentCompressedInstruction<TProgram, TAccountMetas>;
1761
+
1762
+ declare const TOKEN_TRANSFER_INTENT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1763
+ declare function getTokenTransferIntentDiscriminatorBytes(): ReadonlyUint8Array;
1764
+ type TokenTransferIntentInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountSlotHashSysvar extends string | AccountMeta<string> = "SysvarS1otHashes111111111111111111111111111", TAccountInstructionsSysvar extends string | AccountMeta<string> = "Sysvar1nstructions1111111111111111111111111", TAccountSource extends string | AccountMeta<string> = string, TAccountSourceTokenAccount extends string | AccountMeta<string> = string, TAccountDestination extends string | AccountMeta<string> = string, TAccountDestinationTokenAccount extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", TAccountMint extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountAssociatedTokenProgram extends string | AccountMeta<string> = "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1765
+ TAccountSettings extends string ? ReadonlyAccount<TAccountSettings> : TAccountSettings,
1766
+ TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
1767
+ TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
1768
+ TAccountSource extends string ? WritableAccount<TAccountSource> : TAccountSource,
1769
+ TAccountSourceTokenAccount extends string ? WritableAccount<TAccountSourceTokenAccount> : TAccountSourceTokenAccount,
1770
+ TAccountDestination extends string ? ReadonlyAccount<TAccountDestination> : TAccountDestination,
1771
+ TAccountDestinationTokenAccount extends string ? WritableAccount<TAccountDestinationTokenAccount> : TAccountDestinationTokenAccount,
1772
+ TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram,
1773
+ TAccountMint extends string ? ReadonlyAccount<TAccountMint> : TAccountMint,
1774
+ TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
1775
+ TAccountAssociatedTokenProgram extends string ? ReadonlyAccount<TAccountAssociatedTokenProgram> : TAccountAssociatedTokenProgram,
1776
+ ...TRemainingAccounts
1777
+ ]>;
1778
+ type TokenTransferIntentInstructionData = {
1779
+ discriminator: ReadonlyUint8Array;
1780
+ amount: bigint;
1781
+ secp256r1VerifyArgs: Array<Secp256r1VerifyArgsWithDomainAddress>;
1782
+ };
1783
+ type TokenTransferIntentInstructionDataArgs = {
1784
+ amount: number | bigint;
1785
+ secp256r1VerifyArgs: Array<Secp256r1VerifyArgsWithDomainAddressArgs>;
1786
+ };
1787
+ declare function getTokenTransferIntentInstructionDataEncoder(): Encoder<TokenTransferIntentInstructionDataArgs>;
1788
+ declare function getTokenTransferIntentInstructionDataDecoder(): Decoder<TokenTransferIntentInstructionData>;
1789
+ declare function getTokenTransferIntentInstructionDataCodec(): Codec<TokenTransferIntentInstructionDataArgs, TokenTransferIntentInstructionData>;
1790
+ type TokenTransferIntentInstructionExtraArgs = {
1791
+ remainingAccounts: Array<{
1792
+ address: Address;
1793
+ role: number;
1794
+ }>;
1795
+ };
1796
+ type TokenTransferIntentAsyncInput<TAccountSettings extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string, TAccountSource extends string = string, TAccountSourceTokenAccount extends string = string, TAccountDestination extends string = string, TAccountDestinationTokenAccount extends string = string, TAccountTokenProgram extends string = string, TAccountMint extends string = string, TAccountSystemProgram extends string = string, TAccountAssociatedTokenProgram extends string = string> = {
1797
+ settings: Address<TAccountSettings>;
1798
+ slotHashSysvar?: Address<TAccountSlotHashSysvar>;
1799
+ instructionsSysvar?: Address<TAccountInstructionsSysvar>;
1800
+ source?: Address<TAccountSource>;
1801
+ sourceTokenAccount?: Address<TAccountSourceTokenAccount>;
1802
+ destination: Address<TAccountDestination>;
1803
+ destinationTokenAccount?: Address<TAccountDestinationTokenAccount>;
1804
+ tokenProgram?: Address<TAccountTokenProgram>;
1805
+ mint: Address<TAccountMint>;
1806
+ systemProgram?: Address<TAccountSystemProgram>;
1807
+ associatedTokenProgram?: Address<TAccountAssociatedTokenProgram>;
1808
+ amount: TokenTransferIntentInstructionDataArgs["amount"];
1809
+ secp256r1VerifyArgs: TokenTransferIntentInstructionDataArgs["secp256r1VerifyArgs"];
1810
+ remainingAccounts: TokenTransferIntentInstructionExtraArgs["remainingAccounts"];
1811
+ };
1812
+ declare function getTokenTransferIntentInstructionAsync<TAccountSettings extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TAccountSource extends string, TAccountSourceTokenAccount extends string, TAccountDestination extends string, TAccountDestinationTokenAccount extends string, TAccountTokenProgram extends string, TAccountMint extends string, TAccountSystemProgram extends string, TAccountAssociatedTokenProgram extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TokenTransferIntentAsyncInput<TAccountSettings, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountSourceTokenAccount, TAccountDestination, TAccountDestinationTokenAccount, TAccountTokenProgram, TAccountMint, TAccountSystemProgram, TAccountAssociatedTokenProgram>, config?: {
1813
+ programAddress?: TProgramAddress;
1814
+ }): Promise<TokenTransferIntentInstruction<TProgramAddress, TAccountSettings, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountSourceTokenAccount, TAccountDestination, TAccountDestinationTokenAccount, TAccountTokenProgram, TAccountMint, TAccountSystemProgram, TAccountAssociatedTokenProgram>>;
1815
+ type TokenTransferIntentInput<TAccountSettings extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string, TAccountSource extends string = string, TAccountSourceTokenAccount extends string = string, TAccountDestination extends string = string, TAccountDestinationTokenAccount extends string = string, TAccountTokenProgram extends string = string, TAccountMint extends string = string, TAccountSystemProgram extends string = string, TAccountAssociatedTokenProgram extends string = string> = {
1816
+ settings: Address<TAccountSettings>;
1817
+ slotHashSysvar?: Address<TAccountSlotHashSysvar>;
1818
+ instructionsSysvar?: Address<TAccountInstructionsSysvar>;
1819
+ source: Address<TAccountSource>;
1820
+ sourceTokenAccount: Address<TAccountSourceTokenAccount>;
1821
+ destination: Address<TAccountDestination>;
1822
+ destinationTokenAccount: Address<TAccountDestinationTokenAccount>;
1823
+ tokenProgram?: Address<TAccountTokenProgram>;
1824
+ mint: Address<TAccountMint>;
1825
+ systemProgram?: Address<TAccountSystemProgram>;
1826
+ associatedTokenProgram?: Address<TAccountAssociatedTokenProgram>;
1827
+ amount: TokenTransferIntentInstructionDataArgs["amount"];
1828
+ secp256r1VerifyArgs: TokenTransferIntentInstructionDataArgs["secp256r1VerifyArgs"];
1829
+ remainingAccounts: TokenTransferIntentInstructionExtraArgs["remainingAccounts"];
1830
+ };
1831
+ declare function getTokenTransferIntentInstruction<TAccountSettings extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TAccountSource extends string, TAccountSourceTokenAccount extends string, TAccountDestination extends string, TAccountDestinationTokenAccount extends string, TAccountTokenProgram extends string, TAccountMint extends string, TAccountSystemProgram extends string, TAccountAssociatedTokenProgram extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TokenTransferIntentInput<TAccountSettings, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountSourceTokenAccount, TAccountDestination, TAccountDestinationTokenAccount, TAccountTokenProgram, TAccountMint, TAccountSystemProgram, TAccountAssociatedTokenProgram>, config?: {
1832
+ programAddress?: TProgramAddress;
1833
+ }): TokenTransferIntentInstruction<TProgramAddress, TAccountSettings, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountSourceTokenAccount, TAccountDestination, TAccountDestinationTokenAccount, TAccountTokenProgram, TAccountMint, TAccountSystemProgram, TAccountAssociatedTokenProgram>;
1834
+ type ParsedTokenTransferIntentInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1835
+ programAddress: Address<TProgram>;
1836
+ accounts: {
1837
+ settings: TAccountMetas[0];
1838
+ slotHashSysvar?: TAccountMetas[1] | undefined;
1839
+ instructionsSysvar: TAccountMetas[2];
1840
+ source: TAccountMetas[3];
1841
+ sourceTokenAccount: TAccountMetas[4];
1842
+ destination: TAccountMetas[5];
1843
+ destinationTokenAccount: TAccountMetas[6];
1844
+ tokenProgram: TAccountMetas[7];
1845
+ mint: TAccountMetas[8];
1846
+ systemProgram: TAccountMetas[9];
1847
+ associatedTokenProgram: TAccountMetas[10];
1848
+ };
1849
+ data: TokenTransferIntentInstructionData;
1850
+ };
1851
+ declare function parseTokenTransferIntentInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTokenTransferIntentInstruction<TProgram, TAccountMetas>;
1852
+
1853
+ declare const TOKEN_TRANSFER_INTENT_COMPRESSED_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1854
+ declare function getTokenTransferIntentCompressedDiscriminatorBytes(): ReadonlyUint8Array;
1855
+ type TokenTransferIntentCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountSlotHashSysvar extends string | AccountMeta<string> = "SysvarS1otHashes111111111111111111111111111", TAccountInstructionsSysvar extends string | AccountMeta<string> = "Sysvar1nstructions1111111111111111111111111", TAccountSource extends string | AccountMeta<string> = string, TAccountSourceTokenAccount extends string | AccountMeta<string> = string, TAccountDestination extends string | AccountMeta<string> = string, TAccountDestinationTokenAccount extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", TAccountMint extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountAssociatedTokenProgram extends string | AccountMeta<string> = "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1856
+ TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
1857
+ TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
1858
+ TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
1859
+ TAccountSource extends string ? WritableAccount<TAccountSource> : TAccountSource,
1860
+ TAccountSourceTokenAccount extends string ? WritableAccount<TAccountSourceTokenAccount> : TAccountSourceTokenAccount,
1861
+ TAccountDestination extends string ? ReadonlyAccount<TAccountDestination> : TAccountDestination,
1862
+ TAccountDestinationTokenAccount extends string ? WritableAccount<TAccountDestinationTokenAccount> : TAccountDestinationTokenAccount,
1863
+ TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram,
1864
+ TAccountMint extends string ? ReadonlyAccount<TAccountMint> : TAccountMint,
1865
+ TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
1866
+ TAccountAssociatedTokenProgram extends string ? ReadonlyAccount<TAccountAssociatedTokenProgram> : TAccountAssociatedTokenProgram,
1867
+ ...TRemainingAccounts
1868
+ ]>;
1869
+ type TokenTransferIntentCompressedInstructionData = {
1870
+ discriminator: ReadonlyUint8Array;
1871
+ amount: bigint;
1872
+ secp256r1VerifyArgs: Array<Secp256r1VerifyArgsWithDomainAddress>;
1873
+ settingsReadonlyArgs: SettingsReadonlyArgs;
1874
+ compressedProofArgs: ProofArgs;
1875
+ };
1876
+ type TokenTransferIntentCompressedInstructionDataArgs = {
1877
+ amount: number | bigint;
1878
+ secp256r1VerifyArgs: Array<Secp256r1VerifyArgsWithDomainAddressArgs>;
1879
+ settingsReadonlyArgs: SettingsReadonlyArgsArgs;
1880
+ compressedProofArgs: ProofArgsArgs;
1881
+ };
1882
+ declare function getTokenTransferIntentCompressedInstructionDataEncoder(): Encoder<TokenTransferIntentCompressedInstructionDataArgs>;
1883
+ declare function getTokenTransferIntentCompressedInstructionDataDecoder(): Decoder<TokenTransferIntentCompressedInstructionData>;
1884
+ declare function getTokenTransferIntentCompressedInstructionDataCodec(): Codec<TokenTransferIntentCompressedInstructionDataArgs, TokenTransferIntentCompressedInstructionData>;
1885
+ type TokenTransferIntentCompressedInstructionExtraArgs = {
1886
+ remainingAccounts: Array<{
1887
+ address: Address;
1888
+ role: number;
1889
+ }>;
1890
+ };
1891
+ type TokenTransferIntentCompressedAsyncInput<TAccountPayer extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string, TAccountSource extends string = string, TAccountSourceTokenAccount extends string = string, TAccountDestination extends string = string, TAccountDestinationTokenAccount extends string = string, TAccountTokenProgram extends string = string, TAccountMint extends string = string, TAccountSystemProgram extends string = string, TAccountAssociatedTokenProgram extends string = string> = {
1892
+ payer: TransactionSigner<TAccountPayer>;
1893
+ slotHashSysvar?: Address<TAccountSlotHashSysvar>;
1894
+ instructionsSysvar?: Address<TAccountInstructionsSysvar>;
1895
+ source: Address<TAccountSource>;
1896
+ sourceTokenAccount?: Address<TAccountSourceTokenAccount>;
1897
+ destination: Address<TAccountDestination>;
1898
+ destinationTokenAccount?: Address<TAccountDestinationTokenAccount>;
1899
+ tokenProgram?: Address<TAccountTokenProgram>;
1900
+ mint: Address<TAccountMint>;
1901
+ systemProgram?: Address<TAccountSystemProgram>;
1902
+ associatedTokenProgram?: Address<TAccountAssociatedTokenProgram>;
1903
+ amount: TokenTransferIntentCompressedInstructionDataArgs["amount"];
1904
+ secp256r1VerifyArgs: TokenTransferIntentCompressedInstructionDataArgs["secp256r1VerifyArgs"];
1905
+ settingsReadonlyArgs: TokenTransferIntentCompressedInstructionDataArgs["settingsReadonlyArgs"];
1906
+ compressedProofArgs: TokenTransferIntentCompressedInstructionDataArgs["compressedProofArgs"];
1907
+ remainingAccounts: TokenTransferIntentCompressedInstructionExtraArgs["remainingAccounts"];
1908
+ };
1909
+ declare function getTokenTransferIntentCompressedInstructionAsync<TAccountPayer extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TAccountSource extends string, TAccountSourceTokenAccount extends string, TAccountDestination extends string, TAccountDestinationTokenAccount extends string, TAccountTokenProgram extends string, TAccountMint extends string, TAccountSystemProgram extends string, TAccountAssociatedTokenProgram extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TokenTransferIntentCompressedAsyncInput<TAccountPayer, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountSourceTokenAccount, TAccountDestination, TAccountDestinationTokenAccount, TAccountTokenProgram, TAccountMint, TAccountSystemProgram, TAccountAssociatedTokenProgram>, config?: {
1910
+ programAddress?: TProgramAddress;
1911
+ }): Promise<TokenTransferIntentCompressedInstruction<TProgramAddress, TAccountPayer, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountSourceTokenAccount, TAccountDestination, TAccountDestinationTokenAccount, TAccountTokenProgram, TAccountMint, TAccountSystemProgram, TAccountAssociatedTokenProgram>>;
1912
+ type TokenTransferIntentCompressedInput<TAccountPayer extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string, TAccountSource extends string = string, TAccountSourceTokenAccount extends string = string, TAccountDestination extends string = string, TAccountDestinationTokenAccount extends string = string, TAccountTokenProgram extends string = string, TAccountMint extends string = string, TAccountSystemProgram extends string = string, TAccountAssociatedTokenProgram extends string = string> = {
1913
+ payer: TransactionSigner<TAccountPayer>;
1914
+ slotHashSysvar?: Address<TAccountSlotHashSysvar>;
1915
+ instructionsSysvar?: Address<TAccountInstructionsSysvar>;
1916
+ source: Address<TAccountSource>;
1917
+ sourceTokenAccount: Address<TAccountSourceTokenAccount>;
1918
+ destination: Address<TAccountDestination>;
1919
+ destinationTokenAccount: Address<TAccountDestinationTokenAccount>;
1920
+ tokenProgram?: Address<TAccountTokenProgram>;
1921
+ mint: Address<TAccountMint>;
1922
+ systemProgram?: Address<TAccountSystemProgram>;
1923
+ associatedTokenProgram?: Address<TAccountAssociatedTokenProgram>;
1924
+ amount: TokenTransferIntentCompressedInstructionDataArgs["amount"];
1925
+ secp256r1VerifyArgs: TokenTransferIntentCompressedInstructionDataArgs["secp256r1VerifyArgs"];
1926
+ settingsReadonlyArgs: TokenTransferIntentCompressedInstructionDataArgs["settingsReadonlyArgs"];
1927
+ compressedProofArgs: TokenTransferIntentCompressedInstructionDataArgs["compressedProofArgs"];
1928
+ remainingAccounts: TokenTransferIntentCompressedInstructionExtraArgs["remainingAccounts"];
1929
+ };
1930
+ declare function getTokenTransferIntentCompressedInstruction<TAccountPayer extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TAccountSource extends string, TAccountSourceTokenAccount extends string, TAccountDestination extends string, TAccountDestinationTokenAccount extends string, TAccountTokenProgram extends string, TAccountMint extends string, TAccountSystemProgram extends string, TAccountAssociatedTokenProgram extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TokenTransferIntentCompressedInput<TAccountPayer, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountSourceTokenAccount, TAccountDestination, TAccountDestinationTokenAccount, TAccountTokenProgram, TAccountMint, TAccountSystemProgram, TAccountAssociatedTokenProgram>, config?: {
1931
+ programAddress?: TProgramAddress;
1932
+ }): TokenTransferIntentCompressedInstruction<TProgramAddress, TAccountPayer, TAccountSlotHashSysvar, TAccountInstructionsSysvar, TAccountSource, TAccountSourceTokenAccount, TAccountDestination, TAccountDestinationTokenAccount, TAccountTokenProgram, TAccountMint, TAccountSystemProgram, TAccountAssociatedTokenProgram>;
1933
+ type ParsedTokenTransferIntentCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1934
+ programAddress: Address<TProgram>;
1935
+ accounts: {
1936
+ payer: TAccountMetas[0];
1937
+ slotHashSysvar?: TAccountMetas[1] | undefined;
1938
+ instructionsSysvar: TAccountMetas[2];
1939
+ source: TAccountMetas[3];
1940
+ sourceTokenAccount: TAccountMetas[4];
1941
+ destination: TAccountMetas[5];
1942
+ destinationTokenAccount: TAccountMetas[6];
1943
+ tokenProgram: TAccountMetas[7];
1944
+ mint: TAccountMetas[8];
1945
+ systemProgram: TAccountMetas[9];
1946
+ associatedTokenProgram: TAccountMetas[10];
1947
+ };
1948
+ data: TokenTransferIntentCompressedInstructionData;
1949
+ };
1950
+ declare function parseTokenTransferIntentCompressedInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTokenTransferIntentCompressedInstruction<TProgram, TAccountMetas>;
1951
+
1952
+ declare const TRANSACTION_BUFFER_CLOSE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
1953
+ declare function getTransactionBufferCloseDiscriminatorBytes(): ReadonlyUint8Array;
1954
+ type TransactionBufferCloseInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountDomainConfig extends string | AccountMeta<string> = string, TAccountTransactionBuffer extends string | AccountMeta<string> = string, TAccountCloser extends string | AccountMeta<string> = string, TAccountSlotHashSysvar extends string | AccountMeta<string> = "SysvarS1otHashes111111111111111111111111111", TAccountInstructionsSysvar extends string | AccountMeta<string> = "Sysvar1nstructions1111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
1955
+ TAccountSettings extends string ? ReadonlyAccount<TAccountSettings> : TAccountSettings,
1956
+ TAccountPayer extends string ? WritableAccount<TAccountPayer> : TAccountPayer,
1957
+ TAccountDomainConfig extends string ? ReadonlyAccount<TAccountDomainConfig> : TAccountDomainConfig,
1958
+ TAccountTransactionBuffer extends string ? WritableAccount<TAccountTransactionBuffer> : TAccountTransactionBuffer,
1959
+ TAccountCloser extends string ? ReadonlySignerAccount<TAccountCloser> & AccountSignerMeta<TAccountCloser> : TAccountCloser,
1960
+ TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
1961
+ TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
1962
+ ...TRemainingAccounts
1963
+ ]>;
1964
+ type TransactionBufferCloseInstructionData = {
1965
+ discriminator: ReadonlyUint8Array;
1966
+ secp256r1VerifyArgs: Option<Secp256r1VerifyArgs>;
1967
+ };
1968
+ type TransactionBufferCloseInstructionDataArgs = {
1969
+ secp256r1VerifyArgs: OptionOrNullable<Secp256r1VerifyArgsArgs>;
1970
+ };
1971
+ declare function getTransactionBufferCloseInstructionDataEncoder(): Encoder<TransactionBufferCloseInstructionDataArgs>;
1972
+ declare function getTransactionBufferCloseInstructionDataDecoder(): Decoder<TransactionBufferCloseInstructionData>;
1973
+ declare function getTransactionBufferCloseInstructionDataCodec(): Codec<TransactionBufferCloseInstructionDataArgs, TransactionBufferCloseInstructionData>;
1974
+ type TransactionBufferCloseInstructionExtraArgs = {
1975
+ remainingAccounts: Array<{
1976
+ address: Address;
1977
+ role: number;
1978
+ }>;
1979
+ };
1980
+ type TransactionBufferCloseInput<TAccountSettings extends string = string, TAccountPayer extends string = string, TAccountDomainConfig extends string = string, TAccountTransactionBuffer extends string = string, TAccountCloser extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string> = {
1981
+ settings: Address<TAccountSettings>;
1982
+ payer: Address<TAccountPayer>;
1983
+ domainConfig?: Address<TAccountDomainConfig>;
1984
+ transactionBuffer: Address<TAccountTransactionBuffer>;
1985
+ closer?: TransactionSigner<TAccountCloser>;
1986
+ slotHashSysvar?: Address<TAccountSlotHashSysvar>;
1987
+ instructionsSysvar?: Address<TAccountInstructionsSysvar>;
1988
+ secp256r1VerifyArgs: TransactionBufferCloseInstructionDataArgs["secp256r1VerifyArgs"];
1989
+ remainingAccounts: TransactionBufferCloseInstructionExtraArgs["remainingAccounts"];
1990
+ };
1991
+ declare function getTransactionBufferCloseInstruction<TAccountSettings extends string, TAccountPayer extends string, TAccountDomainConfig extends string, TAccountTransactionBuffer extends string, TAccountCloser extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TransactionBufferCloseInput<TAccountSettings, TAccountPayer, TAccountDomainConfig, TAccountTransactionBuffer, TAccountCloser, TAccountSlotHashSysvar, TAccountInstructionsSysvar>, config?: {
1992
+ programAddress?: TProgramAddress;
1993
+ }): TransactionBufferCloseInstruction<TProgramAddress, TAccountSettings, TAccountPayer, TAccountDomainConfig, TAccountTransactionBuffer, TAccountCloser, TAccountSlotHashSysvar, TAccountInstructionsSysvar>;
1994
+ type ParsedTransactionBufferCloseInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
1995
+ programAddress: Address<TProgram>;
1996
+ accounts: {
1997
+ settings: TAccountMetas[0];
1998
+ payer: TAccountMetas[1];
1999
+ domainConfig?: TAccountMetas[2] | undefined;
2000
+ transactionBuffer: TAccountMetas[3];
2001
+ closer?: TAccountMetas[4] | undefined;
2002
+ slotHashSysvar?: TAccountMetas[5] | undefined;
2003
+ instructionsSysvar?: TAccountMetas[6] | undefined;
2004
+ };
2005
+ data: TransactionBufferCloseInstructionData;
2006
+ };
2007
+ declare function parseTransactionBufferCloseInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionBufferCloseInstruction<TProgram, TAccountMetas>;
2008
+
2009
+ declare const TRANSACTION_BUFFER_CLOSE_COMPRESSED_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2010
+ declare function getTransactionBufferCloseCompressedDiscriminatorBytes(): ReadonlyUint8Array;
2011
+ type TransactionBufferCloseCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountRentCollector extends string | AccountMeta<string> = string, TAccountDomainConfig extends string | AccountMeta<string> = string, TAccountTransactionBuffer extends string | AccountMeta<string> = string, TAccountCloser extends string | AccountMeta<string> = string, TAccountSlotHashSysvar extends string | AccountMeta<string> = "SysvarS1otHashes111111111111111111111111111", TAccountInstructionsSysvar extends string | AccountMeta<string> = "Sysvar1nstructions1111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
2012
+ TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
2013
+ TAccountRentCollector extends string ? WritableAccount<TAccountRentCollector> : TAccountRentCollector,
2014
+ TAccountDomainConfig extends string ? ReadonlyAccount<TAccountDomainConfig> : TAccountDomainConfig,
2015
+ TAccountTransactionBuffer extends string ? WritableAccount<TAccountTransactionBuffer> : TAccountTransactionBuffer,
2016
+ TAccountCloser extends string ? ReadonlySignerAccount<TAccountCloser> & AccountSignerMeta<TAccountCloser> : TAccountCloser,
2017
+ TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
2018
+ TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
2019
+ ...TRemainingAccounts
2020
+ ]>;
2021
+ type TransactionBufferCloseCompressedInstructionData = {
2022
+ discriminator: ReadonlyUint8Array;
2023
+ secp256r1VerifyArgs: Option<Secp256r1VerifyArgs>;
2024
+ settingsReadonlyArgs: SettingsReadonlyArgs;
2025
+ compressedProofArgs: ProofArgs;
2026
+ };
2027
+ type TransactionBufferCloseCompressedInstructionDataArgs = {
2028
+ secp256r1VerifyArgs: OptionOrNullable<Secp256r1VerifyArgsArgs>;
2029
+ settingsReadonlyArgs: SettingsReadonlyArgsArgs;
2030
+ compressedProofArgs: ProofArgsArgs;
2031
+ };
2032
+ declare function getTransactionBufferCloseCompressedInstructionDataEncoder(): Encoder<TransactionBufferCloseCompressedInstructionDataArgs>;
2033
+ declare function getTransactionBufferCloseCompressedInstructionDataDecoder(): Decoder<TransactionBufferCloseCompressedInstructionData>;
2034
+ declare function getTransactionBufferCloseCompressedInstructionDataCodec(): Codec<TransactionBufferCloseCompressedInstructionDataArgs, TransactionBufferCloseCompressedInstructionData>;
2035
+ type TransactionBufferCloseCompressedInstructionExtraArgs = {
2036
+ remainingAccounts: Array<{
2037
+ address: Address;
2038
+ role: number;
2039
+ }>;
2040
+ };
2041
+ type TransactionBufferCloseCompressedInput<TAccountPayer extends string = string, TAccountRentCollector extends string = string, TAccountDomainConfig extends string = string, TAccountTransactionBuffer extends string = string, TAccountCloser extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string> = {
2042
+ payer: TransactionSigner<TAccountPayer>;
2043
+ rentCollector: Address<TAccountRentCollector>;
2044
+ domainConfig?: Address<TAccountDomainConfig>;
2045
+ transactionBuffer: Address<TAccountTransactionBuffer>;
2046
+ closer?: TransactionSigner<TAccountCloser>;
2047
+ slotHashSysvar?: Address<TAccountSlotHashSysvar>;
2048
+ instructionsSysvar?: Address<TAccountInstructionsSysvar>;
2049
+ secp256r1VerifyArgs: TransactionBufferCloseCompressedInstructionDataArgs["secp256r1VerifyArgs"];
2050
+ settingsReadonlyArgs: TransactionBufferCloseCompressedInstructionDataArgs["settingsReadonlyArgs"];
2051
+ compressedProofArgs: TransactionBufferCloseCompressedInstructionDataArgs["compressedProofArgs"];
2052
+ remainingAccounts: TransactionBufferCloseCompressedInstructionExtraArgs["remainingAccounts"];
2053
+ };
2054
+ declare function getTransactionBufferCloseCompressedInstruction<TAccountPayer extends string, TAccountRentCollector extends string, TAccountDomainConfig extends string, TAccountTransactionBuffer extends string, TAccountCloser extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TransactionBufferCloseCompressedInput<TAccountPayer, TAccountRentCollector, TAccountDomainConfig, TAccountTransactionBuffer, TAccountCloser, TAccountSlotHashSysvar, TAccountInstructionsSysvar>, config?: {
2055
+ programAddress?: TProgramAddress;
2056
+ }): TransactionBufferCloseCompressedInstruction<TProgramAddress, TAccountPayer, TAccountRentCollector, TAccountDomainConfig, TAccountTransactionBuffer, TAccountCloser, TAccountSlotHashSysvar, TAccountInstructionsSysvar>;
2057
+ type ParsedTransactionBufferCloseCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2058
+ programAddress: Address<TProgram>;
2059
+ accounts: {
2060
+ payer: TAccountMetas[0];
2061
+ rentCollector: TAccountMetas[1];
2062
+ domainConfig?: TAccountMetas[2] | undefined;
2063
+ transactionBuffer: TAccountMetas[3];
2064
+ closer?: TAccountMetas[4] | undefined;
2065
+ slotHashSysvar?: TAccountMetas[5] | undefined;
2066
+ instructionsSysvar?: TAccountMetas[6] | undefined;
2067
+ };
2068
+ data: TransactionBufferCloseCompressedInstructionData;
2069
+ };
2070
+ declare function parseTransactionBufferCloseCompressedInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionBufferCloseCompressedInstruction<TProgram, TAccountMetas>;
2071
+
2072
+ declare const TRANSACTION_BUFFER_CREATE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2073
+ declare function getTransactionBufferCreateDiscriminatorBytes(): ReadonlyUint8Array;
2074
+ type TransactionBufferCreateInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountDomainConfig extends string | AccountMeta<string> = string, TAccountTransactionBuffer extends string | AccountMeta<string> = string, TAccountCreator extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountInstructionsSysvar extends string | AccountMeta<string> = "Sysvar1nstructions1111111111111111111111111", TAccountSlotHashSysvar extends string | AccountMeta<string> = "SysvarS1otHashes111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
2075
+ TAccountSettings extends string ? ReadonlyAccount<TAccountSettings> : TAccountSettings,
2076
+ TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
2077
+ TAccountDomainConfig extends string ? ReadonlyAccount<TAccountDomainConfig> : TAccountDomainConfig,
2078
+ TAccountTransactionBuffer extends string ? WritableAccount<TAccountTransactionBuffer> : TAccountTransactionBuffer,
2079
+ TAccountCreator extends string ? ReadonlySignerAccount<TAccountCreator> & AccountSignerMeta<TAccountCreator> : TAccountCreator,
2080
+ TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
2081
+ TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
2082
+ TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
2083
+ ...TRemainingAccounts
2084
+ ]>;
2085
+ type TransactionBufferCreateInstructionData = {
2086
+ discriminator: ReadonlyUint8Array;
2087
+ args: TransactionBufferCreateArgs;
2088
+ secp256r1VerifyArgs: Option<Secp256r1VerifyArgs>;
2089
+ };
2090
+ type TransactionBufferCreateInstructionDataArgs = {
2091
+ args: TransactionBufferCreateArgsArgs;
2092
+ secp256r1VerifyArgs: OptionOrNullable<Secp256r1VerifyArgsArgs>;
2093
+ };
2094
+ declare function getTransactionBufferCreateInstructionDataEncoder(): Encoder<TransactionBufferCreateInstructionDataArgs>;
2095
+ declare function getTransactionBufferCreateInstructionDataDecoder(): Decoder<TransactionBufferCreateInstructionData>;
2096
+ declare function getTransactionBufferCreateInstructionDataCodec(): Codec<TransactionBufferCreateInstructionDataArgs, TransactionBufferCreateInstructionData>;
2097
+ type TransactionBufferCreateInstructionExtraArgs = {
2098
+ remainingAccounts: Array<{
2099
+ address: Address;
2100
+ role: number;
2101
+ }>;
2102
+ };
2103
+ type TransactionBufferCreateInput<TAccountSettings extends string = string, TAccountPayer extends string = string, TAccountDomainConfig extends string = string, TAccountTransactionBuffer extends string = string, TAccountCreator extends string = string, TAccountSystemProgram extends string = string, TAccountInstructionsSysvar extends string = string, TAccountSlotHashSysvar extends string = string> = {
2104
+ settings: Address<TAccountSettings>;
2105
+ payer: TransactionSigner<TAccountPayer>;
2106
+ domainConfig?: Address<TAccountDomainConfig>;
2107
+ transactionBuffer: Address<TAccountTransactionBuffer>;
2108
+ creator?: TransactionSigner<TAccountCreator>;
2109
+ systemProgram?: Address<TAccountSystemProgram>;
2110
+ instructionsSysvar?: Address<TAccountInstructionsSysvar>;
2111
+ slotHashSysvar?: Address<TAccountSlotHashSysvar>;
2112
+ args: TransactionBufferCreateInstructionDataArgs["args"];
2113
+ secp256r1VerifyArgs: TransactionBufferCreateInstructionDataArgs["secp256r1VerifyArgs"];
2114
+ remainingAccounts: TransactionBufferCreateInstructionExtraArgs["remainingAccounts"];
2115
+ };
2116
+ declare function getTransactionBufferCreateInstruction<TAccountSettings extends string, TAccountPayer extends string, TAccountDomainConfig extends string, TAccountTransactionBuffer extends string, TAccountCreator extends string, TAccountSystemProgram extends string, TAccountInstructionsSysvar extends string, TAccountSlotHashSysvar extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TransactionBufferCreateInput<TAccountSettings, TAccountPayer, TAccountDomainConfig, TAccountTransactionBuffer, TAccountCreator, TAccountSystemProgram, TAccountInstructionsSysvar, TAccountSlotHashSysvar>, config?: {
2117
+ programAddress?: TProgramAddress;
2118
+ }): TransactionBufferCreateInstruction<TProgramAddress, TAccountSettings, TAccountPayer, TAccountDomainConfig, TAccountTransactionBuffer, TAccountCreator, TAccountSystemProgram, TAccountInstructionsSysvar, TAccountSlotHashSysvar>;
2119
+ type ParsedTransactionBufferCreateInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2120
+ programAddress: Address<TProgram>;
2121
+ accounts: {
2122
+ settings: TAccountMetas[0];
2123
+ payer: TAccountMetas[1];
2124
+ domainConfig?: TAccountMetas[2] | undefined;
2125
+ transactionBuffer: TAccountMetas[3];
2126
+ creator?: TAccountMetas[4] | undefined;
2127
+ systemProgram: TAccountMetas[5];
2128
+ instructionsSysvar: TAccountMetas[6];
2129
+ slotHashSysvar?: TAccountMetas[7] | undefined;
2130
+ };
2131
+ data: TransactionBufferCreateInstructionData;
2132
+ };
2133
+ declare function parseTransactionBufferCreateInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionBufferCreateInstruction<TProgram, TAccountMetas>;
2134
+
2135
+ declare const TRANSACTION_BUFFER_CREATE_COMPRESSED_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2136
+ declare function getTransactionBufferCreateCompressedDiscriminatorBytes(): ReadonlyUint8Array;
2137
+ type TransactionBufferCreateCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountDomainConfig extends string | AccountMeta<string> = string, TAccountTransactionBuffer extends string | AccountMeta<string> = string, TAccountCreator extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountInstructionsSysvar extends string | AccountMeta<string> = "Sysvar1nstructions1111111111111111111111111", TAccountSlotHashSysvar extends string | AccountMeta<string> = "SysvarS1otHashes111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
2138
+ TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
2139
+ TAccountDomainConfig extends string ? ReadonlyAccount<TAccountDomainConfig> : TAccountDomainConfig,
2140
+ TAccountTransactionBuffer extends string ? WritableAccount<TAccountTransactionBuffer> : TAccountTransactionBuffer,
2141
+ TAccountCreator extends string ? ReadonlySignerAccount<TAccountCreator> & AccountSignerMeta<TAccountCreator> : TAccountCreator,
2142
+ TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
2143
+ TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
2144
+ TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
2145
+ ...TRemainingAccounts
2146
+ ]>;
2147
+ type TransactionBufferCreateCompressedInstructionData = {
2148
+ discriminator: ReadonlyUint8Array;
2149
+ args: TransactionBufferCreateArgs;
2150
+ secp256r1VerifyArgs: Option<Secp256r1VerifyArgs>;
2151
+ settingsReadonlyArgs: SettingsReadonlyArgs;
2152
+ compressedProofArgs: ProofArgs;
2153
+ };
2154
+ type TransactionBufferCreateCompressedInstructionDataArgs = {
2155
+ args: TransactionBufferCreateArgsArgs;
2156
+ secp256r1VerifyArgs: OptionOrNullable<Secp256r1VerifyArgsArgs>;
2157
+ settingsReadonlyArgs: SettingsReadonlyArgsArgs;
2158
+ compressedProofArgs: ProofArgsArgs;
2159
+ };
2160
+ declare function getTransactionBufferCreateCompressedInstructionDataEncoder(): Encoder<TransactionBufferCreateCompressedInstructionDataArgs>;
2161
+ declare function getTransactionBufferCreateCompressedInstructionDataDecoder(): Decoder<TransactionBufferCreateCompressedInstructionData>;
2162
+ declare function getTransactionBufferCreateCompressedInstructionDataCodec(): Codec<TransactionBufferCreateCompressedInstructionDataArgs, TransactionBufferCreateCompressedInstructionData>;
2163
+ type TransactionBufferCreateCompressedInstructionExtraArgs = {
2164
+ remainingAccounts: Array<{
2165
+ address: Address;
2166
+ role: number;
2167
+ }>;
2168
+ };
2169
+ type TransactionBufferCreateCompressedInput<TAccountPayer extends string = string, TAccountDomainConfig extends string = string, TAccountTransactionBuffer extends string = string, TAccountCreator extends string = string, TAccountSystemProgram extends string = string, TAccountInstructionsSysvar extends string = string, TAccountSlotHashSysvar extends string = string> = {
2170
+ payer: TransactionSigner<TAccountPayer>;
2171
+ domainConfig?: Address<TAccountDomainConfig>;
2172
+ transactionBuffer: Address<TAccountTransactionBuffer>;
2173
+ creator?: TransactionSigner<TAccountCreator>;
2174
+ systemProgram?: Address<TAccountSystemProgram>;
2175
+ instructionsSysvar?: Address<TAccountInstructionsSysvar>;
2176
+ slotHashSysvar?: Address<TAccountSlotHashSysvar>;
2177
+ args: TransactionBufferCreateCompressedInstructionDataArgs["args"];
2178
+ secp256r1VerifyArgs: TransactionBufferCreateCompressedInstructionDataArgs["secp256r1VerifyArgs"];
2179
+ settingsReadonlyArgs: TransactionBufferCreateCompressedInstructionDataArgs["settingsReadonlyArgs"];
2180
+ compressedProofArgs: TransactionBufferCreateCompressedInstructionDataArgs["compressedProofArgs"];
2181
+ remainingAccounts: TransactionBufferCreateCompressedInstructionExtraArgs["remainingAccounts"];
2182
+ };
2183
+ declare function getTransactionBufferCreateCompressedInstruction<TAccountPayer extends string, TAccountDomainConfig extends string, TAccountTransactionBuffer extends string, TAccountCreator extends string, TAccountSystemProgram extends string, TAccountInstructionsSysvar extends string, TAccountSlotHashSysvar extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TransactionBufferCreateCompressedInput<TAccountPayer, TAccountDomainConfig, TAccountTransactionBuffer, TAccountCreator, TAccountSystemProgram, TAccountInstructionsSysvar, TAccountSlotHashSysvar>, config?: {
2184
+ programAddress?: TProgramAddress;
2185
+ }): TransactionBufferCreateCompressedInstruction<TProgramAddress, TAccountPayer, TAccountDomainConfig, TAccountTransactionBuffer, TAccountCreator, TAccountSystemProgram, TAccountInstructionsSysvar, TAccountSlotHashSysvar>;
2186
+ type ParsedTransactionBufferCreateCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2187
+ programAddress: Address<TProgram>;
2188
+ accounts: {
2189
+ payer: TAccountMetas[0];
2190
+ domainConfig?: TAccountMetas[1] | undefined;
2191
+ transactionBuffer: TAccountMetas[2];
2192
+ creator?: TAccountMetas[3] | undefined;
2193
+ systemProgram: TAccountMetas[4];
2194
+ instructionsSysvar: TAccountMetas[5];
2195
+ slotHashSysvar?: TAccountMetas[6] | undefined;
2196
+ };
2197
+ data: TransactionBufferCreateCompressedInstructionData;
2198
+ };
2199
+ declare function parseTransactionBufferCreateCompressedInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionBufferCreateCompressedInstruction<TProgram, TAccountMetas>;
2200
+
2201
+ declare const TRANSACTION_BUFFER_EXECUTE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2202
+ declare function getTransactionBufferExecuteDiscriminatorBytes(): ReadonlyUint8Array;
2203
+ type TransactionBufferExecuteInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountDomainConfig extends string | AccountMeta<string> = string, TAccountExecutor extends string | AccountMeta<string> = string, TAccountTransactionBuffer extends string | AccountMeta<string> = string, TAccountSlotHashSysvar extends string | AccountMeta<string> = "SysvarS1otHashes111111111111111111111111111", TAccountInstructionsSysvar extends string | AccountMeta<string> = "Sysvar1nstructions1111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
2204
+ TAccountSettings extends string ? ReadonlyAccount<TAccountSettings> : TAccountSettings,
2205
+ TAccountDomainConfig extends string ? ReadonlyAccount<TAccountDomainConfig> : TAccountDomainConfig,
2206
+ TAccountExecutor extends string ? ReadonlySignerAccount<TAccountExecutor> & AccountSignerMeta<TAccountExecutor> : TAccountExecutor,
2207
+ TAccountTransactionBuffer extends string ? WritableAccount<TAccountTransactionBuffer> : TAccountTransactionBuffer,
2208
+ TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
2209
+ TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
2210
+ ...TRemainingAccounts
2211
+ ]>;
2212
+ type TransactionBufferExecuteInstructionData = {
2213
+ discriminator: ReadonlyUint8Array;
2214
+ secp256r1VerifyArgs: Option<Secp256r1VerifyArgs>;
2215
+ };
2216
+ type TransactionBufferExecuteInstructionDataArgs = {
2217
+ secp256r1VerifyArgs: OptionOrNullable<Secp256r1VerifyArgsArgs>;
2218
+ };
2219
+ declare function getTransactionBufferExecuteInstructionDataEncoder(): Encoder<TransactionBufferExecuteInstructionDataArgs>;
2220
+ declare function getTransactionBufferExecuteInstructionDataDecoder(): Decoder<TransactionBufferExecuteInstructionData>;
2221
+ declare function getTransactionBufferExecuteInstructionDataCodec(): Codec<TransactionBufferExecuteInstructionDataArgs, TransactionBufferExecuteInstructionData>;
2222
+ type TransactionBufferExecuteInstructionExtraArgs = {
2223
+ remainingAccounts: Array<{
2224
+ address: Address;
2225
+ role: number;
2226
+ }>;
2227
+ };
2228
+ type TransactionBufferExecuteInput<TAccountSettings extends string = string, TAccountDomainConfig extends string = string, TAccountExecutor extends string = string, TAccountTransactionBuffer extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string> = {
2229
+ settings: Address<TAccountSettings>;
2230
+ domainConfig?: Address<TAccountDomainConfig>;
2231
+ executor?: TransactionSigner<TAccountExecutor>;
2232
+ transactionBuffer: Address<TAccountTransactionBuffer>;
2233
+ slotHashSysvar?: Address<TAccountSlotHashSysvar>;
2234
+ instructionsSysvar?: Address<TAccountInstructionsSysvar>;
2235
+ secp256r1VerifyArgs: TransactionBufferExecuteInstructionDataArgs["secp256r1VerifyArgs"];
2236
+ remainingAccounts: TransactionBufferExecuteInstructionExtraArgs["remainingAccounts"];
2237
+ };
2238
+ declare function getTransactionBufferExecuteInstruction<TAccountSettings extends string, TAccountDomainConfig extends string, TAccountExecutor extends string, TAccountTransactionBuffer extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TransactionBufferExecuteInput<TAccountSettings, TAccountDomainConfig, TAccountExecutor, TAccountTransactionBuffer, TAccountSlotHashSysvar, TAccountInstructionsSysvar>, config?: {
2239
+ programAddress?: TProgramAddress;
2240
+ }): TransactionBufferExecuteInstruction<TProgramAddress, TAccountSettings, TAccountDomainConfig, TAccountExecutor, TAccountTransactionBuffer, TAccountSlotHashSysvar, TAccountInstructionsSysvar>;
2241
+ type ParsedTransactionBufferExecuteInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2242
+ programAddress: Address<TProgram>;
2243
+ accounts: {
2244
+ settings: TAccountMetas[0];
2245
+ domainConfig?: TAccountMetas[1] | undefined;
2246
+ executor?: TAccountMetas[2] | undefined;
2247
+ transactionBuffer: TAccountMetas[3];
2248
+ slotHashSysvar?: TAccountMetas[4] | undefined;
2249
+ instructionsSysvar?: TAccountMetas[5] | undefined;
2250
+ };
2251
+ data: TransactionBufferExecuteInstructionData;
2252
+ };
2253
+ declare function parseTransactionBufferExecuteInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionBufferExecuteInstruction<TProgram, TAccountMetas>;
2254
+
2255
+ declare const TRANSACTION_BUFFER_EXECUTE_COMPRESSED_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2256
+ declare function getTransactionBufferExecuteCompressedDiscriminatorBytes(): ReadonlyUint8Array;
2257
+ type TransactionBufferExecuteCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountDomainConfig extends string | AccountMeta<string> = string, TAccountExecutor extends string | AccountMeta<string> = string, TAccountTransactionBuffer extends string | AccountMeta<string> = string, TAccountSlotHashSysvar extends string | AccountMeta<string> = "SysvarS1otHashes111111111111111111111111111", TAccountInstructionsSysvar extends string | AccountMeta<string> = "Sysvar1nstructions1111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
2258
+ TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
2259
+ TAccountDomainConfig extends string ? ReadonlyAccount<TAccountDomainConfig> : TAccountDomainConfig,
2260
+ TAccountExecutor extends string ? ReadonlySignerAccount<TAccountExecutor> & AccountSignerMeta<TAccountExecutor> : TAccountExecutor,
2261
+ TAccountTransactionBuffer extends string ? WritableAccount<TAccountTransactionBuffer> : TAccountTransactionBuffer,
2262
+ TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
2263
+ TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
2264
+ ...TRemainingAccounts
2265
+ ]>;
2266
+ type TransactionBufferExecuteCompressedInstructionData = {
2267
+ discriminator: ReadonlyUint8Array;
2268
+ secp256r1VerifyArgs: Option<Secp256r1VerifyArgs>;
2269
+ settingsReadonlyArgs: SettingsReadonlyArgs;
2270
+ compressedProofArgs: ProofArgs;
2271
+ };
2272
+ type TransactionBufferExecuteCompressedInstructionDataArgs = {
2273
+ secp256r1VerifyArgs: OptionOrNullable<Secp256r1VerifyArgsArgs>;
2274
+ settingsReadonlyArgs: SettingsReadonlyArgsArgs;
2275
+ compressedProofArgs: ProofArgsArgs;
2276
+ };
2277
+ declare function getTransactionBufferExecuteCompressedInstructionDataEncoder(): Encoder<TransactionBufferExecuteCompressedInstructionDataArgs>;
2278
+ declare function getTransactionBufferExecuteCompressedInstructionDataDecoder(): Decoder<TransactionBufferExecuteCompressedInstructionData>;
2279
+ declare function getTransactionBufferExecuteCompressedInstructionDataCodec(): Codec<TransactionBufferExecuteCompressedInstructionDataArgs, TransactionBufferExecuteCompressedInstructionData>;
2280
+ type TransactionBufferExecuteCompressedInstructionExtraArgs = {
2281
+ remainingAccounts: Array<{
2282
+ address: Address;
2283
+ role: number;
2284
+ }>;
2285
+ };
2286
+ type TransactionBufferExecuteCompressedInput<TAccountPayer extends string = string, TAccountDomainConfig extends string = string, TAccountExecutor extends string = string, TAccountTransactionBuffer extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string> = {
2287
+ payer: TransactionSigner<TAccountPayer>;
2288
+ domainConfig?: Address<TAccountDomainConfig>;
2289
+ executor?: TransactionSigner<TAccountExecutor>;
2290
+ transactionBuffer: Address<TAccountTransactionBuffer>;
2291
+ slotHashSysvar?: Address<TAccountSlotHashSysvar>;
2292
+ instructionsSysvar?: Address<TAccountInstructionsSysvar>;
2293
+ secp256r1VerifyArgs: TransactionBufferExecuteCompressedInstructionDataArgs["secp256r1VerifyArgs"];
2294
+ settingsReadonlyArgs: TransactionBufferExecuteCompressedInstructionDataArgs["settingsReadonlyArgs"];
2295
+ compressedProofArgs: TransactionBufferExecuteCompressedInstructionDataArgs["compressedProofArgs"];
2296
+ remainingAccounts: TransactionBufferExecuteCompressedInstructionExtraArgs["remainingAccounts"];
2297
+ };
2298
+ declare function getTransactionBufferExecuteCompressedInstruction<TAccountPayer extends string, TAccountDomainConfig extends string, TAccountExecutor extends string, TAccountTransactionBuffer extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TransactionBufferExecuteCompressedInput<TAccountPayer, TAccountDomainConfig, TAccountExecutor, TAccountTransactionBuffer, TAccountSlotHashSysvar, TAccountInstructionsSysvar>, config?: {
2299
+ programAddress?: TProgramAddress;
2300
+ }): TransactionBufferExecuteCompressedInstruction<TProgramAddress, TAccountPayer, TAccountDomainConfig, TAccountExecutor, TAccountTransactionBuffer, TAccountSlotHashSysvar, TAccountInstructionsSysvar>;
2301
+ type ParsedTransactionBufferExecuteCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2302
+ programAddress: Address<TProgram>;
2303
+ accounts: {
2304
+ payer: TAccountMetas[0];
2305
+ domainConfig?: TAccountMetas[1] | undefined;
2306
+ executor?: TAccountMetas[2] | undefined;
2307
+ transactionBuffer: TAccountMetas[3];
2308
+ slotHashSysvar?: TAccountMetas[4] | undefined;
2309
+ instructionsSysvar?: TAccountMetas[5] | undefined;
2310
+ };
2311
+ data: TransactionBufferExecuteCompressedInstructionData;
2312
+ };
2313
+ declare function parseTransactionBufferExecuteCompressedInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionBufferExecuteCompressedInstruction<TProgram, TAccountMetas>;
2314
+
2315
+ declare const TRANSACTION_BUFFER_EXTEND_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2316
+ declare function getTransactionBufferExtendDiscriminatorBytes(): ReadonlyUint8Array;
2317
+ type TransactionBufferExtendInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountTransactionBuffer extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
2318
+ TAccountSettings extends string ? ReadonlyAccount<TAccountSettings> : TAccountSettings,
2319
+ TAccountTransactionBuffer extends string ? WritableAccount<TAccountTransactionBuffer> : TAccountTransactionBuffer,
2320
+ ...TRemainingAccounts
2321
+ ]>;
2322
+ type TransactionBufferExtendInstructionData = {
2323
+ discriminator: ReadonlyUint8Array;
2324
+ buffer: ReadonlyUint8Array;
2325
+ };
2326
+ type TransactionBufferExtendInstructionDataArgs = {
2327
+ buffer: ReadonlyUint8Array;
2328
+ };
2329
+ declare function getTransactionBufferExtendInstructionDataEncoder(): Encoder<TransactionBufferExtendInstructionDataArgs>;
2330
+ declare function getTransactionBufferExtendInstructionDataDecoder(): Decoder<TransactionBufferExtendInstructionData>;
2331
+ declare function getTransactionBufferExtendInstructionDataCodec(): Codec<TransactionBufferExtendInstructionDataArgs, TransactionBufferExtendInstructionData>;
2332
+ type TransactionBufferExtendInstructionExtraArgs = {
2333
+ remainingAccounts: Array<{
2334
+ address: Address;
2335
+ role: number;
2336
+ }>;
2337
+ };
2338
+ type TransactionBufferExtendInput<TAccountSettings extends string = string, TAccountTransactionBuffer extends string = string> = {
2339
+ settings: Address<TAccountSettings>;
2340
+ transactionBuffer: Address<TAccountTransactionBuffer>;
2341
+ buffer: TransactionBufferExtendInstructionDataArgs["buffer"];
2342
+ remainingAccounts: TransactionBufferExtendInstructionExtraArgs["remainingAccounts"];
2343
+ };
2344
+ declare function getTransactionBufferExtendInstruction<TAccountSettings extends string, TAccountTransactionBuffer extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TransactionBufferExtendInput<TAccountSettings, TAccountTransactionBuffer>, config?: {
2345
+ programAddress?: TProgramAddress;
2346
+ }): TransactionBufferExtendInstruction<TProgramAddress, TAccountSettings, TAccountTransactionBuffer>;
2347
+ type ParsedTransactionBufferExtendInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2348
+ programAddress: Address<TProgram>;
2349
+ accounts: {
2350
+ settings: TAccountMetas[0];
2351
+ transactionBuffer: TAccountMetas[1];
2352
+ };
2353
+ data: TransactionBufferExtendInstructionData;
2354
+ };
2355
+ declare function parseTransactionBufferExtendInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionBufferExtendInstruction<TProgram, TAccountMetas>;
2356
+
2357
+ declare const TRANSACTION_BUFFER_EXTEND_COMPRESSED_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2358
+ declare function getTransactionBufferExtendCompressedDiscriminatorBytes(): ReadonlyUint8Array;
2359
+ type TransactionBufferExtendCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountTransactionBuffer extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
2360
+ TAccountTransactionBuffer extends string ? WritableAccount<TAccountTransactionBuffer> : TAccountTransactionBuffer,
2361
+ ...TRemainingAccounts
2362
+ ]>;
2363
+ type TransactionBufferExtendCompressedInstructionData = {
2364
+ discriminator: ReadonlyUint8Array;
2365
+ buffer: ReadonlyUint8Array;
2366
+ settingsKey: Address;
2367
+ };
2368
+ type TransactionBufferExtendCompressedInstructionDataArgs = {
2369
+ buffer: ReadonlyUint8Array;
2370
+ settingsKey: Address;
2371
+ };
2372
+ declare function getTransactionBufferExtendCompressedInstructionDataEncoder(): Encoder<TransactionBufferExtendCompressedInstructionDataArgs>;
2373
+ declare function getTransactionBufferExtendCompressedInstructionDataDecoder(): Decoder<TransactionBufferExtendCompressedInstructionData>;
2374
+ declare function getTransactionBufferExtendCompressedInstructionDataCodec(): Codec<TransactionBufferExtendCompressedInstructionDataArgs, TransactionBufferExtendCompressedInstructionData>;
2375
+ type TransactionBufferExtendCompressedInstructionExtraArgs = {
2376
+ remainingAccounts: Array<{
2377
+ address: Address;
2378
+ role: number;
2379
+ }>;
2380
+ };
2381
+ type TransactionBufferExtendCompressedInput<TAccountTransactionBuffer extends string = string> = {
2382
+ transactionBuffer: Address<TAccountTransactionBuffer>;
2383
+ buffer: TransactionBufferExtendCompressedInstructionDataArgs["buffer"];
2384
+ settingsKey: TransactionBufferExtendCompressedInstructionDataArgs["settingsKey"];
2385
+ remainingAccounts: TransactionBufferExtendCompressedInstructionExtraArgs["remainingAccounts"];
2386
+ };
2387
+ declare function getTransactionBufferExtendCompressedInstruction<TAccountTransactionBuffer extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TransactionBufferExtendCompressedInput<TAccountTransactionBuffer>, config?: {
2388
+ programAddress?: TProgramAddress;
2389
+ }): TransactionBufferExtendCompressedInstruction<TProgramAddress, TAccountTransactionBuffer>;
2390
+ type ParsedTransactionBufferExtendCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2391
+ programAddress: Address<TProgram>;
2392
+ accounts: {
2393
+ transactionBuffer: TAccountMetas[0];
2394
+ };
2395
+ data: TransactionBufferExtendCompressedInstructionData;
2396
+ };
2397
+ declare function parseTransactionBufferExtendCompressedInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionBufferExtendCompressedInstruction<TProgram, TAccountMetas>;
2398
+
2399
+ declare const TRANSACTION_BUFFER_VOTE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2400
+ declare function getTransactionBufferVoteDiscriminatorBytes(): ReadonlyUint8Array;
2401
+ type TransactionBufferVoteInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountDomainConfig extends string | AccountMeta<string> = string, TAccountTransactionBuffer extends string | AccountMeta<string> = string, TAccountVoter extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountSlotHashSysvar extends string | AccountMeta<string> = "SysvarS1otHashes111111111111111111111111111", TAccountInstructionsSysvar extends string | AccountMeta<string> = "Sysvar1nstructions1111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
2402
+ TAccountSettings extends string ? ReadonlyAccount<TAccountSettings> : TAccountSettings,
2403
+ TAccountDomainConfig extends string ? ReadonlyAccount<TAccountDomainConfig> : TAccountDomainConfig,
2404
+ TAccountTransactionBuffer extends string ? WritableAccount<TAccountTransactionBuffer> : TAccountTransactionBuffer,
2405
+ TAccountVoter extends string ? ReadonlySignerAccount<TAccountVoter> & AccountSignerMeta<TAccountVoter> : TAccountVoter,
2406
+ TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
2407
+ TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
2408
+ TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
2409
+ ...TRemainingAccounts
2410
+ ]>;
2411
+ type TransactionBufferVoteInstructionData = {
2412
+ discriminator: ReadonlyUint8Array;
2413
+ secp256r1VerifyArgs: Option<Secp256r1VerifyArgs>;
2414
+ };
2415
+ type TransactionBufferVoteInstructionDataArgs = {
2416
+ secp256r1VerifyArgs: OptionOrNullable<Secp256r1VerifyArgsArgs>;
2417
+ };
2418
+ declare function getTransactionBufferVoteInstructionDataEncoder(): Encoder<TransactionBufferVoteInstructionDataArgs>;
2419
+ declare function getTransactionBufferVoteInstructionDataDecoder(): Decoder<TransactionBufferVoteInstructionData>;
2420
+ declare function getTransactionBufferVoteInstructionDataCodec(): Codec<TransactionBufferVoteInstructionDataArgs, TransactionBufferVoteInstructionData>;
2421
+ type TransactionBufferVoteInstructionExtraArgs = {
2422
+ remainingAccounts: Array<{
2423
+ address: Address;
2424
+ role: number;
2425
+ }>;
2426
+ };
2427
+ type TransactionBufferVoteInput<TAccountSettings extends string = string, TAccountDomainConfig extends string = string, TAccountTransactionBuffer extends string = string, TAccountVoter extends string = string, TAccountSystemProgram extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string> = {
2428
+ settings: Address<TAccountSettings>;
2429
+ domainConfig?: Address<TAccountDomainConfig>;
2430
+ transactionBuffer: Address<TAccountTransactionBuffer>;
2431
+ voter?: TransactionSigner<TAccountVoter>;
2432
+ systemProgram?: Address<TAccountSystemProgram>;
2433
+ slotHashSysvar?: Address<TAccountSlotHashSysvar>;
2434
+ instructionsSysvar?: Address<TAccountInstructionsSysvar>;
2435
+ secp256r1VerifyArgs: TransactionBufferVoteInstructionDataArgs["secp256r1VerifyArgs"];
2436
+ remainingAccounts: TransactionBufferVoteInstructionExtraArgs["remainingAccounts"];
2437
+ };
2438
+ declare function getTransactionBufferVoteInstruction<TAccountSettings extends string, TAccountDomainConfig extends string, TAccountTransactionBuffer extends string, TAccountVoter extends string, TAccountSystemProgram extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TransactionBufferVoteInput<TAccountSettings, TAccountDomainConfig, TAccountTransactionBuffer, TAccountVoter, TAccountSystemProgram, TAccountSlotHashSysvar, TAccountInstructionsSysvar>, config?: {
2439
+ programAddress?: TProgramAddress;
2440
+ }): TransactionBufferVoteInstruction<TProgramAddress, TAccountSettings, TAccountDomainConfig, TAccountTransactionBuffer, TAccountVoter, TAccountSystemProgram, TAccountSlotHashSysvar, TAccountInstructionsSysvar>;
2441
+ type ParsedTransactionBufferVoteInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2442
+ programAddress: Address<TProgram>;
2443
+ accounts: {
2444
+ settings: TAccountMetas[0];
2445
+ domainConfig?: TAccountMetas[1] | undefined;
2446
+ transactionBuffer: TAccountMetas[2];
2447
+ voter?: TAccountMetas[3] | undefined;
2448
+ systemProgram: TAccountMetas[4];
2449
+ slotHashSysvar?: TAccountMetas[5] | undefined;
2450
+ instructionsSysvar?: TAccountMetas[6] | undefined;
2451
+ };
2452
+ data: TransactionBufferVoteInstructionData;
2453
+ };
2454
+ declare function parseTransactionBufferVoteInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionBufferVoteInstruction<TProgram, TAccountMetas>;
2455
+
2456
+ declare const TRANSACTION_BUFFER_VOTE_COMPRESSED_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2457
+ declare function getTransactionBufferVoteCompressedDiscriminatorBytes(): ReadonlyUint8Array;
2458
+ type TransactionBufferVoteCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountDomainConfig extends string | AccountMeta<string> = string, TAccountTransactionBuffer extends string | AccountMeta<string> = string, TAccountVoter extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountSlotHashSysvar extends string | AccountMeta<string> = "SysvarS1otHashes111111111111111111111111111", TAccountInstructionsSysvar extends string | AccountMeta<string> = "Sysvar1nstructions1111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
2459
+ TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
2460
+ TAccountDomainConfig extends string ? ReadonlyAccount<TAccountDomainConfig> : TAccountDomainConfig,
2461
+ TAccountTransactionBuffer extends string ? WritableAccount<TAccountTransactionBuffer> : TAccountTransactionBuffer,
2462
+ TAccountVoter extends string ? ReadonlySignerAccount<TAccountVoter> & AccountSignerMeta<TAccountVoter> : TAccountVoter,
2463
+ TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
2464
+ TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
2465
+ TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
2466
+ ...TRemainingAccounts
2467
+ ]>;
2468
+ type TransactionBufferVoteCompressedInstructionData = {
2469
+ discriminator: ReadonlyUint8Array;
2470
+ secp256r1VerifyArgs: Option<Secp256r1VerifyArgs>;
2471
+ settingsReadonlyArgs: SettingsReadonlyArgs;
2472
+ compressedProofArgs: ProofArgs;
2473
+ };
2474
+ type TransactionBufferVoteCompressedInstructionDataArgs = {
2475
+ secp256r1VerifyArgs: OptionOrNullable<Secp256r1VerifyArgsArgs>;
2476
+ settingsReadonlyArgs: SettingsReadonlyArgsArgs;
2477
+ compressedProofArgs: ProofArgsArgs;
2478
+ };
2479
+ declare function getTransactionBufferVoteCompressedInstructionDataEncoder(): Encoder<TransactionBufferVoteCompressedInstructionDataArgs>;
2480
+ declare function getTransactionBufferVoteCompressedInstructionDataDecoder(): Decoder<TransactionBufferVoteCompressedInstructionData>;
2481
+ declare function getTransactionBufferVoteCompressedInstructionDataCodec(): Codec<TransactionBufferVoteCompressedInstructionDataArgs, TransactionBufferVoteCompressedInstructionData>;
2482
+ type TransactionBufferVoteCompressedInstructionExtraArgs = {
2483
+ remainingAccounts: Array<{
2484
+ address: Address;
2485
+ role: number;
2486
+ }>;
2487
+ };
2488
+ type TransactionBufferVoteCompressedInput<TAccountPayer extends string = string, TAccountDomainConfig extends string = string, TAccountTransactionBuffer extends string = string, TAccountVoter extends string = string, TAccountSystemProgram extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string> = {
2489
+ payer: TransactionSigner<TAccountPayer>;
2490
+ domainConfig?: Address<TAccountDomainConfig>;
2491
+ transactionBuffer: Address<TAccountTransactionBuffer>;
2492
+ voter?: TransactionSigner<TAccountVoter>;
2493
+ systemProgram?: Address<TAccountSystemProgram>;
2494
+ slotHashSysvar?: Address<TAccountSlotHashSysvar>;
2495
+ instructionsSysvar?: Address<TAccountInstructionsSysvar>;
2496
+ secp256r1VerifyArgs: TransactionBufferVoteCompressedInstructionDataArgs["secp256r1VerifyArgs"];
2497
+ settingsReadonlyArgs: TransactionBufferVoteCompressedInstructionDataArgs["settingsReadonlyArgs"];
2498
+ compressedProofArgs: TransactionBufferVoteCompressedInstructionDataArgs["compressedProofArgs"];
2499
+ remainingAccounts: TransactionBufferVoteCompressedInstructionExtraArgs["remainingAccounts"];
2500
+ };
2501
+ declare function getTransactionBufferVoteCompressedInstruction<TAccountPayer extends string, TAccountDomainConfig extends string, TAccountTransactionBuffer extends string, TAccountVoter extends string, TAccountSystemProgram extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TransactionBufferVoteCompressedInput<TAccountPayer, TAccountDomainConfig, TAccountTransactionBuffer, TAccountVoter, TAccountSystemProgram, TAccountSlotHashSysvar, TAccountInstructionsSysvar>, config?: {
2502
+ programAddress?: TProgramAddress;
2503
+ }): TransactionBufferVoteCompressedInstruction<TProgramAddress, TAccountPayer, TAccountDomainConfig, TAccountTransactionBuffer, TAccountVoter, TAccountSystemProgram, TAccountSlotHashSysvar, TAccountInstructionsSysvar>;
2504
+ type ParsedTransactionBufferVoteCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2505
+ programAddress: Address<TProgram>;
2506
+ accounts: {
2507
+ payer: TAccountMetas[0];
2508
+ domainConfig?: TAccountMetas[1] | undefined;
2509
+ transactionBuffer: TAccountMetas[2];
2510
+ voter?: TAccountMetas[3] | undefined;
2511
+ systemProgram: TAccountMetas[4];
2512
+ slotHashSysvar?: TAccountMetas[5] | undefined;
2513
+ instructionsSysvar?: TAccountMetas[6] | undefined;
2514
+ };
2515
+ data: TransactionBufferVoteCompressedInstructionData;
2516
+ };
2517
+ declare function parseTransactionBufferVoteCompressedInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionBufferVoteCompressedInstruction<TProgram, TAccountMetas>;
2518
+
2519
+ declare const TRANSACTION_EXECUTE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2520
+ declare function getTransactionExecuteDiscriminatorBytes(): ReadonlyUint8Array;
2521
+ type TransactionExecuteInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountTransactionBuffer extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
2522
+ TAccountSettings extends string ? WritableAccount<TAccountSettings> : TAccountSettings,
2523
+ TAccountPayer extends string ? WritableAccount<TAccountPayer> : TAccountPayer,
2524
+ TAccountTransactionBuffer extends string ? WritableAccount<TAccountTransactionBuffer> : TAccountTransactionBuffer,
2525
+ ...TRemainingAccounts
2526
+ ]>;
2527
+ type TransactionExecuteInstructionData = {
2528
+ discriminator: ReadonlyUint8Array;
2529
+ };
2530
+ type TransactionExecuteInstructionDataArgs = {};
2531
+ declare function getTransactionExecuteInstructionDataEncoder(): FixedSizeEncoder<TransactionExecuteInstructionDataArgs>;
2532
+ declare function getTransactionExecuteInstructionDataDecoder(): FixedSizeDecoder<TransactionExecuteInstructionData>;
2533
+ declare function getTransactionExecuteInstructionDataCodec(): FixedSizeCodec<TransactionExecuteInstructionDataArgs, TransactionExecuteInstructionData>;
2534
+ type TransactionExecuteInstructionExtraArgs = {
2535
+ remainingAccounts: Array<{
2536
+ address: Address;
2537
+ role: number;
2538
+ }>;
2539
+ };
2540
+ type TransactionExecuteInput<TAccountSettings extends string = string, TAccountPayer extends string = string, TAccountTransactionBuffer extends string = string> = {
2541
+ settings: Address<TAccountSettings>;
2542
+ payer: Address<TAccountPayer>;
2543
+ transactionBuffer: Address<TAccountTransactionBuffer>;
2544
+ remainingAccounts: TransactionExecuteInstructionExtraArgs["remainingAccounts"];
2545
+ };
2546
+ declare function getTransactionExecuteInstruction<TAccountSettings extends string, TAccountPayer extends string, TAccountTransactionBuffer extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TransactionExecuteInput<TAccountSettings, TAccountPayer, TAccountTransactionBuffer>, config?: {
2547
+ programAddress?: TProgramAddress;
2548
+ }): TransactionExecuteInstruction<TProgramAddress, TAccountSettings, TAccountPayer, TAccountTransactionBuffer>;
2549
+ type ParsedTransactionExecuteInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2550
+ programAddress: Address<TProgram>;
2551
+ accounts: {
2552
+ settings: TAccountMetas[0];
2553
+ payer: TAccountMetas[1];
2554
+ transactionBuffer: TAccountMetas[2];
2555
+ };
2556
+ data: TransactionExecuteInstructionData;
2557
+ };
2558
+ declare function parseTransactionExecuteInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionExecuteInstruction<TProgram, TAccountMetas>;
2559
+
2560
+ declare const TRANSACTION_EXECUTE_COMPRESSED_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2561
+ declare function getTransactionExecuteCompressedDiscriminatorBytes(): ReadonlyUint8Array;
2562
+ type TransactionExecuteCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountTransactionBuffer extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
2563
+ TAccountPayer extends string ? WritableAccount<TAccountPayer> : TAccountPayer,
2564
+ TAccountTransactionBuffer extends string ? WritableAccount<TAccountTransactionBuffer> : TAccountTransactionBuffer,
2565
+ ...TRemainingAccounts
2566
+ ]>;
2567
+ type TransactionExecuteCompressedInstructionData = {
2568
+ discriminator: ReadonlyUint8Array;
2569
+ settingsKey: Address;
2570
+ };
2571
+ type TransactionExecuteCompressedInstructionDataArgs = {
2572
+ settingsKey: Address;
2573
+ };
2574
+ declare function getTransactionExecuteCompressedInstructionDataEncoder(): FixedSizeEncoder<TransactionExecuteCompressedInstructionDataArgs>;
2575
+ declare function getTransactionExecuteCompressedInstructionDataDecoder(): FixedSizeDecoder<TransactionExecuteCompressedInstructionData>;
2576
+ declare function getTransactionExecuteCompressedInstructionDataCodec(): FixedSizeCodec<TransactionExecuteCompressedInstructionDataArgs, TransactionExecuteCompressedInstructionData>;
2577
+ type TransactionExecuteCompressedInstructionExtraArgs = {
2578
+ remainingAccounts: Array<{
2579
+ address: Address;
2580
+ role: number;
2581
+ }>;
2582
+ };
2583
+ type TransactionExecuteCompressedInput<TAccountPayer extends string = string, TAccountTransactionBuffer extends string = string> = {
2584
+ payer: Address<TAccountPayer>;
2585
+ transactionBuffer: Address<TAccountTransactionBuffer>;
2586
+ settingsKey: TransactionExecuteCompressedInstructionDataArgs["settingsKey"];
2587
+ remainingAccounts: TransactionExecuteCompressedInstructionExtraArgs["remainingAccounts"];
2588
+ };
2589
+ declare function getTransactionExecuteCompressedInstruction<TAccountPayer extends string, TAccountTransactionBuffer extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TransactionExecuteCompressedInput<TAccountPayer, TAccountTransactionBuffer>, config?: {
2590
+ programAddress?: TProgramAddress;
2591
+ }): TransactionExecuteCompressedInstruction<TProgramAddress, TAccountPayer, TAccountTransactionBuffer>;
2592
+ type ParsedTransactionExecuteCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2593
+ programAddress: Address<TProgram>;
2594
+ accounts: {
2595
+ payer: TAccountMetas[0];
2596
+ transactionBuffer: TAccountMetas[1];
2597
+ };
2598
+ data: TransactionExecuteCompressedInstructionData;
2599
+ };
2600
+ declare function parseTransactionExecuteCompressedInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionExecuteCompressedInstruction<TProgram, TAccountMetas>;
2601
+
2602
+ declare const TRANSACTION_EXECUTE_SYNC_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2603
+ declare function getTransactionExecuteSyncDiscriminatorBytes(): ReadonlyUint8Array;
2604
+ type TransactionExecuteSyncInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountSlotHashSysvar extends string | AccountMeta<string> = "SysvarS1otHashes111111111111111111111111111", TAccountInstructionsSysvar extends string | AccountMeta<string> = "Sysvar1nstructions1111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
2605
+ TAccountSettings extends string ? WritableAccount<TAccountSettings> : TAccountSettings,
2606
+ TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
2607
+ TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
2608
+ ...TRemainingAccounts
2609
+ ]>;
2610
+ type TransactionExecuteSyncInstructionData = {
2611
+ discriminator: ReadonlyUint8Array;
2612
+ transactionMessage: TransactionMessage;
2613
+ secp256r1VerifyArgs: Array<Secp256r1VerifyArgsWithDomainAddress>;
2614
+ };
2615
+ type TransactionExecuteSyncInstructionDataArgs = {
2616
+ transactionMessage: TransactionMessageArgs;
2617
+ secp256r1VerifyArgs: Array<Secp256r1VerifyArgsWithDomainAddressArgs>;
2618
+ };
2619
+ declare function getTransactionExecuteSyncInstructionDataEncoder(): Encoder<TransactionExecuteSyncInstructionDataArgs>;
2620
+ declare function getTransactionExecuteSyncInstructionDataDecoder(): Decoder<TransactionExecuteSyncInstructionData>;
2621
+ declare function getTransactionExecuteSyncInstructionDataCodec(): Codec<TransactionExecuteSyncInstructionDataArgs, TransactionExecuteSyncInstructionData>;
2622
+ type TransactionExecuteSyncInstructionExtraArgs = {
2623
+ remainingAccounts: Array<{
2624
+ address: Address;
2625
+ role: number;
2626
+ }>;
2627
+ };
2628
+ type TransactionExecuteSyncInput<TAccountSettings extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string> = {
2629
+ settings: Address<TAccountSettings>;
2630
+ slotHashSysvar?: Address<TAccountSlotHashSysvar>;
2631
+ instructionsSysvar?: Address<TAccountInstructionsSysvar>;
2632
+ transactionMessage: TransactionExecuteSyncInstructionDataArgs["transactionMessage"];
2633
+ secp256r1VerifyArgs: TransactionExecuteSyncInstructionDataArgs["secp256r1VerifyArgs"];
2634
+ remainingAccounts: TransactionExecuteSyncInstructionExtraArgs["remainingAccounts"];
2635
+ };
2636
+ declare function getTransactionExecuteSyncInstruction<TAccountSettings extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TransactionExecuteSyncInput<TAccountSettings, TAccountSlotHashSysvar, TAccountInstructionsSysvar>, config?: {
2637
+ programAddress?: TProgramAddress;
2638
+ }): TransactionExecuteSyncInstruction<TProgramAddress, TAccountSettings, TAccountSlotHashSysvar, TAccountInstructionsSysvar>;
2639
+ type ParsedTransactionExecuteSyncInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2640
+ programAddress: Address<TProgram>;
2641
+ accounts: {
2642
+ settings: TAccountMetas[0];
2643
+ slotHashSysvar?: TAccountMetas[1] | undefined;
2644
+ instructionsSysvar: TAccountMetas[2];
2645
+ };
2646
+ data: TransactionExecuteSyncInstructionData;
2647
+ };
2648
+ declare function parseTransactionExecuteSyncInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionExecuteSyncInstruction<TProgram, TAccountMetas>;
2649
+
2650
+ declare const TRANSACTION_EXECUTE_SYNC_COMPRESSED_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
2651
+ declare function getTransactionExecuteSyncCompressedDiscriminatorBytes(): ReadonlyUint8Array;
2652
+ type TransactionExecuteSyncCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountPayer extends string | AccountMeta<string> = string, TAccountSlotHashSysvar extends string | AccountMeta<string> = "SysvarS1otHashes111111111111111111111111111", TAccountInstructionsSysvar extends string | AccountMeta<string> = "Sysvar1nstructions1111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
2653
+ TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
2654
+ TAccountSlotHashSysvar extends string ? ReadonlyAccount<TAccountSlotHashSysvar> : TAccountSlotHashSysvar,
2655
+ TAccountInstructionsSysvar extends string ? ReadonlyAccount<TAccountInstructionsSysvar> : TAccountInstructionsSysvar,
2656
+ ...TRemainingAccounts
2657
+ ]>;
2658
+ type TransactionExecuteSyncCompressedInstructionData = {
2659
+ discriminator: ReadonlyUint8Array;
2660
+ transactionMessage: TransactionMessage;
2661
+ secp256r1VerifyArgs: Array<Secp256r1VerifyArgsWithDomainAddress>;
2662
+ settingsReadonlyArgs: SettingsReadonlyArgs;
2663
+ compressedProofArgs: ProofArgs;
2664
+ };
2665
+ type TransactionExecuteSyncCompressedInstructionDataArgs = {
2666
+ transactionMessage: TransactionMessageArgs;
2667
+ secp256r1VerifyArgs: Array<Secp256r1VerifyArgsWithDomainAddressArgs>;
2668
+ settingsReadonlyArgs: SettingsReadonlyArgsArgs;
2669
+ compressedProofArgs: ProofArgsArgs;
2670
+ };
2671
+ declare function getTransactionExecuteSyncCompressedInstructionDataEncoder(): Encoder<TransactionExecuteSyncCompressedInstructionDataArgs>;
2672
+ declare function getTransactionExecuteSyncCompressedInstructionDataDecoder(): Decoder<TransactionExecuteSyncCompressedInstructionData>;
2673
+ declare function getTransactionExecuteSyncCompressedInstructionDataCodec(): Codec<TransactionExecuteSyncCompressedInstructionDataArgs, TransactionExecuteSyncCompressedInstructionData>;
2674
+ type TransactionExecuteSyncCompressedInstructionExtraArgs = {
2675
+ remainingAccounts: Array<{
2676
+ address: Address;
2677
+ role: number;
2678
+ }>;
2679
+ };
2680
+ type TransactionExecuteSyncCompressedInput<TAccountPayer extends string = string, TAccountSlotHashSysvar extends string = string, TAccountInstructionsSysvar extends string = string> = {
2681
+ payer: TransactionSigner<TAccountPayer>;
2682
+ slotHashSysvar?: Address<TAccountSlotHashSysvar>;
2683
+ instructionsSysvar?: Address<TAccountInstructionsSysvar>;
2684
+ transactionMessage: TransactionExecuteSyncCompressedInstructionDataArgs["transactionMessage"];
2685
+ secp256r1VerifyArgs: TransactionExecuteSyncCompressedInstructionDataArgs["secp256r1VerifyArgs"];
2686
+ settingsReadonlyArgs: TransactionExecuteSyncCompressedInstructionDataArgs["settingsReadonlyArgs"];
2687
+ compressedProofArgs: TransactionExecuteSyncCompressedInstructionDataArgs["compressedProofArgs"];
2688
+ remainingAccounts: TransactionExecuteSyncCompressedInstructionExtraArgs["remainingAccounts"];
2689
+ };
2690
+ declare function getTransactionExecuteSyncCompressedInstruction<TAccountPayer extends string, TAccountSlotHashSysvar extends string, TAccountInstructionsSysvar extends string, TProgramAddress extends Address = typeof MULTI_WALLET_PROGRAM_ADDRESS>(input: TransactionExecuteSyncCompressedInput<TAccountPayer, TAccountSlotHashSysvar, TAccountInstructionsSysvar>, config?: {
2691
+ programAddress?: TProgramAddress;
2692
+ }): TransactionExecuteSyncCompressedInstruction<TProgramAddress, TAccountPayer, TAccountSlotHashSysvar, TAccountInstructionsSysvar>;
2693
+ type ParsedTransactionExecuteSyncCompressedInstruction<TProgram extends string = typeof MULTI_WALLET_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
2694
+ programAddress: Address<TProgram>;
2695
+ accounts: {
2696
+ payer: TAccountMetas[0];
2697
+ slotHashSysvar?: TAccountMetas[1] | undefined;
2698
+ instructionsSysvar: TAccountMetas[2];
2699
+ };
2700
+ data: TransactionExecuteSyncCompressedInstructionData;
2701
+ };
2702
+ declare function parseTransactionExecuteSyncCompressedInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransactionExecuteSyncCompressedInstruction<TProgram, TAccountMetas>;
2703
+
2704
+ type PermissionArgs = {
2705
+ initiate: boolean;
2706
+ vote: boolean;
2707
+ execute: boolean;
2708
+ };
2709
+ type AddMemberArgs = {
2710
+ setAsDelegate: true;
2711
+ pubkey: TransactionSigner | SignedSecp256r1Key;
2712
+ permissions: PermissionArgs;
2713
+ isTransactionManager: false;
2714
+ } | {
2715
+ setAsDelegate: false;
2716
+ pubkey: Address;
2717
+ permissions: {
2718
+ initiate: true;
2719
+ vote: false;
2720
+ execute: false;
2721
+ };
2722
+ isTransactionManager: true;
2723
+ } | {
2724
+ setAsDelegate: false;
2725
+ pubkey: Address | SignedSecp256r1Key;
2726
+ permissions: PermissionArgs;
2727
+ isTransactionManager: false;
2728
+ };
2729
+ type ConfigurationArgs = {
2730
+ type: "EditPermissions";
2731
+ members: {
2732
+ pubkey: Address | Secp256r1Key;
2733
+ permissions: PermissionArgs;
2734
+ delegateOperation: DelegateOpArgs;
2735
+ }[];
2736
+ } | {
2737
+ type: "AddMembers";
2738
+ members: AddMemberArgs[];
2739
+ } | {
2740
+ type: "RemoveMembers";
2741
+ members: {
2742
+ pubkey: Address | Secp256r1Key;
2743
+ }[];
2744
+ } | {
2745
+ type: "SetThreshold";
2746
+ threshold: number;
2747
+ };
2748
+
2749
+ interface JitoTipsConfig {
2750
+ blockEngineUrl: string;
2751
+ getJitoTipsUrl: string;
2752
+ priority: "landed_tips_25th_percentile" | "landed_tips_50th_percentile" | "landed_tips_75th_percentile" | "landed_tips_95th_percentile" | "landed_tips_99th_percentile" | "ema_landed_tips_50th_percentile";
2753
+ }
2754
+
2755
+ type IKeyType = {
2756
+ keyType: number;
2757
+ };
2758
+ declare const KeyType: {
2759
+ readonly Ed25519: number;
2760
+ readonly Secp256r1: number;
2761
+ };
2762
+ type KeyType = (typeof KeyType)[keyof typeof KeyType];
2763
+
2764
+ type Secp256r1KeyInitData = string | Uint8Array | Array<number>;
2765
+ type SignedMessageDetails = {
2766
+ verifyArgs: {
2767
+ clientDataJson: Uint8Array;
2768
+ truncatedClientDataJson: Uint8Array;
2769
+ slotNumber: bigint;
2770
+ slotHash: Uint8Array;
2771
+ };
2772
+ domainConfig: Address;
2773
+ authData: Uint8Array;
2774
+ signature: Uint8Array;
2775
+ originIndex: number;
2776
+ crossOrigin: boolean;
2777
+ };
2778
+ declare class Secp256r1Key {
2779
+ protected _bn: Uint8Array | undefined;
2780
+ constructor(value: Secp256r1KeyInitData);
2781
+ protected validateKeyLength(key: Uint8Array | Array<number>): void;
2782
+ toBase58(): string;
2783
+ toTruncatedBuffer(): Uint8Array<ArrayBufferLike>;
2784
+ toBuffer(): Uint8Array<ArrayBufferLike>;
2785
+ toBytes(): Uint8Array<ArrayBufferLike>;
2786
+ toString(): string;
2787
+ toJSON(): string;
2788
+ }
2789
+ declare class SignedSecp256r1Key extends Secp256r1Key {
2790
+ verifyArgs: SignedMessageDetails["verifyArgs"];
2791
+ domainConfig: SignedMessageDetails["domainConfig"];
2792
+ authData: SignedMessageDetails["authData"];
2793
+ signature: SignedMessageDetails["signature"];
2794
+ originIndex: SignedMessageDetails["originIndex"];
2795
+ crossOrigin: SignedMessageDetails["crossOrigin"];
2796
+ constructor(value: Secp256r1KeyInitData, signed: SignedMessageDetails);
2797
+ }
2798
+
2799
+ type TransactionAuthenticationResponse = {
2800
+ authResponse: AuthenticationResponseJSON;
2801
+ signer: Secp256r1Key;
2802
+ slotNumber: string;
2803
+ slotHash: string;
2804
+ additionalInfo?: any;
2805
+ };
2806
+ type MessageAuthenticationResponse = {
2807
+ authResponse: AuthenticationResponseJSON;
2808
+ signer: Secp256r1Key;
2809
+ additionalInfo?: any;
2810
+ };
2811
+ type TransactionActionType = "create" | "create_with_preauthorized_execution" | "execute" | "vote" | "sync" | "close" | "add_new_member" | "compress" | "decompress" | "transfer_intent";
2812
+ type TransactionPayload = {
2813
+ transactionActionType: TransactionActionType;
2814
+ transactionAddress: string;
2815
+ transactionMessageBytes: Uint8Array;
2816
+ };
2817
+ type MessagePayload = {
2818
+ message: string;
2819
+ };
2820
+ type BasePayload = {
2821
+ signer?: Secp256r1Key;
2822
+ popUp?: Window | null;
2823
+ };
2824
+
2825
+ declare const Permission: {
2826
+ readonly InitiateTransaction: number;
2827
+ readonly VoteTransaction: number;
2828
+ readonly ExecuteTransaction: number;
2829
+ };
2830
+ declare const PermanentMemberPermission: IPermission;
2831
+ declare const TransactionManagerPermission: IPermission;
2832
+ type IPermission = (typeof Permission)[keyof typeof Permission];
2833
+ declare class Permissions implements IPermissions {
2834
+ readonly mask: number;
2835
+ private constructor();
2836
+ static fromPermissions(permissions: IPermission[]): Permissions;
2837
+ static all(): Permissions;
2838
+ static has(permissions: IPermissions, permission: IPermission): boolean;
2839
+ }
2840
+
2841
+ type TransactionDetails = {
2842
+ payer: TransactionSigner;
2843
+ instructions: Instruction[];
2844
+ addressesByLookupTableAddress?: AddressesByLookupTableAddress;
2845
+ };
2846
+
2847
+ declare function vaultTransactionMessageSerialize(compiledMessage: CompiledTransactionMessage): ReadonlyUint8Array;
2848
+ declare function vaultTransactionMessageDeserialize(transactionMessageBytes: ReadonlyUint8Array): CompiledTransactionMessage;
2849
+
2850
+ declare const SECP256R1_PROGRAM_ADDRESS: Address<"Secp256r1SigVerify1111111111111111111111111">;
2851
+ type Secp256r1VerifyInput = {
2852
+ publicKey: ReadonlyUint8Array;
2853
+ signature: ReadonlyUint8Array;
2854
+ message: ReadonlyUint8Array;
2855
+ }[];
2856
+ type Secp256r1VerifyInstruction<TProgram extends string = typeof SECP256R1_PROGRAM_ADDRESS> = Instruction<TProgram> & InstructionWithData<Uint8Array> & InstructionWithAccounts<[]>;
2857
+ type Secp256r1VerifyInstructionData = {
2858
+ numSignatures: number;
2859
+ padding: number;
2860
+ offsets: Secp256r1SignatureOffsetsDataArgs[];
2861
+ payload: Secp256r1VerifyInput;
2862
+ };
2863
+ type Secp256r1SignatureOffsetsDataArgs = {
2864
+ signatureOffset: number;
2865
+ signatureInstructionIndex: number;
2866
+ publicKeyOffset: number;
2867
+ publicKeyInstructionIndex: number;
2868
+ messageDataOffset: number;
2869
+ messageDataSize: number;
2870
+ messageInstructionIndex: number;
2871
+ };
2872
+ declare function getSecp256r1SignatureOffsetsDataEncoder(): Encoder<Secp256r1SignatureOffsetsDataArgs>;
2873
+ declare function getSecp256r1SignatureOffsetsDataDecoder(): Decoder<Secp256r1SignatureOffsetsDataArgs>;
2874
+ declare function getSecp256r1VerifyInstructionDataDecoder(): Decoder<Secp256r1VerifyInstructionData>;
2875
+ declare function getSecp256r1VerifyInstructionDataEncoder(): Encoder<Secp256r1VerifyInstructionDataArgs>;
2876
+ type Secp256r1VerifyInstructionDataArgs = {
2877
+ numSignatures: number;
2878
+ padding: number;
2879
+ offsets: Secp256r1SignatureOffsetsDataArgs[];
2880
+ payload: Secp256r1VerifyInput;
2881
+ };
2882
+ declare function getSecp256r1VerifyInstructionDataCodec(): Codec<Secp256r1VerifyInstructionDataArgs, Secp256r1VerifyInstructionData>;
2883
+ declare function getSecp256r1VerifyInstruction<TProgramAddress extends Address = typeof SECP256R1_PROGRAM_ADDRESS>(input: Secp256r1VerifyInput, config?: {
2884
+ programAddress?: TProgramAddress;
2885
+ }): Secp256r1VerifyInstruction<TProgramAddress>;
2886
+ type ParsedSecp256r1VerifyInstruction<TProgram extends string = typeof SECP256R1_PROGRAM_ADDRESS> = {
2887
+ programAddress: Address<TProgram>;
2888
+ accounts: {};
2889
+ data: Secp256r1VerifyInstructionData;
2890
+ };
2891
+ declare function parseSecp256r1VerifyInstruction<TProgram extends string>(instruction: Instruction<TProgram> & InstructionWithData<Uint8Array>): ParsedSecp256r1VerifyInstruction<TProgram>;
2892
+
2893
+ declare function changeConfig({ index, configActionsArgs, payer, compressed, cachedAccounts, }: {
2894
+ index: bigint | number;
2895
+ configActionsArgs: ConfigurationArgs[];
2896
+ payer: TransactionSigner;
2897
+ compressed?: boolean;
2898
+ cachedAccounts?: Map<string, any>;
2899
+ }): Promise<{
2900
+ instructions: ChangeConfigCompressedInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, []>[] | ChangeConfigInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, string, string, []>[];
2901
+ secp256r1VerifyInput: Secp256r1VerifyInput;
2902
+ }>;
2903
+
2904
+ declare function compressSettingsAccount({ index, payer, signers, cachedAccounts, }: {
2905
+ index: number | bigint;
2906
+ payer: TransactionSigner;
2907
+ signers: (SignedSecp256r1Key | TransactionSigner)[];
2908
+ cachedAccounts?: Map<string, any>;
2909
+ }): Promise<(Secp256r1VerifyInstruction<gill.Address<"Secp256r1SigVerify1111111111111111111111111">> | CompressSettingsAccountInstruction<gill.Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, []>)[]>;
2910
+
2911
+ declare function createDomainConfig({ payer, rpId, origins, authority, metadataUrl, adminDomainConfig, }: {
2912
+ metadataUrl: string;
2913
+ payer: TransactionSigner;
2914
+ rpId: string;
2915
+ origins: string[];
2916
+ authority: Address;
2917
+ adminDomainConfig?: Address;
2918
+ }): Promise<CreateDomainConfigInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, []>>;
2919
+
2920
+ interface UserCreationArgs$1 {
2921
+ member: Secp256r1Key;
2922
+ isPermanentMember: boolean;
2923
+ settingsIndex?: number | bigint;
2924
+ transactionManager?: Address;
2925
+ }
2926
+ declare function createDomainUserAccounts({ authority, payer, createUserArgs, domainConfig, cachedAccounts, }: {
2927
+ domainConfig: Address;
2928
+ authority: TransactionSigner;
2929
+ payer: TransactionSigner;
2930
+ createUserArgs: UserCreationArgs$1;
2931
+ cachedAccounts?: Map<string, any>;
2932
+ }): Promise<CreateDomainUserAccountInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, []>>;
2933
+
2934
+ declare function createGlobalCounter({ payer, }: {
2935
+ payer: TransactionSigner;
2936
+ }): Promise<CreateGlobalCounterInstruction<gill.Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, []>>;
2937
+
2938
+ type UserCreationArgs = {
2939
+ member: TransactionSigner;
2940
+ isPermanentMember: true;
2941
+ transactionManagerUrl: undefined;
2942
+ } | {
2943
+ member: TransactionSigner;
2944
+ isPermanentMember: false;
2945
+ transactionManagerUrl?: string;
2946
+ };
2947
+ declare function createUserAccounts({ createUserArgs, payer, }: {
2948
+ payer: TransactionSigner;
2949
+ createUserArgs: UserCreationArgs[];
2950
+ }): Promise<CreateUserAccountsInstruction<gill.Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, []>>;
2951
+
2952
+ declare function disableDomainConfig({ admin, rpId, disable, }: {
2953
+ admin: TransactionSigner;
2954
+ disable: boolean;
2955
+ rpId: string;
2956
+ }): Promise<DisableDomainConfigInstruction<gill.Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, []>>;
2957
+
2958
+ declare function editDomainConfig({ authority, domainConfig, newAuthority, newOrigins, newMetadataUrl, }: {
2959
+ domainConfig: Address;
2960
+ authority: TransactionSigner;
2961
+ newAuthority?: Address;
2962
+ newOrigins?: string[];
2963
+ newMetadataUrl?: string;
2964
+ }): Promise<EditDomainConfigInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, []>>;
2965
+
2966
+ declare function editTransactionManagerUrl({ authority, transactionManagerUrl, }: {
2967
+ authority: TransactionSigner;
2968
+ transactionManagerUrl: string;
2969
+ }): Promise<EditTransactionManagerUrlInstruction<gill.Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, []>>;
2970
+
2971
+ type CreateWalletArgs = {
2972
+ index: bigint | number;
2973
+ payer: TransactionSigner;
2974
+ compressed?: boolean;
2975
+ cachedAccounts?: Map<string, any>;
2976
+ initialMember: TransactionSigner | SignedSecp256r1Key;
2977
+ setAsDelegate: boolean;
2978
+ };
2979
+ declare function createWallet({ index, payer, initialMember, setAsDelegate, compressed, cachedAccounts, }: CreateWalletArgs): Promise<{
2980
+ instructions: Instruction<string, readonly (gill.AccountMeta<string> | gill.AccountLookupMeta<string, string>)[]>[];
2981
+ secp256r1VerifyInput: Secp256r1VerifyInput;
2982
+ }>;
2983
+
2984
+ declare function decompressSettingsAccount({ index, payer, signers, cachedAccounts, }: {
2985
+ index: number | bigint;
2986
+ payer: TransactionSigner;
2987
+ signers: (SignedSecp256r1Key | TransactionSigner)[];
2988
+ cachedAccounts?: Map<string, any>;
2989
+ }): Promise<(Secp256r1VerifyInstruction<gill.Address<"Secp256r1SigVerify1111111111111111111111111">> | DecompressSettingsAccountInstruction<gill.Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, string, []>)[]>;
2990
+
2991
+ declare function executeTransaction({ settings, transactionBufferAddress, transactionMessageBytes, payer, addressesByLookupTableAddress, secp256r1VerifyInput, additionalSigners, jitoBundlesTipAmount, compressed, }: {
2992
+ settings: Address;
2993
+ payer: TransactionSigner;
2994
+ transactionBufferAddress: Address;
2995
+ transactionMessageBytes: ReadonlyUint8Array;
2996
+ addressesByLookupTableAddress?: AddressesByLookupTableAddress;
2997
+ secp256r1VerifyInput?: Secp256r1VerifyInput;
2998
+ additionalSigners?: TransactionSigner[];
2999
+ jitoBundlesTipAmount?: number;
3000
+ compressed?: boolean;
3001
+ }): Promise<{
3002
+ instructions: Instruction<string, readonly (gill.AccountMeta<string> | gill.AccountLookupMeta<string, string>)[]>[];
3003
+ addressLookupTableAccounts: AddressesByLookupTableAddress;
3004
+ }>;
3005
+
3006
+ declare function executeTransactionSync({ index, transactionMessageBytes, signers, payer, addressesByLookupTableAddress, secp256r1VerifyInput, compressed, simulateProof, cachedAccounts, }: {
3007
+ index: bigint | number;
3008
+ signers: (TransactionSigner | SignedSecp256r1Key)[];
3009
+ transactionMessageBytes: ReadonlyUint8Array;
3010
+ secp256r1VerifyInput?: Secp256r1VerifyInput;
3011
+ compressed?: boolean;
3012
+ addressesByLookupTableAddress?: AddressesByLookupTableAddress;
3013
+ payer?: TransactionSigner;
3014
+ simulateProof?: boolean;
3015
+ cachedAccounts?: Map<string, any>;
3016
+ }): Promise<{
3017
+ instructions: Instruction<string, readonly (AccountMeta<string> | gill.AccountLookupMeta<string, string>)[]>[];
3018
+ addressLookupTableAccounts: AddressesByLookupTableAddress;
3019
+ }>;
3020
+
3021
+ declare function nativeTransferIntent({ index, destination, signers, cachedAccounts, amount, payer, compressed, }: {
3022
+ index: number | bigint;
3023
+ destination: Address;
3024
+ amount: number | bigint;
3025
+ signers: (TransactionSigner | SignedSecp256r1Key)[];
3026
+ payer?: TransactionSigner;
3027
+ compressed?: boolean;
3028
+ cachedAccounts?: Map<string, any>;
3029
+ }): Promise<Instruction<string, readonly (gill.AccountMeta<string> | gill.AccountLookupMeta<string, string>)[]>[]>;
3030
+
3031
+ declare function tokenTransferIntent({ index, destination, mint, signers, cachedAccounts, amount, payer, tokenProgram, compressed, }: {
3032
+ index: number | bigint;
3033
+ destination: Address;
3034
+ mint: Address;
3035
+ amount: number | bigint;
3036
+ signers: (TransactionSigner | SignedSecp256r1Key)[];
3037
+ tokenProgram: Address;
3038
+ payer?: TransactionSigner;
3039
+ compressed?: boolean;
3040
+ cachedAccounts?: Map<string, any>;
3041
+ }): Promise<Instruction<string, readonly (gill.AccountMeta<string> | gill.AccountLookupMeta<string, string>)[]>[]>;
3042
+
3043
+ declare function closeTransactionBuffer({ index, closer, transactionBufferAddress, payer, compressed, cachedAccounts, }: {
3044
+ index: bigint | number;
3045
+ closer: TransactionSigner | SignedSecp256r1Key;
3046
+ transactionBufferAddress: Address;
3047
+ payer?: TransactionSigner;
3048
+ compressed?: boolean;
3049
+ cachedAccounts?: Map<string, any>;
3050
+ }): Promise<(Secp256r1VerifyInstruction<Address<"Secp256r1SigVerify1111111111111111111111111">> | TransactionBufferCloseCompressedInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, string, string, string, []> | TransactionBufferCloseInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, string, string, string, []>)[]>;
3051
+
3052
+ declare function createTransactionBuffer({ payer, creator, bufferIndex, settings, transactionBufferAddress, finalBufferHash, finalBufferSize, preauthorizeExecution, bufferExtendHashes, compressedArgs, }: {
3053
+ finalBufferHash: Uint8Array;
3054
+ finalBufferSize: number;
3055
+ payer: TransactionSigner;
3056
+ creator: TransactionSigner | SignedSecp256r1Key;
3057
+ settings: Address;
3058
+ bufferIndex: number;
3059
+ transactionBufferAddress: Address;
3060
+ preauthorizeExecution: boolean;
3061
+ bufferExtendHashes: Uint8Array[];
3062
+ compressedArgs: {
3063
+ settingsReadonlyArgs: SettingsReadonlyArgs;
3064
+ compressedProofArgs: ProofArgsArgs;
3065
+ remainingAccounts: AccountMeta[];
3066
+ } | null;
3067
+ }): (Secp256r1VerifyInstruction<Address<"Secp256r1SigVerify1111111111111111111111111">> | TransactionBufferCreateCompressedInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, string, string, string, []> | TransactionBufferCreateInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, string, string, string, string, []>)[];
3068
+
3069
+ declare function executeTransactionBuffer({ executor, transactionBufferAddress, settings, compressedArgs, }: {
3070
+ executor?: TransactionSigner | SignedSecp256r1Key;
3071
+ transactionBufferAddress: Address;
3072
+ settings: Address;
3073
+ compressedArgs: {
3074
+ settingsReadonlyArgs: SettingsReadonlyArgs;
3075
+ compressedProofArgs: ProofArgsArgs;
3076
+ remainingAccounts: AccountMeta[];
3077
+ payer: TransactionSigner;
3078
+ } | null;
3079
+ }): (Secp256r1VerifyInstruction<Address<"Secp256r1SigVerify1111111111111111111111111">> | TransactionBufferExecuteCompressedInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, string, string, []> | TransactionBufferExecuteInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, string, string, string, string, []>)[];
3080
+
3081
+ declare function extendTransactionBuffer({ transactionMessageBytes, transactionBufferAddress, settings, compressed, }: {
3082
+ transactionMessageBytes: Uint8Array;
3083
+ transactionBufferAddress: Address;
3084
+ settings: Address;
3085
+ compressed?: boolean;
3086
+ }): TransactionBufferExtendCompressedInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, []> | TransactionBufferExtendInstruction<Address<"reviR1xysEChySVSWGa43a6oJ2boJYTJhwRjo8KJhhT">, string, string, []>;
3087
+
3088
+ declare function voteTransactionBuffer({ settings, voter, transactionBufferAddress, compressedArgs, }: {
3089
+ settings: Address;
3090
+ voter: TransactionSigner | SignedSecp256r1Key;
3091
+ transactionBufferAddress: Address;
3092
+ compressedArgs: {
3093
+ settingsReadonlyArgs: SettingsReadonlyArgs;
3094
+ compressedProofArgs: ProofArgsArgs;
3095
+ remainingAccounts: AccountMeta[];
3096
+ payer: TransactionSigner;
3097
+ } | null;
3098
+ }): Instruction<string, readonly (AccountMeta<string> | gill.AccountLookupMeta<string, string>)[]>[];
3099
+
3100
+ declare function signMessageWithPasskey({ message, signer, popUp, }: MessagePayload & BasePayload): Promise<MessageAuthenticationResponse>;
3101
+
3102
+ declare function signTransactionWithPasskey({ transactionActionType, transactionAddress, transactionMessageBytes, signer, popUp, }: TransactionPayload & BasePayload): Promise<TransactionAuthenticationResponse>;
3103
+
3104
+ declare function verifyMessage({ message, response, expectedOrigin, }: {
3105
+ message: string;
3106
+ response: MessageAuthenticationResponse;
3107
+ expectedOrigin?: string;
3108
+ }): Promise<boolean>;
3109
+
3110
+ interface CreateTransactionBundleArgs {
3111
+ payer: TransactionSigner;
3112
+ index: bigint | number;
3113
+ transactionMessageBytes: ReadonlyUint8Array;
3114
+ bufferIndex?: number;
3115
+ creator: TransactionSigner | SignedSecp256r1Key;
3116
+ additionalVoters?: (TransactionSigner | SignedSecp256r1Key)[];
3117
+ executor?: TransactionSigner | SignedSecp256r1Key;
3118
+ additionalSigners?: TransactionSigner[];
3119
+ secp256r1VerifyInput?: Secp256r1VerifyInput;
3120
+ jitoBundlesTipAmount?: number;
3121
+ chunkSize?: number;
3122
+ compressed?: boolean;
3123
+ addressesByLookupTableAddress?: AddressesByLookupTableAddress;
3124
+ cachedAccounts?: Map<string, any>;
3125
+ }
3126
+ declare function prepareTransactionBundle({ payer, index, transactionMessageBytes, creator, executor, secp256r1VerifyInput, jitoBundlesTipAmount, addressesByLookupTableAddress, bufferIndex, additionalVoters, additionalSigners, compressed, chunkSize, cachedAccounts, }: CreateTransactionBundleArgs): Promise<TransactionDetails[]>;
3127
+
3128
+ interface PrepareTransactionMessageArgs {
3129
+ instructions: Instruction[];
3130
+ payer: Address;
3131
+ addressesByLookupTableAddress?: AddressesByLookupTableAddress;
3132
+ }
3133
+ declare function prepareTransactionMessage({ instructions, payer, addressesByLookupTableAddress, }: PrepareTransactionMessageArgs): gill.ReadonlyUint8Array;
3134
+
3135
+ interface CreateTransactionSyncArgs {
3136
+ payer: TransactionSigner;
3137
+ index: number | bigint;
3138
+ transactionMessageBytes: ReadonlyUint8Array;
3139
+ signers: (TransactionSigner | SignedSecp256r1Key)[];
3140
+ addressesByLookupTableAddress?: AddressesByLookupTableAddress;
3141
+ secp256r1VerifyInput?: Secp256r1VerifyInput;
3142
+ compressed?: boolean;
3143
+ simulateProof?: boolean;
3144
+ cachedAccounts?: Map<string, any>;
3145
+ }
3146
+ declare function prepareTransactionSync({ payer, index, transactionMessageBytes, signers, secp256r1VerifyInput, addressesByLookupTableAddress, cachedAccounts, compressed, simulateProof, }: CreateTransactionSyncArgs): Promise<TransactionDetails>;
3147
+
3148
+ declare function getCompressedSettingsAddressFromIndex(index: number | bigint): {
3149
+ address: bn_js;
3150
+ addressTree: PublicKey;
3151
+ };
3152
+ declare function getUserAccountAddress(member: Address | Secp256r1Key): {
3153
+ address: bn_js;
3154
+ addressTree: PublicKey;
3155
+ };
3156
+ declare function getDomainConfigAddress({ rpIdHash, rpId, }: {
3157
+ rpIdHash?: Uint8Array;
3158
+ rpId?: string;
3159
+ }): Promise<Address<string>>;
3160
+ declare function getGlobalCounterAddress(): Promise<Address<string>>;
3161
+ declare function getTransactionBufferAddress(settings: Address, creator: Address | Secp256r1Key, buffer_index: number): Promise<Address<string>>;
3162
+ declare function getWalletAddressFromSettings(settings: Address): Promise<Address<string>>;
3163
+ declare function getSettingsFromIndex(index: number | bigint): Promise<Address<string>>;
3164
+ declare function getWalletAddressFromIndex(index: number | bigint): Promise<Address<string>>;
3165
+ declare function getLightCpiSigner(): Promise<Address<string>>;
3166
+
3167
+ declare function fetchUserAccountData(member: Address | Secp256r1Key, cachedAccounts?: Map<string, any>): Promise<User>;
3168
+ declare function fetchMaybeUserAccountData(member: Address | Secp256r1Key, cachedAccounts?: Map<string, any>): Promise<User | null>;
3169
+ declare function fetchSettingsAccountData(index: number | bigint, cachedAccounts?: Map<string, any>): Promise<CompressedSettingsData & {
3170
+ isCompressed: boolean;
3171
+ }>;
3172
+ declare function fetchMaybeSettingsAccountData(index: number | bigint, cachedAccounts?: Map<string, any>): Promise<(CompressedSettingsData & {
3173
+ isCompressed: boolean;
3174
+ }) | null>;
3175
+
3176
+ declare function getSolanaRpcEndpoint(): string;
3177
+ declare function getLightProtocolRpc(): Rpc;
3178
+ declare function getSolanaRpc(): Rpc$1<gill.RequestAirdropApi & gill.GetAccountInfoApi & gill.GetBalanceApi & gill.GetBlockApi & gill.GetBlockCommitmentApi & gill.GetBlockHeightApi & gill.GetBlockProductionApi & gill.GetBlocksApi & gill.GetBlocksWithLimitApi & gill.GetBlockTimeApi & gill.GetClusterNodesApi & gill.GetEpochInfoApi & gill.GetEpochScheduleApi & gill.GetFeeForMessageApi & gill.GetFirstAvailableBlockApi & gill.GetGenesisHashApi & gill.GetHealthApi & gill.GetHighestSnapshotSlotApi & gill.GetIdentityApi & gill.GetInflationGovernorApi & gill.GetInflationRateApi & gill.GetInflationRewardApi & gill.GetLargestAccountsApi & gill.GetLatestBlockhashApi & gill.GetLeaderScheduleApi & gill.GetMaxRetransmitSlotApi & gill.GetMaxShredInsertSlotApi & gill.GetMinimumBalanceForRentExemptionApi & gill.GetMultipleAccountsApi & gill.GetProgramAccountsApi & gill.GetRecentPerformanceSamplesApi & gill.GetRecentPrioritizationFeesApi & gill.GetSignaturesForAddressApi & gill.GetSignatureStatusesApi & gill.GetSlotApi & gill.GetSlotLeaderApi & gill.GetSlotLeadersApi & gill.GetStakeMinimumDelegationApi & gill.GetSupplyApi & gill.GetTokenAccountBalanceApi & gill.GetTokenAccountsByDelegateApi & gill.GetTokenAccountsByOwnerApi & gill.GetTokenLargestAccountsApi & gill.GetTokenSupplyApi & gill.GetTransactionApi & gill.GetTransactionCountApi & gill.GetVersionApi & gill.GetVoteAccountsApi & gill.IsBlockhashValidApi & gill.MinimumLedgerSlotApi & gill.SendTransactionApi & gill.SimulateTransactionApi>;
3179
+ declare function getSendAndConfirmTransaction(): SendAndConfirmTransactionWithSignersFunction;
3180
+ declare function getComputeBudgetEstimate(): (transactionMessage: CompilableTransactionMessage | (TransactionMessage$1 & TransactionMessageWithFeePayer), config?: any) => Promise<number>;
3181
+ declare function getFeePayer(): Promise<TransactionSigner>;
3182
+ declare function getJitoTipsConfig(): JitoTipsConfig;
3183
+ declare function getAuthEndpoint(): string;
3184
+ declare function getGlobalAuthorizedClient(): {
3185
+ publicKey: string;
3186
+ url: string;
3187
+ } | null;
3188
+ declare function getGlobalAdditonalInfo(): any;
3189
+ declare function uninitialize(): void;
3190
+ declare function initialize({ rpcEndpoint, proverEndpoint, compressionApiEndpoint, jitoTipsConfig, apiEndpoint, authEndpoint, authorizedClient, additionalInfo, }: {
3191
+ rpcEndpoint: string;
3192
+ proverEndpoint?: string;
3193
+ compressionApiEndpoint?: string;
3194
+ jitoTipsConfig?: JitoTipsConfig;
3195
+ apiEndpoint?: string;
3196
+ authEndpoint?: string;
3197
+ authorizedClient?: {
3198
+ publicKey: string;
3199
+ url: string;
3200
+ };
3201
+ additionalInfo?: any;
3202
+ }): void;
3203
+
3204
+ declare function createPopUp(url?: string): Window | null;
3205
+ declare function convertPubkeyCoseToCompressed(publicKey: Uint8Array<ArrayBufferLike>): string;
3206
+ declare function convertPubkeyCompressedToCose(publicKey: string): Uint8Array<ArrayBuffer>;
3207
+ declare function getSignedSecp256r1Key(payload: TransactionAuthenticationResponse, originIndex?: number, crossOrigin?: boolean): Promise<SignedSecp256r1Key>;
3208
+ declare function getOriginIndex(domainConfig: Address, origin: string): Promise<number>;
3209
+
3210
+ declare function signAndSendBundledTransactions(bundle: TransactionDetails[]): Promise<string>;
3211
+ declare function signAndSendTransaction({ instructions, payer, addressesByLookupTableAddress, }: TransactionDetails): Promise<gill.Signature>;
3212
+ declare function sendJitoBundle(serializedTransactions: string[], maxRetries?: number, delayMs?: number, jitoTipsConfig?: JitoTipsConfig): Promise<string>;
3213
+ declare function pollJitoBundleConfirmation(bundleId: string, maxRetries?: number, delayMs?: number, jitoTipsConfig?: JitoTipsConfig): Promise<string>;
3214
+ declare function resolveTransactionManagerSigner({ signer, index, transactionMessageBytes, cachedAccounts, }: {
3215
+ signer: Secp256r1Key | Address;
3216
+ index: number | bigint;
3217
+ transactionMessageBytes?: ReadonlyUint8Array;
3218
+ cachedAccounts?: Map<string, any>;
3219
+ }): Promise<TransactionSigner | null>;
3220
+ declare function createTransactionManagerSigner(address: Address, url: string, transactionMessageBytes?: ReadonlyUint8Array): TransactionSigner;
3221
+ declare function convertMemberKeyToString(memberKey: MemberKey): string;
3222
+
3223
+ export { type AddMemberArgs$1 as AddMemberArgs, type AddMemberArgsArgs, type BasePayload, CHANGE_CONFIG_COMPRESSED_DISCRIMINATOR, CHANGE_CONFIG_DISCRIMINATOR, COMPRESS_SETTINGS_ACCOUNT_DISCRIMINATOR, CREATE_DOMAIN_CONFIG_DISCRIMINATOR, CREATE_DOMAIN_USER_ACCOUNT_DISCRIMINATOR, CREATE_GLOBAL_COUNTER_DISCRIMINATOR, CREATE_MULTI_WALLET_COMPRESSED_DISCRIMINATOR, CREATE_MULTI_WALLET_DISCRIMINATOR, CREATE_USER_ACCOUNTS_DISCRIMINATOR, type ChangeConfigAsyncInput, type ChangeConfigCompressedInput, type ChangeConfigCompressedInstruction, type ChangeConfigCompressedInstructionData, type ChangeConfigCompressedInstructionDataArgs, type ChangeConfigCompressedInstructionExtraArgs, type ChangeConfigInput, type ChangeConfigInstruction, type ChangeConfigInstructionData, type ChangeConfigInstructionDataArgs, type ChangeConfigInstructionExtraArgs, type CompiledInstruction, type CompiledInstructionArgs, type CompressSettingsAccountInput, type CompressSettingsAccountInstruction, type CompressSettingsAccountInstructionData, type CompressSettingsAccountInstructionDataArgs, type CompressSettingsAccountInstructionExtraArgs, type CompressedAccountMeta, type CompressedAccountMetaArgs, type CompressedAccountMetaReadOnly, type CompressedAccountMetaReadOnlyArgs, type CompressedProof, type CompressedProofArgs, type CompressedSettings, type CompressedSettingsArgs, type CompressedSettingsData, type CompressedSettingsDataArgs, type ConfigAction, type ConfigActionArgs, type ConfigurationArgs, type CreateDomainConfigInput, type CreateDomainConfigInstruction, type CreateDomainConfigInstructionData, type CreateDomainConfigInstructionDataArgs, type CreateDomainConfigInstructionExtraArgs, type CreateDomainUserAccountInput, type CreateDomainUserAccountInstruction, type CreateDomainUserAccountInstructionData, type CreateDomainUserAccountInstructionDataArgs, type CreateDomainUserAccountInstructionExtraArgs, type CreateGlobalCounterAsyncInput, type CreateGlobalCounterInput, type CreateGlobalCounterInstruction, type CreateGlobalCounterInstructionData, type CreateGlobalCounterInstructionDataArgs, type CreateGlobalCounterInstructionExtraArgs, type CreateMultiWalletAsyncInput, type CreateMultiWalletCompressedInput, type CreateMultiWalletCompressedInstruction, type CreateMultiWalletCompressedInstructionData, type CreateMultiWalletCompressedInstructionDataArgs, type CreateMultiWalletCompressedInstructionExtraArgs, type CreateMultiWalletInput, type CreateMultiWalletInstruction, type CreateMultiWalletInstructionData, type CreateMultiWalletInstructionDataArgs, type CreateMultiWalletInstructionExtraArgs, type CreateUserAccountArgs, type CreateUserAccountArgsArgs, type CreateUserAccountsInput, type CreateUserAccountsInstruction, type CreateUserAccountsInstructionData, type CreateUserAccountsInstructionDataArgs, type CreateUserAccountsInstructionExtraArgs, DECOMPRESS_SETTINGS_ACCOUNT_DISCRIMINATOR, DISABLE_DOMAIN_CONFIG_DISCRIMINATOR, DOMAIN_CONFIG_DISCRIMINATOR, type DecompressSettingsAccountInput, type DecompressSettingsAccountInstruction, type DecompressSettingsAccountInstructionData, type DecompressSettingsAccountInstructionDataArgs, type DecompressSettingsAccountInstructionExtraArgs, DelegateOp, type DelegateOpArgs, type DisableDomainConfigInput, type DisableDomainConfigInstruction, type DisableDomainConfigInstructionData, type DisableDomainConfigInstructionDataArgs, type DisableDomainConfigInstructionExtraArgs, type DomainConfig, type DomainConfigArgs, EDIT_DOMAIN_CONFIG_DISCRIMINATOR, EDIT_TRANSACTION_MANAGER_URL_DISCRIMINATOR, type EditDomainConfigInput, type EditDomainConfigInstruction, type EditDomainConfigInstructionData, type EditDomainConfigInstructionDataArgs, type EditDomainConfigInstructionExtraArgs, type EditMemberArgs, type EditMemberArgsArgs, type EditTransactionManagerUrlInput, type EditTransactionManagerUrlInstruction, type EditTransactionManagerUrlInstructionData, type EditTransactionManagerUrlInstructionDataArgs, type EditTransactionManagerUrlInstructionExtraArgs, GLOBAL_COUNTER_DISCRIMINATOR, type GlobalCounter, type GlobalCounterArgs, type IKeyType, type IPermission, type IPermissions, type JitoTipsConfig, KeyType, type LinkWalletArgs, type LinkWalletArgsArgs, MIGRATE_COMPRESSED_SETTINGS_DISCRIMINATOR, MIGRATE_COMPRESSED_USERS_DISCRIMINATOR, MULTI_WALLET_ERROR__ALREADY_DELEGATED, MULTI_WALLET_ERROR__DOMAIN_CONFIG_IS_DISABLED, MULTI_WALLET_ERROR__DOMAIN_CONFIG_IS_MISSING, MULTI_WALLET_ERROR__DUPLICATE_MEMBER, MULTI_WALLET_ERROR__DURABLE_NONCE_DETECTED, MULTI_WALLET_ERROR__EMPTY_MEMBERS, MULTI_WALLET_ERROR__FINAL_BUFFER_HASH_MISMATCH, MULTI_WALLET_ERROR__FINAL_BUFFER_SIZE_EXCEEDED, MULTI_WALLET_ERROR__FINAL_BUFFER_SIZE_MISMATCH, MULTI_WALLET_ERROR__INSUFFICIENT_SIGNERS_WITH_VOTE_PERMISSION, MULTI_WALLET_ERROR__INSUFFICIENT_SIGNER_WITH_EXECUTE_PERMISSION, MULTI_WALLET_ERROR__INSUFFICIENT_SIGNER_WITH_INITIATE_PERMISSION, MULTI_WALLET_ERROR__INVALID_ACCOUNT, MULTI_WALLET_ERROR__INVALID_ARGUMENTS, MULTI_WALLET_ERROR__INVALID_BUFFER, MULTI_WALLET_ERROR__INVALID_NUMBER_OF_ACCOUNTS, MULTI_WALLET_ERROR__INVALID_SECP256R1_VERIFY_ARG, MULTI_WALLET_ERROR__INVALID_SIGNED_MESSAGE, MULTI_WALLET_ERROR__INVALID_SYSVAR_DATA_FORMAT, MULTI_WALLET_ERROR__INVALID_THRESHOLD, MULTI_WALLET_ERROR__INVALID_TRANSACTION_MESSAGE, MULTI_WALLET_ERROR__MAX_LENGTH_EXCEEDED, MULTI_WALLET_ERROR__MEMBER_DOES_NOT_BELONG_TO_DOMAIN_CONFIG, MULTI_WALLET_ERROR__MISSING_ACCOUNT, MULTI_WALLET_ERROR__MISSING_SYSVAR_SLOT_HISTORY, MULTI_WALLET_ERROR__MISSING_USER_ARGS, MULTI_WALLET_ERROR__NO_SIGNER_FOUND, MULTI_WALLET_ERROR__ONLY_ONE_PERMANENT_MEMBER_ALLOWED, MULTI_WALLET_ERROR__ONLY_ONE_TRANSACTION_MANAGER_ALLOWED, MULTI_WALLET_ERROR__ORIGIN_INDEX_OUT_OF_BOUNDS, MULTI_WALLET_ERROR__PERMANENT_MEMBER, MULTI_WALLET_ERROR__PERMANENT_MEMBER_NOT_ALLOWED, MULTI_WALLET_ERROR__PROTECTED_ACCOUNT, MULTI_WALLET_ERROR__RP_ID_HASH_MISMATCH, MULTI_WALLET_ERROR__SLOT_NUMBER_NOT_FOUND, MULTI_WALLET_ERROR__TOO_MANY_MEMBERS, MULTI_WALLET_ERROR__TRANSACTION_HAS_EXPIRED, MULTI_WALLET_ERROR__TRANSACTION_MANAGER_NOT_ALLOWED, MULTI_WALLET_ERROR__TRANSACTION_NOT_APPROVED, MULTI_WALLET_ERROR__UNAUTHORISED_TO_CLOSE_TRANSACTION_BUFFER, MULTI_WALLET_PROGRAM_ADDRESS, type Member, type MemberArgs, type MemberKey, type MemberKeyArgs, type MessageAuthenticationResponse, type MessagePayload, type MigrateCompressedSettingsInput, type MigrateCompressedSettingsInstruction, type MigrateCompressedSettingsInstructionData, type MigrateCompressedSettingsInstructionDataArgs, type MigrateCompressedSettingsInstructionExtraArgs, type MigrateCompressedUsersInput, type MigrateCompressedUsersInstruction, type MigrateCompressedUsersInstructionData, type MigrateCompressedUsersInstructionDataArgs, type MigrateCompressedUsersInstructionExtraArgs, MultiWalletAccount, type MultiWalletError, MultiWalletInstruction, NATIVE_TRANSFER_INTENT_COMPRESSED_DISCRIMINATOR, NATIVE_TRANSFER_INTENT_DISCRIMINATOR, type NativeTransferIntentAsyncInput, type NativeTransferIntentCompressedInput, type NativeTransferIntentCompressedInstruction, type NativeTransferIntentCompressedInstructionData, type NativeTransferIntentCompressedInstructionDataArgs, type NativeTransferIntentCompressedInstructionExtraArgs, type NativeTransferIntentInput, type NativeTransferIntentInstruction, type NativeTransferIntentInstructionData, type NativeTransferIntentInstructionDataArgs, type NativeTransferIntentInstructionExtraArgs, type PackedAddressTreeInfo, type PackedAddressTreeInfoArgs, type PackedStateTreeInfo, type PackedStateTreeInfoArgs, type ParsedChangeConfigCompressedInstruction, type ParsedChangeConfigInstruction, type ParsedCompressSettingsAccountInstruction, type ParsedCreateDomainConfigInstruction, type ParsedCreateDomainUserAccountInstruction, type ParsedCreateGlobalCounterInstruction, type ParsedCreateMultiWalletCompressedInstruction, type ParsedCreateMultiWalletInstruction, type ParsedCreateUserAccountsInstruction, type ParsedDecompressSettingsAccountInstruction, type ParsedDisableDomainConfigInstruction, type ParsedEditDomainConfigInstruction, type ParsedEditTransactionManagerUrlInstruction, type ParsedMigrateCompressedSettingsInstruction, type ParsedMigrateCompressedUsersInstruction, type ParsedMultiWalletInstruction, type ParsedNativeTransferIntentCompressedInstruction, type ParsedNativeTransferIntentInstruction, type ParsedSecp256r1VerifyInstruction, type ParsedTokenTransferIntentCompressedInstruction, type ParsedTokenTransferIntentInstruction, type ParsedTransactionBufferCloseCompressedInstruction, type ParsedTransactionBufferCloseInstruction, type ParsedTransactionBufferCreateCompressedInstruction, type ParsedTransactionBufferCreateInstruction, type ParsedTransactionBufferExecuteCompressedInstruction, type ParsedTransactionBufferExecuteInstruction, type ParsedTransactionBufferExtendCompressedInstruction, type ParsedTransactionBufferExtendInstruction, type ParsedTransactionBufferVoteCompressedInstruction, type ParsedTransactionBufferVoteInstruction, type ParsedTransactionExecuteCompressedInstruction, type ParsedTransactionExecuteInstruction, type ParsedTransactionExecuteSyncCompressedInstruction, type ParsedTransactionExecuteSyncInstruction, PermanentMemberPermission, Permission, type PermissionArgs, Permissions, type PermissionsArgs, type ProofArgs, type ProofArgsArgs, type RemoveMemberArgs, type RemoveMemberArgsArgs, SETTINGS_DISCRIMINATOR, Secp256r1Key, type Secp256r1Pubkey, type Secp256r1PubkeyArgs, type Secp256r1SignatureOffsetsDataArgs, type Secp256r1VerifyArgs, type Secp256r1VerifyArgsArgs, type Secp256r1VerifyArgsWithDomainAddress, type Secp256r1VerifyArgsWithDomainAddressArgs, type Secp256r1VerifyInput, type Secp256r1VerifyInstruction, type Secp256r1VerifyInstructionData, type Secp256r1VerifyInstructionDataArgs, type Settings, type SettingsArgs, type SettingsCreateOrMutateArgs, type SettingsCreateOrMutateArgsArgs, type SettingsCreationArgs, type SettingsCreationArgsArgs, type SettingsMutArgs, type SettingsMutArgsArgs, type SettingsReadonlyArgs, type SettingsReadonlyArgsArgs, SignedSecp256r1Key, TOKEN_TRANSFER_INTENT_COMPRESSED_DISCRIMINATOR, TOKEN_TRANSFER_INTENT_DISCRIMINATOR, TRANSACTION_BUFFER_CLOSE_COMPRESSED_DISCRIMINATOR, TRANSACTION_BUFFER_CLOSE_DISCRIMINATOR, TRANSACTION_BUFFER_CREATE_COMPRESSED_DISCRIMINATOR, TRANSACTION_BUFFER_CREATE_DISCRIMINATOR, TRANSACTION_BUFFER_DISCRIMINATOR, TRANSACTION_BUFFER_EXECUTE_COMPRESSED_DISCRIMINATOR, TRANSACTION_BUFFER_EXECUTE_DISCRIMINATOR, TRANSACTION_BUFFER_EXTEND_COMPRESSED_DISCRIMINATOR, TRANSACTION_BUFFER_EXTEND_DISCRIMINATOR, TRANSACTION_BUFFER_VOTE_COMPRESSED_DISCRIMINATOR, TRANSACTION_BUFFER_VOTE_DISCRIMINATOR, TRANSACTION_EXECUTE_COMPRESSED_DISCRIMINATOR, TRANSACTION_EXECUTE_DISCRIMINATOR, TRANSACTION_EXECUTE_SYNC_COMPRESSED_DISCRIMINATOR, TRANSACTION_EXECUTE_SYNC_DISCRIMINATOR, type TokenTransferIntentAsyncInput, type TokenTransferIntentCompressedAsyncInput, type TokenTransferIntentCompressedInput, type TokenTransferIntentCompressedInstruction, type TokenTransferIntentCompressedInstructionData, type TokenTransferIntentCompressedInstructionDataArgs, type TokenTransferIntentCompressedInstructionExtraArgs, type TokenTransferIntentInput, type TokenTransferIntentInstruction, type TokenTransferIntentInstructionData, type TokenTransferIntentInstructionDataArgs, type TokenTransferIntentInstructionExtraArgs, type TransactionActionType, type TransactionAuthenticationResponse, type TransactionBuffer, type TransactionBufferArgs, type TransactionBufferCloseCompressedInput, type TransactionBufferCloseCompressedInstruction, type TransactionBufferCloseCompressedInstructionData, type TransactionBufferCloseCompressedInstructionDataArgs, type TransactionBufferCloseCompressedInstructionExtraArgs, type TransactionBufferCloseInput, type TransactionBufferCloseInstruction, type TransactionBufferCloseInstructionData, type TransactionBufferCloseInstructionDataArgs, type TransactionBufferCloseInstructionExtraArgs, type TransactionBufferCreateArgs, type TransactionBufferCreateArgsArgs, type TransactionBufferCreateCompressedInput, type TransactionBufferCreateCompressedInstruction, type TransactionBufferCreateCompressedInstructionData, type TransactionBufferCreateCompressedInstructionDataArgs, type TransactionBufferCreateCompressedInstructionExtraArgs, type TransactionBufferCreateInput, type TransactionBufferCreateInstruction, type TransactionBufferCreateInstructionData, type TransactionBufferCreateInstructionDataArgs, type TransactionBufferCreateInstructionExtraArgs, type TransactionBufferExecuteCompressedInput, type TransactionBufferExecuteCompressedInstruction, type TransactionBufferExecuteCompressedInstructionData, type TransactionBufferExecuteCompressedInstructionDataArgs, type TransactionBufferExecuteCompressedInstructionExtraArgs, type TransactionBufferExecuteInput, type TransactionBufferExecuteInstruction, type TransactionBufferExecuteInstructionData, type TransactionBufferExecuteInstructionDataArgs, type TransactionBufferExecuteInstructionExtraArgs, type TransactionBufferExtendCompressedInput, type TransactionBufferExtendCompressedInstruction, type TransactionBufferExtendCompressedInstructionData, type TransactionBufferExtendCompressedInstructionDataArgs, type TransactionBufferExtendCompressedInstructionExtraArgs, type TransactionBufferExtendInput, type TransactionBufferExtendInstruction, type TransactionBufferExtendInstructionData, type TransactionBufferExtendInstructionDataArgs, type TransactionBufferExtendInstructionExtraArgs, type TransactionBufferVoteCompressedInput, type TransactionBufferVoteCompressedInstruction, type TransactionBufferVoteCompressedInstructionData, type TransactionBufferVoteCompressedInstructionDataArgs, type TransactionBufferVoteCompressedInstructionExtraArgs, type TransactionBufferVoteInput, type TransactionBufferVoteInstruction, type TransactionBufferVoteInstructionData, type TransactionBufferVoteInstructionDataArgs, type TransactionBufferVoteInstructionExtraArgs, type TransactionDetails, type TransactionExecuteCompressedInput, type TransactionExecuteCompressedInstruction, type TransactionExecuteCompressedInstructionData, type TransactionExecuteCompressedInstructionDataArgs, type TransactionExecuteCompressedInstructionExtraArgs, type TransactionExecuteInput, type TransactionExecuteInstruction, type TransactionExecuteInstructionData, type TransactionExecuteInstructionDataArgs, type TransactionExecuteInstructionExtraArgs, type TransactionExecuteSyncCompressedInput, type TransactionExecuteSyncCompressedInstruction, type TransactionExecuteSyncCompressedInstructionData, type TransactionExecuteSyncCompressedInstructionDataArgs, type TransactionExecuteSyncCompressedInstructionExtraArgs, type TransactionExecuteSyncInput, type TransactionExecuteSyncInstruction, type TransactionExecuteSyncInstructionData, type TransactionExecuteSyncInstructionDataArgs, type TransactionExecuteSyncInstructionExtraArgs, TransactionManagerPermission, type TransactionMessage, type TransactionMessageAddressTableLookup, type TransactionMessageAddressTableLookupArgs, type TransactionMessageArgs, type TransactionPayload, type User, type UserArgs, type UserCreationArgs$2 as UserCreationArgs, type UserCreationArgsArgs, type UserMutArgs, type UserMutArgsArgs, type UserReadOnlyArgs, type UserReadOnlyArgsArgs, type UserReadOnlyOrMutateArgs, type UserReadOnlyOrMutateArgsArgs, changeConfig, closeTransactionBuffer, compressSettingsAccount, configAction, convertMemberKeyToString, convertPubkeyCompressedToCose, convertPubkeyCoseToCompressed, createDomainConfig, createDomainUserAccounts, createGlobalCounter, createPopUp, createTransactionBuffer, createTransactionManagerSigner, createUserAccounts, createWallet, decodeDomainConfig, decodeGlobalCounter, decodeSettings, decodeTransactionBuffer, decompressSettingsAccount, disableDomainConfig, editDomainConfig, editTransactionManagerUrl, executeTransaction, executeTransactionBuffer, executeTransactionSync, extendTransactionBuffer, fetchAllDomainConfig, fetchAllGlobalCounter, fetchAllMaybeDomainConfig, fetchAllMaybeGlobalCounter, fetchAllMaybeSettings, fetchAllMaybeTransactionBuffer, fetchAllSettings, fetchAllTransactionBuffer, fetchDomainConfig, fetchGlobalCounter, fetchMaybeDomainConfig, fetchMaybeGlobalCounter, fetchMaybeSettings, fetchMaybeSettingsAccountData, fetchMaybeTransactionBuffer, fetchMaybeUserAccountData, fetchSettings, fetchSettingsAccountData, fetchTransactionBuffer, fetchUserAccountData, getAddMemberArgsCodec, getAddMemberArgsDecoder, getAddMemberArgsEncoder, getAuthEndpoint, getChangeConfigCompressedDiscriminatorBytes, getChangeConfigCompressedInstruction, getChangeConfigCompressedInstructionDataCodec, getChangeConfigCompressedInstructionDataDecoder, getChangeConfigCompressedInstructionDataEncoder, getChangeConfigDiscriminatorBytes, getChangeConfigInstruction, getChangeConfigInstructionAsync, getChangeConfigInstructionDataCodec, getChangeConfigInstructionDataDecoder, getChangeConfigInstructionDataEncoder, getCompiledInstructionCodec, getCompiledInstructionDecoder, getCompiledInstructionEncoder, getCompressSettingsAccountDiscriminatorBytes, getCompressSettingsAccountInstruction, getCompressSettingsAccountInstructionDataCodec, getCompressSettingsAccountInstructionDataDecoder, getCompressSettingsAccountInstructionDataEncoder, getCompressedAccountMetaCodec, getCompressedAccountMetaDecoder, getCompressedAccountMetaEncoder, getCompressedAccountMetaReadOnlyCodec, getCompressedAccountMetaReadOnlyDecoder, getCompressedAccountMetaReadOnlyEncoder, getCompressedProofCodec, getCompressedProofDecoder, getCompressedProofEncoder, getCompressedSettingsAddressFromIndex, getCompressedSettingsCodec, getCompressedSettingsDataCodec, getCompressedSettingsDataDecoder, getCompressedSettingsDataEncoder, getCompressedSettingsDecoder, getCompressedSettingsEncoder, getComputeBudgetEstimate, getConfigActionCodec, getConfigActionDecoder, getConfigActionEncoder, getCreateDomainConfigDiscriminatorBytes, getCreateDomainConfigInstruction, getCreateDomainConfigInstructionDataCodec, getCreateDomainConfigInstructionDataDecoder, getCreateDomainConfigInstructionDataEncoder, getCreateDomainUserAccountDiscriminatorBytes, getCreateDomainUserAccountInstruction, getCreateDomainUserAccountInstructionDataCodec, getCreateDomainUserAccountInstructionDataDecoder, getCreateDomainUserAccountInstructionDataEncoder, getCreateGlobalCounterDiscriminatorBytes, getCreateGlobalCounterInstruction, getCreateGlobalCounterInstructionAsync, getCreateGlobalCounterInstructionDataCodec, getCreateGlobalCounterInstructionDataDecoder, getCreateGlobalCounterInstructionDataEncoder, getCreateMultiWalletCompressedDiscriminatorBytes, getCreateMultiWalletCompressedInstruction, getCreateMultiWalletCompressedInstructionDataCodec, getCreateMultiWalletCompressedInstructionDataDecoder, getCreateMultiWalletCompressedInstructionDataEncoder, getCreateMultiWalletDiscriminatorBytes, getCreateMultiWalletInstruction, getCreateMultiWalletInstructionAsync, getCreateMultiWalletInstructionDataCodec, getCreateMultiWalletInstructionDataDecoder, getCreateMultiWalletInstructionDataEncoder, getCreateUserAccountArgsCodec, getCreateUserAccountArgsDecoder, getCreateUserAccountArgsEncoder, getCreateUserAccountsDiscriminatorBytes, getCreateUserAccountsInstruction, getCreateUserAccountsInstructionDataCodec, getCreateUserAccountsInstructionDataDecoder, getCreateUserAccountsInstructionDataEncoder, getDecompressSettingsAccountDiscriminatorBytes, getDecompressSettingsAccountInstruction, getDecompressSettingsAccountInstructionDataCodec, getDecompressSettingsAccountInstructionDataDecoder, getDecompressSettingsAccountInstructionDataEncoder, getDelegateOpCodec, getDelegateOpDecoder, getDelegateOpEncoder, getDisableDomainConfigDiscriminatorBytes, getDisableDomainConfigInstruction, getDisableDomainConfigInstructionDataCodec, getDisableDomainConfigInstructionDataDecoder, getDisableDomainConfigInstructionDataEncoder, getDomainConfigAddress, getDomainConfigCodec, getDomainConfigDecoder, getDomainConfigDiscriminatorBytes, getDomainConfigEncoder, getDomainConfigSize, getEditDomainConfigDiscriminatorBytes, getEditDomainConfigInstruction, getEditDomainConfigInstructionDataCodec, getEditDomainConfigInstructionDataDecoder, getEditDomainConfigInstructionDataEncoder, getEditMemberArgsCodec, getEditMemberArgsDecoder, getEditMemberArgsEncoder, getEditTransactionManagerUrlDiscriminatorBytes, getEditTransactionManagerUrlInstruction, getEditTransactionManagerUrlInstructionDataCodec, getEditTransactionManagerUrlInstructionDataDecoder, getEditTransactionManagerUrlInstructionDataEncoder, getFeePayer, getGlobalAdditonalInfo, getGlobalAuthorizedClient, getGlobalCounterAddress, getGlobalCounterCodec, getGlobalCounterDecoder, getGlobalCounterDiscriminatorBytes, getGlobalCounterEncoder, getGlobalCounterSize, getJitoTipsConfig, getLightCpiSigner, getLightProtocolRpc, getLinkWalletArgsCodec, getLinkWalletArgsDecoder, getLinkWalletArgsEncoder, getMemberCodec, getMemberDecoder, getMemberEncoder, getMemberKeyCodec, getMemberKeyDecoder, getMemberKeyEncoder, getMigrateCompressedSettingsDiscriminatorBytes, getMigrateCompressedSettingsInstruction, getMigrateCompressedSettingsInstructionDataCodec, getMigrateCompressedSettingsInstructionDataDecoder, getMigrateCompressedSettingsInstructionDataEncoder, getMigrateCompressedUsersDiscriminatorBytes, getMigrateCompressedUsersInstruction, getMigrateCompressedUsersInstructionDataCodec, getMigrateCompressedUsersInstructionDataDecoder, getMigrateCompressedUsersInstructionDataEncoder, getMultiWalletErrorMessage, getNativeTransferIntentCompressedDiscriminatorBytes, getNativeTransferIntentCompressedInstruction, getNativeTransferIntentCompressedInstructionDataCodec, getNativeTransferIntentCompressedInstructionDataDecoder, getNativeTransferIntentCompressedInstructionDataEncoder, getNativeTransferIntentDiscriminatorBytes, getNativeTransferIntentInstruction, getNativeTransferIntentInstructionAsync, getNativeTransferIntentInstructionDataCodec, getNativeTransferIntentInstructionDataDecoder, getNativeTransferIntentInstructionDataEncoder, getOriginIndex, getPackedAddressTreeInfoCodec, getPackedAddressTreeInfoDecoder, getPackedAddressTreeInfoEncoder, getPackedStateTreeInfoCodec, getPackedStateTreeInfoDecoder, getPackedStateTreeInfoEncoder, getPermissionsCodec, getPermissionsDecoder, getPermissionsEncoder, getProofArgsCodec, getProofArgsDecoder, getProofArgsEncoder, getRemoveMemberArgsCodec, getRemoveMemberArgsDecoder, getRemoveMemberArgsEncoder, getSecp256r1PubkeyCodec, getSecp256r1PubkeyDecoder, getSecp256r1PubkeyEncoder, getSecp256r1SignatureOffsetsDataDecoder, getSecp256r1SignatureOffsetsDataEncoder, getSecp256r1VerifyArgsCodec, getSecp256r1VerifyArgsDecoder, getSecp256r1VerifyArgsEncoder, getSecp256r1VerifyArgsWithDomainAddressCodec, getSecp256r1VerifyArgsWithDomainAddressDecoder, getSecp256r1VerifyArgsWithDomainAddressEncoder, getSecp256r1VerifyInstruction, getSecp256r1VerifyInstructionDataCodec, getSecp256r1VerifyInstructionDataDecoder, getSecp256r1VerifyInstructionDataEncoder, getSendAndConfirmTransaction, getSettingsCodec, getSettingsCreateOrMutateArgsCodec, getSettingsCreateOrMutateArgsDecoder, getSettingsCreateOrMutateArgsEncoder, getSettingsCreationArgsCodec, getSettingsCreationArgsDecoder, getSettingsCreationArgsEncoder, getSettingsDecoder, getSettingsDiscriminatorBytes, getSettingsEncoder, getSettingsFromIndex, getSettingsMutArgsCodec, getSettingsMutArgsDecoder, getSettingsMutArgsEncoder, getSettingsReadonlyArgsCodec, getSettingsReadonlyArgsDecoder, getSettingsReadonlyArgsEncoder, getSettingsSize, getSignedSecp256r1Key, getSolanaRpc, getSolanaRpcEndpoint, getTokenTransferIntentCompressedDiscriminatorBytes, getTokenTransferIntentCompressedInstruction, getTokenTransferIntentCompressedInstructionAsync, getTokenTransferIntentCompressedInstructionDataCodec, getTokenTransferIntentCompressedInstructionDataDecoder, getTokenTransferIntentCompressedInstructionDataEncoder, getTokenTransferIntentDiscriminatorBytes, getTokenTransferIntentInstruction, getTokenTransferIntentInstructionAsync, getTokenTransferIntentInstructionDataCodec, getTokenTransferIntentInstructionDataDecoder, getTokenTransferIntentInstructionDataEncoder, getTransactionBufferAddress, getTransactionBufferCloseCompressedDiscriminatorBytes, getTransactionBufferCloseCompressedInstruction, getTransactionBufferCloseCompressedInstructionDataCodec, getTransactionBufferCloseCompressedInstructionDataDecoder, getTransactionBufferCloseCompressedInstructionDataEncoder, getTransactionBufferCloseDiscriminatorBytes, getTransactionBufferCloseInstruction, getTransactionBufferCloseInstructionDataCodec, getTransactionBufferCloseInstructionDataDecoder, getTransactionBufferCloseInstructionDataEncoder, getTransactionBufferCodec, getTransactionBufferCreateArgsCodec, getTransactionBufferCreateArgsDecoder, getTransactionBufferCreateArgsEncoder, getTransactionBufferCreateCompressedDiscriminatorBytes, getTransactionBufferCreateCompressedInstruction, getTransactionBufferCreateCompressedInstructionDataCodec, getTransactionBufferCreateCompressedInstructionDataDecoder, getTransactionBufferCreateCompressedInstructionDataEncoder, getTransactionBufferCreateDiscriminatorBytes, getTransactionBufferCreateInstruction, getTransactionBufferCreateInstructionDataCodec, getTransactionBufferCreateInstructionDataDecoder, getTransactionBufferCreateInstructionDataEncoder, getTransactionBufferDecoder, getTransactionBufferDiscriminatorBytes, getTransactionBufferEncoder, getTransactionBufferExecuteCompressedDiscriminatorBytes, getTransactionBufferExecuteCompressedInstruction, getTransactionBufferExecuteCompressedInstructionDataCodec, getTransactionBufferExecuteCompressedInstructionDataDecoder, getTransactionBufferExecuteCompressedInstructionDataEncoder, getTransactionBufferExecuteDiscriminatorBytes, getTransactionBufferExecuteInstruction, getTransactionBufferExecuteInstructionDataCodec, getTransactionBufferExecuteInstructionDataDecoder, getTransactionBufferExecuteInstructionDataEncoder, getTransactionBufferExtendCompressedDiscriminatorBytes, getTransactionBufferExtendCompressedInstruction, getTransactionBufferExtendCompressedInstructionDataCodec, getTransactionBufferExtendCompressedInstructionDataDecoder, getTransactionBufferExtendCompressedInstructionDataEncoder, getTransactionBufferExtendDiscriminatorBytes, getTransactionBufferExtendInstruction, getTransactionBufferExtendInstructionDataCodec, getTransactionBufferExtendInstructionDataDecoder, getTransactionBufferExtendInstructionDataEncoder, getTransactionBufferVoteCompressedDiscriminatorBytes, getTransactionBufferVoteCompressedInstruction, getTransactionBufferVoteCompressedInstructionDataCodec, getTransactionBufferVoteCompressedInstructionDataDecoder, getTransactionBufferVoteCompressedInstructionDataEncoder, getTransactionBufferVoteDiscriminatorBytes, getTransactionBufferVoteInstruction, getTransactionBufferVoteInstructionDataCodec, getTransactionBufferVoteInstructionDataDecoder, getTransactionBufferVoteInstructionDataEncoder, getTransactionExecuteCompressedDiscriminatorBytes, getTransactionExecuteCompressedInstruction, getTransactionExecuteCompressedInstructionDataCodec, getTransactionExecuteCompressedInstructionDataDecoder, getTransactionExecuteCompressedInstructionDataEncoder, getTransactionExecuteDiscriminatorBytes, getTransactionExecuteInstruction, getTransactionExecuteInstructionDataCodec, getTransactionExecuteInstructionDataDecoder, getTransactionExecuteInstructionDataEncoder, getTransactionExecuteSyncCompressedDiscriminatorBytes, getTransactionExecuteSyncCompressedInstruction, getTransactionExecuteSyncCompressedInstructionDataCodec, getTransactionExecuteSyncCompressedInstructionDataDecoder, getTransactionExecuteSyncCompressedInstructionDataEncoder, getTransactionExecuteSyncDiscriminatorBytes, getTransactionExecuteSyncInstruction, getTransactionExecuteSyncInstructionDataCodec, getTransactionExecuteSyncInstructionDataDecoder, getTransactionExecuteSyncInstructionDataEncoder, getTransactionMessageAddressTableLookupCodec, getTransactionMessageAddressTableLookupDecoder, getTransactionMessageAddressTableLookupEncoder, getTransactionMessageCodec, getTransactionMessageDecoder, getTransactionMessageEncoder, getUserAccountAddress, getUserCodec, getUserCreationArgsCodec, getUserCreationArgsDecoder, getUserCreationArgsEncoder, getUserDecoder, getUserEncoder, getUserMutArgsCodec, getUserMutArgsDecoder, getUserMutArgsEncoder, getUserReadOnlyArgsCodec, getUserReadOnlyArgsDecoder, getUserReadOnlyArgsEncoder, getUserReadOnlyOrMutateArgsCodec, getUserReadOnlyOrMutateArgsDecoder, getUserReadOnlyOrMutateArgsEncoder, getWalletAddressFromIndex, getWalletAddressFromSettings, identifyMultiWalletAccount, identifyMultiWalletInstruction, initialize, isConfigAction, isMultiWalletError, isSettingsCreateOrMutateArgs, isUserReadOnlyOrMutateArgs, nativeTransferIntent, parseChangeConfigCompressedInstruction, parseChangeConfigInstruction, parseCompressSettingsAccountInstruction, parseCreateDomainConfigInstruction, parseCreateDomainUserAccountInstruction, parseCreateGlobalCounterInstruction, parseCreateMultiWalletCompressedInstruction, parseCreateMultiWalletInstruction, parseCreateUserAccountsInstruction, parseDecompressSettingsAccountInstruction, parseDisableDomainConfigInstruction, parseEditDomainConfigInstruction, parseEditTransactionManagerUrlInstruction, parseMigrateCompressedSettingsInstruction, parseMigrateCompressedUsersInstruction, parseNativeTransferIntentCompressedInstruction, parseNativeTransferIntentInstruction, parseSecp256r1VerifyInstruction, parseTokenTransferIntentCompressedInstruction, parseTokenTransferIntentInstruction, parseTransactionBufferCloseCompressedInstruction, parseTransactionBufferCloseInstruction, parseTransactionBufferCreateCompressedInstruction, parseTransactionBufferCreateInstruction, parseTransactionBufferExecuteCompressedInstruction, parseTransactionBufferExecuteInstruction, parseTransactionBufferExtendCompressedInstruction, parseTransactionBufferExtendInstruction, parseTransactionBufferVoteCompressedInstruction, parseTransactionBufferVoteInstruction, parseTransactionExecuteCompressedInstruction, parseTransactionExecuteInstruction, parseTransactionExecuteSyncCompressedInstruction, parseTransactionExecuteSyncInstruction, pollJitoBundleConfirmation, prepareTransactionBundle, prepareTransactionMessage, prepareTransactionSync, resolveTransactionManagerSigner, sendJitoBundle, settingsCreateOrMutateArgs, signAndSendBundledTransactions, signAndSendTransaction, signMessageWithPasskey, signTransactionWithPasskey, tokenTransferIntent, uninitialize, userReadOnlyOrMutateArgs, vaultTransactionMessageDeserialize, vaultTransactionMessageSerialize, verifyMessage, voteTransactionBuffer };