@metamask-previews/social-controllers 3.22.0-preview-e1d02b2 → 3.22.0-preview-20f24a578

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/structs.d.ts DELETED
@@ -1,2112 +0,0 @@
1
- import type { FeedResponse } from './social-types.js';
2
- export { AuthorCommentStruct, CommentEngagementStruct, CommentReactionProfileStruct, ProfileIdentityStruct, } from './social-types.js';
3
- export declare const SocialHandlesStruct: import("@metamask/superstruct").Struct<{
4
- twitter?: string | null | undefined;
5
- farcaster?: string | null | undefined;
6
- ens?: string | null | undefined;
7
- lens?: string | null | undefined;
8
- }, {
9
- twitter: import("@metamask/superstruct").Struct<string | null | undefined, null>;
10
- farcaster: import("@metamask/superstruct").Struct<string | null | undefined, null>;
11
- ens: import("@metamask/superstruct").Struct<string | null | undefined, null>;
12
- lens: import("@metamask/superstruct").Struct<string | null | undefined, null>;
13
- }>;
14
- export declare const ProfileSummaryStruct: import("@metamask/superstruct").Struct<{
15
- displayName?: string | null | undefined;
16
- bio?: string | null | undefined;
17
- createdAt?: string | null | undefined;
18
- updatedAt?: string | null | undefined;
19
- connectedToX?: boolean | null | undefined;
20
- tradingPrivacy?: "private" | "public" | null | undefined;
21
- profileId: string;
22
- address: string;
23
- name: string;
24
- imageUrl?: string | null | undefined;
25
- }, {
26
- displayName: import("@metamask/superstruct").Struct<string | null | undefined, null>;
27
- bio: import("@metamask/superstruct").Struct<string | null | undefined, null>;
28
- createdAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
29
- updatedAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
30
- connectedToX: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
31
- tradingPrivacy: import("@metamask/superstruct").Struct<"private" | "public" | null | undefined, {
32
- private: "private";
33
- public: "public";
34
- }>;
35
- profileId: import("@metamask/superstruct").Struct<string, null>;
36
- address: import("@metamask/superstruct").Struct<string, null>;
37
- name: import("@metamask/superstruct").Struct<string, null>;
38
- imageUrl: import("@metamask/superstruct").Struct<string | null | undefined, null>;
39
- }>;
40
- export declare const PositionStruct: import("@metamask/superstruct").Struct<{
41
- positionId: string;
42
- tokenSymbol: string;
43
- tokenName: string;
44
- tokenAddress: string;
45
- chain: string;
46
- positionAmount: number;
47
- isOpen?: boolean | undefined;
48
- boughtUsd: number | null;
49
- soldUsd: number | null;
50
- realizedPnl: number | null;
51
- costBasis: number | null;
52
- trades: {
53
- direction: "buy" | "sell";
54
- intent: "enter" | "exit";
55
- action?: "added" | "closed" | "opened" | "reduced" | undefined;
56
- category?: string | undefined;
57
- classification?: "perp" | "receive" | "send" | "spot" | null | undefined;
58
- perpPositionType?: "long" | "short" | null | undefined;
59
- perpLeverage?: number | null | undefined;
60
- tokenAmount: number;
61
- usdCost: number;
62
- marketCap?: number | null | undefined;
63
- timestamp: number;
64
- transactionHash: string;
65
- comments?: {
66
- uid: string;
67
- text: string;
68
- timestamp: number;
69
- sourceLanguage?: string | null | undefined;
70
- translations?: Record<string, string> | undefined;
71
- engagement: {
72
- reactions: {
73
- emotion: string;
74
- count: number;
75
- profiles: {
76
- id: string;
77
- name: string;
78
- }[];
79
- }[];
80
- userReaction: string | null;
81
- replyCount?: number | undefined;
82
- };
83
- }[] | undefined;
84
- }[];
85
- lastTradeAt: number;
86
- tokenImageUrl?: string | null | undefined;
87
- currentValueUSD?: number | null | undefined;
88
- pnlValueUsd?: number | null | undefined;
89
- positionValueUSD?: number | null | undefined;
90
- pnlPercent?: number | null | undefined;
91
- copyCount?: number | undefined;
92
- perpPositionType?: "long" | "short" | null | undefined;
93
- perpLeverage?: number | null | undefined;
94
- positionAmountWithLeverage?: number | null | undefined;
95
- flags?: string[] | null | undefined;
96
- profileId?: string | undefined;
97
- }, {
98
- positionId: import("@metamask/superstruct").Struct<string, null>;
99
- tokenSymbol: import("@metamask/superstruct").Struct<string, null>;
100
- tokenName: import("@metamask/superstruct").Struct<string, null>;
101
- tokenAddress: import("@metamask/superstruct").Struct<string, null>;
102
- chain: import("@metamask/superstruct").Struct<string, null>;
103
- positionAmount: import("@metamask/superstruct").Struct<number, null>;
104
- isOpen: import("@metamask/superstruct").Struct<boolean | undefined, null>;
105
- boughtUsd: import("@metamask/superstruct").Struct<number | null, null>;
106
- soldUsd: import("@metamask/superstruct").Struct<number | null, null>;
107
- realizedPnl: import("@metamask/superstruct").Struct<number | null, null>;
108
- costBasis: import("@metamask/superstruct").Struct<number | null, null>;
109
- trades: import("@metamask/superstruct").Struct<{
110
- direction: "buy" | "sell";
111
- intent: "enter" | "exit";
112
- action?: "added" | "closed" | "opened" | "reduced" | undefined;
113
- category?: string | undefined;
114
- classification?: "perp" | "receive" | "send" | "spot" | null | undefined;
115
- perpPositionType?: "long" | "short" | null | undefined;
116
- perpLeverage?: number | null | undefined;
117
- tokenAmount: number;
118
- usdCost: number;
119
- marketCap?: number | null | undefined;
120
- timestamp: number;
121
- transactionHash: string;
122
- comments?: {
123
- uid: string;
124
- text: string;
125
- timestamp: number;
126
- sourceLanguage?: string | null | undefined;
127
- translations?: Record<string, string> | undefined;
128
- engagement: {
129
- reactions: {
130
- emotion: string;
131
- count: number;
132
- profiles: {
133
- id: string;
134
- name: string;
135
- }[];
136
- }[];
137
- userReaction: string | null;
138
- replyCount?: number | undefined;
139
- };
140
- }[] | undefined;
141
- }[], import("@metamask/superstruct").Struct<{
142
- direction: "buy" | "sell";
143
- intent: "enter" | "exit";
144
- action?: "added" | "closed" | "opened" | "reduced" | undefined;
145
- category?: string | undefined;
146
- classification?: "perp" | "receive" | "send" | "spot" | null | undefined;
147
- perpPositionType?: "long" | "short" | null | undefined;
148
- perpLeverage?: number | null | undefined;
149
- tokenAmount: number;
150
- usdCost: number;
151
- marketCap?: number | null | undefined;
152
- timestamp: number;
153
- transactionHash: string;
154
- comments?: {
155
- uid: string;
156
- text: string;
157
- timestamp: number;
158
- sourceLanguage?: string | null | undefined;
159
- translations?: Record<string, string> | undefined;
160
- engagement: {
161
- reactions: {
162
- emotion: string;
163
- count: number;
164
- profiles: {
165
- id: string;
166
- name: string;
167
- }[];
168
- }[];
169
- userReaction: string | null;
170
- replyCount?: number | undefined;
171
- };
172
- }[] | undefined;
173
- }, {
174
- direction: import("@metamask/superstruct").Struct<"buy" | "sell", {
175
- buy: "buy";
176
- sell: "sell";
177
- }>;
178
- intent: import("@metamask/superstruct").Struct<"enter" | "exit", {
179
- enter: "enter";
180
- exit: "exit";
181
- }>;
182
- action: import("@metamask/superstruct").Struct<"added" | "closed" | "opened" | "reduced" | undefined, {
183
- added: "added";
184
- closed: "closed";
185
- opened: "opened";
186
- reduced: "reduced";
187
- }>;
188
- category: import("@metamask/superstruct").Struct<string | undefined, null>;
189
- classification: import("@metamask/superstruct").Struct<"perp" | "receive" | "send" | "spot" | null | undefined, {
190
- perp: "perp";
191
- receive: "receive";
192
- send: "send";
193
- spot: "spot";
194
- }>;
195
- perpPositionType: import("@metamask/superstruct").Struct<"long" | "short" | null | undefined, {
196
- long: "long";
197
- short: "short";
198
- }>;
199
- perpLeverage: import("@metamask/superstruct").Struct<number | null | undefined, null>;
200
- tokenAmount: import("@metamask/superstruct").Struct<number, null>;
201
- usdCost: import("@metamask/superstruct").Struct<number, null>;
202
- marketCap: import("@metamask/superstruct").Struct<number | null | undefined, null>;
203
- timestamp: import("@metamask/superstruct").Struct<number, null>;
204
- transactionHash: import("@metamask/superstruct").Struct<string, null>;
205
- comments: import("@metamask/superstruct").Struct<{
206
- uid: string;
207
- text: string;
208
- timestamp: number;
209
- sourceLanguage?: string | null | undefined;
210
- translations?: Record<string, string> | undefined;
211
- engagement: {
212
- reactions: {
213
- emotion: string;
214
- count: number;
215
- profiles: {
216
- id: string;
217
- name: string;
218
- }[];
219
- }[];
220
- userReaction: string | null;
221
- replyCount?: number | undefined;
222
- };
223
- }[] | undefined, import("@metamask/superstruct").Struct<{
224
- uid: string;
225
- text: string;
226
- timestamp: number;
227
- sourceLanguage?: string | null | undefined;
228
- translations?: Record<string, string> | undefined;
229
- engagement: {
230
- reactions: {
231
- emotion: string;
232
- count: number;
233
- profiles: {
234
- id: string;
235
- name: string;
236
- }[];
237
- }[];
238
- userReaction: string | null;
239
- replyCount?: number | undefined;
240
- };
241
- }, {
242
- uid: import("@metamask/superstruct").Struct<string, null>;
243
- text: import("@metamask/superstruct").Struct<string, null>;
244
- timestamp: import("@metamask/superstruct").Struct<number, null>;
245
- sourceLanguage: import("@metamask/superstruct").Struct<string | null | undefined, null>;
246
- translations: import("@metamask/superstruct").Struct<Record<string, string> | undefined, null>;
247
- engagement: import("@metamask/superstruct").Struct<{
248
- reactions: {
249
- emotion: string;
250
- count: number;
251
- profiles: {
252
- id: string;
253
- name: string;
254
- }[];
255
- }[];
256
- userReaction: string | null;
257
- replyCount?: number | undefined;
258
- }, {
259
- reactions: import("@metamask/superstruct").Struct<{
260
- emotion: string;
261
- count: number;
262
- profiles: {
263
- id: string;
264
- name: string;
265
- }[];
266
- }[], import("@metamask/superstruct").Struct<{
267
- emotion: string;
268
- count: number;
269
- profiles: {
270
- id: string;
271
- name: string;
272
- }[];
273
- }, {
274
- emotion: import("@metamask/superstruct").Struct<string, null>;
275
- count: import("@metamask/superstruct").Struct<number, null>;
276
- profiles: import("@metamask/superstruct").Struct<{
277
- id: string;
278
- name: string;
279
- }[], import("@metamask/superstruct").Struct<{
280
- id: string;
281
- name: string;
282
- }, {
283
- id: import("@metamask/superstruct").Struct<string, null>;
284
- name: import("@metamask/superstruct").Struct<string, null>;
285
- }>>;
286
- }>>;
287
- userReaction: import("@metamask/superstruct").Struct<string | null, null>;
288
- replyCount: import("@metamask/superstruct").Struct<number | undefined, null>;
289
- }>;
290
- }>>;
291
- }>>;
292
- lastTradeAt: import("@metamask/superstruct").Struct<number, null>;
293
- tokenImageUrl: import("@metamask/superstruct").Struct<string | null | undefined, null>;
294
- currentValueUSD: import("@metamask/superstruct").Struct<number | null | undefined, null>;
295
- pnlValueUsd: import("@metamask/superstruct").Struct<number | null | undefined, null>;
296
- positionValueUSD: import("@metamask/superstruct").Struct<number | null | undefined, null>;
297
- pnlPercent: import("@metamask/superstruct").Struct<number | null | undefined, null>;
298
- copyCount: import("@metamask/superstruct").Struct<number | undefined, null>;
299
- perpPositionType: import("@metamask/superstruct").Struct<"long" | "short" | null | undefined, {
300
- long: "long";
301
- short: "short";
302
- }>;
303
- perpLeverage: import("@metamask/superstruct").Struct<number | null | undefined, null>;
304
- positionAmountWithLeverage: import("@metamask/superstruct").Struct<number | null | undefined, null>;
305
- flags: import("@metamask/superstruct").Struct<string[] | null | undefined, import("@metamask/superstruct").Struct<string, null>>;
306
- profileId: import("@metamask/superstruct").Struct<string | undefined, null>;
307
- }>;
308
- export declare const CommentTranslationStruct: import("@metamask/superstruct").Struct<{
309
- sourceLanguage: string | null;
310
- translations: Record<string, string>;
311
- }, {
312
- sourceLanguage: import("@metamask/superstruct").Struct<string | null, null>;
313
- translations: import("@metamask/superstruct").Struct<Record<string, string>, null>;
314
- }>;
315
- export declare const SwapCommentResponseStruct: import("@metamask/superstruct").Struct<{
316
- uid: string;
317
- transactionHash: string;
318
- chain: string;
319
- tokenAddress: string;
320
- commentText: string;
321
- author: {
322
- id: string;
323
- name: string;
324
- images?: {
325
- raw: string | null;
326
- xs: string | null;
327
- sm: string | null;
328
- } | undefined;
329
- addresses?: string[] | undefined;
330
- externalId?: string | undefined;
331
- };
332
- timestamp: number;
333
- isAppUserComment: boolean;
334
- metrics: {
335
- reactions: {
336
- emotion: string;
337
- count: number;
338
- profiles: {
339
- id: string;
340
- name: string;
341
- }[];
342
- }[];
343
- userReaction: string | null;
344
- replyCount?: number | undefined;
345
- };
346
- }, {
347
- uid: import("@metamask/superstruct").Struct<string, null>;
348
- transactionHash: import("@metamask/superstruct").Struct<string, null>;
349
- chain: import("@metamask/superstruct").Struct<string, null>;
350
- tokenAddress: import("@metamask/superstruct").Struct<string, null>;
351
- commentText: import("@metamask/superstruct").Struct<string, null>;
352
- author: import("@metamask/superstruct").Struct<{
353
- id: string;
354
- name: string;
355
- images?: {
356
- raw: string | null;
357
- xs: string | null;
358
- sm: string | null;
359
- } | undefined;
360
- addresses?: string[] | undefined;
361
- externalId?: string | undefined;
362
- }, {
363
- id: import("@metamask/superstruct").Struct<string, null>;
364
- name: import("@metamask/superstruct").Struct<string, null>;
365
- images: import("@metamask/superstruct").Struct<{
366
- raw: string | null;
367
- xs: string | null;
368
- sm: string | null;
369
- } | undefined, {
370
- raw: import("@metamask/superstruct").Struct<string | null, null>;
371
- xs: import("@metamask/superstruct").Struct<string | null, null>;
372
- sm: import("@metamask/superstruct").Struct<string | null, null>;
373
- }>;
374
- addresses: import("@metamask/superstruct").Struct<string[] | undefined, import("@metamask/superstruct").Struct<string, null>>;
375
- externalId: import("@metamask/superstruct").Struct<string | undefined, null>;
376
- }>;
377
- timestamp: import("@metamask/superstruct").Struct<number, null>;
378
- isAppUserComment: import("@metamask/superstruct").Struct<boolean, null>;
379
- metrics: import("@metamask/superstruct").Struct<{
380
- reactions: {
381
- emotion: string;
382
- count: number;
383
- profiles: {
384
- id: string;
385
- name: string;
386
- }[];
387
- }[];
388
- userReaction: string | null;
389
- replyCount?: number | undefined;
390
- }, {
391
- reactions: import("@metamask/superstruct").Struct<{
392
- emotion: string;
393
- count: number;
394
- profiles: {
395
- id: string;
396
- name: string;
397
- }[];
398
- }[], import("@metamask/superstruct").Struct<{
399
- emotion: string;
400
- count: number;
401
- profiles: {
402
- id: string;
403
- name: string;
404
- }[];
405
- }, {
406
- emotion: import("@metamask/superstruct").Struct<string, null>;
407
- count: import("@metamask/superstruct").Struct<number, null>;
408
- profiles: import("@metamask/superstruct").Struct<{
409
- id: string;
410
- name: string;
411
- }[], import("@metamask/superstruct").Struct<{
412
- id: string;
413
- name: string;
414
- }, {
415
- id: import("@metamask/superstruct").Struct<string, null>;
416
- name: import("@metamask/superstruct").Struct<string, null>;
417
- }>>;
418
- }>>;
419
- userReaction: import("@metamask/superstruct").Struct<string | null, null>;
420
- replyCount: import("@metamask/superstruct").Struct<number | undefined, null>;
421
- }>;
422
- }>;
423
- export declare const FeedItemStruct: import("@metamask/superstruct").Struct<{
424
- positionId: string;
425
- tokenSymbol: string;
426
- tokenName: string;
427
- tokenAddress: string;
428
- chain: string;
429
- positionAmount: number;
430
- isOpen?: boolean | undefined;
431
- boughtUsd: number | null;
432
- soldUsd: number | null;
433
- realizedPnl: number | null;
434
- costBasis: number | null;
435
- trades: {
436
- direction: "buy" | "sell";
437
- intent: "enter" | "exit";
438
- action?: "added" | "closed" | "opened" | "reduced" | undefined;
439
- category?: string | undefined;
440
- classification?: "perp" | "receive" | "send" | "spot" | null | undefined;
441
- perpPositionType?: "long" | "short" | null | undefined;
442
- perpLeverage?: number | null | undefined;
443
- tokenAmount: number;
444
- usdCost: number;
445
- marketCap?: number | null | undefined;
446
- timestamp: number;
447
- transactionHash: string;
448
- comments?: {
449
- uid: string;
450
- text: string;
451
- timestamp: number;
452
- sourceLanguage?: string | null | undefined;
453
- translations?: Record<string, string> | undefined;
454
- engagement: {
455
- reactions: {
456
- emotion: string;
457
- count: number;
458
- profiles: {
459
- id: string;
460
- name: string;
461
- }[];
462
- }[];
463
- userReaction: string | null;
464
- replyCount?: number | undefined;
465
- };
466
- }[] | undefined;
467
- }[];
468
- lastTradeAt: number;
469
- tokenImageUrl?: string | null | undefined;
470
- currentValueUSD?: number | null | undefined;
471
- pnlValueUsd?: number | null | undefined;
472
- positionValueUSD?: number | null | undefined;
473
- pnlPercent?: number | null | undefined;
474
- perpPositionType?: "long" | "short" | null | undefined;
475
- perpLeverage?: number | null | undefined;
476
- positionAmountWithLeverage?: number | null | undefined;
477
- flags?: string[] | null | undefined;
478
- profileId?: string | undefined;
479
- actor: {
480
- displayName?: string | null | undefined;
481
- bio?: string | null | undefined;
482
- createdAt?: string | null | undefined;
483
- updatedAt?: string | null | undefined;
484
- connectedToX?: boolean | null | undefined;
485
- tradingPrivacy?: "private" | "public" | null | undefined;
486
- profileId: string;
487
- address: string;
488
- name: string;
489
- imageUrl?: string | null | undefined;
490
- winRate30d?: number | null | undefined;
491
- pnl30d?: number | null | undefined;
492
- volumeUsd30d?: number | null | undefined;
493
- volumeUsd7d?: number | null | undefined;
494
- tradeCount30d?: number | null | undefined;
495
- followerCount?: number | null | undefined;
496
- };
497
- timestamp: number;
498
- authorComment?: {
499
- uid: string;
500
- text: string;
501
- timestamp: number;
502
- sourceLanguage?: string | null | undefined;
503
- translations?: Record<string, string> | undefined;
504
- engagement: {
505
- reactions: {
506
- emotion: string;
507
- count: number;
508
- profiles: {
509
- id: string;
510
- name: string;
511
- }[];
512
- }[];
513
- userReaction: string | null;
514
- replyCount?: number | undefined;
515
- };
516
- } | null | undefined;
517
- commentCount?: number | undefined;
518
- replyCount?: number | undefined;
519
- copyCount?: number | undefined;
520
- firstTradeAt?: number | null | undefined;
521
- holdTimeMs?: number | null | undefined;
522
- entryPriceUsd?: number | null | undefined;
523
- feedItemId?: string | undefined;
524
- eventId?: string | undefined;
525
- revision?: number | undefined;
526
- occurredAt?: string | undefined;
527
- }, {
528
- positionId: import("@metamask/superstruct").Struct<string, null>;
529
- tokenSymbol: import("@metamask/superstruct").Struct<string, null>;
530
- tokenName: import("@metamask/superstruct").Struct<string, null>;
531
- tokenAddress: import("@metamask/superstruct").Struct<string, null>;
532
- chain: import("@metamask/superstruct").Struct<string, null>;
533
- positionAmount: import("@metamask/superstruct").Struct<number, null>;
534
- isOpen: import("@metamask/superstruct").Struct<boolean | undefined, null>;
535
- boughtUsd: import("@metamask/superstruct").Struct<number | null, null>;
536
- soldUsd: import("@metamask/superstruct").Struct<number | null, null>;
537
- realizedPnl: import("@metamask/superstruct").Struct<number | null, null>;
538
- costBasis: import("@metamask/superstruct").Struct<number | null, null>;
539
- trades: import("@metamask/superstruct").Struct<{
540
- direction: "buy" | "sell";
541
- intent: "enter" | "exit";
542
- action?: "added" | "closed" | "opened" | "reduced" | undefined;
543
- category?: string | undefined;
544
- classification?: "perp" | "receive" | "send" | "spot" | null | undefined;
545
- perpPositionType?: "long" | "short" | null | undefined;
546
- perpLeverage?: number | null | undefined;
547
- tokenAmount: number;
548
- usdCost: number;
549
- marketCap?: number | null | undefined;
550
- timestamp: number;
551
- transactionHash: string;
552
- comments?: {
553
- uid: string;
554
- text: string;
555
- timestamp: number;
556
- sourceLanguage?: string | null | undefined;
557
- translations?: Record<string, string> | undefined;
558
- engagement: {
559
- reactions: {
560
- emotion: string;
561
- count: number;
562
- profiles: {
563
- id: string;
564
- name: string;
565
- }[];
566
- }[];
567
- userReaction: string | null;
568
- replyCount?: number | undefined;
569
- };
570
- }[] | undefined;
571
- }[], import("@metamask/superstruct").Struct<{
572
- direction: "buy" | "sell";
573
- intent: "enter" | "exit";
574
- action?: "added" | "closed" | "opened" | "reduced" | undefined;
575
- category?: string | undefined;
576
- classification?: "perp" | "receive" | "send" | "spot" | null | undefined;
577
- perpPositionType?: "long" | "short" | null | undefined;
578
- perpLeverage?: number | null | undefined;
579
- tokenAmount: number;
580
- usdCost: number;
581
- marketCap?: number | null | undefined;
582
- timestamp: number;
583
- transactionHash: string;
584
- comments?: {
585
- uid: string;
586
- text: string;
587
- timestamp: number;
588
- sourceLanguage?: string | null | undefined;
589
- translations?: Record<string, string> | undefined;
590
- engagement: {
591
- reactions: {
592
- emotion: string;
593
- count: number;
594
- profiles: {
595
- id: string;
596
- name: string;
597
- }[];
598
- }[];
599
- userReaction: string | null;
600
- replyCount?: number | undefined;
601
- };
602
- }[] | undefined;
603
- }, {
604
- direction: import("@metamask/superstruct").Struct<"buy" | "sell", {
605
- buy: "buy";
606
- sell: "sell";
607
- }>;
608
- intent: import("@metamask/superstruct").Struct<"enter" | "exit", {
609
- enter: "enter";
610
- exit: "exit";
611
- }>;
612
- action: import("@metamask/superstruct").Struct<"added" | "closed" | "opened" | "reduced" | undefined, {
613
- added: "added";
614
- closed: "closed";
615
- opened: "opened";
616
- reduced: "reduced";
617
- }>;
618
- category: import("@metamask/superstruct").Struct<string | undefined, null>;
619
- classification: import("@metamask/superstruct").Struct<"perp" | "receive" | "send" | "spot" | null | undefined, {
620
- perp: "perp";
621
- receive: "receive";
622
- send: "send";
623
- spot: "spot";
624
- }>;
625
- perpPositionType: import("@metamask/superstruct").Struct<"long" | "short" | null | undefined, {
626
- long: "long";
627
- short: "short";
628
- }>;
629
- perpLeverage: import("@metamask/superstruct").Struct<number | null | undefined, null>;
630
- tokenAmount: import("@metamask/superstruct").Struct<number, null>;
631
- usdCost: import("@metamask/superstruct").Struct<number, null>;
632
- marketCap: import("@metamask/superstruct").Struct<number | null | undefined, null>;
633
- timestamp: import("@metamask/superstruct").Struct<number, null>;
634
- transactionHash: import("@metamask/superstruct").Struct<string, null>;
635
- comments: import("@metamask/superstruct").Struct<{
636
- uid: string;
637
- text: string;
638
- timestamp: number;
639
- sourceLanguage?: string | null | undefined;
640
- translations?: Record<string, string> | undefined;
641
- engagement: {
642
- reactions: {
643
- emotion: string;
644
- count: number;
645
- profiles: {
646
- id: string;
647
- name: string;
648
- }[];
649
- }[];
650
- userReaction: string | null;
651
- replyCount?: number | undefined;
652
- };
653
- }[] | undefined, import("@metamask/superstruct").Struct<{
654
- uid: string;
655
- text: string;
656
- timestamp: number;
657
- sourceLanguage?: string | null | undefined;
658
- translations?: Record<string, string> | undefined;
659
- engagement: {
660
- reactions: {
661
- emotion: string;
662
- count: number;
663
- profiles: {
664
- id: string;
665
- name: string;
666
- }[];
667
- }[];
668
- userReaction: string | null;
669
- replyCount?: number | undefined;
670
- };
671
- }, {
672
- uid: import("@metamask/superstruct").Struct<string, null>;
673
- text: import("@metamask/superstruct").Struct<string, null>;
674
- timestamp: import("@metamask/superstruct").Struct<number, null>;
675
- sourceLanguage: import("@metamask/superstruct").Struct<string | null | undefined, null>;
676
- translations: import("@metamask/superstruct").Struct<Record<string, string> | undefined, null>;
677
- engagement: import("@metamask/superstruct").Struct<{
678
- reactions: {
679
- emotion: string;
680
- count: number;
681
- profiles: {
682
- id: string;
683
- name: string;
684
- }[];
685
- }[];
686
- userReaction: string | null;
687
- replyCount?: number | undefined;
688
- }, {
689
- reactions: import("@metamask/superstruct").Struct<{
690
- emotion: string;
691
- count: number;
692
- profiles: {
693
- id: string;
694
- name: string;
695
- }[];
696
- }[], import("@metamask/superstruct").Struct<{
697
- emotion: string;
698
- count: number;
699
- profiles: {
700
- id: string;
701
- name: string;
702
- }[];
703
- }, {
704
- emotion: import("@metamask/superstruct").Struct<string, null>;
705
- count: import("@metamask/superstruct").Struct<number, null>;
706
- profiles: import("@metamask/superstruct").Struct<{
707
- id: string;
708
- name: string;
709
- }[], import("@metamask/superstruct").Struct<{
710
- id: string;
711
- name: string;
712
- }, {
713
- id: import("@metamask/superstruct").Struct<string, null>;
714
- name: import("@metamask/superstruct").Struct<string, null>;
715
- }>>;
716
- }>>;
717
- userReaction: import("@metamask/superstruct").Struct<string | null, null>;
718
- replyCount: import("@metamask/superstruct").Struct<number | undefined, null>;
719
- }>;
720
- }>>;
721
- }>>;
722
- lastTradeAt: import("@metamask/superstruct").Struct<number, null>;
723
- tokenImageUrl: import("@metamask/superstruct").Struct<string | null | undefined, null>;
724
- currentValueUSD: import("@metamask/superstruct").Struct<number | null | undefined, null>;
725
- pnlValueUsd: import("@metamask/superstruct").Struct<number | null | undefined, null>;
726
- positionValueUSD: import("@metamask/superstruct").Struct<number | null | undefined, null>;
727
- pnlPercent: import("@metamask/superstruct").Struct<number | null | undefined, null>;
728
- perpPositionType: import("@metamask/superstruct").Struct<"long" | "short" | null | undefined, {
729
- long: "long";
730
- short: "short";
731
- }>;
732
- perpLeverage: import("@metamask/superstruct").Struct<number | null | undefined, null>;
733
- positionAmountWithLeverage: import("@metamask/superstruct").Struct<number | null | undefined, null>;
734
- flags: import("@metamask/superstruct").Struct<string[] | null | undefined, import("@metamask/superstruct").Struct<string, null>>;
735
- profileId: import("@metamask/superstruct").Struct<string | undefined, null>;
736
- actor: import("@metamask/superstruct").Struct<{
737
- displayName?: string | null | undefined;
738
- bio?: string | null | undefined;
739
- createdAt?: string | null | undefined;
740
- updatedAt?: string | null | undefined;
741
- connectedToX?: boolean | null | undefined;
742
- tradingPrivacy?: "private" | "public" | null | undefined;
743
- profileId: string;
744
- address: string;
745
- name: string;
746
- imageUrl?: string | null | undefined;
747
- winRate30d?: number | null | undefined;
748
- pnl30d?: number | null | undefined;
749
- volumeUsd30d?: number | null | undefined;
750
- volumeUsd7d?: number | null | undefined;
751
- tradeCount30d?: number | null | undefined;
752
- followerCount?: number | null | undefined;
753
- }, {
754
- displayName: import("@metamask/superstruct").Struct<string | null | undefined, null>;
755
- bio: import("@metamask/superstruct").Struct<string | null | undefined, null>;
756
- createdAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
757
- updatedAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
758
- connectedToX: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
759
- tradingPrivacy: import("@metamask/superstruct").Struct<"private" | "public" | null | undefined, {
760
- private: "private";
761
- public: "public";
762
- }>;
763
- profileId: import("@metamask/superstruct").Struct<string, null>;
764
- address: import("@metamask/superstruct").Struct<string, null>;
765
- name: import("@metamask/superstruct").Struct<string, null>;
766
- imageUrl: import("@metamask/superstruct").Struct<string | null | undefined, null>;
767
- winRate30d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
768
- pnl30d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
769
- volumeUsd30d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
770
- volumeUsd7d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
771
- tradeCount30d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
772
- followerCount: import("@metamask/superstruct").Struct<number | null | undefined, null>;
773
- }>;
774
- timestamp: import("@metamask/superstruct").Struct<number, null>;
775
- authorComment: import("@metamask/superstruct").Struct<{
776
- uid: string;
777
- text: string;
778
- timestamp: number;
779
- sourceLanguage?: string | null | undefined;
780
- translations?: Record<string, string> | undefined;
781
- engagement: {
782
- reactions: {
783
- emotion: string;
784
- count: number;
785
- profiles: {
786
- id: string;
787
- name: string;
788
- }[];
789
- }[];
790
- userReaction: string | null;
791
- replyCount?: number | undefined;
792
- };
793
- } | null | undefined, {
794
- uid: import("@metamask/superstruct").Struct<string, null>;
795
- text: import("@metamask/superstruct").Struct<string, null>;
796
- timestamp: import("@metamask/superstruct").Struct<number, null>;
797
- sourceLanguage: import("@metamask/superstruct").Struct<string | null | undefined, null>;
798
- translations: import("@metamask/superstruct").Struct<Record<string, string> | undefined, null>;
799
- engagement: import("@metamask/superstruct").Struct<{
800
- reactions: {
801
- emotion: string;
802
- count: number;
803
- profiles: {
804
- id: string;
805
- name: string;
806
- }[];
807
- }[];
808
- userReaction: string | null;
809
- replyCount?: number | undefined;
810
- }, {
811
- reactions: import("@metamask/superstruct").Struct<{
812
- emotion: string;
813
- count: number;
814
- profiles: {
815
- id: string;
816
- name: string;
817
- }[];
818
- }[], import("@metamask/superstruct").Struct<{
819
- emotion: string;
820
- count: number;
821
- profiles: {
822
- id: string;
823
- name: string;
824
- }[];
825
- }, {
826
- emotion: import("@metamask/superstruct").Struct<string, null>;
827
- count: import("@metamask/superstruct").Struct<number, null>;
828
- profiles: import("@metamask/superstruct").Struct<{
829
- id: string;
830
- name: string;
831
- }[], import("@metamask/superstruct").Struct<{
832
- id: string;
833
- name: string;
834
- }, {
835
- id: import("@metamask/superstruct").Struct<string, null>;
836
- name: import("@metamask/superstruct").Struct<string, null>;
837
- }>>;
838
- }>>;
839
- userReaction: import("@metamask/superstruct").Struct<string | null, null>;
840
- replyCount: import("@metamask/superstruct").Struct<number | undefined, null>;
841
- }>;
842
- }>;
843
- commentCount: import("@metamask/superstruct").Struct<number | undefined, null>;
844
- replyCount: import("@metamask/superstruct").Struct<number | undefined, null>;
845
- copyCount: import("@metamask/superstruct").Struct<number | undefined, null>;
846
- firstTradeAt: import("@metamask/superstruct").Struct<number | null | undefined, null>;
847
- holdTimeMs: import("@metamask/superstruct").Struct<number | null | undefined, null>;
848
- entryPriceUsd: import("@metamask/superstruct").Struct<number | null | undefined, null>;
849
- feedItemId: import("@metamask/superstruct").Struct<string | undefined, null>;
850
- eventId: import("@metamask/superstruct").Struct<string | undefined, null>;
851
- revision: import("@metamask/superstruct").Struct<number | undefined, null>;
852
- occurredAt: import("@metamask/superstruct").Struct<string | undefined, null>;
853
- }>;
854
- /**
855
- * One malformed feed item must not blank the page or a realtime batch.
856
- * The envelope remains invalid only when its top-level shape is unusable.
857
- *
858
- * @param feedData - Parsed JSON response or realtime batch payload.
859
- * @param invalidMessage - Error message for an unusable response envelope.
860
- * @returns The validated response with malformed items removed.
861
- */
862
- export declare const parseFeedResponse: (feedData: unknown, invalidMessage: string) => FeedResponse;
863
- export { normalizeRealtimeFeedItem, parseRealtimeFeedItem, } from './realtime-feed-item.js';
864
- export type { RealtimeFeedEventData } from './realtime-feed-item.js';
865
- export declare const TraderProfileStruct: import("@metamask/superstruct").Struct<{
866
- displayName?: string | null | undefined;
867
- bio?: string | null | undefined;
868
- createdAt?: string | null | undefined;
869
- updatedAt?: string | null | undefined;
870
- connectedToX?: boolean | null | undefined;
871
- tradingPrivacy?: "private" | "public" | null | undefined;
872
- profileId: string;
873
- address: string;
874
- allAddresses: string[];
875
- name: string;
876
- imageUrl?: string | null | undefined;
877
- }, {
878
- displayName: import("@metamask/superstruct").Struct<string | null | undefined, null>;
879
- bio: import("@metamask/superstruct").Struct<string | null | undefined, null>;
880
- createdAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
881
- updatedAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
882
- connectedToX: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
883
- tradingPrivacy: import("@metamask/superstruct").Struct<"private" | "public" | null | undefined, {
884
- private: "private";
885
- public: "public";
886
- }>;
887
- profileId: import("@metamask/superstruct").Struct<string, null>;
888
- address: import("@metamask/superstruct").Struct<string, null>;
889
- allAddresses: import("@metamask/superstruct").Struct<string[], import("@metamask/superstruct").Struct<string, null>>;
890
- name: import("@metamask/superstruct").Struct<string, null>;
891
- imageUrl: import("@metamask/superstruct").Struct<string | null | undefined, null>;
892
- }>;
893
- export declare const TraderStatsStruct: import("@metamask/superstruct").Struct<{
894
- pnl30d?: number | null | undefined;
895
- winRate30d?: number | null | undefined;
896
- roiPercent30d?: number | null | undefined;
897
- tradeCount30d?: number | null | undefined;
898
- volumeUsd30d?: number | null | undefined;
899
- pnl7d?: number | null | undefined;
900
- winRate7d?: number | null | undefined;
901
- roiPercent7d?: number | null | undefined;
902
- tradeCount7d?: number | null | undefined;
903
- medianHoldMinutes?: number | null | undefined;
904
- }, {
905
- pnl30d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
906
- winRate30d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
907
- roiPercent30d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
908
- tradeCount30d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
909
- volumeUsd30d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
910
- pnl7d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
911
- winRate7d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
912
- roiPercent7d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
913
- tradeCount7d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
914
- medianHoldMinutes: import("@metamask/superstruct").Struct<number | null | undefined, null>;
915
- }>;
916
- export declare const PerChainBreakdownStruct: import("@metamask/superstruct").Struct<{
917
- perChainPnl: Record<string, number>;
918
- perChainRoi: Record<string, number | null>;
919
- perChainVolume: Record<string, number>;
920
- perChainPnl7d?: Record<string, number> | undefined;
921
- perChainRoi7d?: Record<string, number | null> | undefined;
922
- perChainVolume7d?: Record<string, number> | undefined;
923
- }, {
924
- perChainPnl: import("@metamask/superstruct").Struct<Record<string, number>, null>;
925
- perChainRoi: import("@metamask/superstruct").Struct<Record<string, number | null>, null>;
926
- perChainVolume: import("@metamask/superstruct").Struct<Record<string, number>, null>;
927
- perChainPnl7d: import("@metamask/superstruct").Struct<Record<string, number> | undefined, null>;
928
- perChainRoi7d: import("@metamask/superstruct").Struct<Record<string, number | null> | undefined, null>;
929
- perChainVolume7d: import("@metamask/superstruct").Struct<Record<string, number> | undefined, null>;
930
- }>;
931
- export declare const CopytradedAllTimeStruct: import("@metamask/superstruct").Struct<{
932
- count: number;
933
- volumeUSD: number;
934
- distinctActors: number;
935
- }, {
936
- count: import("@metamask/superstruct").Struct<number, null>;
937
- volumeUSD: import("@metamask/superstruct").Struct<number, null>;
938
- distinctActors: import("@metamask/superstruct").Struct<number, null>;
939
- }>;
940
- export declare const TraderProfileResponseStruct: import("@metamask/superstruct").Struct<{
941
- profile: {
942
- displayName?: string | null | undefined;
943
- bio?: string | null | undefined;
944
- createdAt?: string | null | undefined;
945
- updatedAt?: string | null | undefined;
946
- connectedToX?: boolean | null | undefined;
947
- tradingPrivacy?: "private" | "public" | null | undefined;
948
- profileId: string;
949
- address: string;
950
- allAddresses: string[];
951
- name: string;
952
- imageUrl?: string | null | undefined;
953
- };
954
- stats: {
955
- pnl30d?: number | null | undefined;
956
- winRate30d?: number | null | undefined;
957
- roiPercent30d?: number | null | undefined;
958
- tradeCount30d?: number | null | undefined;
959
- volumeUsd30d?: number | null | undefined;
960
- pnl7d?: number | null | undefined;
961
- winRate7d?: number | null | undefined;
962
- roiPercent7d?: number | null | undefined;
963
- tradeCount7d?: number | null | undefined;
964
- medianHoldMinutes?: number | null | undefined;
965
- };
966
- perChainBreakdown: {
967
- perChainPnl: Record<string, number>;
968
- perChainRoi: Record<string, number | null>;
969
- perChainVolume: Record<string, number>;
970
- perChainPnl7d?: Record<string, number> | undefined;
971
- perChainRoi7d?: Record<string, number | null> | undefined;
972
- perChainVolume7d?: Record<string, number> | undefined;
973
- };
974
- socialHandles: {
975
- twitter?: string | null | undefined;
976
- farcaster?: string | null | undefined;
977
- ens?: string | null | undefined;
978
- lens?: string | null | undefined;
979
- };
980
- followerCount: number;
981
- followingCount: number;
982
- copytradedAllTime: {
983
- count: number;
984
- volumeUSD: number;
985
- distinctActors: number;
986
- };
987
- rankingTag?: "dolphin" | "shrimp" | "whale" | null | undefined;
988
- }, {
989
- profile: import("@metamask/superstruct").Struct<{
990
- displayName?: string | null | undefined;
991
- bio?: string | null | undefined;
992
- createdAt?: string | null | undefined;
993
- updatedAt?: string | null | undefined;
994
- connectedToX?: boolean | null | undefined;
995
- tradingPrivacy?: "private" | "public" | null | undefined;
996
- profileId: string;
997
- address: string;
998
- allAddresses: string[];
999
- name: string;
1000
- imageUrl?: string | null | undefined;
1001
- }, {
1002
- displayName: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1003
- bio: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1004
- createdAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1005
- updatedAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1006
- connectedToX: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
1007
- tradingPrivacy: import("@metamask/superstruct").Struct<"private" | "public" | null | undefined, {
1008
- private: "private";
1009
- public: "public";
1010
- }>;
1011
- profileId: import("@metamask/superstruct").Struct<string, null>;
1012
- address: import("@metamask/superstruct").Struct<string, null>;
1013
- allAddresses: import("@metamask/superstruct").Struct<string[], import("@metamask/superstruct").Struct<string, null>>;
1014
- name: import("@metamask/superstruct").Struct<string, null>;
1015
- imageUrl: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1016
- }>;
1017
- stats: import("@metamask/superstruct").Struct<{
1018
- pnl30d?: number | null | undefined;
1019
- winRate30d?: number | null | undefined;
1020
- roiPercent30d?: number | null | undefined;
1021
- tradeCount30d?: number | null | undefined;
1022
- volumeUsd30d?: number | null | undefined;
1023
- pnl7d?: number | null | undefined;
1024
- winRate7d?: number | null | undefined;
1025
- roiPercent7d?: number | null | undefined;
1026
- tradeCount7d?: number | null | undefined;
1027
- medianHoldMinutes?: number | null | undefined;
1028
- }, {
1029
- pnl30d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
1030
- winRate30d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
1031
- roiPercent30d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
1032
- tradeCount30d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
1033
- volumeUsd30d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
1034
- pnl7d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
1035
- winRate7d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
1036
- roiPercent7d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
1037
- tradeCount7d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
1038
- medianHoldMinutes: import("@metamask/superstruct").Struct<number | null | undefined, null>;
1039
- }>;
1040
- perChainBreakdown: import("@metamask/superstruct").Struct<{
1041
- perChainPnl: Record<string, number>;
1042
- perChainRoi: Record<string, number | null>;
1043
- perChainVolume: Record<string, number>;
1044
- perChainPnl7d?: Record<string, number> | undefined;
1045
- perChainRoi7d?: Record<string, number | null> | undefined;
1046
- perChainVolume7d?: Record<string, number> | undefined;
1047
- }, {
1048
- perChainPnl: import("@metamask/superstruct").Struct<Record<string, number>, null>;
1049
- perChainRoi: import("@metamask/superstruct").Struct<Record<string, number | null>, null>;
1050
- perChainVolume: import("@metamask/superstruct").Struct<Record<string, number>, null>;
1051
- perChainPnl7d: import("@metamask/superstruct").Struct<Record<string, number> | undefined, null>;
1052
- perChainRoi7d: import("@metamask/superstruct").Struct<Record<string, number | null> | undefined, null>;
1053
- perChainVolume7d: import("@metamask/superstruct").Struct<Record<string, number> | undefined, null>;
1054
- }>;
1055
- socialHandles: import("@metamask/superstruct").Struct<{
1056
- twitter?: string | null | undefined;
1057
- farcaster?: string | null | undefined;
1058
- ens?: string | null | undefined;
1059
- lens?: string | null | undefined;
1060
- }, {
1061
- twitter: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1062
- farcaster: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1063
- ens: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1064
- lens: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1065
- }>;
1066
- followerCount: import("@metamask/superstruct").Struct<number, null>;
1067
- followingCount: import("@metamask/superstruct").Struct<number, null>;
1068
- copytradedAllTime: import("@metamask/superstruct").Struct<{
1069
- count: number;
1070
- volumeUSD: number;
1071
- distinctActors: number;
1072
- }, {
1073
- count: import("@metamask/superstruct").Struct<number, null>;
1074
- volumeUSD: import("@metamask/superstruct").Struct<number, null>;
1075
- distinctActors: import("@metamask/superstruct").Struct<number, null>;
1076
- }>;
1077
- rankingTag: import("@metamask/superstruct").Struct<"dolphin" | "shrimp" | "whale" | null | undefined, {
1078
- dolphin: "dolphin";
1079
- shrimp: "shrimp";
1080
- whale: "whale";
1081
- }>;
1082
- }>;
1083
- export declare const PaginationStruct: import("@metamask/superstruct").Struct<{
1084
- hasMore: boolean;
1085
- nextPage?: number | undefined;
1086
- }, {
1087
- hasMore: import("@metamask/superstruct").Struct<boolean, null>;
1088
- nextPage: import("@metamask/superstruct").Struct<number | undefined, null>;
1089
- }>;
1090
- export declare const LeaderboardResponseStruct: import("@metamask/superstruct").Struct<{
1091
- traders: {
1092
- displayName?: string | null | undefined;
1093
- bio?: string | null | undefined;
1094
- createdAt?: string | null | undefined;
1095
- updatedAt?: string | null | undefined;
1096
- connectedToX?: boolean | null | undefined;
1097
- tradingPrivacy?: "private" | "public" | null | undefined;
1098
- rank: number;
1099
- addresses: string[];
1100
- profileId: string;
1101
- name: string;
1102
- imageUrl?: string | null | undefined;
1103
- pnl30d: number;
1104
- winRate30d?: number | null | undefined;
1105
- roiPercent30d?: number | null | undefined;
1106
- tradeCount30d?: number | null | undefined;
1107
- pnl7d?: number | null | undefined;
1108
- winRate7d?: number | null | undefined;
1109
- roiPercent7d?: number | null | undefined;
1110
- tradeCount7d?: number | null | undefined;
1111
- volumeUsd30d?: number | null | undefined;
1112
- volumeUsd7d?: number | null | undefined;
1113
- pnlPerChain: Record<string, number>;
1114
- followerCount: number;
1115
- socialHandles: {
1116
- twitter?: string | null | undefined;
1117
- farcaster?: string | null | undefined;
1118
- ens?: string | null | undefined;
1119
- lens?: string | null | undefined;
1120
- };
1121
- }[];
1122
- }, {
1123
- traders: import("@metamask/superstruct").Struct<{
1124
- displayName?: string | null | undefined;
1125
- bio?: string | null | undefined;
1126
- createdAt?: string | null | undefined;
1127
- updatedAt?: string | null | undefined;
1128
- connectedToX?: boolean | null | undefined;
1129
- tradingPrivacy?: "private" | "public" | null | undefined;
1130
- rank: number;
1131
- addresses: string[];
1132
- profileId: string;
1133
- name: string;
1134
- imageUrl?: string | null | undefined;
1135
- pnl30d: number;
1136
- winRate30d?: number | null | undefined;
1137
- roiPercent30d?: number | null | undefined;
1138
- tradeCount30d?: number | null | undefined;
1139
- pnl7d?: number | null | undefined;
1140
- winRate7d?: number | null | undefined;
1141
- roiPercent7d?: number | null | undefined;
1142
- tradeCount7d?: number | null | undefined;
1143
- volumeUsd30d?: number | null | undefined;
1144
- volumeUsd7d?: number | null | undefined;
1145
- pnlPerChain: Record<string, number>;
1146
- followerCount: number;
1147
- socialHandles: {
1148
- twitter?: string | null | undefined;
1149
- farcaster?: string | null | undefined;
1150
- ens?: string | null | undefined;
1151
- lens?: string | null | undefined;
1152
- };
1153
- }[], import("@metamask/superstruct").Struct<{
1154
- displayName?: string | null | undefined;
1155
- bio?: string | null | undefined;
1156
- createdAt?: string | null | undefined;
1157
- updatedAt?: string | null | undefined;
1158
- connectedToX?: boolean | null | undefined;
1159
- tradingPrivacy?: "private" | "public" | null | undefined;
1160
- rank: number;
1161
- addresses: string[];
1162
- profileId: string;
1163
- name: string;
1164
- imageUrl?: string | null | undefined;
1165
- pnl30d: number;
1166
- winRate30d?: number | null | undefined;
1167
- roiPercent30d?: number | null | undefined;
1168
- tradeCount30d?: number | null | undefined;
1169
- pnl7d?: number | null | undefined;
1170
- winRate7d?: number | null | undefined;
1171
- roiPercent7d?: number | null | undefined;
1172
- tradeCount7d?: number | null | undefined;
1173
- volumeUsd30d?: number | null | undefined;
1174
- volumeUsd7d?: number | null | undefined;
1175
- pnlPerChain: Record<string, number>;
1176
- followerCount: number;
1177
- socialHandles: {
1178
- twitter?: string | null | undefined;
1179
- farcaster?: string | null | undefined;
1180
- ens?: string | null | undefined;
1181
- lens?: string | null | undefined;
1182
- };
1183
- }, {
1184
- displayName: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1185
- bio: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1186
- createdAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1187
- updatedAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1188
- connectedToX: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
1189
- tradingPrivacy: import("@metamask/superstruct").Struct<"private" | "public" | null | undefined, {
1190
- private: "private";
1191
- public: "public";
1192
- }>;
1193
- rank: import("@metamask/superstruct").Struct<number, null>;
1194
- addresses: import("@metamask/superstruct").Struct<string[], import("@metamask/superstruct").Struct<string, null>>;
1195
- profileId: import("@metamask/superstruct").Struct<string, null>;
1196
- name: import("@metamask/superstruct").Struct<string, null>;
1197
- imageUrl: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1198
- pnl30d: import("@metamask/superstruct").Struct<number, null>;
1199
- winRate30d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
1200
- roiPercent30d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
1201
- tradeCount30d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
1202
- pnl7d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
1203
- winRate7d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
1204
- roiPercent7d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
1205
- tradeCount7d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
1206
- volumeUsd30d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
1207
- volumeUsd7d: import("@metamask/superstruct").Struct<number | null | undefined, null>;
1208
- pnlPerChain: import("@metamask/superstruct").Struct<Record<string, number>, null>;
1209
- followerCount: import("@metamask/superstruct").Struct<number, null>;
1210
- socialHandles: import("@metamask/superstruct").Struct<{
1211
- twitter?: string | null | undefined;
1212
- farcaster?: string | null | undefined;
1213
- ens?: string | null | undefined;
1214
- lens?: string | null | undefined;
1215
- }, {
1216
- twitter: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1217
- farcaster: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1218
- ens: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1219
- lens: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1220
- }>;
1221
- }>>;
1222
- }>;
1223
- export declare const CopyTradeIntentResponseStruct: import("@metamask/superstruct").Struct<{
1224
- id: string;
1225
- origin: {
1226
- kind: "comment";
1227
- id: string;
1228
- };
1229
- copierAccount: {
1230
- profileId: string;
1231
- caip10: string;
1232
- };
1233
- sourceAccount: {
1234
- profileId: string;
1235
- caip10: string;
1236
- } | null;
1237
- execution: {
1238
- product: "swaps";
1239
- quoteId: string;
1240
- } | {
1241
- product: "perps";
1242
- oid: string;
1243
- };
1244
- payoutEligibility: {
1245
- status: "non_payable" | "payable";
1246
- reason: string;
1247
- };
1248
- createdAt: string;
1249
- }, {
1250
- id: import("@metamask/superstruct").Struct<string, null>;
1251
- origin: import("@metamask/superstruct").Struct<{
1252
- kind: "comment";
1253
- id: string;
1254
- }, {
1255
- kind: import("@metamask/superstruct").Struct<"comment", "comment">;
1256
- id: import("@metamask/superstruct").Struct<string, null>;
1257
- }>;
1258
- copierAccount: import("@metamask/superstruct").Struct<{
1259
- profileId: string;
1260
- caip10: string;
1261
- }, {
1262
- profileId: import("@metamask/superstruct").Struct<string, null>;
1263
- caip10: import("@metamask/superstruct").Struct<string, null>;
1264
- }>;
1265
- sourceAccount: import("@metamask/superstruct").Struct<{
1266
- profileId: string;
1267
- caip10: string;
1268
- } | null, {
1269
- profileId: import("@metamask/superstruct").Struct<string, null>;
1270
- caip10: import("@metamask/superstruct").Struct<string, null>;
1271
- }>;
1272
- execution: import("@metamask/superstruct").Struct<{
1273
- product: "swaps";
1274
- quoteId: string;
1275
- } | {
1276
- product: "perps";
1277
- oid: string;
1278
- }, null>;
1279
- payoutEligibility: import("@metamask/superstruct").Struct<{
1280
- status: "non_payable" | "payable";
1281
- reason: string;
1282
- }, {
1283
- status: import("@metamask/superstruct").Struct<"non_payable" | "payable", {
1284
- non_payable: "non_payable";
1285
- payable: "payable";
1286
- }>;
1287
- reason: import("@metamask/superstruct").Struct<string, null>;
1288
- }>;
1289
- createdAt: import("@metamask/superstruct").Struct<string, null>;
1290
- }>;
1291
- export declare const PositionsResponseStruct: import("@metamask/superstruct").Struct<{
1292
- positions: {
1293
- positionId: string;
1294
- tokenSymbol: string;
1295
- tokenName: string;
1296
- tokenAddress: string;
1297
- chain: string;
1298
- positionAmount: number;
1299
- isOpen?: boolean | undefined;
1300
- boughtUsd: number | null;
1301
- soldUsd: number | null;
1302
- realizedPnl: number | null;
1303
- costBasis: number | null;
1304
- trades: {
1305
- direction: "buy" | "sell";
1306
- intent: "enter" | "exit";
1307
- action?: "added" | "closed" | "opened" | "reduced" | undefined;
1308
- category?: string | undefined;
1309
- classification?: "perp" | "receive" | "send" | "spot" | null | undefined;
1310
- perpPositionType?: "long" | "short" | null | undefined;
1311
- perpLeverage?: number | null | undefined;
1312
- tokenAmount: number;
1313
- usdCost: number;
1314
- marketCap?: number | null | undefined;
1315
- timestamp: number;
1316
- transactionHash: string;
1317
- comments?: {
1318
- uid: string;
1319
- text: string;
1320
- timestamp: number;
1321
- sourceLanguage?: string | null | undefined;
1322
- translations?: Record<string, string> | undefined;
1323
- engagement: {
1324
- reactions: {
1325
- emotion: string;
1326
- count: number;
1327
- profiles: {
1328
- id: string;
1329
- name: string;
1330
- }[];
1331
- }[];
1332
- userReaction: string | null;
1333
- replyCount?: number | undefined;
1334
- };
1335
- }[] | undefined;
1336
- }[];
1337
- lastTradeAt: number;
1338
- tokenImageUrl?: string | null | undefined;
1339
- currentValueUSD?: number | null | undefined;
1340
- pnlValueUsd?: number | null | undefined;
1341
- positionValueUSD?: number | null | undefined;
1342
- pnlPercent?: number | null | undefined;
1343
- copyCount?: number | undefined;
1344
- perpPositionType?: "long" | "short" | null | undefined;
1345
- perpLeverage?: number | null | undefined;
1346
- positionAmountWithLeverage?: number | null | undefined;
1347
- flags?: string[] | null | undefined;
1348
- profileId?: string | undefined;
1349
- }[];
1350
- pagination: {
1351
- hasMore: boolean;
1352
- nextPage?: number | undefined;
1353
- };
1354
- computedAt?: string | null | undefined;
1355
- }, {
1356
- positions: import("@metamask/superstruct").Struct<{
1357
- positionId: string;
1358
- tokenSymbol: string;
1359
- tokenName: string;
1360
- tokenAddress: string;
1361
- chain: string;
1362
- positionAmount: number;
1363
- isOpen?: boolean | undefined;
1364
- boughtUsd: number | null;
1365
- soldUsd: number | null;
1366
- realizedPnl: number | null;
1367
- costBasis: number | null;
1368
- trades: {
1369
- direction: "buy" | "sell";
1370
- intent: "enter" | "exit";
1371
- action?: "added" | "closed" | "opened" | "reduced" | undefined;
1372
- category?: string | undefined;
1373
- classification?: "perp" | "receive" | "send" | "spot" | null | undefined;
1374
- perpPositionType?: "long" | "short" | null | undefined;
1375
- perpLeverage?: number | null | undefined;
1376
- tokenAmount: number;
1377
- usdCost: number;
1378
- marketCap?: number | null | undefined;
1379
- timestamp: number;
1380
- transactionHash: string;
1381
- comments?: {
1382
- uid: string;
1383
- text: string;
1384
- timestamp: number;
1385
- sourceLanguage?: string | null | undefined;
1386
- translations?: Record<string, string> | undefined;
1387
- engagement: {
1388
- reactions: {
1389
- emotion: string;
1390
- count: number;
1391
- profiles: {
1392
- id: string;
1393
- name: string;
1394
- }[];
1395
- }[];
1396
- userReaction: string | null;
1397
- replyCount?: number | undefined;
1398
- };
1399
- }[] | undefined;
1400
- }[];
1401
- lastTradeAt: number;
1402
- tokenImageUrl?: string | null | undefined;
1403
- currentValueUSD?: number | null | undefined;
1404
- pnlValueUsd?: number | null | undefined;
1405
- positionValueUSD?: number | null | undefined;
1406
- pnlPercent?: number | null | undefined;
1407
- copyCount?: number | undefined;
1408
- perpPositionType?: "long" | "short" | null | undefined;
1409
- perpLeverage?: number | null | undefined;
1410
- positionAmountWithLeverage?: number | null | undefined;
1411
- flags?: string[] | null | undefined;
1412
- profileId?: string | undefined;
1413
- }[], import("@metamask/superstruct").Struct<{
1414
- positionId: string;
1415
- tokenSymbol: string;
1416
- tokenName: string;
1417
- tokenAddress: string;
1418
- chain: string;
1419
- positionAmount: number;
1420
- isOpen?: boolean | undefined;
1421
- boughtUsd: number | null;
1422
- soldUsd: number | null;
1423
- realizedPnl: number | null;
1424
- costBasis: number | null;
1425
- trades: {
1426
- direction: "buy" | "sell";
1427
- intent: "enter" | "exit";
1428
- action?: "added" | "closed" | "opened" | "reduced" | undefined;
1429
- category?: string | undefined;
1430
- classification?: "perp" | "receive" | "send" | "spot" | null | undefined;
1431
- perpPositionType?: "long" | "short" | null | undefined;
1432
- perpLeverage?: number | null | undefined;
1433
- tokenAmount: number;
1434
- usdCost: number;
1435
- marketCap?: number | null | undefined;
1436
- timestamp: number;
1437
- transactionHash: string;
1438
- comments?: {
1439
- uid: string;
1440
- text: string;
1441
- timestamp: number;
1442
- sourceLanguage?: string | null | undefined;
1443
- translations?: Record<string, string> | undefined;
1444
- engagement: {
1445
- reactions: {
1446
- emotion: string;
1447
- count: number;
1448
- profiles: {
1449
- id: string;
1450
- name: string;
1451
- }[];
1452
- }[];
1453
- userReaction: string | null;
1454
- replyCount?: number | undefined;
1455
- };
1456
- }[] | undefined;
1457
- }[];
1458
- lastTradeAt: number;
1459
- tokenImageUrl?: string | null | undefined;
1460
- currentValueUSD?: number | null | undefined;
1461
- pnlValueUsd?: number | null | undefined;
1462
- positionValueUSD?: number | null | undefined;
1463
- pnlPercent?: number | null | undefined;
1464
- copyCount?: number | undefined;
1465
- perpPositionType?: "long" | "short" | null | undefined;
1466
- perpLeverage?: number | null | undefined;
1467
- positionAmountWithLeverage?: number | null | undefined;
1468
- flags?: string[] | null | undefined;
1469
- profileId?: string | undefined;
1470
- }, {
1471
- positionId: import("@metamask/superstruct").Struct<string, null>;
1472
- tokenSymbol: import("@metamask/superstruct").Struct<string, null>;
1473
- tokenName: import("@metamask/superstruct").Struct<string, null>;
1474
- tokenAddress: import("@metamask/superstruct").Struct<string, null>;
1475
- chain: import("@metamask/superstruct").Struct<string, null>;
1476
- positionAmount: import("@metamask/superstruct").Struct<number, null>;
1477
- isOpen: import("@metamask/superstruct").Struct<boolean | undefined, null>;
1478
- boughtUsd: import("@metamask/superstruct").Struct<number | null, null>;
1479
- soldUsd: import("@metamask/superstruct").Struct<number | null, null>;
1480
- realizedPnl: import("@metamask/superstruct").Struct<number | null, null>;
1481
- costBasis: import("@metamask/superstruct").Struct<number | null, null>;
1482
- trades: import("@metamask/superstruct").Struct<{
1483
- direction: "buy" | "sell";
1484
- intent: "enter" | "exit";
1485
- action?: "added" | "closed" | "opened" | "reduced" | undefined;
1486
- category?: string | undefined;
1487
- classification?: "perp" | "receive" | "send" | "spot" | null | undefined;
1488
- perpPositionType?: "long" | "short" | null | undefined;
1489
- perpLeverage?: number | null | undefined;
1490
- tokenAmount: number;
1491
- usdCost: number;
1492
- marketCap?: number | null | undefined;
1493
- timestamp: number;
1494
- transactionHash: string;
1495
- comments?: {
1496
- uid: string;
1497
- text: string;
1498
- timestamp: number;
1499
- sourceLanguage?: string | null | undefined;
1500
- translations?: Record<string, string> | undefined;
1501
- engagement: {
1502
- reactions: {
1503
- emotion: string;
1504
- count: number;
1505
- profiles: {
1506
- id: string;
1507
- name: string;
1508
- }[];
1509
- }[];
1510
- userReaction: string | null;
1511
- replyCount?: number | undefined;
1512
- };
1513
- }[] | undefined;
1514
- }[], import("@metamask/superstruct").Struct<{
1515
- direction: "buy" | "sell";
1516
- intent: "enter" | "exit";
1517
- action?: "added" | "closed" | "opened" | "reduced" | undefined;
1518
- category?: string | undefined;
1519
- classification?: "perp" | "receive" | "send" | "spot" | null | undefined;
1520
- perpPositionType?: "long" | "short" | null | undefined;
1521
- perpLeverage?: number | null | undefined;
1522
- tokenAmount: number;
1523
- usdCost: number;
1524
- marketCap?: number | null | undefined;
1525
- timestamp: number;
1526
- transactionHash: string;
1527
- comments?: {
1528
- uid: string;
1529
- text: string;
1530
- timestamp: number;
1531
- sourceLanguage?: string | null | undefined;
1532
- translations?: Record<string, string> | undefined;
1533
- engagement: {
1534
- reactions: {
1535
- emotion: string;
1536
- count: number;
1537
- profiles: {
1538
- id: string;
1539
- name: string;
1540
- }[];
1541
- }[];
1542
- userReaction: string | null;
1543
- replyCount?: number | undefined;
1544
- };
1545
- }[] | undefined;
1546
- }, {
1547
- direction: import("@metamask/superstruct").Struct<"buy" | "sell", {
1548
- buy: "buy";
1549
- sell: "sell";
1550
- }>;
1551
- intent: import("@metamask/superstruct").Struct<"enter" | "exit", {
1552
- enter: "enter";
1553
- exit: "exit";
1554
- }>;
1555
- action: import("@metamask/superstruct").Struct<"added" | "closed" | "opened" | "reduced" | undefined, {
1556
- added: "added";
1557
- closed: "closed";
1558
- opened: "opened";
1559
- reduced: "reduced";
1560
- }>;
1561
- category: import("@metamask/superstruct").Struct<string | undefined, null>;
1562
- classification: import("@metamask/superstruct").Struct<"perp" | "receive" | "send" | "spot" | null | undefined, {
1563
- perp: "perp";
1564
- receive: "receive";
1565
- send: "send";
1566
- spot: "spot";
1567
- }>;
1568
- perpPositionType: import("@metamask/superstruct").Struct<"long" | "short" | null | undefined, {
1569
- long: "long";
1570
- short: "short";
1571
- }>;
1572
- perpLeverage: import("@metamask/superstruct").Struct<number | null | undefined, null>;
1573
- tokenAmount: import("@metamask/superstruct").Struct<number, null>;
1574
- usdCost: import("@metamask/superstruct").Struct<number, null>;
1575
- marketCap: import("@metamask/superstruct").Struct<number | null | undefined, null>;
1576
- timestamp: import("@metamask/superstruct").Struct<number, null>;
1577
- transactionHash: import("@metamask/superstruct").Struct<string, null>;
1578
- comments: import("@metamask/superstruct").Struct<{
1579
- uid: string;
1580
- text: string;
1581
- timestamp: number;
1582
- sourceLanguage?: string | null | undefined;
1583
- translations?: Record<string, string> | undefined;
1584
- engagement: {
1585
- reactions: {
1586
- emotion: string;
1587
- count: number;
1588
- profiles: {
1589
- id: string;
1590
- name: string;
1591
- }[];
1592
- }[];
1593
- userReaction: string | null;
1594
- replyCount?: number | undefined;
1595
- };
1596
- }[] | undefined, import("@metamask/superstruct").Struct<{
1597
- uid: string;
1598
- text: string;
1599
- timestamp: number;
1600
- sourceLanguage?: string | null | undefined;
1601
- translations?: Record<string, string> | undefined;
1602
- engagement: {
1603
- reactions: {
1604
- emotion: string;
1605
- count: number;
1606
- profiles: {
1607
- id: string;
1608
- name: string;
1609
- }[];
1610
- }[];
1611
- userReaction: string | null;
1612
- replyCount?: number | undefined;
1613
- };
1614
- }, {
1615
- uid: import("@metamask/superstruct").Struct<string, null>;
1616
- text: import("@metamask/superstruct").Struct<string, null>;
1617
- timestamp: import("@metamask/superstruct").Struct<number, null>;
1618
- sourceLanguage: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1619
- translations: import("@metamask/superstruct").Struct<Record<string, string> | undefined, null>;
1620
- engagement: import("@metamask/superstruct").Struct<{
1621
- reactions: {
1622
- emotion: string;
1623
- count: number;
1624
- profiles: {
1625
- id: string;
1626
- name: string;
1627
- }[];
1628
- }[];
1629
- userReaction: string | null;
1630
- replyCount?: number | undefined;
1631
- }, {
1632
- reactions: import("@metamask/superstruct").Struct<{
1633
- emotion: string;
1634
- count: number;
1635
- profiles: {
1636
- id: string;
1637
- name: string;
1638
- }[];
1639
- }[], import("@metamask/superstruct").Struct<{
1640
- emotion: string;
1641
- count: number;
1642
- profiles: {
1643
- id: string;
1644
- name: string;
1645
- }[];
1646
- }, {
1647
- emotion: import("@metamask/superstruct").Struct<string, null>;
1648
- count: import("@metamask/superstruct").Struct<number, null>;
1649
- profiles: import("@metamask/superstruct").Struct<{
1650
- id: string;
1651
- name: string;
1652
- }[], import("@metamask/superstruct").Struct<{
1653
- id: string;
1654
- name: string;
1655
- }, {
1656
- id: import("@metamask/superstruct").Struct<string, null>;
1657
- name: import("@metamask/superstruct").Struct<string, null>;
1658
- }>>;
1659
- }>>;
1660
- userReaction: import("@metamask/superstruct").Struct<string | null, null>;
1661
- replyCount: import("@metamask/superstruct").Struct<number | undefined, null>;
1662
- }>;
1663
- }>>;
1664
- }>>;
1665
- lastTradeAt: import("@metamask/superstruct").Struct<number, null>;
1666
- tokenImageUrl: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1667
- currentValueUSD: import("@metamask/superstruct").Struct<number | null | undefined, null>;
1668
- pnlValueUsd: import("@metamask/superstruct").Struct<number | null | undefined, null>;
1669
- positionValueUSD: import("@metamask/superstruct").Struct<number | null | undefined, null>;
1670
- pnlPercent: import("@metamask/superstruct").Struct<number | null | undefined, null>;
1671
- copyCount: import("@metamask/superstruct").Struct<number | undefined, null>;
1672
- perpPositionType: import("@metamask/superstruct").Struct<"long" | "short" | null | undefined, {
1673
- long: "long";
1674
- short: "short";
1675
- }>;
1676
- perpLeverage: import("@metamask/superstruct").Struct<number | null | undefined, null>;
1677
- positionAmountWithLeverage: import("@metamask/superstruct").Struct<number | null | undefined, null>;
1678
- flags: import("@metamask/superstruct").Struct<string[] | null | undefined, import("@metamask/superstruct").Struct<string, null>>;
1679
- profileId: import("@metamask/superstruct").Struct<string | undefined, null>;
1680
- }>>;
1681
- pagination: import("@metamask/superstruct").Struct<{
1682
- hasMore: boolean;
1683
- nextPage?: number | undefined;
1684
- }, {
1685
- hasMore: import("@metamask/superstruct").Struct<boolean, null>;
1686
- nextPage: import("@metamask/superstruct").Struct<number | undefined, null>;
1687
- }>;
1688
- computedAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1689
- }>;
1690
- export declare const FollowersResponseStruct: import("@metamask/superstruct").Struct<{
1691
- followers: {
1692
- displayName?: string | null | undefined;
1693
- bio?: string | null | undefined;
1694
- createdAt?: string | null | undefined;
1695
- updatedAt?: string | null | undefined;
1696
- connectedToX?: boolean | null | undefined;
1697
- tradingPrivacy?: "private" | "public" | null | undefined;
1698
- profileId: string;
1699
- address: string;
1700
- name: string;
1701
- imageUrl?: string | null | undefined;
1702
- }[];
1703
- count: number;
1704
- }, {
1705
- followers: import("@metamask/superstruct").Struct<{
1706
- displayName?: string | null | undefined;
1707
- bio?: string | null | undefined;
1708
- createdAt?: string | null | undefined;
1709
- updatedAt?: string | null | undefined;
1710
- connectedToX?: boolean | null | undefined;
1711
- tradingPrivacy?: "private" | "public" | null | undefined;
1712
- profileId: string;
1713
- address: string;
1714
- name: string;
1715
- imageUrl?: string | null | undefined;
1716
- }[], import("@metamask/superstruct").Struct<{
1717
- displayName?: string | null | undefined;
1718
- bio?: string | null | undefined;
1719
- createdAt?: string | null | undefined;
1720
- updatedAt?: string | null | undefined;
1721
- connectedToX?: boolean | null | undefined;
1722
- tradingPrivacy?: "private" | "public" | null | undefined;
1723
- profileId: string;
1724
- address: string;
1725
- name: string;
1726
- imageUrl?: string | null | undefined;
1727
- }, {
1728
- displayName: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1729
- bio: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1730
- createdAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1731
- updatedAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1732
- connectedToX: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
1733
- tradingPrivacy: import("@metamask/superstruct").Struct<"private" | "public" | null | undefined, {
1734
- private: "private";
1735
- public: "public";
1736
- }>;
1737
- profileId: import("@metamask/superstruct").Struct<string, null>;
1738
- address: import("@metamask/superstruct").Struct<string, null>;
1739
- name: import("@metamask/superstruct").Struct<string, null>;
1740
- imageUrl: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1741
- }>>;
1742
- count: import("@metamask/superstruct").Struct<number, null>;
1743
- }>;
1744
- export declare const FollowingResponseStruct: import("@metamask/superstruct").Struct<{
1745
- following: {
1746
- displayName?: string | null | undefined;
1747
- bio?: string | null | undefined;
1748
- createdAt?: string | null | undefined;
1749
- updatedAt?: string | null | undefined;
1750
- connectedToX?: boolean | null | undefined;
1751
- tradingPrivacy?: "private" | "public" | null | undefined;
1752
- profileId: string;
1753
- address: string;
1754
- name: string;
1755
- imageUrl?: string | null | undefined;
1756
- }[];
1757
- count: number;
1758
- }, {
1759
- following: import("@metamask/superstruct").Struct<{
1760
- displayName?: string | null | undefined;
1761
- bio?: string | null | undefined;
1762
- createdAt?: string | null | undefined;
1763
- updatedAt?: string | null | undefined;
1764
- connectedToX?: boolean | null | undefined;
1765
- tradingPrivacy?: "private" | "public" | null | undefined;
1766
- profileId: string;
1767
- address: string;
1768
- name: string;
1769
- imageUrl?: string | null | undefined;
1770
- }[], import("@metamask/superstruct").Struct<{
1771
- displayName?: string | null | undefined;
1772
- bio?: string | null | undefined;
1773
- createdAt?: string | null | undefined;
1774
- updatedAt?: string | null | undefined;
1775
- connectedToX?: boolean | null | undefined;
1776
- tradingPrivacy?: "private" | "public" | null | undefined;
1777
- profileId: string;
1778
- address: string;
1779
- name: string;
1780
- imageUrl?: string | null | undefined;
1781
- }, {
1782
- displayName: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1783
- bio: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1784
- createdAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1785
- updatedAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1786
- connectedToX: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
1787
- tradingPrivacy: import("@metamask/superstruct").Struct<"private" | "public" | null | undefined, {
1788
- private: "private";
1789
- public: "public";
1790
- }>;
1791
- profileId: import("@metamask/superstruct").Struct<string, null>;
1792
- address: import("@metamask/superstruct").Struct<string, null>;
1793
- name: import("@metamask/superstruct").Struct<string, null>;
1794
- imageUrl: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1795
- }>>;
1796
- count: import("@metamask/superstruct").Struct<number, null>;
1797
- }>;
1798
- export declare const FollowResponseStruct: import("@metamask/superstruct").Struct<{
1799
- followed: {
1800
- displayName?: string | null | undefined;
1801
- bio?: string | null | undefined;
1802
- createdAt?: string | null | undefined;
1803
- updatedAt?: string | null | undefined;
1804
- connectedToX?: boolean | null | undefined;
1805
- tradingPrivacy?: "private" | "public" | null | undefined;
1806
- profileId: string;
1807
- address: string;
1808
- name: string;
1809
- imageUrl?: string | null | undefined;
1810
- }[];
1811
- }, {
1812
- followed: import("@metamask/superstruct").Struct<{
1813
- displayName?: string | null | undefined;
1814
- bio?: string | null | undefined;
1815
- createdAt?: string | null | undefined;
1816
- updatedAt?: string | null | undefined;
1817
- connectedToX?: boolean | null | undefined;
1818
- tradingPrivacy?: "private" | "public" | null | undefined;
1819
- profileId: string;
1820
- address: string;
1821
- name: string;
1822
- imageUrl?: string | null | undefined;
1823
- }[], import("@metamask/superstruct").Struct<{
1824
- displayName?: string | null | undefined;
1825
- bio?: string | null | undefined;
1826
- createdAt?: string | null | undefined;
1827
- updatedAt?: string | null | undefined;
1828
- connectedToX?: boolean | null | undefined;
1829
- tradingPrivacy?: "private" | "public" | null | undefined;
1830
- profileId: string;
1831
- address: string;
1832
- name: string;
1833
- imageUrl?: string | null | undefined;
1834
- }, {
1835
- displayName: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1836
- bio: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1837
- createdAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1838
- updatedAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1839
- connectedToX: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
1840
- tradingPrivacy: import("@metamask/superstruct").Struct<"private" | "public" | null | undefined, {
1841
- private: "private";
1842
- public: "public";
1843
- }>;
1844
- profileId: import("@metamask/superstruct").Struct<string, null>;
1845
- address: import("@metamask/superstruct").Struct<string, null>;
1846
- name: import("@metamask/superstruct").Struct<string, null>;
1847
- imageUrl: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1848
- }>>;
1849
- }>;
1850
- export declare const UnfollowResponseStruct: import("@metamask/superstruct").Struct<{
1851
- unfollowed: {
1852
- displayName?: string | null | undefined;
1853
- bio?: string | null | undefined;
1854
- createdAt?: string | null | undefined;
1855
- updatedAt?: string | null | undefined;
1856
- connectedToX?: boolean | null | undefined;
1857
- tradingPrivacy?: "private" | "public" | null | undefined;
1858
- profileId: string;
1859
- address: string;
1860
- name: string;
1861
- imageUrl?: string | null | undefined;
1862
- }[];
1863
- }, {
1864
- unfollowed: import("@metamask/superstruct").Struct<{
1865
- displayName?: string | null | undefined;
1866
- bio?: string | null | undefined;
1867
- createdAt?: string | null | undefined;
1868
- updatedAt?: string | null | undefined;
1869
- connectedToX?: boolean | null | undefined;
1870
- tradingPrivacy?: "private" | "public" | null | undefined;
1871
- profileId: string;
1872
- address: string;
1873
- name: string;
1874
- imageUrl?: string | null | undefined;
1875
- }[], import("@metamask/superstruct").Struct<{
1876
- displayName?: string | null | undefined;
1877
- bio?: string | null | undefined;
1878
- createdAt?: string | null | undefined;
1879
- updatedAt?: string | null | undefined;
1880
- connectedToX?: boolean | null | undefined;
1881
- tradingPrivacy?: "private" | "public" | null | undefined;
1882
- profileId: string;
1883
- address: string;
1884
- name: string;
1885
- imageUrl?: string | null | undefined;
1886
- }, {
1887
- displayName: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1888
- bio: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1889
- createdAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1890
- updatedAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1891
- connectedToX: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
1892
- tradingPrivacy: import("@metamask/superstruct").Struct<"private" | "public" | null | undefined, {
1893
- private: "private";
1894
- public: "public";
1895
- }>;
1896
- profileId: import("@metamask/superstruct").Struct<string, null>;
1897
- address: import("@metamask/superstruct").Struct<string, null>;
1898
- name: import("@metamask/superstruct").Struct<string, null>;
1899
- imageUrl: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1900
- }>>;
1901
- }>;
1902
- export declare const BlockedProfilesResponseStruct: import("@metamask/superstruct").Struct<{
1903
- items: {
1904
- blockedAt: number;
1905
- reason: string | null;
1906
- profile: {
1907
- displayName?: string | null | undefined;
1908
- bio?: string | null | undefined;
1909
- createdAt?: string | null | undefined;
1910
- updatedAt?: string | null | undefined;
1911
- connectedToX?: boolean | null | undefined;
1912
- tradingPrivacy?: "private" | "public" | null | undefined;
1913
- profileId: string;
1914
- address: string;
1915
- name: string;
1916
- imageUrl?: string | null | undefined;
1917
- };
1918
- }[];
1919
- cursor: string | null;
1920
- }, {
1921
- items: import("@metamask/superstruct").Struct<{
1922
- blockedAt: number;
1923
- reason: string | null;
1924
- profile: {
1925
- displayName?: string | null | undefined;
1926
- bio?: string | null | undefined;
1927
- createdAt?: string | null | undefined;
1928
- updatedAt?: string | null | undefined;
1929
- connectedToX?: boolean | null | undefined;
1930
- tradingPrivacy?: "private" | "public" | null | undefined;
1931
- profileId: string;
1932
- address: string;
1933
- name: string;
1934
- imageUrl?: string | null | undefined;
1935
- };
1936
- }[], import("@metamask/superstruct").Struct<{
1937
- blockedAt: number;
1938
- reason: string | null;
1939
- profile: {
1940
- displayName?: string | null | undefined;
1941
- bio?: string | null | undefined;
1942
- createdAt?: string | null | undefined;
1943
- updatedAt?: string | null | undefined;
1944
- connectedToX?: boolean | null | undefined;
1945
- tradingPrivacy?: "private" | "public" | null | undefined;
1946
- profileId: string;
1947
- address: string;
1948
- name: string;
1949
- imageUrl?: string | null | undefined;
1950
- };
1951
- }, {
1952
- blockedAt: import("@metamask/superstruct").Struct<number, null>;
1953
- reason: import("@metamask/superstruct").Struct<string | null, null>;
1954
- profile: import("@metamask/superstruct").Struct<{
1955
- displayName?: string | null | undefined;
1956
- bio?: string | null | undefined;
1957
- createdAt?: string | null | undefined;
1958
- updatedAt?: string | null | undefined;
1959
- connectedToX?: boolean | null | undefined;
1960
- tradingPrivacy?: "private" | "public" | null | undefined;
1961
- profileId: string;
1962
- address: string;
1963
- name: string;
1964
- imageUrl?: string | null | undefined;
1965
- }, {
1966
- displayName: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1967
- bio: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1968
- createdAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1969
- updatedAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1970
- connectedToX: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
1971
- tradingPrivacy: import("@metamask/superstruct").Struct<"private" | "public" | null | undefined, {
1972
- private: "private";
1973
- public: "public";
1974
- }>;
1975
- profileId: import("@metamask/superstruct").Struct<string, null>;
1976
- address: import("@metamask/superstruct").Struct<string, null>;
1977
- name: import("@metamask/superstruct").Struct<string, null>;
1978
- imageUrl: import("@metamask/superstruct").Struct<string | null | undefined, null>;
1979
- }>;
1980
- }>>;
1981
- cursor: import("@metamask/superstruct").Struct<string | null, null>;
1982
- }>;
1983
- export declare const BlockedContentResponseStruct: import("@metamask/superstruct").Struct<{
1984
- items: {
1985
- blockedAt: number;
1986
- reason: string | null;
1987
- type: "comment" | "reply";
1988
- id: string;
1989
- text: string;
1990
- createdAt: number;
1991
- author: {
1992
- displayName?: string | null | undefined;
1993
- bio?: string | null | undefined;
1994
- createdAt?: string | null | undefined;
1995
- updatedAt?: string | null | undefined;
1996
- connectedToX?: boolean | null | undefined;
1997
- tradingPrivacy?: "private" | "public" | null | undefined;
1998
- profileId: string;
1999
- address: string;
2000
- name: string;
2001
- imageUrl?: string | null | undefined;
2002
- } | null;
2003
- }[];
2004
- cursor: string | null;
2005
- }, {
2006
- items: import("@metamask/superstruct").Struct<{
2007
- blockedAt: number;
2008
- reason: string | null;
2009
- type: "comment" | "reply";
2010
- id: string;
2011
- text: string;
2012
- createdAt: number;
2013
- author: {
2014
- displayName?: string | null | undefined;
2015
- bio?: string | null | undefined;
2016
- createdAt?: string | null | undefined;
2017
- updatedAt?: string | null | undefined;
2018
- connectedToX?: boolean | null | undefined;
2019
- tradingPrivacy?: "private" | "public" | null | undefined;
2020
- profileId: string;
2021
- address: string;
2022
- name: string;
2023
- imageUrl?: string | null | undefined;
2024
- } | null;
2025
- }[], import("@metamask/superstruct").Struct<{
2026
- blockedAt: number;
2027
- reason: string | null;
2028
- type: "comment" | "reply";
2029
- id: string;
2030
- text: string;
2031
- createdAt: number;
2032
- author: {
2033
- displayName?: string | null | undefined;
2034
- bio?: string | null | undefined;
2035
- createdAt?: string | null | undefined;
2036
- updatedAt?: string | null | undefined;
2037
- connectedToX?: boolean | null | undefined;
2038
- tradingPrivacy?: "private" | "public" | null | undefined;
2039
- profileId: string;
2040
- address: string;
2041
- name: string;
2042
- imageUrl?: string | null | undefined;
2043
- } | null;
2044
- }, {
2045
- blockedAt: import("@metamask/superstruct").Struct<number, null>;
2046
- reason: import("@metamask/superstruct").Struct<string | null, null>;
2047
- type: import("@metamask/superstruct").Struct<"comment" | "reply", {
2048
- comment: "comment";
2049
- reply: "reply";
2050
- }>;
2051
- id: import("@metamask/superstruct").Struct<string, null>;
2052
- text: import("@metamask/superstruct").Struct<string, null>;
2053
- createdAt: import("@metamask/superstruct").Struct<number, null>;
2054
- author: import("@metamask/superstruct").Struct<{
2055
- displayName?: string | null | undefined;
2056
- bio?: string | null | undefined;
2057
- createdAt?: string | null | undefined;
2058
- updatedAt?: string | null | undefined;
2059
- connectedToX?: boolean | null | undefined;
2060
- tradingPrivacy?: "private" | "public" | null | undefined;
2061
- profileId: string;
2062
- address: string;
2063
- name: string;
2064
- imageUrl?: string | null | undefined;
2065
- } | null, {
2066
- displayName: import("@metamask/superstruct").Struct<string | null | undefined, null>;
2067
- bio: import("@metamask/superstruct").Struct<string | null | undefined, null>;
2068
- createdAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
2069
- updatedAt: import("@metamask/superstruct").Struct<string | null | undefined, null>;
2070
- connectedToX: import("@metamask/superstruct").Struct<boolean | null | undefined, null>;
2071
- tradingPrivacy: import("@metamask/superstruct").Struct<"private" | "public" | null | undefined, {
2072
- private: "private";
2073
- public: "public";
2074
- }>;
2075
- profileId: import("@metamask/superstruct").Struct<string, null>;
2076
- address: import("@metamask/superstruct").Struct<string, null>;
2077
- name: import("@metamask/superstruct").Struct<string, null>;
2078
- imageUrl: import("@metamask/superstruct").Struct<string | null | undefined, null>;
2079
- }>;
2080
- }>>;
2081
- cursor: import("@metamask/superstruct").Struct<string | null, null>;
2082
- }>;
2083
- export declare const ModerationStatusResponseStruct: import("@metamask/superstruct").Struct<{
2084
- banned: boolean;
2085
- bannedAt: number | null;
2086
- reason: string | null;
2087
- }, {
2088
- banned: import("@metamask/superstruct").Struct<boolean, null>;
2089
- bannedAt: import("@metamask/superstruct").Struct<number | null, null>;
2090
- reason: import("@metamask/superstruct").Struct<string | null, null>;
2091
- }>;
2092
- export declare const QuoteTokensResponseStruct: import("@metamask/superstruct").Struct<{
2093
- natives: string[];
2094
- stablecoins: string[];
2095
- }, {
2096
- natives: import("@metamask/superstruct").Struct<string[], import("@metamask/superstruct").Struct<string, null>>;
2097
- stablecoins: import("@metamask/superstruct").Struct<string[], import("@metamask/superstruct").Struct<string, null>>;
2098
- }>;
2099
- /**
2100
- * Loose check for a GIF provider page.
2101
- *
2102
- * `type()` allows unknown keys, and callers return the parsed JSON rather
2103
- * than a masked copy, so provider fields are not stripped.
2104
- */
2105
- export declare const GifPageResponseStruct: import("@metamask/superstruct").Struct<{
2106
- result: boolean;
2107
- data: {};
2108
- }, {
2109
- result: import("@metamask/superstruct").Struct<boolean, null>;
2110
- data: import("@metamask/superstruct").Struct<{}, {}>;
2111
- }>;
2112
- //# sourceMappingURL=structs.d.ts.map