@dynamic-labs/wallet-book 0.19.0-alpha.9 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/CHANGELOG.md +292 -0
  2. package/README.md +34 -0
  3. package/package.json +3 -3
  4. package/src/build/index.d.ts +50 -50
  5. package/src/build/sources/firstParty/index.d.ts +2 -2
  6. package/src/build/sources/index.d.ts +4 -4
  7. package/src/build/sources/walletConnect/index.d.ts +100 -100
  8. package/src/build/sources/walletConnect/preprocessors.d.ts +13 -13
  9. package/src/build/sources/walletConnectOverrides/index.d.ts +249 -249
  10. package/src/build/sources/walletGroups/index.d.ts +2 -2
  11. package/src/components/WalletBookContext.cjs +3 -3
  12. package/src/components/WalletBookContext.d.ts +9 -9
  13. package/src/components/WalletBookContext.js +3 -3
  14. package/src/components/WalletIcon.cjs +19 -19
  15. package/src/components/WalletIcon.d.ts +8 -8
  16. package/src/components/WalletIcon.js +19 -19
  17. package/src/components/index.d.ts +2 -2
  18. package/src/helpers/findWalletBookWallet.cjs +9 -9
  19. package/src/helpers/findWalletBookWallet.d.ts +44 -44
  20. package/src/helpers/findWalletBookWallet.js +9 -9
  21. package/src/helpers/findWalletGroup.cjs +8 -8
  22. package/src/helpers/findWalletGroup.d.ts +11 -11
  23. package/src/helpers/findWalletGroup.js +8 -8
  24. package/src/helpers/getWalletBookCdnUrl.cjs +8 -8
  25. package/src/helpers/getWalletBookCdnUrl.d.ts +1 -1
  26. package/src/helpers/getWalletBookCdnUrl.js +8 -8
  27. package/src/helpers/getWalletBookWallet.cjs +6 -9
  28. package/src/helpers/getWalletBookWallet.d.ts +2 -2
  29. package/src/helpers/getWalletBookWallet.js +6 -9
  30. package/src/helpers/getWalletGroup.cjs +5 -5
  31. package/src/helpers/getWalletGroup.d.ts +3 -3
  32. package/src/helpers/getWalletGroup.js +5 -5
  33. package/src/helpers/getWalletIconUrl.cjs +23 -23
  34. package/src/helpers/getWalletIconUrl.d.ts +3 -3
  35. package/src/helpers/getWalletIconUrl.js +23 -23
  36. package/src/helpers/getWalletLinks.cjs +26 -26
  37. package/src/helpers/getWalletLinks.d.ts +10 -10
  38. package/src/helpers/getWalletLinks.js +26 -26
  39. package/src/helpers/getWalletPrimaryColor.cjs +3 -3
  40. package/src/helpers/getWalletPrimaryColor.d.ts +2 -2
  41. package/src/helpers/getWalletPrimaryColor.js +3 -3
  42. package/src/helpers/index.d.ts +11 -11
  43. package/src/helpers/logger.d.ts +2 -2
  44. package/src/helpers/normalizeWalletName.d.ts +1 -1
  45. package/src/helpers/renderTemplate.cjs +13 -13
  46. package/src/helpers/renderTemplate.d.ts +12 -12
  47. package/src/helpers/renderTemplate.js +13 -13
  48. package/src/hooks/index.d.ts +2 -2
  49. package/src/hooks/useWalletBookCdn.cjs +27 -27
  50. package/src/hooks/useWalletBookCdn.d.ts +55 -55
  51. package/src/hooks/useWalletBookCdn.js +27 -27
  52. package/src/hooks/useWalletBookContext.cjs +6 -6
  53. package/src/hooks/useWalletBookContext.d.ts +1 -1
  54. package/src/hooks/useWalletBookContext.js +6 -6
  55. package/src/index.d.ts +18 -18
  56. package/src/schemas/index.d.ts +3 -3
  57. package/src/schemas/utils/filterEmptyObject.cjs +5 -5
  58. package/src/schemas/utils/filterEmptyObject.d.ts +6 -6
  59. package/src/schemas/utils/filterEmptyObject.js +5 -5
  60. package/src/schemas/utils/nonEmptyString.cjs +3 -3
  61. package/src/schemas/utils/nonEmptyString.d.ts +5 -5
  62. package/src/schemas/utils/nonEmptyString.js +3 -3
  63. package/src/schemas/utils/nonEmptyStringArray.cjs +3 -3
  64. package/src/schemas/utils/nonEmptyStringArray.d.ts +5 -5
  65. package/src/schemas/utils/nonEmptyStringArray.js +3 -3
  66. package/src/schemas/utils/processWalletConnectNativeUrl.d.ts +1 -1
  67. package/src/schemas/utils/sortKeys.d.ts +5 -5
  68. package/src/schemas/utils/transformAndroidId.cjs +16 -16
  69. package/src/schemas/utils/transformAndroidId.d.ts +1 -1
  70. package/src/schemas/utils/transformAndroidId.js +16 -16
  71. package/src/schemas/utils/transformChromeExtensionId.cjs +13 -13
  72. package/src/schemas/utils/transformChromeExtensionId.d.ts +1 -1
  73. package/src/schemas/utils/transformChromeExtensionId.js +13 -13
  74. package/src/schemas/utils/transformEdgeExtensionId.cjs +13 -13
  75. package/src/schemas/utils/transformEdgeExtensionId.d.ts +1 -1
  76. package/src/schemas/utils/transformEdgeExtensionId.js +13 -13
  77. package/src/schemas/utils/transformFirefoxExtensionId.cjs +13 -13
  78. package/src/schemas/utils/transformFirefoxExtensionId.d.ts +1 -1
  79. package/src/schemas/utils/transformFirefoxExtensionId.js +13 -13
  80. package/src/schemas/utils/transformIosId.cjs +20 -20
  81. package/src/schemas/utils/transformIosId.d.ts +1 -1
  82. package/src/schemas/utils/transformIosId.js +20 -20
  83. package/src/schemas/walletBookSchema.cjs +5 -5
  84. package/src/schemas/walletBookSchema.d.ts +862 -862
  85. package/src/schemas/walletBookSchema.js +5 -5
  86. package/src/schemas/walletConnectSourceSchema.cjs +64 -64
  87. package/src/schemas/walletConnectSourceSchema.d.ts +504 -504
  88. package/src/schemas/walletConnectSourceSchema.js +64 -64
  89. package/src/schemas/walletGroup.cjs +22 -22
  90. package/src/schemas/walletGroup.d.ts +50 -50
  91. package/src/schemas/walletGroup.js +22 -22
  92. package/src/schemas/walletSchema.cjs +88 -88
  93. package/src/schemas/walletSchema.d.ts +351 -351
  94. package/src/schemas/walletSchema.js +88 -88
  95. package/wallet-book-fallbacks.cjs +66 -0
  96. package/wallet-book-fallbacks.js +66 -0
@@ -1,862 +1,862 @@
1
- import { z } from 'zod';
2
- export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodEffects<z.ZodObject<{
3
- brand: z.ZodEffects<z.ZodOptional<z.ZodObject<{
4
- alt: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
5
- imageId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
6
- primaryColor: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
7
- spriteId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
8
- }, "strip", z.ZodTypeAny, {
9
- alt?: string | undefined;
10
- imageId?: string | undefined;
11
- primaryColor?: string | undefined;
12
- spriteId?: string | undefined;
13
- }, {
14
- alt?: unknown;
15
- imageId?: unknown;
16
- primaryColor?: unknown;
17
- spriteId?: unknown;
18
- }>>, {
19
- alt?: string | undefined;
20
- imageId?: string | undefined;
21
- primaryColor?: string | undefined;
22
- spriteId?: string | undefined;
23
- } | undefined, {
24
- alt?: unknown;
25
- imageId?: unknown;
26
- primaryColor?: unknown;
27
- spriteId?: unknown;
28
- } | undefined>;
29
- chains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
30
- desktop: z.ZodEffects<z.ZodOptional<z.ZodObject<{
31
- chromeId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
32
- edgeId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
33
- firefoxId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
34
- native: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
35
- operaId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
36
- safariId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
37
- universal: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
38
- }, "strip", z.ZodTypeAny, {
39
- chromeId?: string | undefined;
40
- edgeId?: string | undefined;
41
- firefoxId?: string | undefined;
42
- native?: string | undefined;
43
- operaId?: string | undefined;
44
- safariId?: string | undefined;
45
- universal?: string | undefined;
46
- }, {
47
- chromeId?: unknown;
48
- edgeId?: unknown;
49
- firefoxId?: unknown;
50
- native?: unknown;
51
- operaId?: unknown;
52
- safariId?: unknown;
53
- universal?: unknown;
54
- }>>, {
55
- chromeId?: string | undefined;
56
- edgeId?: string | undefined;
57
- firefoxId?: string | undefined;
58
- native?: string | undefined;
59
- operaId?: string | undefined;
60
- safariId?: string | undefined;
61
- universal?: string | undefined;
62
- } | undefined, {
63
- chromeId?: unknown;
64
- edgeId?: unknown;
65
- firefoxId?: unknown;
66
- native?: unknown;
67
- operaId?: unknown;
68
- safariId?: unknown;
69
- universal?: unknown;
70
- } | undefined>;
71
- filterFromWalletConnect: z.ZodOptional<z.ZodBoolean>;
72
- group: z.ZodOptional<z.ZodString>;
73
- injectedConfig: z.ZodOptional<z.ZodArray<z.ZodObject<{
74
- chain: z.ZodString;
75
- extensionLocators: z.ZodArray<z.ZodObject<{
76
- flag: z.ZodString;
77
- value: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
78
- }, "strip", z.ZodTypeAny, {
79
- value: boolean;
80
- flag: string;
81
- }, {
82
- flag: string;
83
- value?: boolean | undefined;
84
- }>, "many">;
85
- windowLocations: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[] | undefined, string[] | undefined>;
86
- }, "strip", z.ZodTypeAny, {
87
- chain: string;
88
- extensionLocators: {
89
- value: boolean;
90
- flag: string;
91
- }[];
92
- windowLocations?: string[] | undefined;
93
- }, {
94
- chain: string;
95
- extensionLocators: {
96
- flag: string;
97
- value?: boolean | undefined;
98
- }[];
99
- windowLocations?: string[] | undefined;
100
- }>, "many">>;
101
- mobile: z.ZodEffects<z.ZodOptional<z.ZodObject<{
102
- android: z.ZodOptional<z.ZodNullable<z.ZodString>>;
103
- androidId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
104
- ios: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105
- iosId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
106
- native: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
107
- universal: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
108
- }, "strip", z.ZodTypeAny, {
109
- android?: string | null | undefined;
110
- androidId?: string | undefined;
111
- ios?: string | null | undefined;
112
- iosId?: string | undefined;
113
- native?: string | undefined;
114
- universal?: string | undefined;
115
- }, {
116
- android?: string | null | undefined;
117
- androidId?: unknown;
118
- ios?: string | null | undefined;
119
- iosId?: unknown;
120
- native?: unknown;
121
- universal?: unknown;
122
- }>>, {
123
- android?: string | null | undefined;
124
- androidId?: string | undefined;
125
- ios?: string | null | undefined;
126
- iosId?: string | undefined;
127
- native?: string | undefined;
128
- universal?: string | undefined;
129
- } | undefined, {
130
- android?: string | null | undefined;
131
- androidId?: unknown;
132
- ios?: string | null | undefined;
133
- iosId?: unknown;
134
- native?: unknown;
135
- universal?: unknown;
136
- } | undefined>;
137
- name: z.ZodString;
138
- shortName: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
139
- showOnlyIfInstalled: z.ZodOptional<z.ZodBoolean>;
140
- switchNetworkOnlyFromWallet: z.ZodOptional<z.ZodBoolean>;
141
- walletConnect: z.ZodEffects<z.ZodOptional<z.ZodObject<{
142
- sdks: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[] | undefined, unknown>;
143
- }, "strip", z.ZodTypeAny, {
144
- sdks?: string[] | undefined;
145
- }, {
146
- sdks?: unknown;
147
- }>>, {
148
- sdks?: string[] | undefined;
149
- } | undefined, {
150
- sdks?: unknown;
151
- } | undefined>;
152
- }, "strip", z.ZodTypeAny, {
153
- name: string;
154
- brand?: {
155
- alt?: string | undefined;
156
- imageId?: string | undefined;
157
- primaryColor?: string | undefined;
158
- spriteId?: string | undefined;
159
- } | undefined;
160
- chains?: string[] | undefined;
161
- desktop?: {
162
- chromeId?: string | undefined;
163
- edgeId?: string | undefined;
164
- firefoxId?: string | undefined;
165
- native?: string | undefined;
166
- operaId?: string | undefined;
167
- safariId?: string | undefined;
168
- universal?: string | undefined;
169
- } | undefined;
170
- filterFromWalletConnect?: boolean | undefined;
171
- group?: string | undefined;
172
- injectedConfig?: {
173
- chain: string;
174
- extensionLocators: {
175
- value: boolean;
176
- flag: string;
177
- }[];
178
- windowLocations?: string[] | undefined;
179
- }[] | undefined;
180
- mobile?: {
181
- android?: string | null | undefined;
182
- androidId?: string | undefined;
183
- ios?: string | null | undefined;
184
- iosId?: string | undefined;
185
- native?: string | undefined;
186
- universal?: string | undefined;
187
- } | undefined;
188
- shortName?: string | undefined;
189
- showOnlyIfInstalled?: boolean | undefined;
190
- switchNetworkOnlyFromWallet?: boolean | undefined;
191
- walletConnect?: {
192
- sdks?: string[] | undefined;
193
- } | undefined;
194
- }, {
195
- name: string;
196
- brand?: {
197
- alt?: unknown;
198
- imageId?: unknown;
199
- primaryColor?: unknown;
200
- spriteId?: unknown;
201
- } | undefined;
202
- chains?: string[] | undefined;
203
- desktop?: {
204
- chromeId?: unknown;
205
- edgeId?: unknown;
206
- firefoxId?: unknown;
207
- native?: unknown;
208
- operaId?: unknown;
209
- safariId?: unknown;
210
- universal?: unknown;
211
- } | undefined;
212
- filterFromWalletConnect?: boolean | undefined;
213
- group?: string | undefined;
214
- injectedConfig?: {
215
- chain: string;
216
- extensionLocators: {
217
- flag: string;
218
- value?: boolean | undefined;
219
- }[];
220
- windowLocations?: string[] | undefined;
221
- }[] | undefined;
222
- mobile?: {
223
- android?: string | null | undefined;
224
- androidId?: unknown;
225
- ios?: string | null | undefined;
226
- iosId?: unknown;
227
- native?: unknown;
228
- universal?: unknown;
229
- } | undefined;
230
- shortName?: unknown;
231
- showOnlyIfInstalled?: boolean | undefined;
232
- switchNetworkOnlyFromWallet?: boolean | undefined;
233
- walletConnect?: {
234
- sdks?: unknown;
235
- } | undefined;
236
- }>, {
237
- name: string;
238
- brand?: {
239
- alt?: string | undefined;
240
- imageId?: string | undefined;
241
- primaryColor?: string | undefined;
242
- spriteId?: string | undefined;
243
- } | undefined;
244
- chains?: string[] | undefined;
245
- desktop?: {
246
- chromeId?: string | undefined;
247
- edgeId?: string | undefined;
248
- firefoxId?: string | undefined;
249
- native?: string | undefined;
250
- operaId?: string | undefined;
251
- safariId?: string | undefined;
252
- universal?: string | undefined;
253
- } | undefined;
254
- filterFromWalletConnect?: boolean | undefined;
255
- group?: string | undefined;
256
- injectedConfig?: {
257
- chain: string;
258
- extensionLocators: {
259
- value: boolean;
260
- flag: string;
261
- }[];
262
- windowLocations?: string[] | undefined;
263
- }[] | undefined;
264
- mobile?: {
265
- android?: string | null | undefined;
266
- androidId?: string | undefined;
267
- ios?: string | null | undefined;
268
- iosId?: string | undefined;
269
- native?: string | undefined;
270
- universal?: string | undefined;
271
- } | undefined;
272
- shortName?: string | undefined;
273
- showOnlyIfInstalled?: boolean | undefined;
274
- switchNetworkOnlyFromWallet?: boolean | undefined;
275
- walletConnect?: {
276
- sdks?: string[] | undefined;
277
- } | undefined;
278
- }, unknown>, {
279
- name: string;
280
- brand?: {
281
- alt?: string | undefined;
282
- imageId?: string | undefined;
283
- primaryColor?: string | undefined;
284
- spriteId?: string | undefined;
285
- } | undefined;
286
- chains?: string[] | undefined;
287
- desktop?: {
288
- chromeId?: string | undefined;
289
- edgeId?: string | undefined;
290
- firefoxId?: string | undefined;
291
- native?: string | undefined;
292
- operaId?: string | undefined;
293
- safariId?: string | undefined;
294
- universal?: string | undefined;
295
- } | undefined;
296
- filterFromWalletConnect?: boolean | undefined;
297
- group?: string | undefined;
298
- injectedConfig?: {
299
- chain: string;
300
- extensionLocators: {
301
- value: boolean;
302
- flag: string;
303
- }[];
304
- windowLocations?: string[] | undefined;
305
- }[] | undefined;
306
- mobile?: {
307
- android?: string | null | undefined;
308
- androidId?: string | undefined;
309
- ios?: string | null | undefined;
310
- iosId?: string | undefined;
311
- native?: string | undefined;
312
- universal?: string | undefined;
313
- } | undefined;
314
- shortName?: string | undefined;
315
- showOnlyIfInstalled?: boolean | undefined;
316
- switchNetworkOnlyFromWallet?: boolean | undefined;
317
- walletConnect?: {
318
- sdks?: string[] | undefined;
319
- } | undefined;
320
- }, unknown>>;
321
- export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
322
- groups: z.ZodRecord<z.ZodString, z.ZodObject<{
323
- brand: z.ZodEffects<z.ZodOptional<z.ZodObject<{
324
- alt: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
325
- imageId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
326
- primaryColor: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
327
- spriteId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
328
- }, "strip", z.ZodTypeAny, {
329
- alt?: string | undefined;
330
- imageId?: string | undefined;
331
- primaryColor?: string | undefined;
332
- spriteId?: string | undefined;
333
- }, {
334
- alt?: unknown;
335
- imageId?: unknown;
336
- primaryColor?: unknown;
337
- spriteId?: unknown;
338
- }>>, {
339
- alt?: string | undefined;
340
- imageId?: string | undefined;
341
- primaryColor?: string | undefined;
342
- spriteId?: string | undefined;
343
- } | undefined, {
344
- alt?: unknown;
345
- imageId?: unknown;
346
- primaryColor?: unknown;
347
- spriteId?: unknown;
348
- } | undefined>;
349
- key: z.ZodString;
350
- name: z.ZodString;
351
- }, "strip", z.ZodTypeAny, {
352
- name: string;
353
- key: string;
354
- brand?: {
355
- alt?: string | undefined;
356
- imageId?: string | undefined;
357
- primaryColor?: string | undefined;
358
- spriteId?: string | undefined;
359
- } | undefined;
360
- }, {
361
- name: string;
362
- key: string;
363
- brand?: {
364
- alt?: unknown;
365
- imageId?: unknown;
366
- primaryColor?: unknown;
367
- spriteId?: unknown;
368
- } | undefined;
369
- }>>;
370
- wallets: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodEffects<z.ZodObject<{
371
- brand: z.ZodEffects<z.ZodOptional<z.ZodObject<{
372
- alt: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
373
- imageId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
374
- primaryColor: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
375
- spriteId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
376
- }, "strip", z.ZodTypeAny, {
377
- alt?: string | undefined;
378
- imageId?: string | undefined;
379
- primaryColor?: string | undefined;
380
- spriteId?: string | undefined;
381
- }, {
382
- alt?: unknown;
383
- imageId?: unknown;
384
- primaryColor?: unknown;
385
- spriteId?: unknown;
386
- }>>, {
387
- alt?: string | undefined;
388
- imageId?: string | undefined;
389
- primaryColor?: string | undefined;
390
- spriteId?: string | undefined;
391
- } | undefined, {
392
- alt?: unknown;
393
- imageId?: unknown;
394
- primaryColor?: unknown;
395
- spriteId?: unknown;
396
- } | undefined>;
397
- chains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
398
- desktop: z.ZodEffects<z.ZodOptional<z.ZodObject<{
399
- chromeId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
400
- edgeId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
401
- firefoxId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
402
- native: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
403
- operaId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
404
- safariId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
405
- universal: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
406
- }, "strip", z.ZodTypeAny, {
407
- chromeId?: string | undefined;
408
- edgeId?: string | undefined;
409
- firefoxId?: string | undefined;
410
- native?: string | undefined;
411
- operaId?: string | undefined;
412
- safariId?: string | undefined;
413
- universal?: string | undefined;
414
- }, {
415
- chromeId?: unknown;
416
- edgeId?: unknown;
417
- firefoxId?: unknown;
418
- native?: unknown;
419
- operaId?: unknown;
420
- safariId?: unknown;
421
- universal?: unknown;
422
- }>>, {
423
- chromeId?: string | undefined;
424
- edgeId?: string | undefined;
425
- firefoxId?: string | undefined;
426
- native?: string | undefined;
427
- operaId?: string | undefined;
428
- safariId?: string | undefined;
429
- universal?: string | undefined;
430
- } | undefined, {
431
- chromeId?: unknown;
432
- edgeId?: unknown;
433
- firefoxId?: unknown;
434
- native?: unknown;
435
- operaId?: unknown;
436
- safariId?: unknown;
437
- universal?: unknown;
438
- } | undefined>;
439
- filterFromWalletConnect: z.ZodOptional<z.ZodBoolean>;
440
- group: z.ZodOptional<z.ZodString>;
441
- injectedConfig: z.ZodOptional<z.ZodArray<z.ZodObject<{
442
- chain: z.ZodString;
443
- extensionLocators: z.ZodArray<z.ZodObject<{
444
- flag: z.ZodString;
445
- value: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
446
- }, "strip", z.ZodTypeAny, {
447
- value: boolean;
448
- flag: string;
449
- }, {
450
- flag: string;
451
- value?: boolean | undefined;
452
- }>, "many">;
453
- windowLocations: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[] | undefined, string[] | undefined>;
454
- }, "strip", z.ZodTypeAny, {
455
- chain: string;
456
- extensionLocators: {
457
- value: boolean;
458
- flag: string;
459
- }[];
460
- windowLocations?: string[] | undefined;
461
- }, {
462
- chain: string;
463
- extensionLocators: {
464
- flag: string;
465
- value?: boolean | undefined;
466
- }[];
467
- windowLocations?: string[] | undefined;
468
- }>, "many">>;
469
- mobile: z.ZodEffects<z.ZodOptional<z.ZodObject<{
470
- android: z.ZodOptional<z.ZodNullable<z.ZodString>>;
471
- androidId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
472
- ios: z.ZodOptional<z.ZodNullable<z.ZodString>>;
473
- iosId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
474
- native: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
475
- universal: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
476
- }, "strip", z.ZodTypeAny, {
477
- android?: string | null | undefined;
478
- androidId?: string | undefined;
479
- ios?: string | null | undefined;
480
- iosId?: string | undefined;
481
- native?: string | undefined;
482
- universal?: string | undefined;
483
- }, {
484
- android?: string | null | undefined;
485
- androidId?: unknown;
486
- ios?: string | null | undefined;
487
- iosId?: unknown;
488
- native?: unknown;
489
- universal?: unknown;
490
- }>>, {
491
- android?: string | null | undefined;
492
- androidId?: string | undefined;
493
- ios?: string | null | undefined;
494
- iosId?: string | undefined;
495
- native?: string | undefined;
496
- universal?: string | undefined;
497
- } | undefined, {
498
- android?: string | null | undefined;
499
- androidId?: unknown;
500
- ios?: string | null | undefined;
501
- iosId?: unknown;
502
- native?: unknown;
503
- universal?: unknown;
504
- } | undefined>;
505
- name: z.ZodString;
506
- shortName: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
507
- showOnlyIfInstalled: z.ZodOptional<z.ZodBoolean>;
508
- switchNetworkOnlyFromWallet: z.ZodOptional<z.ZodBoolean>;
509
- walletConnect: z.ZodEffects<z.ZodOptional<z.ZodObject<{
510
- sdks: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[] | undefined, unknown>;
511
- }, "strip", z.ZodTypeAny, {
512
- sdks?: string[] | undefined;
513
- }, {
514
- sdks?: unknown;
515
- }>>, {
516
- sdks?: string[] | undefined;
517
- } | undefined, {
518
- sdks?: unknown;
519
- } | undefined>;
520
- }, "strip", z.ZodTypeAny, {
521
- name: string;
522
- brand?: {
523
- alt?: string | undefined;
524
- imageId?: string | undefined;
525
- primaryColor?: string | undefined;
526
- spriteId?: string | undefined;
527
- } | undefined;
528
- chains?: string[] | undefined;
529
- desktop?: {
530
- chromeId?: string | undefined;
531
- edgeId?: string | undefined;
532
- firefoxId?: string | undefined;
533
- native?: string | undefined;
534
- operaId?: string | undefined;
535
- safariId?: string | undefined;
536
- universal?: string | undefined;
537
- } | undefined;
538
- filterFromWalletConnect?: boolean | undefined;
539
- group?: string | undefined;
540
- injectedConfig?: {
541
- chain: string;
542
- extensionLocators: {
543
- value: boolean;
544
- flag: string;
545
- }[];
546
- windowLocations?: string[] | undefined;
547
- }[] | undefined;
548
- mobile?: {
549
- android?: string | null | undefined;
550
- androidId?: string | undefined;
551
- ios?: string | null | undefined;
552
- iosId?: string | undefined;
553
- native?: string | undefined;
554
- universal?: string | undefined;
555
- } | undefined;
556
- shortName?: string | undefined;
557
- showOnlyIfInstalled?: boolean | undefined;
558
- switchNetworkOnlyFromWallet?: boolean | undefined;
559
- walletConnect?: {
560
- sdks?: string[] | undefined;
561
- } | undefined;
562
- }, {
563
- name: string;
564
- brand?: {
565
- alt?: unknown;
566
- imageId?: unknown;
567
- primaryColor?: unknown;
568
- spriteId?: unknown;
569
- } | undefined;
570
- chains?: string[] | undefined;
571
- desktop?: {
572
- chromeId?: unknown;
573
- edgeId?: unknown;
574
- firefoxId?: unknown;
575
- native?: unknown;
576
- operaId?: unknown;
577
- safariId?: unknown;
578
- universal?: unknown;
579
- } | undefined;
580
- filterFromWalletConnect?: boolean | undefined;
581
- group?: string | undefined;
582
- injectedConfig?: {
583
- chain: string;
584
- extensionLocators: {
585
- flag: string;
586
- value?: boolean | undefined;
587
- }[];
588
- windowLocations?: string[] | undefined;
589
- }[] | undefined;
590
- mobile?: {
591
- android?: string | null | undefined;
592
- androidId?: unknown;
593
- ios?: string | null | undefined;
594
- iosId?: unknown;
595
- native?: unknown;
596
- universal?: unknown;
597
- } | undefined;
598
- shortName?: unknown;
599
- showOnlyIfInstalled?: boolean | undefined;
600
- switchNetworkOnlyFromWallet?: boolean | undefined;
601
- walletConnect?: {
602
- sdks?: unknown;
603
- } | undefined;
604
- }>, {
605
- name: string;
606
- brand?: {
607
- alt?: string | undefined;
608
- imageId?: string | undefined;
609
- primaryColor?: string | undefined;
610
- spriteId?: string | undefined;
611
- } | undefined;
612
- chains?: string[] | undefined;
613
- desktop?: {
614
- chromeId?: string | undefined;
615
- edgeId?: string | undefined;
616
- firefoxId?: string | undefined;
617
- native?: string | undefined;
618
- operaId?: string | undefined;
619
- safariId?: string | undefined;
620
- universal?: string | undefined;
621
- } | undefined;
622
- filterFromWalletConnect?: boolean | undefined;
623
- group?: string | undefined;
624
- injectedConfig?: {
625
- chain: string;
626
- extensionLocators: {
627
- value: boolean;
628
- flag: string;
629
- }[];
630
- windowLocations?: string[] | undefined;
631
- }[] | undefined;
632
- mobile?: {
633
- android?: string | null | undefined;
634
- androidId?: string | undefined;
635
- ios?: string | null | undefined;
636
- iosId?: string | undefined;
637
- native?: string | undefined;
638
- universal?: string | undefined;
639
- } | undefined;
640
- shortName?: string | undefined;
641
- showOnlyIfInstalled?: boolean | undefined;
642
- switchNetworkOnlyFromWallet?: boolean | undefined;
643
- walletConnect?: {
644
- sdks?: string[] | undefined;
645
- } | undefined;
646
- }, unknown>, {
647
- name: string;
648
- brand?: {
649
- alt?: string | undefined;
650
- imageId?: string | undefined;
651
- primaryColor?: string | undefined;
652
- spriteId?: string | undefined;
653
- } | undefined;
654
- chains?: string[] | undefined;
655
- desktop?: {
656
- chromeId?: string | undefined;
657
- edgeId?: string | undefined;
658
- firefoxId?: string | undefined;
659
- native?: string | undefined;
660
- operaId?: string | undefined;
661
- safariId?: string | undefined;
662
- universal?: string | undefined;
663
- } | undefined;
664
- filterFromWalletConnect?: boolean | undefined;
665
- group?: string | undefined;
666
- injectedConfig?: {
667
- chain: string;
668
- extensionLocators: {
669
- value: boolean;
670
- flag: string;
671
- }[];
672
- windowLocations?: string[] | undefined;
673
- }[] | undefined;
674
- mobile?: {
675
- android?: string | null | undefined;
676
- androidId?: string | undefined;
677
- ios?: string | null | undefined;
678
- iosId?: string | undefined;
679
- native?: string | undefined;
680
- universal?: string | undefined;
681
- } | undefined;
682
- shortName?: string | undefined;
683
- showOnlyIfInstalled?: boolean | undefined;
684
- switchNetworkOnlyFromWallet?: boolean | undefined;
685
- walletConnect?: {
686
- sdks?: string[] | undefined;
687
- } | undefined;
688
- }, unknown>>;
689
- }, "strip", z.ZodTypeAny, {
690
- groups: Record<string, {
691
- name: string;
692
- key: string;
693
- brand?: {
694
- alt?: string | undefined;
695
- imageId?: string | undefined;
696
- primaryColor?: string | undefined;
697
- spriteId?: string | undefined;
698
- } | undefined;
699
- }>;
700
- wallets: Record<string, {
701
- name: string;
702
- brand?: {
703
- alt?: string | undefined;
704
- imageId?: string | undefined;
705
- primaryColor?: string | undefined;
706
- spriteId?: string | undefined;
707
- } | undefined;
708
- chains?: string[] | undefined;
709
- desktop?: {
710
- chromeId?: string | undefined;
711
- edgeId?: string | undefined;
712
- firefoxId?: string | undefined;
713
- native?: string | undefined;
714
- operaId?: string | undefined;
715
- safariId?: string | undefined;
716
- universal?: string | undefined;
717
- } | undefined;
718
- filterFromWalletConnect?: boolean | undefined;
719
- group?: string | undefined;
720
- injectedConfig?: {
721
- chain: string;
722
- extensionLocators: {
723
- value: boolean;
724
- flag: string;
725
- }[];
726
- windowLocations?: string[] | undefined;
727
- }[] | undefined;
728
- mobile?: {
729
- android?: string | null | undefined;
730
- androidId?: string | undefined;
731
- ios?: string | null | undefined;
732
- iosId?: string | undefined;
733
- native?: string | undefined;
734
- universal?: string | undefined;
735
- } | undefined;
736
- shortName?: string | undefined;
737
- showOnlyIfInstalled?: boolean | undefined;
738
- switchNetworkOnlyFromWallet?: boolean | undefined;
739
- walletConnect?: {
740
- sdks?: string[] | undefined;
741
- } | undefined;
742
- }>;
743
- }, {
744
- groups: Record<string, {
745
- name: string;
746
- key: string;
747
- brand?: {
748
- alt?: unknown;
749
- imageId?: unknown;
750
- primaryColor?: unknown;
751
- spriteId?: unknown;
752
- } | undefined;
753
- }>;
754
- wallets: Record<string, unknown>;
755
- }>, {
756
- groups: Record<string, {
757
- name: string;
758
- key: string;
759
- brand?: {
760
- alt?: string | undefined;
761
- imageId?: string | undefined;
762
- primaryColor?: string | undefined;
763
- spriteId?: string | undefined;
764
- } | undefined;
765
- }>;
766
- wallets: Record<string, {
767
- name: string;
768
- brand?: {
769
- alt?: string | undefined;
770
- imageId?: string | undefined;
771
- primaryColor?: string | undefined;
772
- spriteId?: string | undefined;
773
- } | undefined;
774
- chains?: string[] | undefined;
775
- desktop?: {
776
- chromeId?: string | undefined;
777
- edgeId?: string | undefined;
778
- firefoxId?: string | undefined;
779
- native?: string | undefined;
780
- operaId?: string | undefined;
781
- safariId?: string | undefined;
782
- universal?: string | undefined;
783
- } | undefined;
784
- filterFromWalletConnect?: boolean | undefined;
785
- group?: string | undefined;
786
- injectedConfig?: {
787
- chain: string;
788
- extensionLocators: {
789
- value: boolean;
790
- flag: string;
791
- }[];
792
- windowLocations?: string[] | undefined;
793
- }[] | undefined;
794
- mobile?: {
795
- android?: string | null | undefined;
796
- androidId?: string | undefined;
797
- ios?: string | null | undefined;
798
- iosId?: string | undefined;
799
- native?: string | undefined;
800
- universal?: string | undefined;
801
- } | undefined;
802
- shortName?: string | undefined;
803
- showOnlyIfInstalled?: boolean | undefined;
804
- switchNetworkOnlyFromWallet?: boolean | undefined;
805
- walletConnect?: {
806
- sdks?: string[] | undefined;
807
- } | undefined;
808
- }>;
809
- }, unknown>;
810
- export type WalletBookSchema = z.infer<typeof walletBookSchema>;
811
- export type WalletRecordsSchema = z.infer<typeof walletBookSchema>['wallets'];
812
- declare const WalletGroupRecordSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
813
- brand: z.ZodEffects<z.ZodOptional<z.ZodObject<{
814
- alt: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
815
- imageId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
816
- primaryColor: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
817
- spriteId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
818
- }, "strip", z.ZodTypeAny, {
819
- alt?: string | undefined;
820
- imageId?: string | undefined;
821
- primaryColor?: string | undefined;
822
- spriteId?: string | undefined;
823
- }, {
824
- alt?: unknown;
825
- imageId?: unknown;
826
- primaryColor?: unknown;
827
- spriteId?: unknown;
828
- }>>, {
829
- alt?: string | undefined;
830
- imageId?: string | undefined;
831
- primaryColor?: string | undefined;
832
- spriteId?: string | undefined;
833
- } | undefined, {
834
- alt?: unknown;
835
- imageId?: unknown;
836
- primaryColor?: unknown;
837
- spriteId?: unknown;
838
- } | undefined>;
839
- key: z.ZodString;
840
- name: z.ZodString;
841
- }, "strip", z.ZodTypeAny, {
842
- name: string;
843
- key: string;
844
- brand?: {
845
- alt?: string | undefined;
846
- imageId?: string | undefined;
847
- primaryColor?: string | undefined;
848
- spriteId?: string | undefined;
849
- } | undefined;
850
- }, {
851
- name: string;
852
- key: string;
853
- brand?: {
854
- alt?: unknown;
855
- imageId?: unknown;
856
- primaryColor?: unknown;
857
- spriteId?: unknown;
858
- } | undefined;
859
- }>>;
860
- export type WalletGroupRecordSchema = z.infer<typeof WalletGroupRecordSchema>;
861
- export type WalletBookGroupSchema = z.infer<typeof walletBookSchema>['groups'];
862
- export {};
1
+ import { z } from 'zod';
2
+ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodEffects<z.ZodObject<{
3
+ brand: z.ZodEffects<z.ZodOptional<z.ZodObject<{
4
+ alt: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
5
+ imageId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
6
+ primaryColor: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
7
+ spriteId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ alt?: string | undefined;
10
+ imageId?: string | undefined;
11
+ primaryColor?: string | undefined;
12
+ spriteId?: string | undefined;
13
+ }, {
14
+ alt?: unknown;
15
+ imageId?: unknown;
16
+ primaryColor?: unknown;
17
+ spriteId?: unknown;
18
+ }>>, {
19
+ alt?: string | undefined;
20
+ imageId?: string | undefined;
21
+ primaryColor?: string | undefined;
22
+ spriteId?: string | undefined;
23
+ } | undefined, {
24
+ alt?: unknown;
25
+ imageId?: unknown;
26
+ primaryColor?: unknown;
27
+ spriteId?: unknown;
28
+ } | undefined>;
29
+ chains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
30
+ desktop: z.ZodEffects<z.ZodOptional<z.ZodObject<{
31
+ chromeId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
32
+ edgeId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
33
+ firefoxId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
34
+ native: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
35
+ operaId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
36
+ safariId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
37
+ universal: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
38
+ }, "strip", z.ZodTypeAny, {
39
+ chromeId?: string | undefined;
40
+ edgeId?: string | undefined;
41
+ firefoxId?: string | undefined;
42
+ native?: string | undefined;
43
+ operaId?: string | undefined;
44
+ safariId?: string | undefined;
45
+ universal?: string | undefined;
46
+ }, {
47
+ chromeId?: unknown;
48
+ edgeId?: unknown;
49
+ firefoxId?: unknown;
50
+ native?: unknown;
51
+ operaId?: unknown;
52
+ safariId?: unknown;
53
+ universal?: unknown;
54
+ }>>, {
55
+ chromeId?: string | undefined;
56
+ edgeId?: string | undefined;
57
+ firefoxId?: string | undefined;
58
+ native?: string | undefined;
59
+ operaId?: string | undefined;
60
+ safariId?: string | undefined;
61
+ universal?: string | undefined;
62
+ } | undefined, {
63
+ chromeId?: unknown;
64
+ edgeId?: unknown;
65
+ firefoxId?: unknown;
66
+ native?: unknown;
67
+ operaId?: unknown;
68
+ safariId?: unknown;
69
+ universal?: unknown;
70
+ } | undefined>;
71
+ filterFromWalletConnect: z.ZodOptional<z.ZodBoolean>;
72
+ group: z.ZodOptional<z.ZodString>;
73
+ injectedConfig: z.ZodOptional<z.ZodArray<z.ZodObject<{
74
+ chain: z.ZodString;
75
+ extensionLocators: z.ZodArray<z.ZodObject<{
76
+ flag: z.ZodString;
77
+ value: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
78
+ }, "strip", z.ZodTypeAny, {
79
+ value: boolean;
80
+ flag: string;
81
+ }, {
82
+ flag: string;
83
+ value?: boolean | undefined;
84
+ }>, "many">;
85
+ windowLocations: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[] | undefined, string[] | undefined>;
86
+ }, "strip", z.ZodTypeAny, {
87
+ chain: string;
88
+ extensionLocators: {
89
+ value: boolean;
90
+ flag: string;
91
+ }[];
92
+ windowLocations?: string[] | undefined;
93
+ }, {
94
+ chain: string;
95
+ extensionLocators: {
96
+ flag: string;
97
+ value?: boolean | undefined;
98
+ }[];
99
+ windowLocations?: string[] | undefined;
100
+ }>, "many">>;
101
+ mobile: z.ZodEffects<z.ZodOptional<z.ZodObject<{
102
+ android: z.ZodOptional<z.ZodNullable<z.ZodString>>;
103
+ androidId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
104
+ ios: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105
+ iosId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
106
+ native: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
107
+ universal: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
108
+ }, "strip", z.ZodTypeAny, {
109
+ android?: string | null | undefined;
110
+ androidId?: string | undefined;
111
+ ios?: string | null | undefined;
112
+ iosId?: string | undefined;
113
+ native?: string | undefined;
114
+ universal?: string | undefined;
115
+ }, {
116
+ android?: string | null | undefined;
117
+ androidId?: unknown;
118
+ ios?: string | null | undefined;
119
+ iosId?: unknown;
120
+ native?: unknown;
121
+ universal?: unknown;
122
+ }>>, {
123
+ android?: string | null | undefined;
124
+ androidId?: string | undefined;
125
+ ios?: string | null | undefined;
126
+ iosId?: string | undefined;
127
+ native?: string | undefined;
128
+ universal?: string | undefined;
129
+ } | undefined, {
130
+ android?: string | null | undefined;
131
+ androidId?: unknown;
132
+ ios?: string | null | undefined;
133
+ iosId?: unknown;
134
+ native?: unknown;
135
+ universal?: unknown;
136
+ } | undefined>;
137
+ name: z.ZodString;
138
+ shortName: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
139
+ showOnlyIfInstalled: z.ZodOptional<z.ZodBoolean>;
140
+ switchNetworkOnlyFromWallet: z.ZodOptional<z.ZodBoolean>;
141
+ walletConnect: z.ZodEffects<z.ZodOptional<z.ZodObject<{
142
+ sdks: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[] | undefined, unknown>;
143
+ }, "strip", z.ZodTypeAny, {
144
+ sdks?: string[] | undefined;
145
+ }, {
146
+ sdks?: unknown;
147
+ }>>, {
148
+ sdks?: string[] | undefined;
149
+ } | undefined, {
150
+ sdks?: unknown;
151
+ } | undefined>;
152
+ }, "strip", z.ZodTypeAny, {
153
+ name: string;
154
+ brand?: {
155
+ alt?: string | undefined;
156
+ imageId?: string | undefined;
157
+ primaryColor?: string | undefined;
158
+ spriteId?: string | undefined;
159
+ } | undefined;
160
+ chains?: string[] | undefined;
161
+ desktop?: {
162
+ chromeId?: string | undefined;
163
+ edgeId?: string | undefined;
164
+ firefoxId?: string | undefined;
165
+ native?: string | undefined;
166
+ operaId?: string | undefined;
167
+ safariId?: string | undefined;
168
+ universal?: string | undefined;
169
+ } | undefined;
170
+ filterFromWalletConnect?: boolean | undefined;
171
+ group?: string | undefined;
172
+ injectedConfig?: {
173
+ chain: string;
174
+ extensionLocators: {
175
+ value: boolean;
176
+ flag: string;
177
+ }[];
178
+ windowLocations?: string[] | undefined;
179
+ }[] | undefined;
180
+ mobile?: {
181
+ android?: string | null | undefined;
182
+ androidId?: string | undefined;
183
+ ios?: string | null | undefined;
184
+ iosId?: string | undefined;
185
+ native?: string | undefined;
186
+ universal?: string | undefined;
187
+ } | undefined;
188
+ shortName?: string | undefined;
189
+ showOnlyIfInstalled?: boolean | undefined;
190
+ switchNetworkOnlyFromWallet?: boolean | undefined;
191
+ walletConnect?: {
192
+ sdks?: string[] | undefined;
193
+ } | undefined;
194
+ }, {
195
+ name: string;
196
+ brand?: {
197
+ alt?: unknown;
198
+ imageId?: unknown;
199
+ primaryColor?: unknown;
200
+ spriteId?: unknown;
201
+ } | undefined;
202
+ chains?: string[] | undefined;
203
+ desktop?: {
204
+ chromeId?: unknown;
205
+ edgeId?: unknown;
206
+ firefoxId?: unknown;
207
+ native?: unknown;
208
+ operaId?: unknown;
209
+ safariId?: unknown;
210
+ universal?: unknown;
211
+ } | undefined;
212
+ filterFromWalletConnect?: boolean | undefined;
213
+ group?: string | undefined;
214
+ injectedConfig?: {
215
+ chain: string;
216
+ extensionLocators: {
217
+ flag: string;
218
+ value?: boolean | undefined;
219
+ }[];
220
+ windowLocations?: string[] | undefined;
221
+ }[] | undefined;
222
+ mobile?: {
223
+ android?: string | null | undefined;
224
+ androidId?: unknown;
225
+ ios?: string | null | undefined;
226
+ iosId?: unknown;
227
+ native?: unknown;
228
+ universal?: unknown;
229
+ } | undefined;
230
+ shortName?: unknown;
231
+ showOnlyIfInstalled?: boolean | undefined;
232
+ switchNetworkOnlyFromWallet?: boolean | undefined;
233
+ walletConnect?: {
234
+ sdks?: unknown;
235
+ } | undefined;
236
+ }>, {
237
+ name: string;
238
+ brand?: {
239
+ alt?: string | undefined;
240
+ imageId?: string | undefined;
241
+ primaryColor?: string | undefined;
242
+ spriteId?: string | undefined;
243
+ } | undefined;
244
+ chains?: string[] | undefined;
245
+ desktop?: {
246
+ chromeId?: string | undefined;
247
+ edgeId?: string | undefined;
248
+ firefoxId?: string | undefined;
249
+ native?: string | undefined;
250
+ operaId?: string | undefined;
251
+ safariId?: string | undefined;
252
+ universal?: string | undefined;
253
+ } | undefined;
254
+ filterFromWalletConnect?: boolean | undefined;
255
+ group?: string | undefined;
256
+ injectedConfig?: {
257
+ chain: string;
258
+ extensionLocators: {
259
+ value: boolean;
260
+ flag: string;
261
+ }[];
262
+ windowLocations?: string[] | undefined;
263
+ }[] | undefined;
264
+ mobile?: {
265
+ android?: string | null | undefined;
266
+ androidId?: string | undefined;
267
+ ios?: string | null | undefined;
268
+ iosId?: string | undefined;
269
+ native?: string | undefined;
270
+ universal?: string | undefined;
271
+ } | undefined;
272
+ shortName?: string | undefined;
273
+ showOnlyIfInstalled?: boolean | undefined;
274
+ switchNetworkOnlyFromWallet?: boolean | undefined;
275
+ walletConnect?: {
276
+ sdks?: string[] | undefined;
277
+ } | undefined;
278
+ }, unknown>, {
279
+ name: string;
280
+ brand?: {
281
+ alt?: string | undefined;
282
+ imageId?: string | undefined;
283
+ primaryColor?: string | undefined;
284
+ spriteId?: string | undefined;
285
+ } | undefined;
286
+ chains?: string[] | undefined;
287
+ desktop?: {
288
+ chromeId?: string | undefined;
289
+ edgeId?: string | undefined;
290
+ firefoxId?: string | undefined;
291
+ native?: string | undefined;
292
+ operaId?: string | undefined;
293
+ safariId?: string | undefined;
294
+ universal?: string | undefined;
295
+ } | undefined;
296
+ filterFromWalletConnect?: boolean | undefined;
297
+ group?: string | undefined;
298
+ injectedConfig?: {
299
+ chain: string;
300
+ extensionLocators: {
301
+ value: boolean;
302
+ flag: string;
303
+ }[];
304
+ windowLocations?: string[] | undefined;
305
+ }[] | undefined;
306
+ mobile?: {
307
+ android?: string | null | undefined;
308
+ androidId?: string | undefined;
309
+ ios?: string | null | undefined;
310
+ iosId?: string | undefined;
311
+ native?: string | undefined;
312
+ universal?: string | undefined;
313
+ } | undefined;
314
+ shortName?: string | undefined;
315
+ showOnlyIfInstalled?: boolean | undefined;
316
+ switchNetworkOnlyFromWallet?: boolean | undefined;
317
+ walletConnect?: {
318
+ sdks?: string[] | undefined;
319
+ } | undefined;
320
+ }, unknown>>;
321
+ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
322
+ groups: z.ZodRecord<z.ZodString, z.ZodObject<{
323
+ brand: z.ZodEffects<z.ZodOptional<z.ZodObject<{
324
+ alt: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
325
+ imageId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
326
+ primaryColor: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
327
+ spriteId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
328
+ }, "strip", z.ZodTypeAny, {
329
+ alt?: string | undefined;
330
+ imageId?: string | undefined;
331
+ primaryColor?: string | undefined;
332
+ spriteId?: string | undefined;
333
+ }, {
334
+ alt?: unknown;
335
+ imageId?: unknown;
336
+ primaryColor?: unknown;
337
+ spriteId?: unknown;
338
+ }>>, {
339
+ alt?: string | undefined;
340
+ imageId?: string | undefined;
341
+ primaryColor?: string | undefined;
342
+ spriteId?: string | undefined;
343
+ } | undefined, {
344
+ alt?: unknown;
345
+ imageId?: unknown;
346
+ primaryColor?: unknown;
347
+ spriteId?: unknown;
348
+ } | undefined>;
349
+ key: z.ZodString;
350
+ name: z.ZodString;
351
+ }, "strip", z.ZodTypeAny, {
352
+ name: string;
353
+ key: string;
354
+ brand?: {
355
+ alt?: string | undefined;
356
+ imageId?: string | undefined;
357
+ primaryColor?: string | undefined;
358
+ spriteId?: string | undefined;
359
+ } | undefined;
360
+ }, {
361
+ name: string;
362
+ key: string;
363
+ brand?: {
364
+ alt?: unknown;
365
+ imageId?: unknown;
366
+ primaryColor?: unknown;
367
+ spriteId?: unknown;
368
+ } | undefined;
369
+ }>>;
370
+ wallets: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodEffects<z.ZodObject<{
371
+ brand: z.ZodEffects<z.ZodOptional<z.ZodObject<{
372
+ alt: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
373
+ imageId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
374
+ primaryColor: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
375
+ spriteId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
376
+ }, "strip", z.ZodTypeAny, {
377
+ alt?: string | undefined;
378
+ imageId?: string | undefined;
379
+ primaryColor?: string | undefined;
380
+ spriteId?: string | undefined;
381
+ }, {
382
+ alt?: unknown;
383
+ imageId?: unknown;
384
+ primaryColor?: unknown;
385
+ spriteId?: unknown;
386
+ }>>, {
387
+ alt?: string | undefined;
388
+ imageId?: string | undefined;
389
+ primaryColor?: string | undefined;
390
+ spriteId?: string | undefined;
391
+ } | undefined, {
392
+ alt?: unknown;
393
+ imageId?: unknown;
394
+ primaryColor?: unknown;
395
+ spriteId?: unknown;
396
+ } | undefined>;
397
+ chains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
398
+ desktop: z.ZodEffects<z.ZodOptional<z.ZodObject<{
399
+ chromeId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
400
+ edgeId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
401
+ firefoxId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
402
+ native: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
403
+ operaId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
404
+ safariId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
405
+ universal: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
406
+ }, "strip", z.ZodTypeAny, {
407
+ chromeId?: string | undefined;
408
+ edgeId?: string | undefined;
409
+ firefoxId?: string | undefined;
410
+ native?: string | undefined;
411
+ operaId?: string | undefined;
412
+ safariId?: string | undefined;
413
+ universal?: string | undefined;
414
+ }, {
415
+ chromeId?: unknown;
416
+ edgeId?: unknown;
417
+ firefoxId?: unknown;
418
+ native?: unknown;
419
+ operaId?: unknown;
420
+ safariId?: unknown;
421
+ universal?: unknown;
422
+ }>>, {
423
+ chromeId?: string | undefined;
424
+ edgeId?: string | undefined;
425
+ firefoxId?: string | undefined;
426
+ native?: string | undefined;
427
+ operaId?: string | undefined;
428
+ safariId?: string | undefined;
429
+ universal?: string | undefined;
430
+ } | undefined, {
431
+ chromeId?: unknown;
432
+ edgeId?: unknown;
433
+ firefoxId?: unknown;
434
+ native?: unknown;
435
+ operaId?: unknown;
436
+ safariId?: unknown;
437
+ universal?: unknown;
438
+ } | undefined>;
439
+ filterFromWalletConnect: z.ZodOptional<z.ZodBoolean>;
440
+ group: z.ZodOptional<z.ZodString>;
441
+ injectedConfig: z.ZodOptional<z.ZodArray<z.ZodObject<{
442
+ chain: z.ZodString;
443
+ extensionLocators: z.ZodArray<z.ZodObject<{
444
+ flag: z.ZodString;
445
+ value: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
446
+ }, "strip", z.ZodTypeAny, {
447
+ value: boolean;
448
+ flag: string;
449
+ }, {
450
+ flag: string;
451
+ value?: boolean | undefined;
452
+ }>, "many">;
453
+ windowLocations: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[] | undefined, string[] | undefined>;
454
+ }, "strip", z.ZodTypeAny, {
455
+ chain: string;
456
+ extensionLocators: {
457
+ value: boolean;
458
+ flag: string;
459
+ }[];
460
+ windowLocations?: string[] | undefined;
461
+ }, {
462
+ chain: string;
463
+ extensionLocators: {
464
+ flag: string;
465
+ value?: boolean | undefined;
466
+ }[];
467
+ windowLocations?: string[] | undefined;
468
+ }>, "many">>;
469
+ mobile: z.ZodEffects<z.ZodOptional<z.ZodObject<{
470
+ android: z.ZodOptional<z.ZodNullable<z.ZodString>>;
471
+ androidId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
472
+ ios: z.ZodOptional<z.ZodNullable<z.ZodString>>;
473
+ iosId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
474
+ native: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
475
+ universal: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
476
+ }, "strip", z.ZodTypeAny, {
477
+ android?: string | null | undefined;
478
+ androidId?: string | undefined;
479
+ ios?: string | null | undefined;
480
+ iosId?: string | undefined;
481
+ native?: string | undefined;
482
+ universal?: string | undefined;
483
+ }, {
484
+ android?: string | null | undefined;
485
+ androidId?: unknown;
486
+ ios?: string | null | undefined;
487
+ iosId?: unknown;
488
+ native?: unknown;
489
+ universal?: unknown;
490
+ }>>, {
491
+ android?: string | null | undefined;
492
+ androidId?: string | undefined;
493
+ ios?: string | null | undefined;
494
+ iosId?: string | undefined;
495
+ native?: string | undefined;
496
+ universal?: string | undefined;
497
+ } | undefined, {
498
+ android?: string | null | undefined;
499
+ androidId?: unknown;
500
+ ios?: string | null | undefined;
501
+ iosId?: unknown;
502
+ native?: unknown;
503
+ universal?: unknown;
504
+ } | undefined>;
505
+ name: z.ZodString;
506
+ shortName: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
507
+ showOnlyIfInstalled: z.ZodOptional<z.ZodBoolean>;
508
+ switchNetworkOnlyFromWallet: z.ZodOptional<z.ZodBoolean>;
509
+ walletConnect: z.ZodEffects<z.ZodOptional<z.ZodObject<{
510
+ sdks: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[] | undefined, unknown>;
511
+ }, "strip", z.ZodTypeAny, {
512
+ sdks?: string[] | undefined;
513
+ }, {
514
+ sdks?: unknown;
515
+ }>>, {
516
+ sdks?: string[] | undefined;
517
+ } | undefined, {
518
+ sdks?: unknown;
519
+ } | undefined>;
520
+ }, "strip", z.ZodTypeAny, {
521
+ name: string;
522
+ brand?: {
523
+ alt?: string | undefined;
524
+ imageId?: string | undefined;
525
+ primaryColor?: string | undefined;
526
+ spriteId?: string | undefined;
527
+ } | undefined;
528
+ chains?: string[] | undefined;
529
+ desktop?: {
530
+ chromeId?: string | undefined;
531
+ edgeId?: string | undefined;
532
+ firefoxId?: string | undefined;
533
+ native?: string | undefined;
534
+ operaId?: string | undefined;
535
+ safariId?: string | undefined;
536
+ universal?: string | undefined;
537
+ } | undefined;
538
+ filterFromWalletConnect?: boolean | undefined;
539
+ group?: string | undefined;
540
+ injectedConfig?: {
541
+ chain: string;
542
+ extensionLocators: {
543
+ value: boolean;
544
+ flag: string;
545
+ }[];
546
+ windowLocations?: string[] | undefined;
547
+ }[] | undefined;
548
+ mobile?: {
549
+ android?: string | null | undefined;
550
+ androidId?: string | undefined;
551
+ ios?: string | null | undefined;
552
+ iosId?: string | undefined;
553
+ native?: string | undefined;
554
+ universal?: string | undefined;
555
+ } | undefined;
556
+ shortName?: string | undefined;
557
+ showOnlyIfInstalled?: boolean | undefined;
558
+ switchNetworkOnlyFromWallet?: boolean | undefined;
559
+ walletConnect?: {
560
+ sdks?: string[] | undefined;
561
+ } | undefined;
562
+ }, {
563
+ name: string;
564
+ brand?: {
565
+ alt?: unknown;
566
+ imageId?: unknown;
567
+ primaryColor?: unknown;
568
+ spriteId?: unknown;
569
+ } | undefined;
570
+ chains?: string[] | undefined;
571
+ desktop?: {
572
+ chromeId?: unknown;
573
+ edgeId?: unknown;
574
+ firefoxId?: unknown;
575
+ native?: unknown;
576
+ operaId?: unknown;
577
+ safariId?: unknown;
578
+ universal?: unknown;
579
+ } | undefined;
580
+ filterFromWalletConnect?: boolean | undefined;
581
+ group?: string | undefined;
582
+ injectedConfig?: {
583
+ chain: string;
584
+ extensionLocators: {
585
+ flag: string;
586
+ value?: boolean | undefined;
587
+ }[];
588
+ windowLocations?: string[] | undefined;
589
+ }[] | undefined;
590
+ mobile?: {
591
+ android?: string | null | undefined;
592
+ androidId?: unknown;
593
+ ios?: string | null | undefined;
594
+ iosId?: unknown;
595
+ native?: unknown;
596
+ universal?: unknown;
597
+ } | undefined;
598
+ shortName?: unknown;
599
+ showOnlyIfInstalled?: boolean | undefined;
600
+ switchNetworkOnlyFromWallet?: boolean | undefined;
601
+ walletConnect?: {
602
+ sdks?: unknown;
603
+ } | undefined;
604
+ }>, {
605
+ name: string;
606
+ brand?: {
607
+ alt?: string | undefined;
608
+ imageId?: string | undefined;
609
+ primaryColor?: string | undefined;
610
+ spriteId?: string | undefined;
611
+ } | undefined;
612
+ chains?: string[] | undefined;
613
+ desktop?: {
614
+ chromeId?: string | undefined;
615
+ edgeId?: string | undefined;
616
+ firefoxId?: string | undefined;
617
+ native?: string | undefined;
618
+ operaId?: string | undefined;
619
+ safariId?: string | undefined;
620
+ universal?: string | undefined;
621
+ } | undefined;
622
+ filterFromWalletConnect?: boolean | undefined;
623
+ group?: string | undefined;
624
+ injectedConfig?: {
625
+ chain: string;
626
+ extensionLocators: {
627
+ value: boolean;
628
+ flag: string;
629
+ }[];
630
+ windowLocations?: string[] | undefined;
631
+ }[] | undefined;
632
+ mobile?: {
633
+ android?: string | null | undefined;
634
+ androidId?: string | undefined;
635
+ ios?: string | null | undefined;
636
+ iosId?: string | undefined;
637
+ native?: string | undefined;
638
+ universal?: string | undefined;
639
+ } | undefined;
640
+ shortName?: string | undefined;
641
+ showOnlyIfInstalled?: boolean | undefined;
642
+ switchNetworkOnlyFromWallet?: boolean | undefined;
643
+ walletConnect?: {
644
+ sdks?: string[] | undefined;
645
+ } | undefined;
646
+ }, unknown>, {
647
+ name: string;
648
+ brand?: {
649
+ alt?: string | undefined;
650
+ imageId?: string | undefined;
651
+ primaryColor?: string | undefined;
652
+ spriteId?: string | undefined;
653
+ } | undefined;
654
+ chains?: string[] | undefined;
655
+ desktop?: {
656
+ chromeId?: string | undefined;
657
+ edgeId?: string | undefined;
658
+ firefoxId?: string | undefined;
659
+ native?: string | undefined;
660
+ operaId?: string | undefined;
661
+ safariId?: string | undefined;
662
+ universal?: string | undefined;
663
+ } | undefined;
664
+ filterFromWalletConnect?: boolean | undefined;
665
+ group?: string | undefined;
666
+ injectedConfig?: {
667
+ chain: string;
668
+ extensionLocators: {
669
+ value: boolean;
670
+ flag: string;
671
+ }[];
672
+ windowLocations?: string[] | undefined;
673
+ }[] | undefined;
674
+ mobile?: {
675
+ android?: string | null | undefined;
676
+ androidId?: string | undefined;
677
+ ios?: string | null | undefined;
678
+ iosId?: string | undefined;
679
+ native?: string | undefined;
680
+ universal?: string | undefined;
681
+ } | undefined;
682
+ shortName?: string | undefined;
683
+ showOnlyIfInstalled?: boolean | undefined;
684
+ switchNetworkOnlyFromWallet?: boolean | undefined;
685
+ walletConnect?: {
686
+ sdks?: string[] | undefined;
687
+ } | undefined;
688
+ }, unknown>>;
689
+ }, "strip", z.ZodTypeAny, {
690
+ groups: Record<string, {
691
+ name: string;
692
+ key: string;
693
+ brand?: {
694
+ alt?: string | undefined;
695
+ imageId?: string | undefined;
696
+ primaryColor?: string | undefined;
697
+ spriteId?: string | undefined;
698
+ } | undefined;
699
+ }>;
700
+ wallets: Record<string, {
701
+ name: string;
702
+ brand?: {
703
+ alt?: string | undefined;
704
+ imageId?: string | undefined;
705
+ primaryColor?: string | undefined;
706
+ spriteId?: string | undefined;
707
+ } | undefined;
708
+ chains?: string[] | undefined;
709
+ desktop?: {
710
+ chromeId?: string | undefined;
711
+ edgeId?: string | undefined;
712
+ firefoxId?: string | undefined;
713
+ native?: string | undefined;
714
+ operaId?: string | undefined;
715
+ safariId?: string | undefined;
716
+ universal?: string | undefined;
717
+ } | undefined;
718
+ filterFromWalletConnect?: boolean | undefined;
719
+ group?: string | undefined;
720
+ injectedConfig?: {
721
+ chain: string;
722
+ extensionLocators: {
723
+ value: boolean;
724
+ flag: string;
725
+ }[];
726
+ windowLocations?: string[] | undefined;
727
+ }[] | undefined;
728
+ mobile?: {
729
+ android?: string | null | undefined;
730
+ androidId?: string | undefined;
731
+ ios?: string | null | undefined;
732
+ iosId?: string | undefined;
733
+ native?: string | undefined;
734
+ universal?: string | undefined;
735
+ } | undefined;
736
+ shortName?: string | undefined;
737
+ showOnlyIfInstalled?: boolean | undefined;
738
+ switchNetworkOnlyFromWallet?: boolean | undefined;
739
+ walletConnect?: {
740
+ sdks?: string[] | undefined;
741
+ } | undefined;
742
+ }>;
743
+ }, {
744
+ groups: Record<string, {
745
+ name: string;
746
+ key: string;
747
+ brand?: {
748
+ alt?: unknown;
749
+ imageId?: unknown;
750
+ primaryColor?: unknown;
751
+ spriteId?: unknown;
752
+ } | undefined;
753
+ }>;
754
+ wallets: Record<string, unknown>;
755
+ }>, {
756
+ groups: Record<string, {
757
+ name: string;
758
+ key: string;
759
+ brand?: {
760
+ alt?: string | undefined;
761
+ imageId?: string | undefined;
762
+ primaryColor?: string | undefined;
763
+ spriteId?: string | undefined;
764
+ } | undefined;
765
+ }>;
766
+ wallets: Record<string, {
767
+ name: string;
768
+ brand?: {
769
+ alt?: string | undefined;
770
+ imageId?: string | undefined;
771
+ primaryColor?: string | undefined;
772
+ spriteId?: string | undefined;
773
+ } | undefined;
774
+ chains?: string[] | undefined;
775
+ desktop?: {
776
+ chromeId?: string | undefined;
777
+ edgeId?: string | undefined;
778
+ firefoxId?: string | undefined;
779
+ native?: string | undefined;
780
+ operaId?: string | undefined;
781
+ safariId?: string | undefined;
782
+ universal?: string | undefined;
783
+ } | undefined;
784
+ filterFromWalletConnect?: boolean | undefined;
785
+ group?: string | undefined;
786
+ injectedConfig?: {
787
+ chain: string;
788
+ extensionLocators: {
789
+ value: boolean;
790
+ flag: string;
791
+ }[];
792
+ windowLocations?: string[] | undefined;
793
+ }[] | undefined;
794
+ mobile?: {
795
+ android?: string | null | undefined;
796
+ androidId?: string | undefined;
797
+ ios?: string | null | undefined;
798
+ iosId?: string | undefined;
799
+ native?: string | undefined;
800
+ universal?: string | undefined;
801
+ } | undefined;
802
+ shortName?: string | undefined;
803
+ showOnlyIfInstalled?: boolean | undefined;
804
+ switchNetworkOnlyFromWallet?: boolean | undefined;
805
+ walletConnect?: {
806
+ sdks?: string[] | undefined;
807
+ } | undefined;
808
+ }>;
809
+ }, unknown>;
810
+ export type WalletBookSchema = z.infer<typeof walletBookSchema>;
811
+ export type WalletRecordsSchema = z.infer<typeof walletBookSchema>['wallets'];
812
+ declare const WalletGroupRecordSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
813
+ brand: z.ZodEffects<z.ZodOptional<z.ZodObject<{
814
+ alt: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
815
+ imageId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
816
+ primaryColor: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
817
+ spriteId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
818
+ }, "strip", z.ZodTypeAny, {
819
+ alt?: string | undefined;
820
+ imageId?: string | undefined;
821
+ primaryColor?: string | undefined;
822
+ spriteId?: string | undefined;
823
+ }, {
824
+ alt?: unknown;
825
+ imageId?: unknown;
826
+ primaryColor?: unknown;
827
+ spriteId?: unknown;
828
+ }>>, {
829
+ alt?: string | undefined;
830
+ imageId?: string | undefined;
831
+ primaryColor?: string | undefined;
832
+ spriteId?: string | undefined;
833
+ } | undefined, {
834
+ alt?: unknown;
835
+ imageId?: unknown;
836
+ primaryColor?: unknown;
837
+ spriteId?: unknown;
838
+ } | undefined>;
839
+ key: z.ZodString;
840
+ name: z.ZodString;
841
+ }, "strip", z.ZodTypeAny, {
842
+ name: string;
843
+ key: string;
844
+ brand?: {
845
+ alt?: string | undefined;
846
+ imageId?: string | undefined;
847
+ primaryColor?: string | undefined;
848
+ spriteId?: string | undefined;
849
+ } | undefined;
850
+ }, {
851
+ name: string;
852
+ key: string;
853
+ brand?: {
854
+ alt?: unknown;
855
+ imageId?: unknown;
856
+ primaryColor?: unknown;
857
+ spriteId?: unknown;
858
+ } | undefined;
859
+ }>>;
860
+ export type WalletGroupRecordSchema = z.infer<typeof WalletGroupRecordSchema>;
861
+ export type WalletBookGroupSchema = z.infer<typeof walletBookSchema>['groups'];
862
+ export {};