@plexcord/types 1.17.7 → 1.17.9

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 (80) hide show
  1. package/api/ChatButtons.d.ts +1 -1
  2. package/components/Icons.d.ts +1 -0
  3. package/components/settings/tabs/plugins/index.d.ts +1 -1
  4. package/package.json +1 -1
  5. package/plugins/channelTabs/components/BookmarkContainer.d.ts +4 -0
  6. package/plugins/channelTabs/components/ChannelTab.d.ts +9 -0
  7. package/plugins/channelTabs/components/ChannelTabsContainer.d.ts +6 -2
  8. package/plugins/channelTabs/components/KeybindSettings.d.ts +2 -0
  9. package/plugins/channelTabs/index.d.ts +159 -6
  10. package/plugins/channelTabs/util/constants.d.ts +157 -6
  11. package/plugins/channelTabs/util/icons.d.ts +2 -0
  12. package/plugins/channelTabs/util/tabs.d.ts +1 -0
  13. package/plugins/hideChatButtons/index.d.ts +2 -3
  14. package/plugins/instantScreenshare/index.d.ts +15 -0
  15. package/plugins/instantScreenshare/utils.d.ts +12 -0
  16. package/plugins/messageLogger/index.d.ts +1 -3
  17. package/plugins/moreKaomoji/index.d.ts +1 -0
  18. package/plugins/morse/index.d.ts +3 -0
  19. package/plugins/moyai/index.d.ts +25 -14
  20. package/plugins/musicControls/index.d.ts +77 -44
  21. package/plugins/musicControls/settings.d.ts +76 -44
  22. package/plugins/mutualGroupDMs/index.d.ts +1 -0
  23. package/plugins/newGuildSettings/index.d.ts +37 -20
  24. package/plugins/noBlockedMessages/index.d.ts +9 -4
  25. package/plugins/noBulletPoints/index.d.ts +1 -0
  26. package/plugins/noDeepLinks.web/index.d.ts +1 -0
  27. package/plugins/noDeleteSafety/index.d.ts +5 -2
  28. package/plugins/noDevtoolsWarning/index.d.ts +1 -0
  29. package/plugins/noF1/index.d.ts +1 -0
  30. package/plugins/noMaskedUrlPaste/index.d.ts +1 -0
  31. package/plugins/noMirroredCamera/index.d.ts +1 -0
  32. package/plugins/noModalAnimation/index.d.ts +1 -0
  33. package/plugins/noMosaic/index.d.ts +5 -2
  34. package/plugins/noNitroUpsell/index.d.ts +1 -0
  35. package/plugins/noOnboarding/index.d.ts +1 -0
  36. package/plugins/noOnboardingDelay/index.d.ts +1 -0
  37. package/plugins/noPendingCount/index.d.ts +13 -6
  38. package/plugins/noProfileThemes/index.d.ts +1 -0
  39. package/plugins/noRPC.discordDesktop/index.d.ts +1 -0
  40. package/plugins/noReplyMention/index.d.ts +25 -16
  41. package/plugins/noServerEmojis/index.d.ts +7 -4
  42. package/plugins/noSystemBadge.discordDesktop/index.d.ts +1 -0
  43. package/plugins/noTypingAnimation/index.d.ts +1 -0
  44. package/plugins/noUnblockToJump/index.d.ts +1 -0
  45. package/plugins/normalizeMessageLinks/index.d.ts +1 -0
  46. package/plugins/notificationTitle/index.d.ts +1 -0
  47. package/plugins/notificationVolume/index.d.ts +5 -2
  48. package/plugins/onePingPerDM/index.d.ts +25 -14
  49. package/plugins/oneko/index.d.ts +7 -4
  50. package/plugins/openInApp/index.d.ts +1 -0
  51. package/plugins/overrideForumDefaults/index.d.ts +17 -12
  52. package/plugins/partyMode/index.d.ts +9 -6
  53. package/plugins/pauseInvitesForever/index.d.ts +1 -0
  54. package/plugins/permissionFreeWill/index.d.ts +9 -4
  55. package/plugins/permissionsViewer/index.d.ts +17 -12
  56. package/plugins/petpet/index.d.ts +7 -0
  57. package/plugins/pictureInPicture/index.d.ts +5 -2
  58. package/plugins/pinDms/index.d.ts +41 -24
  59. package/plugins/pinIcon/index.d.ts +1 -0
  60. package/plugins/pingNotifications/index.d.ts +21 -10
  61. package/plugins/plainFolderIcon/index.d.ts +1 -0
  62. package/plugins/platformIndicators/index.d.ts +3 -1
  63. package/plugins/platformSpoofer/index.d.ts +9 -6
  64. package/plugins/plexcordToolbox/index.d.ts +1 -0
  65. package/plugins/previewMessage/index.d.ts +1 -0
  66. package/plugins/questCompleter/index.d.ts +1 -0
  67. package/plugins/questFocused/index.d.ts +1 -0
  68. package/plugins/questify/index.d.ts +232 -94
  69. package/plugins/questify/settings.d.ts +220 -94
  70. package/plugins/questionMarkReplacement/index.d.ts +5 -2
  71. package/plugins/quickMention/index.d.ts +1 -0
  72. package/plugins/quickReply/index.d.ts +13 -8
  73. package/plugins/quoter/index.d.ts +9 -6
  74. package/plugins/randomVoice/index.d.ts +85 -42
  75. package/plugins/reactErrorDecoder/index.d.ts +1 -0
  76. package/plugins/readAllNotificationsButton/index.d.ts +1 -0
  77. package/plugins/showMeYourName/index.d.ts +11 -8
  78. package/plugins/uselessInfo/index.d.ts +91 -0
  79. package/utils/constants.d.ts +4 -0
  80. package/webpack/common/utils.d.ts +1 -0
@@ -61,7 +61,7 @@ export interface ChatBarProps {
61
61
  export type ChatBarButtonFactory = (props: ChatBarProps & {
62
62
  isMainChat: boolean;
63
63
  }) => JSX.Element | null;
64
- export declare function _injectButtons(buttons: ReactNode[], props: ChatBarProps): void;
64
+ export declare function _injectButtons(buttons: ReactNode[], props: ChatBarProps): ReactNode[] | undefined;
65
65
  export declare const addChatBarButton: (id: string, button: ChatBarButtonFactory) => Map<string, ChatBarButtonFactory>;
66
66
  export declare const removeChatBarButton: (id: string) => boolean;
67
67
  export interface ChatBarButtonProps {
@@ -34,6 +34,7 @@ export declare function NotesIcon(props: IconProps): import("react").JSX.Element
34
34
  export declare function FolderIcon(props: IconProps): import("react").JSX.Element;
35
35
  export declare function LogIcon(props: IconProps): import("react").JSX.Element;
36
36
  export declare function RestartIcon(props: IconProps): import("react").JSX.Element;
37
+ export declare function IDIcon(props: IconProps): import("react").JSX.Element;
37
38
  export declare function PaintbrushIcon(props: IconProps): import("react").JSX.Element;
38
39
  export declare function PencilIcon(props: IconProps): import("react").JSX.Element;
39
40
  export declare function GithubIcon(props: IconProps): import("react").JSX.Element;
@@ -4,7 +4,7 @@ import { JSX } from "react";
4
4
  export declare const cl: (...args: (string | false | 0 | string[] | Record<string, unknown> | null | undefined)[]) => string;
5
5
  export declare const logger: Logger;
6
6
  export declare function showErrorToast(message: string): void;
7
- export declare const ExcludedReasons: Record<"web" | "discordDesktop" | "plextron" | "desktop" | "dev", string>;
7
+ export declare function getExcludedReasons(): Record<"web" | "discordDesktop" | "plextron" | "desktop" | "dev", string>;
8
8
  export declare function PluginDependencyList({ deps }: {
9
9
  deps: string[];
10
10
  }): JSX.Element;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@plexcord/types",
3
3
  "private": false,
4
- "version": "1.17.7",
4
+ "version": "1.17.9",
5
5
  "description": "",
6
6
  "types": "index.d.ts",
7
7
  "scripts": {
@@ -1,4 +1,8 @@
1
1
  import { BasicChannelTabsProps } from "../util";
2
+ export declare function HorizontalScroller({ children, className, customRef }: React.PropsWithChildren<{
3
+ className?: string;
4
+ customRef?: (node: HTMLDivElement) => void;
5
+ }>): import("react").JSX.Element;
2
6
  export default function BookmarkContainer(props: BasicChannelTabsProps & {
3
7
  userId: string;
4
8
  }): import("react").JSX.Element;
@@ -3,7 +3,16 @@ import { JSX } from "react";
3
3
  export declare const NotificationDot: ({ channelIds }: {
4
4
  channelIds: string[];
5
5
  }) => JSX.Element | null;
6
+ interface TabNumberBadgeProps {
7
+ number: number;
8
+ position: "left" | "right";
9
+ isSelected: boolean;
10
+ isCompact: boolean;
11
+ isHovered: boolean;
12
+ }
13
+ export declare const TabNumberBadge: ({ number, position, isSelected, isCompact, isHovered }: TabNumberBadgeProps) => JSX.Element | null;
6
14
  export default function ChannelTab(props: ChannelTabsProps & {
7
15
  index: number;
8
16
  }): JSX.Element;
9
17
  export declare const PreviewTab: (props: ChannelTabsProps) => JSX.Element;
18
+ export {};
@@ -1,3 +1,7 @@
1
- import { BasicChannelTabsProps } from "../util";
1
+ import { BasicChannelTabsProps, ChannelTabsProps } from "../util";
2
+ type TabSet = Record<string, ChannelTabsProps[]>;
2
3
  export default function ChannelsTabsContainer(props: BasicChannelTabsProps): import("react").JSX.Element | null;
3
- export declare function ChannelTabsPreview(p: any): import("react").JSX.Element;
4
+ export declare function ChannelTabsPreview(p: {
5
+ setValue: (v: TabSet) => void;
6
+ }): import("react").JSX.Element;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ import { JSX } from "react";
2
+ export declare function KeybindSettings(): JSX.Element;
@@ -15,6 +15,8 @@ declare const _default: {
15
15
  contextMenus: {
16
16
  "channel-mention-context": NavContextMenuPatchCallback;
17
17
  "channel-context": NavContextMenuPatchCallback;
18
+ "user-context": NavContextMenuPatchCallback;
19
+ "gdm-context": NavContextMenuPatchCallback;
18
20
  };
19
21
  readonly displayDescription: string;
20
22
  patches: {
@@ -41,7 +43,6 @@ declare const _default: {
41
43
  };
42
44
  tabSet: {
43
45
  readonly label: string;
44
- readonly description: string;
45
46
  component: typeof import("./components/ChannelTabsContainer").ChannelTabsPreview;
46
47
  type: import("../../utils/types").OptionType.COMPONENT;
47
48
  default: {};
@@ -135,14 +136,14 @@ declare const _default: {
135
136
  })[];
136
137
  restartNeeded: true;
137
138
  };
138
- enableHotkeys: {
139
+ enableNumberKeySwitching: {
139
140
  readonly label: string;
140
141
  readonly description: string;
141
142
  type: import("../../utils/types").OptionType.BOOLEAN;
142
143
  default: true;
143
144
  restartNeeded: false;
144
145
  };
145
- hotkeyCount: {
146
+ numberKeySwitchCount: {
146
147
  readonly label: string;
147
148
  readonly description: string;
148
149
  type: import("../../utils/types").OptionType.SLIDER;
@@ -150,6 +151,82 @@ declare const _default: {
150
151
  default: number;
151
152
  stickToMarkers: true;
152
153
  };
154
+ enableCloseTabShortcut: {
155
+ readonly label: string;
156
+ readonly description: string;
157
+ type: import("../../utils/types").OptionType.BOOLEAN;
158
+ default: true;
159
+ restartNeeded: false;
160
+ };
161
+ enableNewTabShortcut: {
162
+ readonly label: string;
163
+ readonly description: string;
164
+ type: import("../../utils/types").OptionType.BOOLEAN;
165
+ default: true;
166
+ restartNeeded: false;
167
+ };
168
+ enableTabCycleShortcut: {
169
+ readonly label: string;
170
+ readonly description: string;
171
+ type: import("../../utils/types").OptionType.BOOLEAN;
172
+ default: true;
173
+ restartNeeded: false;
174
+ };
175
+ keybindsSection: {
176
+ readonly label: string;
177
+ type: import("../../utils/types").OptionType.COMPONENT;
178
+ component: typeof import("./components/KeybindSettings").KeybindSettings;
179
+ };
180
+ closeTabKeybind: {
181
+ readonly label: string;
182
+ readonly description: string;
183
+ type: import("../../utils/types").OptionType.STRING;
184
+ default: string;
185
+ hidden: true;
186
+ };
187
+ newTabKeybind: {
188
+ readonly label: string;
189
+ readonly description: string;
190
+ type: import("../../utils/types").OptionType.STRING;
191
+ default: string;
192
+ hidden: true;
193
+ };
194
+ cycleTabForwardKeybind: {
195
+ readonly label: string;
196
+ readonly description: string;
197
+ type: import("../../utils/types").OptionType.STRING;
198
+ default: string;
199
+ hidden: true;
200
+ };
201
+ cycleTabBackwardKeybind: {
202
+ readonly label: string;
203
+ readonly description: string;
204
+ type: import("../../utils/types").OptionType.STRING;
205
+ default: string;
206
+ hidden: true;
207
+ };
208
+ showTabNumbers: {
209
+ readonly label: string;
210
+ readonly description: string;
211
+ type: import("../../utils/types").OptionType.BOOLEAN;
212
+ default: false;
213
+ restartNeeded: false;
214
+ };
215
+ tabNumberPosition: {
216
+ readonly label: string;
217
+ readonly description: string;
218
+ type: import("../../utils/types").OptionType.SELECT;
219
+ readonly options: ({
220
+ label: string;
221
+ value: string;
222
+ default: boolean;
223
+ } | {
224
+ label: string;
225
+ value: string;
226
+ default?: undefined;
227
+ })[];
228
+ restartNeeded: false;
229
+ };
153
230
  animations: {
154
231
  readonly label: string;
155
232
  type: import("../../utils/types").OptionType.COMPONENT;
@@ -335,7 +412,6 @@ declare const _default: {
335
412
  };
336
413
  tabSet: {
337
414
  readonly label: string;
338
- readonly description: string;
339
415
  component: typeof import("./components/ChannelTabsContainer").ChannelTabsPreview;
340
416
  type: import("../../utils/types").OptionType.COMPONENT;
341
417
  default: {};
@@ -429,14 +505,14 @@ declare const _default: {
429
505
  })[];
430
506
  restartNeeded: true;
431
507
  };
432
- enableHotkeys: {
508
+ enableNumberKeySwitching: {
433
509
  readonly label: string;
434
510
  readonly description: string;
435
511
  type: import("../../utils/types").OptionType.BOOLEAN;
436
512
  default: true;
437
513
  restartNeeded: false;
438
514
  };
439
- hotkeyCount: {
515
+ numberKeySwitchCount: {
440
516
  readonly label: string;
441
517
  readonly description: string;
442
518
  type: import("../../utils/types").OptionType.SLIDER;
@@ -444,6 +520,82 @@ declare const _default: {
444
520
  default: number;
445
521
  stickToMarkers: true;
446
522
  };
523
+ enableCloseTabShortcut: {
524
+ readonly label: string;
525
+ readonly description: string;
526
+ type: import("../../utils/types").OptionType.BOOLEAN;
527
+ default: true;
528
+ restartNeeded: false;
529
+ };
530
+ enableNewTabShortcut: {
531
+ readonly label: string;
532
+ readonly description: string;
533
+ type: import("../../utils/types").OptionType.BOOLEAN;
534
+ default: true;
535
+ restartNeeded: false;
536
+ };
537
+ enableTabCycleShortcut: {
538
+ readonly label: string;
539
+ readonly description: string;
540
+ type: import("../../utils/types").OptionType.BOOLEAN;
541
+ default: true;
542
+ restartNeeded: false;
543
+ };
544
+ keybindsSection: {
545
+ readonly label: string;
546
+ type: import("../../utils/types").OptionType.COMPONENT;
547
+ component: typeof import("./components/KeybindSettings").KeybindSettings;
548
+ };
549
+ closeTabKeybind: {
550
+ readonly label: string;
551
+ readonly description: string;
552
+ type: import("../../utils/types").OptionType.STRING;
553
+ default: string;
554
+ hidden: true;
555
+ };
556
+ newTabKeybind: {
557
+ readonly label: string;
558
+ readonly description: string;
559
+ type: import("../../utils/types").OptionType.STRING;
560
+ default: string;
561
+ hidden: true;
562
+ };
563
+ cycleTabForwardKeybind: {
564
+ readonly label: string;
565
+ readonly description: string;
566
+ type: import("../../utils/types").OptionType.STRING;
567
+ default: string;
568
+ hidden: true;
569
+ };
570
+ cycleTabBackwardKeybind: {
571
+ readonly label: string;
572
+ readonly description: string;
573
+ type: import("../../utils/types").OptionType.STRING;
574
+ default: string;
575
+ hidden: true;
576
+ };
577
+ showTabNumbers: {
578
+ readonly label: string;
579
+ readonly description: string;
580
+ type: import("../../utils/types").OptionType.BOOLEAN;
581
+ default: false;
582
+ restartNeeded: false;
583
+ };
584
+ tabNumberPosition: {
585
+ readonly label: string;
586
+ readonly description: string;
587
+ type: import("../../utils/types").OptionType.SELECT;
588
+ readonly options: ({
589
+ label: string;
590
+ value: string;
591
+ default: boolean;
592
+ } | {
593
+ label: string;
594
+ value: string;
595
+ default?: undefined;
596
+ })[];
597
+ restartNeeded: false;
598
+ };
447
599
  animations: {
448
600
  readonly label: string;
449
601
  type: import("../../utils/types").OptionType.COMPONENT;
@@ -613,6 +765,7 @@ declare const _default: {
613
765
  restartNeeded: false;
614
766
  };
615
767
  }>, {}>;
768
+ start(): void;
616
769
  containerHeight: number;
617
770
  flux: {
618
771
  CHANNEL_SELECT(data: {
@@ -1,4 +1,5 @@
1
1
  import { ChannelTabsPreview } from "../components/ChannelTabsContainer";
2
+ import { KeybindSettings } from "../components/KeybindSettings";
2
3
  import { Logger } from "../../../utils/Logger";
3
4
  import { OptionType } from "../../../utils/types";
4
5
  import { JSX } from "react";
@@ -31,7 +32,6 @@ export declare const settings: import("../../../utils/types").DefinedSettings<{
31
32
  };
32
33
  tabSet: {
33
34
  readonly label: string;
34
- readonly description: string;
35
35
  component: typeof ChannelTabsPreview;
36
36
  type: OptionType.COMPONENT;
37
37
  default: {};
@@ -125,14 +125,14 @@ export declare const settings: import("../../../utils/types").DefinedSettings<{
125
125
  })[];
126
126
  restartNeeded: true;
127
127
  };
128
- enableHotkeys: {
128
+ enableNumberKeySwitching: {
129
129
  readonly label: string;
130
130
  readonly description: string;
131
131
  type: OptionType.BOOLEAN;
132
132
  default: true;
133
133
  restartNeeded: false;
134
134
  };
135
- hotkeyCount: {
135
+ numberKeySwitchCount: {
136
136
  readonly label: string;
137
137
  readonly description: string;
138
138
  type: OptionType.SLIDER;
@@ -140,6 +140,82 @@ export declare const settings: import("../../../utils/types").DefinedSettings<{
140
140
  default: number;
141
141
  stickToMarkers: true;
142
142
  };
143
+ enableCloseTabShortcut: {
144
+ readonly label: string;
145
+ readonly description: string;
146
+ type: OptionType.BOOLEAN;
147
+ default: true;
148
+ restartNeeded: false;
149
+ };
150
+ enableNewTabShortcut: {
151
+ readonly label: string;
152
+ readonly description: string;
153
+ type: OptionType.BOOLEAN;
154
+ default: true;
155
+ restartNeeded: false;
156
+ };
157
+ enableTabCycleShortcut: {
158
+ readonly label: string;
159
+ readonly description: string;
160
+ type: OptionType.BOOLEAN;
161
+ default: true;
162
+ restartNeeded: false;
163
+ };
164
+ keybindsSection: {
165
+ readonly label: string;
166
+ type: OptionType.COMPONENT;
167
+ component: typeof KeybindSettings;
168
+ };
169
+ closeTabKeybind: {
170
+ readonly label: string;
171
+ readonly description: string;
172
+ type: OptionType.STRING;
173
+ default: string;
174
+ hidden: true;
175
+ };
176
+ newTabKeybind: {
177
+ readonly label: string;
178
+ readonly description: string;
179
+ type: OptionType.STRING;
180
+ default: string;
181
+ hidden: true;
182
+ };
183
+ cycleTabForwardKeybind: {
184
+ readonly label: string;
185
+ readonly description: string;
186
+ type: OptionType.STRING;
187
+ default: string;
188
+ hidden: true;
189
+ };
190
+ cycleTabBackwardKeybind: {
191
+ readonly label: string;
192
+ readonly description: string;
193
+ type: OptionType.STRING;
194
+ default: string;
195
+ hidden: true;
196
+ };
197
+ showTabNumbers: {
198
+ readonly label: string;
199
+ readonly description: string;
200
+ type: OptionType.BOOLEAN;
201
+ default: false;
202
+ restartNeeded: false;
203
+ };
204
+ tabNumberPosition: {
205
+ readonly label: string;
206
+ readonly description: string;
207
+ type: OptionType.SELECT;
208
+ readonly options: ({
209
+ label: string;
210
+ value: string;
211
+ default: boolean;
212
+ } | {
213
+ label: string;
214
+ value: string;
215
+ default?: undefined;
216
+ })[];
217
+ restartNeeded: false;
218
+ };
143
219
  animations: {
144
220
  readonly label: string;
145
221
  type: OptionType.COMPONENT;
@@ -325,7 +401,6 @@ export declare const settings: import("../../../utils/types").DefinedSettings<{
325
401
  };
326
402
  tabSet: {
327
403
  readonly label: string;
328
- readonly description: string;
329
404
  component: typeof ChannelTabsPreview;
330
405
  type: OptionType.COMPONENT;
331
406
  default: {};
@@ -419,14 +494,14 @@ export declare const settings: import("../../../utils/types").DefinedSettings<{
419
494
  })[];
420
495
  restartNeeded: true;
421
496
  };
422
- enableHotkeys: {
497
+ enableNumberKeySwitching: {
423
498
  readonly label: string;
424
499
  readonly description: string;
425
500
  type: OptionType.BOOLEAN;
426
501
  default: true;
427
502
  restartNeeded: false;
428
503
  };
429
- hotkeyCount: {
504
+ numberKeySwitchCount: {
430
505
  readonly label: string;
431
506
  readonly description: string;
432
507
  type: OptionType.SLIDER;
@@ -434,6 +509,82 @@ export declare const settings: import("../../../utils/types").DefinedSettings<{
434
509
  default: number;
435
510
  stickToMarkers: true;
436
511
  };
512
+ enableCloseTabShortcut: {
513
+ readonly label: string;
514
+ readonly description: string;
515
+ type: OptionType.BOOLEAN;
516
+ default: true;
517
+ restartNeeded: false;
518
+ };
519
+ enableNewTabShortcut: {
520
+ readonly label: string;
521
+ readonly description: string;
522
+ type: OptionType.BOOLEAN;
523
+ default: true;
524
+ restartNeeded: false;
525
+ };
526
+ enableTabCycleShortcut: {
527
+ readonly label: string;
528
+ readonly description: string;
529
+ type: OptionType.BOOLEAN;
530
+ default: true;
531
+ restartNeeded: false;
532
+ };
533
+ keybindsSection: {
534
+ readonly label: string;
535
+ type: OptionType.COMPONENT;
536
+ component: typeof KeybindSettings;
537
+ };
538
+ closeTabKeybind: {
539
+ readonly label: string;
540
+ readonly description: string;
541
+ type: OptionType.STRING;
542
+ default: string;
543
+ hidden: true;
544
+ };
545
+ newTabKeybind: {
546
+ readonly label: string;
547
+ readonly description: string;
548
+ type: OptionType.STRING;
549
+ default: string;
550
+ hidden: true;
551
+ };
552
+ cycleTabForwardKeybind: {
553
+ readonly label: string;
554
+ readonly description: string;
555
+ type: OptionType.STRING;
556
+ default: string;
557
+ hidden: true;
558
+ };
559
+ cycleTabBackwardKeybind: {
560
+ readonly label: string;
561
+ readonly description: string;
562
+ type: OptionType.STRING;
563
+ default: string;
564
+ hidden: true;
565
+ };
566
+ showTabNumbers: {
567
+ readonly label: string;
568
+ readonly description: string;
569
+ type: OptionType.BOOLEAN;
570
+ default: false;
571
+ restartNeeded: false;
572
+ };
573
+ tabNumberPosition: {
574
+ readonly label: string;
575
+ readonly description: string;
576
+ type: OptionType.SELECT;
577
+ readonly options: ({
578
+ label: string;
579
+ value: string;
580
+ default: boolean;
581
+ } | {
582
+ label: string;
583
+ value: string;
584
+ default?: undefined;
585
+ })[];
586
+ restartNeeded: false;
587
+ };
437
588
  animations: {
438
589
  readonly label: string;
439
590
  type: OptionType.COMPONENT;
@@ -4,4 +4,6 @@ export declare const EnvelopeIcon: import("../../../utils").LazyComponentWrapper
4
4
  export declare const DiscoveryIcon: import("../../../utils").LazyComponentWrapper<import("react").ComponentType<any>>;
5
5
  export declare const NitroIcon: import("../../../utils").LazyComponentWrapper<import("react").ComponentType<any>>;
6
6
  export declare const FriendsIcon: import("../../../utils").LazyComponentWrapper<import("react").ComponentType<any>>;
7
+ export declare const ICYMIIcon: import("../../../utils").LazyComponentWrapper<import("react").ComponentType<any>>;
8
+ export declare const ActivityIcon: import("../../../utils").LazyComponentWrapper<import("react").ComponentType<any>>;
7
9
  export declare const CircleQuestionIcon: import("../../../utils").LazyComponentWrapper<import("react").ComponentType<any>>;
@@ -2,6 +2,7 @@ import { JSX } from "react";
2
2
  import { BasicChannelTabsProps, ChannelTabsProps } from "./types";
3
3
  export declare function isViewingViaBookmarkMode(): boolean;
4
4
  export declare function isNavigatingViaTab(): boolean;
5
+ export declare function clearNavigationFlag(): void;
5
6
  export declare function clearBookmarkViewingMode(): void;
6
7
  export declare function setNavigationSource(guildId: string, channelId: string, source: "bookmark" | "tab"): void;
7
8
  export declare function isNavigationFromSource(guildId: string | null | undefined, channelId: string, source: "bookmark"): boolean;
@@ -1,6 +1,5 @@
1
1
  import { OptionType, StartAt } from "../../utils/types";
2
2
  import type { ReactNode } from "react";
3
- declare function buttonsInner(buttons: ReactNode[]): import("react").JSX.Element[] | null;
4
3
  declare const _default: {
5
4
  name: string;
6
5
  description: string;
@@ -50,7 +49,7 @@ declare const _default: {
50
49
  };
51
50
  }[];
52
51
  startAt: StartAt.Init;
53
- buttonsInner: typeof buttonsInner;
54
- start: () => Promise<void>;
52
+ buttonsInner(buttons: ReactNode[]): import("react").JSX.Element;
53
+ start(): Promise<void>;
55
54
  } & Record<PropertyKey, any> & import("../../utils/types").Plugin;
56
55
  export default _default;
@@ -31,6 +31,12 @@ declare const _default: {
31
31
  type: import("../../utils/types").OptionType.BOOLEAN;
32
32
  default: false;
33
33
  };
34
+ toolboxManagement: {
35
+ readonly label: string;
36
+ readonly description: string;
37
+ type: import("../../utils/types").OptionType.BOOLEAN;
38
+ default: true;
39
+ };
34
40
  }, import("../../utils/types").SettingsChecks<{
35
41
  streamMedia: {
36
42
  type: import("../../utils/types").OptionType.COMPONENT;
@@ -54,6 +60,12 @@ declare const _default: {
54
60
  type: import("../../utils/types").OptionType.BOOLEAN;
55
61
  default: false;
56
62
  };
63
+ toolboxManagement: {
64
+ readonly label: string;
65
+ readonly description: string;
66
+ type: import("../../utils/types").OptionType.BOOLEAN;
67
+ default: true;
68
+ };
57
69
  }>, {}>;
58
70
  readonly displayDescription: string;
59
71
  settingsAboutComponent: () => import("react").JSX.Element;
@@ -62,5 +74,8 @@ declare const _default: {
62
74
  voiceStates: VoiceState[];
63
75
  }): Promise<void>;
64
76
  };
77
+ readonly toolboxActions: {
78
+ [x: string]: () => void;
79
+ };
65
80
  } & Record<PropertyKey, any> & import("../../utils/types").Plugin;
66
81
  export default _default;
@@ -22,6 +22,12 @@ export declare const settings: import("../../utils/types").DefinedSettings<{
22
22
  type: OptionType.BOOLEAN;
23
23
  default: false;
24
24
  };
25
+ toolboxManagement: {
26
+ readonly label: string;
27
+ readonly description: string;
28
+ type: OptionType.BOOLEAN;
29
+ default: true;
30
+ };
25
31
  }, import("../../utils/types").SettingsChecks<{
26
32
  streamMedia: {
27
33
  type: OptionType.COMPONENT;
@@ -45,6 +51,12 @@ export declare const settings: import("../../utils/types").DefinedSettings<{
45
51
  type: OptionType.BOOLEAN;
46
52
  default: false;
47
53
  };
54
+ toolboxManagement: {
55
+ readonly label: string;
56
+ readonly description: string;
57
+ type: OptionType.BOOLEAN;
58
+ default: true;
59
+ };
48
60
  }>, {}>;
49
61
  export declare function getCurrentMedia(): Promise<any>;
50
62
  declare function SettingSection(): import("react").JSX.Element;
@@ -2,9 +2,7 @@ import "./messageLogger.css";
2
2
  import { NavContextMenuPatchCallback } from "../../api/ContextMenu";
3
3
  import { Message } from "@plexcord/discord-types";
4
4
  import { OptionType } from "../../utils/types";
5
- export declare function parseEditContent(content: string, message: Message, previousContent?: string): import("react").ReactNode[] | import("react").DetailedReactHTMLElement<{
6
- className: string;
7
- }, HTMLElement>;
5
+ export declare function parseEditContent(content: string, message: Message, previousContent?: string): import("react").ReactNode[] | import("react").JSX.Element | import("react").JSX.Element[];
8
6
  declare const _default: {
9
7
  name: string;
10
8
  description: string;
@@ -5,6 +5,7 @@ declare const _default: {
5
5
  name: string;
6
6
  id: bigint;
7
7
  }[];
8
+ readonly displayDescription: string;
8
9
  commands: {
9
10
  options: import("@plexcord/discord-types").CommandOption[];
10
11
  execute: (opts: import("@plexcord/discord-types").CommandArgument[]) => {
@@ -6,13 +6,16 @@ declare const _default: {
6
6
  name: string;
7
7
  id: bigint;
8
8
  }[];
9
+ readonly displayDescription: string;
9
10
  commands: {
10
11
  inputType: ApplicationCommandInputType.BUILT_IN_TEXT;
11
12
  name: string;
12
13
  description: string;
14
+ readonly displayDescription: string;
13
15
  options: {
14
16
  name: string;
15
17
  description: string;
18
+ readonly displayDescription: string;
16
19
  type: ApplicationCommandOptionType.STRING;
17
20
  required: true;
18
21
  }[];