@metamask-previews/keyring-internal-api 10.0.1-ea8175e → 11.0.1-023fc63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/types.d.cts CHANGED
@@ -1,6 +1,6 @@
1
- import { BtcAccountType, EthAccountType, SolAccountType, TrxAccountType } from "@metamask/keyring-api";
1
+ import { BtcAccountType, EthAccountType, SolAccountType, TrxAccountType, XlmAccountType } from "@metamask/keyring-api";
2
2
  import type { Infer, Struct } from "@metamask/superstruct";
3
- export type InternalAccountType = EthAccountType | BtcAccountType | SolAccountType | TrxAccountType;
3
+ export type InternalAccountType = EthAccountType | BtcAccountType | SolAccountType | TrxAccountType | XlmAccountType;
4
4
  export declare const InternalAccountMetadataStruct: Struct<{
5
5
  metadata: {
6
6
  name: string;
@@ -8,12 +8,10 @@ export declare const InternalAccountMetadataStruct: Struct<{
8
8
  keyring: {
9
9
  type: string;
10
10
  };
11
+ nameLastUpdatedAt?: number;
11
12
  snap?: {
12
- name: string;
13
13
  id: string;
14
- enabled: boolean;
15
14
  };
16
- nameLastUpdatedAt?: number;
17
15
  lastSelected?: number;
18
16
  };
19
17
  }, {
@@ -23,24 +21,18 @@ export declare const InternalAccountMetadataStruct: Struct<{
23
21
  keyring: {
24
22
  type: string;
25
23
  };
24
+ nameLastUpdatedAt?: number;
26
25
  snap?: {
27
- name: string;
28
26
  id: string;
29
- enabled: boolean;
30
27
  };
31
- nameLastUpdatedAt?: number;
32
28
  lastSelected?: number;
33
29
  }, {
34
30
  name: Struct<string, null>;
35
31
  nameLastUpdatedAt: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
36
32
  snap: Struct<import("@metamask/keyring-utils").ExactOptionalTag | {
37
- name: string;
38
33
  id: string;
39
- enabled: boolean;
40
34
  }, {
41
35
  id: Struct<string, null>;
42
- enabled: Struct<boolean, null>;
43
- name: Struct<string, null>;
44
36
  }>;
45
37
  lastSelected: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
46
38
  importTime: Struct<number, null>;
@@ -52,38 +44,36 @@ export declare const InternalAccountMetadataStruct: Struct<{
52
44
  }>;
53
45
  }>;
54
46
  export declare const InternalEthEoaAccountStruct: Struct<{
55
- type: "eip155:eoa";
56
47
  id: string;
57
- options: Record<string, import("@metamask/utils").Json> & {
58
- entropy?: {
59
- type: "mnemonic";
60
- id: string;
61
- derivationPath: string;
62
- groupIndex: number;
63
- } | {
64
- type: "private-key";
65
- } | {
66
- type: "custom";
67
- };
68
- exportable?: boolean;
69
- };
70
48
  metadata: {
71
49
  name: string;
72
50
  importTime: number;
73
51
  keyring: {
74
52
  type: string;
75
53
  };
54
+ nameLastUpdatedAt?: number;
76
55
  snap?: {
77
- name: string;
78
56
  id: string;
79
- enabled: boolean;
80
57
  };
81
- nameLastUpdatedAt?: number;
82
58
  lastSelected?: number;
83
59
  };
60
+ type: "eip155:eoa";
84
61
  address: string;
85
62
  scopes: import("@metamask/keyring-api").EthScope.Eoa[];
86
63
  methods: ("personal_sign" | "eth_sign" | "eth_signTransaction" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4")[];
64
+ options: Record<string, import("@metamask/utils").Json> & {
65
+ entropy?: {
66
+ type: "mnemonic";
67
+ id: string;
68
+ derivationPath: string;
69
+ groupIndex: number;
70
+ } | {
71
+ type: "private-key";
72
+ } | {
73
+ type: "custom";
74
+ };
75
+ exportable?: boolean;
76
+ };
87
77
  }, {
88
78
  metadata: Struct<{
89
79
  name: string;
@@ -91,24 +81,18 @@ export declare const InternalEthEoaAccountStruct: Struct<{
91
81
  keyring: {
92
82
  type: string;
93
83
  };
84
+ nameLastUpdatedAt?: number;
94
85
  snap?: {
95
- name: string;
96
86
  id: string;
97
- enabled: boolean;
98
87
  };
99
- nameLastUpdatedAt?: number;
100
88
  lastSelected?: number;
101
89
  }, {
102
90
  name: Struct<string, null>;
103
91
  nameLastUpdatedAt: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
104
92
  snap: Struct<import("@metamask/keyring-utils").ExactOptionalTag | {
105
- name: string;
106
93
  id: string;
107
- enabled: boolean;
108
94
  }, {
109
95
  id: Struct<string, null>;
110
- enabled: Struct<boolean, null>;
111
- name: Struct<string, null>;
112
96
  }>;
113
97
  lastSelected: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
114
98
  importTime: Struct<number, null>;
@@ -118,10 +102,10 @@ export declare const InternalEthEoaAccountStruct: Struct<{
118
102
  type: Struct<string, null>;
119
103
  }>;
120
104
  }>;
121
- address: import("@metamask/superstruct").Struct<string, null>;
122
- type: import("@metamask/superstruct").Struct<"eip155:eoa", "eip155:eoa">;
123
- scopes: import("@metamask/superstruct").Struct<import("@metamask/keyring-api").EthScope.Eoa[], import("@metamask/superstruct").Struct<import("@metamask/keyring-api").EthScope.Eoa, import("@metamask/keyring-api").EthScope.Eoa>>;
124
- methods: import("@metamask/superstruct").Struct<("personal_sign" | "eth_sign" | "eth_signTransaction" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4")[], import("@metamask/superstruct").Struct<"personal_sign" | "eth_sign" | "eth_signTransaction" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4", {
105
+ address: Struct<string, null>;
106
+ type: Struct<"eip155:eoa", "eip155:eoa">;
107
+ scopes: Struct<import("@metamask/keyring-api").EthScope.Eoa[], Struct<import("@metamask/keyring-api").EthScope.Eoa, import("@metamask/keyring-api").EthScope.Eoa>>;
108
+ methods: Struct<("personal_sign" | "eth_sign" | "eth_signTransaction" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4")[], Struct<"personal_sign" | "eth_sign" | "eth_signTransaction" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4", {
125
109
  personal_sign: "personal_sign";
126
110
  eth_sign: "eth_sign";
127
111
  eth_signTransaction: "eth_signTransaction";
@@ -129,8 +113,8 @@ export declare const InternalEthEoaAccountStruct: Struct<{
129
113
  eth_signTypedData_v3: "eth_signTypedData_v3";
130
114
  eth_signTypedData_v4: "eth_signTypedData_v4";
131
115
  }>>;
132
- id: import("@metamask/superstruct").Struct<string, null>;
133
- options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json> & {
116
+ id: Struct<string, null>;
117
+ options: Struct<Record<string, import("@metamask/utils").Json> & {
134
118
  entropy?: {
135
119
  type: "mnemonic";
136
120
  id: string;
@@ -145,38 +129,36 @@ export declare const InternalEthEoaAccountStruct: Struct<{
145
129
  }, null>;
146
130
  }>;
147
131
  export declare const InternalEthErc4337AccountStruct: Struct<{
148
- type: "eip155:erc4337";
149
132
  id: string;
150
- options: Record<string, import("@metamask/utils").Json> & {
151
- entropy?: {
152
- type: "mnemonic";
153
- id: string;
154
- derivationPath: string;
155
- groupIndex: number;
156
- } | {
157
- type: "private-key";
158
- } | {
159
- type: "custom";
160
- };
161
- exportable?: boolean;
162
- };
163
133
  metadata: {
164
134
  name: string;
165
135
  importTime: number;
166
136
  keyring: {
167
137
  type: string;
168
138
  };
139
+ nameLastUpdatedAt?: number;
169
140
  snap?: {
170
- name: string;
171
141
  id: string;
172
- enabled: boolean;
173
142
  };
174
- nameLastUpdatedAt?: number;
175
143
  lastSelected?: number;
176
144
  };
145
+ type: "eip155:erc4337";
177
146
  address: string;
178
147
  scopes: `${string}:${string}`[];
179
148
  methods: ("personal_sign" | "eth_sign" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4" | "eth_prepareUserOperation" | "eth_patchUserOperation" | "eth_signUserOperation")[];
149
+ options: Record<string, import("@metamask/utils").Json> & {
150
+ entropy?: {
151
+ type: "mnemonic";
152
+ id: string;
153
+ derivationPath: string;
154
+ groupIndex: number;
155
+ } | {
156
+ type: "private-key";
157
+ } | {
158
+ type: "custom";
159
+ };
160
+ exportable?: boolean;
161
+ };
180
162
  }, {
181
163
  metadata: Struct<{
182
164
  name: string;
@@ -184,24 +166,18 @@ export declare const InternalEthErc4337AccountStruct: Struct<{
184
166
  keyring: {
185
167
  type: string;
186
168
  };
169
+ nameLastUpdatedAt?: number;
187
170
  snap?: {
188
- name: string;
189
171
  id: string;
190
- enabled: boolean;
191
172
  };
192
- nameLastUpdatedAt?: number;
193
173
  lastSelected?: number;
194
174
  }, {
195
175
  name: Struct<string, null>;
196
176
  nameLastUpdatedAt: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
197
177
  snap: Struct<import("@metamask/keyring-utils").ExactOptionalTag | {
198
- name: string;
199
178
  id: string;
200
- enabled: boolean;
201
179
  }, {
202
180
  id: Struct<string, null>;
203
- enabled: Struct<boolean, null>;
204
- name: Struct<string, null>;
205
181
  }>;
206
182
  lastSelected: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
207
183
  importTime: Struct<number, null>;
@@ -211,10 +187,10 @@ export declare const InternalEthErc4337AccountStruct: Struct<{
211
187
  type: Struct<string, null>;
212
188
  }>;
213
189
  }>;
214
- address: import("@metamask/superstruct").Struct<string, null>;
215
- type: import("@metamask/superstruct").Struct<"eip155:erc4337", "eip155:erc4337">;
216
- scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
217
- methods: import("@metamask/superstruct").Struct<("personal_sign" | "eth_sign" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4" | "eth_prepareUserOperation" | "eth_patchUserOperation" | "eth_signUserOperation")[], import("@metamask/superstruct").Struct<"personal_sign" | "eth_sign" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4" | "eth_prepareUserOperation" | "eth_patchUserOperation" | "eth_signUserOperation", {
190
+ address: Struct<string, null>;
191
+ type: Struct<"eip155:erc4337", "eip155:erc4337">;
192
+ scopes: Struct<`${string}:${string}`[], Struct<`${string}:${string}`, null>>;
193
+ methods: Struct<("personal_sign" | "eth_sign" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4" | "eth_prepareUserOperation" | "eth_patchUserOperation" | "eth_signUserOperation")[], Struct<"personal_sign" | "eth_sign" | "eth_signTypedData_v1" | "eth_signTypedData_v3" | "eth_signTypedData_v4" | "eth_prepareUserOperation" | "eth_patchUserOperation" | "eth_signUserOperation", {
218
194
  personal_sign: "personal_sign";
219
195
  eth_sign: "eth_sign";
220
196
  eth_signTypedData_v1: "eth_signTypedData_v1";
@@ -224,8 +200,8 @@ export declare const InternalEthErc4337AccountStruct: Struct<{
224
200
  eth_patchUserOperation: "eth_patchUserOperation";
225
201
  eth_signUserOperation: "eth_signUserOperation";
226
202
  }>>;
227
- id: import("@metamask/superstruct").Struct<string, null>;
228
- options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json> & {
203
+ id: Struct<string, null>;
204
+ options: Struct<Record<string, import("@metamask/utils").Json> & {
229
205
  entropy?: {
230
206
  type: "mnemonic";
231
207
  id: string;
@@ -240,38 +216,36 @@ export declare const InternalEthErc4337AccountStruct: Struct<{
240
216
  }, null>;
241
217
  }>;
242
218
  export declare const InternalBtcP2pkhAccountStruct: Struct<{
243
- type: "bip122:p2pkh";
244
219
  id: string;
245
- options: Record<string, import("@metamask/utils").Json> & {
246
- entropy?: {
247
- type: "mnemonic";
248
- id: string;
249
- derivationPath: string;
250
- groupIndex: number;
251
- } | {
252
- type: "private-key";
253
- } | {
254
- type: "custom";
255
- };
256
- exportable?: boolean;
257
- };
258
220
  metadata: {
259
221
  name: string;
260
222
  importTime: number;
261
223
  keyring: {
262
224
  type: string;
263
225
  };
226
+ nameLastUpdatedAt?: number;
264
227
  snap?: {
265
- name: string;
266
228
  id: string;
267
- enabled: boolean;
268
229
  };
269
- nameLastUpdatedAt?: number;
270
230
  lastSelected?: number;
271
231
  };
232
+ type: "bip122:p2pkh";
272
233
  address: string;
273
234
  scopes: `${string}:${string}`[];
274
235
  methods: import("@metamask/keyring-api").BtcMethod[];
236
+ options: Record<string, import("@metamask/utils").Json> & {
237
+ entropy?: {
238
+ type: "mnemonic";
239
+ id: string;
240
+ derivationPath: string;
241
+ groupIndex: number;
242
+ } | {
243
+ type: "private-key";
244
+ } | {
245
+ type: "custom";
246
+ };
247
+ exportable?: boolean;
248
+ };
275
249
  }, {
276
250
  metadata: Struct<{
277
251
  name: string;
@@ -279,24 +253,18 @@ export declare const InternalBtcP2pkhAccountStruct: Struct<{
279
253
  keyring: {
280
254
  type: string;
281
255
  };
256
+ nameLastUpdatedAt?: number;
282
257
  snap?: {
283
- name: string;
284
258
  id: string;
285
- enabled: boolean;
286
259
  };
287
- nameLastUpdatedAt?: number;
288
260
  lastSelected?: number;
289
261
  }, {
290
262
  name: Struct<string, null>;
291
263
  nameLastUpdatedAt: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
292
264
  snap: Struct<import("@metamask/keyring-utils").ExactOptionalTag | {
293
- name: string;
294
265
  id: string;
295
- enabled: boolean;
296
266
  }, {
297
267
  id: Struct<string, null>;
298
- enabled: Struct<boolean, null>;
299
- name: Struct<string, null>;
300
268
  }>;
301
269
  lastSelected: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
302
270
  importTime: Struct<number, null>;
@@ -306,10 +274,10 @@ export declare const InternalBtcP2pkhAccountStruct: Struct<{
306
274
  type: Struct<string, null>;
307
275
  }>;
308
276
  }>;
309
- address: import("@metamask/superstruct").Struct<string, null>;
310
- type: import("@metamask/superstruct").Struct<"bip122:p2pkh", "bip122:p2pkh">;
311
- scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
312
- methods: import("@metamask/superstruct").Struct<import("@metamask/keyring-api").BtcMethod[], import("@metamask/superstruct").Struct<import("@metamask/keyring-api").BtcMethod, {
277
+ address: Struct<string, null>;
278
+ type: Struct<"bip122:p2pkh", "bip122:p2pkh">;
279
+ scopes: Struct<`${string}:${string}`[], Struct<`${string}:${string}`, null>>;
280
+ methods: Struct<import("@metamask/keyring-api").BtcMethod[], Struct<import("@metamask/keyring-api").BtcMethod, {
313
281
  signPsbt: import("@metamask/keyring-api").BtcMethod.SignPsbt;
314
282
  computeFee: import("@metamask/keyring-api").BtcMethod.ComputeFee;
315
283
  fillPsbt: import("@metamask/keyring-api").BtcMethod.FillPsbt;
@@ -320,8 +288,8 @@ export declare const InternalBtcP2pkhAccountStruct: Struct<{
320
288
  publicDescriptor: import("@metamask/keyring-api").BtcMethod.PublicDescriptor;
321
289
  signMessage: import("@metamask/keyring-api").BtcMethod.SignMessage;
322
290
  }>>;
323
- id: import("@metamask/superstruct").Struct<string, null>;
324
- options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json> & {
291
+ id: Struct<string, null>;
292
+ options: Struct<Record<string, import("@metamask/utils").Json> & {
325
293
  entropy?: {
326
294
  type: "mnemonic";
327
295
  id: string;
@@ -336,38 +304,36 @@ export declare const InternalBtcP2pkhAccountStruct: Struct<{
336
304
  }, null>;
337
305
  }>;
338
306
  export declare const InternalBtcP2shAccountStruct: Struct<{
339
- type: "bip122:p2sh";
340
307
  id: string;
341
- options: Record<string, import("@metamask/utils").Json> & {
342
- entropy?: {
343
- type: "mnemonic";
344
- id: string;
345
- derivationPath: string;
346
- groupIndex: number;
347
- } | {
348
- type: "private-key";
349
- } | {
350
- type: "custom";
351
- };
352
- exportable?: boolean;
353
- };
354
308
  metadata: {
355
309
  name: string;
356
310
  importTime: number;
357
311
  keyring: {
358
312
  type: string;
359
313
  };
314
+ nameLastUpdatedAt?: number;
360
315
  snap?: {
361
- name: string;
362
316
  id: string;
363
- enabled: boolean;
364
317
  };
365
- nameLastUpdatedAt?: number;
366
318
  lastSelected?: number;
367
319
  };
320
+ type: "bip122:p2sh";
368
321
  address: string;
369
322
  scopes: `${string}:${string}`[];
370
323
  methods: import("@metamask/keyring-api").BtcMethod[];
324
+ options: Record<string, import("@metamask/utils").Json> & {
325
+ entropy?: {
326
+ type: "mnemonic";
327
+ id: string;
328
+ derivationPath: string;
329
+ groupIndex: number;
330
+ } | {
331
+ type: "private-key";
332
+ } | {
333
+ type: "custom";
334
+ };
335
+ exportable?: boolean;
336
+ };
371
337
  }, {
372
338
  metadata: Struct<{
373
339
  name: string;
@@ -375,24 +341,18 @@ export declare const InternalBtcP2shAccountStruct: Struct<{
375
341
  keyring: {
376
342
  type: string;
377
343
  };
344
+ nameLastUpdatedAt?: number;
378
345
  snap?: {
379
- name: string;
380
346
  id: string;
381
- enabled: boolean;
382
347
  };
383
- nameLastUpdatedAt?: number;
384
348
  lastSelected?: number;
385
349
  }, {
386
350
  name: Struct<string, null>;
387
351
  nameLastUpdatedAt: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
388
352
  snap: Struct<import("@metamask/keyring-utils").ExactOptionalTag | {
389
- name: string;
390
353
  id: string;
391
- enabled: boolean;
392
354
  }, {
393
355
  id: Struct<string, null>;
394
- enabled: Struct<boolean, null>;
395
- name: Struct<string, null>;
396
356
  }>;
397
357
  lastSelected: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
398
358
  importTime: Struct<number, null>;
@@ -402,10 +362,10 @@ export declare const InternalBtcP2shAccountStruct: Struct<{
402
362
  type: Struct<string, null>;
403
363
  }>;
404
364
  }>;
405
- address: import("@metamask/superstruct").Struct<string, null>;
406
- type: import("@metamask/superstruct").Struct<"bip122:p2sh", "bip122:p2sh">;
407
- scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
408
- methods: import("@metamask/superstruct").Struct<import("@metamask/keyring-api").BtcMethod[], import("@metamask/superstruct").Struct<import("@metamask/keyring-api").BtcMethod, {
365
+ address: Struct<string, null>;
366
+ type: Struct<"bip122:p2sh", "bip122:p2sh">;
367
+ scopes: Struct<`${string}:${string}`[], Struct<`${string}:${string}`, null>>;
368
+ methods: Struct<import("@metamask/keyring-api").BtcMethod[], Struct<import("@metamask/keyring-api").BtcMethod, {
409
369
  signPsbt: import("@metamask/keyring-api").BtcMethod.SignPsbt;
410
370
  computeFee: import("@metamask/keyring-api").BtcMethod.ComputeFee;
411
371
  fillPsbt: import("@metamask/keyring-api").BtcMethod.FillPsbt;
@@ -416,8 +376,8 @@ export declare const InternalBtcP2shAccountStruct: Struct<{
416
376
  publicDescriptor: import("@metamask/keyring-api").BtcMethod.PublicDescriptor;
417
377
  signMessage: import("@metamask/keyring-api").BtcMethod.SignMessage;
418
378
  }>>;
419
- id: import("@metamask/superstruct").Struct<string, null>;
420
- options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json> & {
379
+ id: Struct<string, null>;
380
+ options: Struct<Record<string, import("@metamask/utils").Json> & {
421
381
  entropy?: {
422
382
  type: "mnemonic";
423
383
  id: string;
@@ -432,38 +392,36 @@ export declare const InternalBtcP2shAccountStruct: Struct<{
432
392
  }, null>;
433
393
  }>;
434
394
  export declare const InternalBtcP2wpkhAccountStruct: Struct<{
435
- type: "bip122:p2wpkh";
436
395
  id: string;
437
- options: Record<string, import("@metamask/utils").Json> & {
438
- entropy?: {
439
- type: "mnemonic";
440
- id: string;
441
- derivationPath: string;
442
- groupIndex: number;
443
- } | {
444
- type: "private-key";
445
- } | {
446
- type: "custom";
447
- };
448
- exportable?: boolean;
449
- };
450
396
  metadata: {
451
397
  name: string;
452
398
  importTime: number;
453
399
  keyring: {
454
400
  type: string;
455
401
  };
402
+ nameLastUpdatedAt?: number;
456
403
  snap?: {
457
- name: string;
458
404
  id: string;
459
- enabled: boolean;
460
405
  };
461
- nameLastUpdatedAt?: number;
462
406
  lastSelected?: number;
463
407
  };
408
+ type: "bip122:p2wpkh";
464
409
  address: string;
465
410
  scopes: `${string}:${string}`[];
466
411
  methods: import("@metamask/keyring-api").BtcMethod[];
412
+ options: Record<string, import("@metamask/utils").Json> & {
413
+ entropy?: {
414
+ type: "mnemonic";
415
+ id: string;
416
+ derivationPath: string;
417
+ groupIndex: number;
418
+ } | {
419
+ type: "private-key";
420
+ } | {
421
+ type: "custom";
422
+ };
423
+ exportable?: boolean;
424
+ };
467
425
  }, {
468
426
  metadata: Struct<{
469
427
  name: string;
@@ -471,24 +429,18 @@ export declare const InternalBtcP2wpkhAccountStruct: Struct<{
471
429
  keyring: {
472
430
  type: string;
473
431
  };
432
+ nameLastUpdatedAt?: number;
474
433
  snap?: {
475
- name: string;
476
434
  id: string;
477
- enabled: boolean;
478
435
  };
479
- nameLastUpdatedAt?: number;
480
436
  lastSelected?: number;
481
437
  }, {
482
438
  name: Struct<string, null>;
483
439
  nameLastUpdatedAt: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
484
440
  snap: Struct<import("@metamask/keyring-utils").ExactOptionalTag | {
485
- name: string;
486
441
  id: string;
487
- enabled: boolean;
488
442
  }, {
489
443
  id: Struct<string, null>;
490
- enabled: Struct<boolean, null>;
491
- name: Struct<string, null>;
492
444
  }>;
493
445
  lastSelected: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
494
446
  importTime: Struct<number, null>;
@@ -498,10 +450,10 @@ export declare const InternalBtcP2wpkhAccountStruct: Struct<{
498
450
  type: Struct<string, null>;
499
451
  }>;
500
452
  }>;
501
- address: import("@metamask/superstruct").Struct<string, null>;
502
- type: import("@metamask/superstruct").Struct<"bip122:p2wpkh", "bip122:p2wpkh">;
503
- scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
504
- methods: import("@metamask/superstruct").Struct<import("@metamask/keyring-api").BtcMethod[], import("@metamask/superstruct").Struct<import("@metamask/keyring-api").BtcMethod, {
453
+ address: Struct<string, null>;
454
+ type: Struct<"bip122:p2wpkh", "bip122:p2wpkh">;
455
+ scopes: Struct<`${string}:${string}`[], Struct<`${string}:${string}`, null>>;
456
+ methods: Struct<import("@metamask/keyring-api").BtcMethod[], Struct<import("@metamask/keyring-api").BtcMethod, {
505
457
  signPsbt: import("@metamask/keyring-api").BtcMethod.SignPsbt;
506
458
  computeFee: import("@metamask/keyring-api").BtcMethod.ComputeFee;
507
459
  fillPsbt: import("@metamask/keyring-api").BtcMethod.FillPsbt;
@@ -512,8 +464,8 @@ export declare const InternalBtcP2wpkhAccountStruct: Struct<{
512
464
  publicDescriptor: import("@metamask/keyring-api").BtcMethod.PublicDescriptor;
513
465
  signMessage: import("@metamask/keyring-api").BtcMethod.SignMessage;
514
466
  }>>;
515
- id: import("@metamask/superstruct").Struct<string, null>;
516
- options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json> & {
467
+ id: Struct<string, null>;
468
+ options: Struct<Record<string, import("@metamask/utils").Json> & {
517
469
  entropy?: {
518
470
  type: "mnemonic";
519
471
  id: string;
@@ -528,38 +480,36 @@ export declare const InternalBtcP2wpkhAccountStruct: Struct<{
528
480
  }, null>;
529
481
  }>;
530
482
  export declare const InternalBtcP2trAccountStruct: Struct<{
531
- type: "bip122:p2tr";
532
483
  id: string;
533
- options: Record<string, import("@metamask/utils").Json> & {
534
- entropy?: {
535
- type: "mnemonic";
536
- id: string;
537
- derivationPath: string;
538
- groupIndex: number;
539
- } | {
540
- type: "private-key";
541
- } | {
542
- type: "custom";
543
- };
544
- exportable?: boolean;
545
- };
546
484
  metadata: {
547
485
  name: string;
548
486
  importTime: number;
549
487
  keyring: {
550
488
  type: string;
551
489
  };
490
+ nameLastUpdatedAt?: number;
552
491
  snap?: {
553
- name: string;
554
492
  id: string;
555
- enabled: boolean;
556
493
  };
557
- nameLastUpdatedAt?: number;
558
494
  lastSelected?: number;
559
495
  };
496
+ type: "bip122:p2tr";
560
497
  address: string;
561
498
  scopes: `${string}:${string}`[];
562
499
  methods: import("@metamask/keyring-api").BtcMethod[];
500
+ options: Record<string, import("@metamask/utils").Json> & {
501
+ entropy?: {
502
+ type: "mnemonic";
503
+ id: string;
504
+ derivationPath: string;
505
+ groupIndex: number;
506
+ } | {
507
+ type: "private-key";
508
+ } | {
509
+ type: "custom";
510
+ };
511
+ exportable?: boolean;
512
+ };
563
513
  }, {
564
514
  metadata: Struct<{
565
515
  name: string;
@@ -567,24 +517,18 @@ export declare const InternalBtcP2trAccountStruct: Struct<{
567
517
  keyring: {
568
518
  type: string;
569
519
  };
520
+ nameLastUpdatedAt?: number;
570
521
  snap?: {
571
- name: string;
572
522
  id: string;
573
- enabled: boolean;
574
523
  };
575
- nameLastUpdatedAt?: number;
576
524
  lastSelected?: number;
577
525
  }, {
578
526
  name: Struct<string, null>;
579
527
  nameLastUpdatedAt: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
580
528
  snap: Struct<import("@metamask/keyring-utils").ExactOptionalTag | {
581
- name: string;
582
529
  id: string;
583
- enabled: boolean;
584
530
  }, {
585
531
  id: Struct<string, null>;
586
- enabled: Struct<boolean, null>;
587
- name: Struct<string, null>;
588
532
  }>;
589
533
  lastSelected: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
590
534
  importTime: Struct<number, null>;
@@ -594,10 +538,10 @@ export declare const InternalBtcP2trAccountStruct: Struct<{
594
538
  type: Struct<string, null>;
595
539
  }>;
596
540
  }>;
597
- address: import("@metamask/superstruct").Struct<string, null>;
598
- type: import("@metamask/superstruct").Struct<"bip122:p2tr", "bip122:p2tr">;
599
- scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
600
- methods: import("@metamask/superstruct").Struct<import("@metamask/keyring-api").BtcMethod[], import("@metamask/superstruct").Struct<import("@metamask/keyring-api").BtcMethod, {
541
+ address: Struct<string, null>;
542
+ type: Struct<"bip122:p2tr", "bip122:p2tr">;
543
+ scopes: Struct<`${string}:${string}`[], Struct<`${string}:${string}`, null>>;
544
+ methods: Struct<import("@metamask/keyring-api").BtcMethod[], Struct<import("@metamask/keyring-api").BtcMethod, {
601
545
  signPsbt: import("@metamask/keyring-api").BtcMethod.SignPsbt;
602
546
  computeFee: import("@metamask/keyring-api").BtcMethod.ComputeFee;
603
547
  fillPsbt: import("@metamask/keyring-api").BtcMethod.FillPsbt;
@@ -608,8 +552,8 @@ export declare const InternalBtcP2trAccountStruct: Struct<{
608
552
  publicDescriptor: import("@metamask/keyring-api").BtcMethod.PublicDescriptor;
609
553
  signMessage: import("@metamask/keyring-api").BtcMethod.SignMessage;
610
554
  }>>;
611
- id: import("@metamask/superstruct").Struct<string, null>;
612
- options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json> & {
555
+ id: Struct<string, null>;
556
+ options: Struct<Record<string, import("@metamask/utils").Json> & {
613
557
  entropy?: {
614
558
  type: "mnemonic";
615
559
  id: string;
@@ -624,38 +568,36 @@ export declare const InternalBtcP2trAccountStruct: Struct<{
624
568
  }, null>;
625
569
  }>;
626
570
  export declare const InternalSolDataAccountStruct: Struct<{
627
- type: "solana:data-account";
628
571
  id: string;
629
- options: Record<string, import("@metamask/utils").Json> & {
630
- entropy?: {
631
- type: "mnemonic";
632
- id: string;
633
- derivationPath: string;
634
- groupIndex: number;
635
- } | {
636
- type: "private-key";
637
- } | {
638
- type: "custom";
639
- };
640
- exportable?: boolean;
641
- };
642
572
  metadata: {
643
573
  name: string;
644
574
  importTime: number;
645
575
  keyring: {
646
576
  type: string;
647
577
  };
578
+ nameLastUpdatedAt?: number;
648
579
  snap?: {
649
- name: string;
650
580
  id: string;
651
- enabled: boolean;
652
581
  };
653
- nameLastUpdatedAt?: number;
654
582
  lastSelected?: number;
655
583
  };
584
+ type: "solana:data-account";
656
585
  address: string;
657
586
  scopes: `${string}:${string}`[];
658
587
  methods: import("@metamask/keyring-api").SolMethod[];
588
+ options: Record<string, import("@metamask/utils").Json> & {
589
+ entropy?: {
590
+ type: "mnemonic";
591
+ id: string;
592
+ derivationPath: string;
593
+ groupIndex: number;
594
+ } | {
595
+ type: "private-key";
596
+ } | {
597
+ type: "custom";
598
+ };
599
+ exportable?: boolean;
600
+ };
659
601
  }, {
660
602
  metadata: Struct<{
661
603
  name: string;
@@ -663,24 +605,18 @@ export declare const InternalSolDataAccountStruct: Struct<{
663
605
  keyring: {
664
606
  type: string;
665
607
  };
608
+ nameLastUpdatedAt?: number;
666
609
  snap?: {
667
- name: string;
668
610
  id: string;
669
- enabled: boolean;
670
611
  };
671
- nameLastUpdatedAt?: number;
672
612
  lastSelected?: number;
673
613
  }, {
674
614
  name: Struct<string, null>;
675
615
  nameLastUpdatedAt: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
676
616
  snap: Struct<import("@metamask/keyring-utils").ExactOptionalTag | {
677
- name: string;
678
617
  id: string;
679
- enabled: boolean;
680
618
  }, {
681
619
  id: Struct<string, null>;
682
- enabled: Struct<boolean, null>;
683
- name: Struct<string, null>;
684
620
  }>;
685
621
  lastSelected: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
686
622
  importTime: Struct<number, null>;
@@ -690,18 +626,18 @@ export declare const InternalSolDataAccountStruct: Struct<{
690
626
  type: Struct<string, null>;
691
627
  }>;
692
628
  }>;
693
- address: import("@metamask/superstruct").Struct<string, null>;
694
- type: import("@metamask/superstruct").Struct<"solana:data-account", "solana:data-account">;
695
- scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
696
- methods: import("@metamask/superstruct").Struct<import("@metamask/keyring-api").SolMethod[], import("@metamask/superstruct").Struct<import("@metamask/keyring-api").SolMethod, {
629
+ address: Struct<string, null>;
630
+ type: Struct<"solana:data-account", "solana:data-account">;
631
+ scopes: Struct<`${string}:${string}`[], Struct<`${string}:${string}`, null>>;
632
+ methods: Struct<import("@metamask/keyring-api").SolMethod[], Struct<import("@metamask/keyring-api").SolMethod, {
697
633
  sendAndConfirmTransaction: import("@metamask/keyring-api").SolMethod.SendAndConfirmTransaction;
698
634
  signAndSendTransaction: import("@metamask/keyring-api").SolMethod.SignAndSendTransaction;
699
635
  signTransaction: import("@metamask/keyring-api").SolMethod.SignTransaction;
700
636
  signMessage: import("@metamask/keyring-api").SolMethod.SignMessage;
701
637
  signIn: import("@metamask/keyring-api").SolMethod.SignIn;
702
638
  }>>;
703
- id: import("@metamask/superstruct").Struct<string, null>;
704
- options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json> & {
639
+ id: Struct<string, null>;
640
+ options: Struct<Record<string, import("@metamask/utils").Json> & {
705
641
  entropy?: {
706
642
  type: "mnemonic";
707
643
  id: string;
@@ -716,8 +652,23 @@ export declare const InternalSolDataAccountStruct: Struct<{
716
652
  }, null>;
717
653
  }>;
718
654
  export declare const InternalTrxEoaAccountStruct: Struct<{
719
- type: "tron:eoa";
720
655
  id: string;
656
+ metadata: {
657
+ name: string;
658
+ importTime: number;
659
+ keyring: {
660
+ type: string;
661
+ };
662
+ nameLastUpdatedAt?: number;
663
+ snap?: {
664
+ id: string;
665
+ };
666
+ lastSelected?: number;
667
+ };
668
+ type: "tron:eoa";
669
+ address: string;
670
+ scopes: `${string}:${string}`[];
671
+ methods: import("@metamask/keyring-api").TrxMethod[];
721
672
  options: Record<string, import("@metamask/utils").Json> & {
722
673
  entropy?: {
723
674
  type: "mnemonic";
@@ -731,23 +682,89 @@ export declare const InternalTrxEoaAccountStruct: Struct<{
731
682
  };
732
683
  exportable?: boolean;
733
684
  };
734
- metadata: {
685
+ }, {
686
+ metadata: Struct<{
735
687
  name: string;
736
688
  importTime: number;
737
689
  keyring: {
738
690
  type: string;
739
691
  };
692
+ nameLastUpdatedAt?: number;
740
693
  snap?: {
741
- name: string;
742
694
  id: string;
743
- enabled: boolean;
695
+ };
696
+ lastSelected?: number;
697
+ }, {
698
+ name: Struct<string, null>;
699
+ nameLastUpdatedAt: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
700
+ snap: Struct<import("@metamask/keyring-utils").ExactOptionalTag | {
701
+ id: string;
702
+ }, {
703
+ id: Struct<string, null>;
704
+ }>;
705
+ lastSelected: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
706
+ importTime: Struct<number, null>;
707
+ keyring: Struct<{
708
+ type: string;
709
+ }, {
710
+ type: Struct<string, null>;
711
+ }>;
712
+ }>;
713
+ address: Struct<string, null>;
714
+ type: Struct<"tron:eoa", "tron:eoa">;
715
+ scopes: Struct<`${string}:${string}`[], Struct<`${string}:${string}`, null>>;
716
+ methods: Struct<import("@metamask/keyring-api").TrxMethod[], Struct<import("@metamask/keyring-api").TrxMethod, {
717
+ signMessage: import("@metamask/keyring-api").TrxMethod.SignMessage;
718
+ signTransaction: import("@metamask/keyring-api").TrxMethod.SignTransaction;
719
+ signMessageV2: import("@metamask/keyring-api").TrxMethod.SignMessageV2;
720
+ verifyMessageV2: import("@metamask/keyring-api").TrxMethod.VerifyMessageV2;
721
+ }>>;
722
+ id: Struct<string, null>;
723
+ options: Struct<Record<string, import("@metamask/utils").Json> & {
724
+ entropy?: {
725
+ type: "mnemonic";
726
+ id: string;
727
+ derivationPath: string;
728
+ groupIndex: number;
729
+ } | {
730
+ type: "private-key";
731
+ } | {
732
+ type: "custom";
733
+ };
734
+ exportable?: boolean;
735
+ }, null>;
736
+ }>;
737
+ export declare const InternalXlmAccountStruct: Struct<{
738
+ id: string;
739
+ metadata: {
740
+ name: string;
741
+ importTime: number;
742
+ keyring: {
743
+ type: string;
744
744
  };
745
745
  nameLastUpdatedAt?: number;
746
+ snap?: {
747
+ id: string;
748
+ };
746
749
  lastSelected?: number;
747
750
  };
751
+ type: "stellar:account";
748
752
  address: string;
749
753
  scopes: `${string}:${string}`[];
750
- methods: import("@metamask/keyring-api").TrxMethod[];
754
+ methods: import("@metamask/keyring-api").XlmMethod[];
755
+ options: Record<string, import("@metamask/utils").Json> & {
756
+ entropy?: {
757
+ type: "mnemonic";
758
+ id: string;
759
+ derivationPath: string;
760
+ groupIndex: number;
761
+ } | {
762
+ type: "private-key";
763
+ } | {
764
+ type: "custom";
765
+ };
766
+ exportable?: boolean;
767
+ };
751
768
  }, {
752
769
  metadata: Struct<{
753
770
  name: string;
@@ -755,24 +772,18 @@ export declare const InternalTrxEoaAccountStruct: Struct<{
755
772
  keyring: {
756
773
  type: string;
757
774
  };
775
+ nameLastUpdatedAt?: number;
758
776
  snap?: {
759
- name: string;
760
777
  id: string;
761
- enabled: boolean;
762
778
  };
763
- nameLastUpdatedAt?: number;
764
779
  lastSelected?: number;
765
780
  }, {
766
781
  name: Struct<string, null>;
767
782
  nameLastUpdatedAt: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
768
783
  snap: Struct<import("@metamask/keyring-utils").ExactOptionalTag | {
769
- name: string;
770
784
  id: string;
771
- enabled: boolean;
772
785
  }, {
773
786
  id: Struct<string, null>;
774
- enabled: Struct<boolean, null>;
775
- name: Struct<string, null>;
776
787
  }>;
777
788
  lastSelected: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
778
789
  importTime: Struct<number, null>;
@@ -782,17 +793,16 @@ export declare const InternalTrxEoaAccountStruct: Struct<{
782
793
  type: Struct<string, null>;
783
794
  }>;
784
795
  }>;
785
- address: import("@metamask/superstruct").Struct<string, null>;
786
- type: import("@metamask/superstruct").Struct<"tron:eoa", "tron:eoa">;
787
- scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
788
- methods: import("@metamask/superstruct").Struct<import("@metamask/keyring-api").TrxMethod[], import("@metamask/superstruct").Struct<import("@metamask/keyring-api").TrxMethod, {
789
- signMessage: import("@metamask/keyring-api").TrxMethod.SignMessage;
790
- signTransaction: import("@metamask/keyring-api").TrxMethod.SignTransaction;
791
- signMessageV2: import("@metamask/keyring-api").TrxMethod.SignMessageV2;
792
- verifyMessageV2: import("@metamask/keyring-api").TrxMethod.VerifyMessageV2;
796
+ address: Struct<string, null>;
797
+ type: Struct<"stellar:account", "stellar:account">;
798
+ scopes: Struct<`${string}:${string}`[], Struct<`${string}:${string}`, null>>;
799
+ methods: Struct<import("@metamask/keyring-api").XlmMethod[], Struct<import("@metamask/keyring-api").XlmMethod, {
800
+ signMessage: import("@metamask/keyring-api").XlmMethod.SignMessage;
801
+ signTransaction: import("@metamask/keyring-api").XlmMethod.SignTransaction;
802
+ signAuthEntry: import("@metamask/keyring-api").XlmMethod.SignAuthEntry;
793
803
  }>>;
794
- id: import("@metamask/superstruct").Struct<string, null>;
795
- options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json> & {
804
+ id: Struct<string, null>;
805
+ options: Struct<Record<string, import("@metamask/utils").Json> & {
796
806
  entropy?: {
797
807
  type: "mnemonic";
798
808
  id: string;
@@ -814,41 +824,40 @@ export type InternalBtcP2wpkhAccount = Infer<typeof InternalBtcP2wpkhAccountStru
814
824
  export type InternalBtcP2trAccount = Infer<typeof InternalBtcP2trAccountStruct>;
815
825
  export type InternalSolDataAccount = Infer<typeof InternalSolDataAccountStruct>;
816
826
  export type InternalTrxEoaAccount = Infer<typeof InternalTrxEoaAccountStruct>;
817
- export declare const InternalAccountStructs: Record<string, Struct<InternalEthEoaAccount> | Struct<InternalEthErc4337Account> | Struct<InternalBtcP2pkhAccount> | Struct<InternalBtcP2shAccount> | Struct<InternalBtcP2wpkhAccount> | Struct<InternalBtcP2trAccount> | Struct<InternalSolDataAccount> | Struct<InternalTrxEoaAccount>>;
818
- export type InternalAccountTypes = InternalEthEoaAccount | InternalEthErc4337Account | InternalBtcP2pkhAccount | InternalBtcP2shAccount | InternalBtcP2wpkhAccount | InternalBtcP2trAccount | InternalSolDataAccount | InternalTrxEoaAccount;
827
+ export type InternalXlmAccount = Infer<typeof InternalXlmAccountStruct>;
828
+ export declare const InternalAccountStructs: Record<string, Struct<InternalEthEoaAccount> | Struct<InternalEthErc4337Account> | Struct<InternalBtcP2pkhAccount> | Struct<InternalBtcP2shAccount> | Struct<InternalBtcP2wpkhAccount> | Struct<InternalBtcP2trAccount> | Struct<InternalSolDataAccount> | Struct<InternalTrxEoaAccount> | Struct<InternalXlmAccount>>;
829
+ export type InternalAccountTypes = InternalEthEoaAccount | InternalEthErc4337Account | InternalBtcP2pkhAccount | InternalBtcP2shAccount | InternalBtcP2wpkhAccount | InternalBtcP2trAccount | InternalSolDataAccount | InternalTrxEoaAccount | InternalXlmAccount;
819
830
  export declare const InternalAccountStruct: Struct<{
820
- type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "any:account";
821
831
  id: string;
822
- options: Record<string, import("@metamask/utils").Json> & {
823
- entropy?: {
824
- type: "mnemonic";
825
- id: string;
826
- derivationPath: string;
827
- groupIndex: number;
828
- } | {
829
- type: "private-key";
830
- } | {
831
- type: "custom";
832
- };
833
- exportable?: boolean;
834
- };
835
832
  metadata: {
836
833
  name: string;
837
834
  importTime: number;
838
835
  keyring: {
839
836
  type: string;
840
837
  };
838
+ nameLastUpdatedAt?: number;
841
839
  snap?: {
842
- name: string;
843
840
  id: string;
844
- enabled: boolean;
845
841
  };
846
- nameLastUpdatedAt?: number;
847
842
  lastSelected?: number;
848
843
  };
844
+ type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account";
849
845
  address: string;
850
846
  scopes: `${string}:${string}`[];
851
847
  methods: string[];
848
+ options: Record<string, import("@metamask/utils").Json> & {
849
+ entropy?: {
850
+ type: "mnemonic";
851
+ id: string;
852
+ derivationPath: string;
853
+ groupIndex: number;
854
+ } | {
855
+ type: "private-key";
856
+ } | {
857
+ type: "custom";
858
+ };
859
+ exportable?: boolean;
860
+ };
852
861
  }, {
853
862
  metadata: Struct<{
854
863
  name: string;
@@ -856,24 +865,18 @@ export declare const InternalAccountStruct: Struct<{
856
865
  keyring: {
857
866
  type: string;
858
867
  };
868
+ nameLastUpdatedAt?: number;
859
869
  snap?: {
860
- name: string;
861
870
  id: string;
862
- enabled: boolean;
863
871
  };
864
- nameLastUpdatedAt?: number;
865
872
  lastSelected?: number;
866
873
  }, {
867
874
  name: Struct<string, null>;
868
875
  nameLastUpdatedAt: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
869
876
  snap: Struct<import("@metamask/keyring-utils").ExactOptionalTag | {
870
- name: string;
871
877
  id: string;
872
- enabled: boolean;
873
878
  }, {
874
879
  id: Struct<string, null>;
875
- enabled: Struct<boolean, null>;
876
- name: Struct<string, null>;
877
880
  }>;
878
881
  lastSelected: Struct<number | import("@metamask/keyring-utils").ExactOptionalTag, null>;
879
882
  importTime: Struct<number, null>;
@@ -883,8 +886,8 @@ export declare const InternalAccountStruct: Struct<{
883
886
  type: Struct<string, null>;
884
887
  }>;
885
888
  }>;
886
- id: import("@metamask/superstruct").Struct<string, null>;
887
- type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "any:account", {
889
+ id: Struct<string, null>;
890
+ type: Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account" | "tron:eoa" | "stellar:account" | "any:account", {
888
891
  "eip155:eoa": "eip155:eoa";
889
892
  "eip155:erc4337": "eip155:erc4337";
890
893
  "bip122:p2pkh": "bip122:p2pkh";
@@ -893,11 +896,12 @@ export declare const InternalAccountStruct: Struct<{
893
896
  "bip122:p2tr": "bip122:p2tr";
894
897
  "solana:data-account": "solana:data-account";
895
898
  "tron:eoa": "tron:eoa";
899
+ "stellar:account": "stellar:account";
896
900
  "any:account": "any:account";
897
901
  }>;
898
- address: import("@metamask/superstruct").Struct<string, null>;
899
- scopes: import("@metamask/superstruct").Struct<`${string}:${string}`[], import("@metamask/superstruct").Struct<`${string}:${string}`, null>>;
900
- options: import("@metamask/superstruct").Struct<Record<string, import("@metamask/utils").Json> & {
902
+ address: Struct<string, null>;
903
+ scopes: Struct<`${string}:${string}`[], Struct<`${string}:${string}`, null>>;
904
+ options: Struct<Record<string, import("@metamask/utils").Json> & {
901
905
  entropy?: {
902
906
  type: "mnemonic";
903
907
  id: string;
@@ -910,7 +914,7 @@ export declare const InternalAccountStruct: Struct<{
910
914
  };
911
915
  exportable?: boolean;
912
916
  }, null>;
913
- methods: import("@metamask/superstruct").Struct<string[], import("@metamask/superstruct").Struct<string, null>>;
917
+ methods: Struct<string[], Struct<string, null>>;
914
918
  }>;
915
919
  /**
916
920
  * Internal account representation.