@plexcord/types 1.13.2

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 (793) hide show
  1. package/Plexcord.d.ts +31 -0
  2. package/PlexcordNative.d.ts +56 -0
  3. package/README.md +11 -0
  4. package/api/AudioPlayer.d.ts +151 -0
  5. package/api/Badges.d.ts +49 -0
  6. package/api/ChatButtons.d.ts +75 -0
  7. package/api/Commands/commandHelpers.d.ts +19 -0
  8. package/api/Commands/index.d.ts +28 -0
  9. package/api/Commands/types.d.ts +5 -0
  10. package/api/ContextMenu.d.ts +55 -0
  11. package/api/DataStore/index.d.ts +97 -0
  12. package/api/LocaleLoader.d.ts +49 -0
  13. package/api/MemberListDecorators.d.ts +20 -0
  14. package/api/MessageAccessories.d.ts +10 -0
  15. package/api/MessageDecorations.d.ts +33 -0
  16. package/api/MessageEvents.d.ts +48 -0
  17. package/api/MessagePopover.d.ts +16 -0
  18. package/api/MessageUpdater.d.ts +8 -0
  19. package/api/NicknameIcons.d.ts +12 -0
  20. package/api/Notices.d.ts +6 -0
  21. package/api/Notifications/NotificationComponent.d.ts +6 -0
  22. package/api/Notifications/Notifications.d.ts +25 -0
  23. package/api/Notifications/index.d.ts +1 -0
  24. package/api/Notifications/notificationLog.d.ts +14 -0
  25. package/api/ServerList.d.ts +9 -0
  26. package/api/Settings.d.ts +81 -0
  27. package/api/Styles.d.ts +97 -0
  28. package/api/UserSettingDefinitions.d.ts +40 -0
  29. package/api/UserSettings.d.ts +40 -0
  30. package/api/i18n.d.ts +67 -0
  31. package/api/index.d.ts +121 -0
  32. package/components/CheckedTextInput.d.ts +23 -0
  33. package/components/CodeBlock.d.ts +7 -0
  34. package/components/ErrorBoundary.d.ts +26 -0
  35. package/components/ErrorCard.d.ts +3 -0
  36. package/components/Flex.d.ts +5 -0
  37. package/components/FormDivider.d.ts +4 -0
  38. package/components/FormSwitch.d.ts +14 -0
  39. package/components/Grid.d.ts +8 -0
  40. package/components/Heart.d.ts +2 -0
  41. package/components/Icons.d.ts +41 -0
  42. package/components/Link.d.ts +5 -0
  43. package/components/Switch.d.ts +8 -0
  44. package/components/handleComponentFailed.d.ts +1 -0
  45. package/components/index.d.ts +13 -0
  46. package/components/settings/AddonCard.d.ts +17 -0
  47. package/components/settings/DonateButton.d.ts +2 -0
  48. package/components/settings/PluginBadge.d.ts +4 -0
  49. package/components/settings/QuickAction.d.ts +12 -0
  50. package/components/settings/SpecialCard.d.ts +14 -0
  51. package/components/settings/Switch.d.ts +8 -0
  52. package/components/settings/index.d.ts +7 -0
  53. package/components/settings/tabs/BaseTab.d.ts +7 -0
  54. package/components/settings/tabs/changelog/NewPluginsSection.d.ts +11 -0
  55. package/components/settings/tabs/changelog/changelogManager.d.ts +40 -0
  56. package/components/settings/tabs/changelog/index.d.ts +3 -0
  57. package/components/settings/tabs/index.d.ts +12 -0
  58. package/components/settings/tabs/patchHelper/FullPatchInput.d.ts +8 -0
  59. package/components/settings/tabs/patchHelper/PatchPreview.d.ts +9 -0
  60. package/components/settings/tabs/patchHelper/ReplacementInput.d.ts +5 -0
  61. package/components/settings/tabs/patchHelper/index.d.ts +2 -0
  62. package/components/settings/tabs/plexcord/DonateButton.d.ts +2 -0
  63. package/components/settings/tabs/plexcord/MacVibrancySettings.d.ts +1 -0
  64. package/components/settings/tabs/plexcord/NotificationSettings.d.ts +2 -0
  65. package/components/settings/tabs/plexcord/index.d.ts +2 -0
  66. package/components/settings/tabs/plexcord/languages.d.ts +10 -0
  67. package/components/settings/tabs/plugins/ContributorModal.d.ts +3 -0
  68. package/components/settings/tabs/plugins/LinkIconButton.d.ts +10 -0
  69. package/components/settings/tabs/plugins/PluginCard.d.ts +12 -0
  70. package/components/settings/tabs/plugins/PluginModal.d.ts +17 -0
  71. package/components/settings/tabs/plugins/PluginStatCards.d.ts +7 -0
  72. package/components/settings/tabs/plugins/components/BooleanSetting.d.ts +3 -0
  73. package/components/settings/tabs/plugins/components/Common.d.ts +25 -0
  74. package/components/settings/tabs/plugins/components/ComponentSetting.d.ts +3 -0
  75. package/components/settings/tabs/plugins/components/NumberSetting.d.ts +3 -0
  76. package/components/settings/tabs/plugins/components/SelectSetting.d.ts +3 -0
  77. package/components/settings/tabs/plugins/components/SliderSetting.d.ts +3 -0
  78. package/components/settings/tabs/plugins/components/TextSetting.d.ts +3 -0
  79. package/components/settings/tabs/plugins/components/index.d.ts +5 -0
  80. package/components/settings/tabs/plugins/index.d.ts +12 -0
  81. package/components/settings/tabs/sync/BackupAndRestoreTab.d.ts +2 -0
  82. package/components/settings/tabs/sync/CloudTab.d.ts +2 -0
  83. package/components/settings/tabs/themes/CspErrorCard.d.ts +1 -0
  84. package/components/settings/tabs/themes/LocalThemesTab.d.ts +1 -0
  85. package/components/settings/tabs/themes/OnlineThemesTab.d.ts +1 -0
  86. package/components/settings/tabs/themes/ThemeCard.d.ts +9 -0
  87. package/components/settings/tabs/themes/index.d.ts +3 -0
  88. package/components/settings/tabs/updater/Components.d.ts +15 -0
  89. package/components/settings/tabs/updater/index.d.ts +3 -0
  90. package/components/settings/tabs/updater/runWithDispatch.d.ts +1 -0
  91. package/globals.d.ts +25 -0
  92. package/index.d.ts +5 -0
  93. package/modules.d.ts +49 -0
  94. package/nativeModules.d.ts +13 -0
  95. package/package.json +32 -0
  96. package/plugins/_api/audioPlayer.d.ts +23 -0
  97. package/plugins/_api/badges/index.d.ts +58 -0
  98. package/plugins/_api/chatButtons.d.ts +17 -0
  99. package/plugins/_api/commands.d.ts +30 -0
  100. package/plugins/_api/contextMenu.d.ts +28 -0
  101. package/plugins/_api/dynamicImageModalApi.d.ts +17 -0
  102. package/plugins/_api/memberListDecorators/index.d.ts +24 -0
  103. package/plugins/_api/menuItemDemangler.d.ts +18 -0
  104. package/plugins/_api/messageAccessories.d.ts +17 -0
  105. package/plugins/_api/messageDecorations/index.d.ts +18 -0
  106. package/plugins/_api/messageEvents.d.ts +17 -0
  107. package/plugins/_api/messagePopover.d.ts +17 -0
  108. package/plugins/_api/messageUpdater.d.ts +17 -0
  109. package/plugins/_api/nicknameIcons.d.ts +17 -0
  110. package/plugins/_api/notices.d.ts +27 -0
  111. package/plugins/_api/serverList.d.ts +23 -0
  112. package/plugins/_api/userSettings.d.ts +17 -0
  113. package/plugins/_core/noTrack.d.ts +55 -0
  114. package/plugins/_core/settings.d.ts +82 -0
  115. package/plugins/_core/supportHelper.d.ts +46 -0
  116. package/plugins/accountPanelServerProfile/index.d.ts +48 -0
  117. package/plugins/allCallTimers/index.d.ts +322 -0
  118. package/plugins/altKrispSwitch/index.d.ts +18 -0
  119. package/plugins/alwaysAnimate/index.d.ts +27 -0
  120. package/plugins/alwaysExpandProfile/index.d.ts +20 -0
  121. package/plugins/alwaysExpandRoles/index.d.ts +37 -0
  122. package/plugins/alwaysTrust/index.d.ts +77 -0
  123. package/plugins/amITyping/index.d.ts +17 -0
  124. package/plugins/anonymiseFileNames/index.d.ts +133 -0
  125. package/plugins/appleMusic.desktop/index.d.ts +251 -0
  126. package/plugins/appleMusic.desktop/native.d.ts +2 -0
  127. package/plugins/arRPC.web/index.d.ts +17 -0
  128. package/plugins/atSomeone/index.d.ts +25 -0
  129. package/plugins/bannersEverywhere/index.d.ts +68 -0
  130. package/plugins/betterActivities/components/ActivityTooltip.d.ts +2 -0
  131. package/plugins/betterActivities/components/Caret.d.ts +4 -0
  132. package/plugins/betterActivities/components/CarouselControls.d.ts +2 -0
  133. package/plugins/betterActivities/components/TwitchIcon.d.ts +2 -0
  134. package/plugins/betterActivities/index.d.ts +173 -0
  135. package/plugins/betterActivities/patch-helpers/activityList.d.ts +3 -0
  136. package/plugins/betterActivities/patch-helpers/popout.d.ts +3 -0
  137. package/plugins/betterActivities/settings.d.ts +140 -0
  138. package/plugins/betterActivities/types.d.ts +62 -0
  139. package/plugins/betterActivities/utils.d.ts +6 -0
  140. package/plugins/betterBanReasons/index.d.ts +49 -0
  141. package/plugins/betterBlockedUsers/index.d.ts +23 -0
  142. package/plugins/betterCommands/index.d.ts +67 -0
  143. package/plugins/betterFolders/FolderSideBar.d.ts +2 -0
  144. package/plugins/betterFolders/index.d.ts +353 -0
  145. package/plugins/betterGifAltText/index.d.ts +18 -0
  146. package/plugins/betterGifPicker/index.d.ts +17 -0
  147. package/plugins/betterInvites/index.d.ts +29 -0
  148. package/plugins/betterNotes/index.d.ts +62 -0
  149. package/plugins/betterPlusReacts/index.d.ts +20 -0
  150. package/plugins/betterQuickReact/index.d.ts +186 -0
  151. package/plugins/betterRoleContext/index.d.ts +49 -0
  152. package/plugins/betterRoleDot/index.d.ts +47 -0
  153. package/plugins/betterSessions/components/RenameButton.d.ts +5 -0
  154. package/plugins/betterSessions/components/RenameModal.d.ts +7 -0
  155. package/plugins/betterSessions/components/icons.d.ts +10 -0
  156. package/plugins/betterSessions/index.d.ts +71 -0
  157. package/plugins/betterSessions/types.d.ts +13 -0
  158. package/plugins/betterSessions/utils.d.ts +10 -0
  159. package/plugins/betterSettings/PluginsSubmenu.d.ts +1 -0
  160. package/plugins/betterSettings/index.d.ts +103 -0
  161. package/plugins/betterUploadButton/index.d.ts +24 -0
  162. package/plugins/bigFileUpload/index.d.ts +331 -0
  163. package/plugins/bigFileUpload/native.d.ts +4 -0
  164. package/plugins/biggerStreamPreview/index.d.ts +49 -0
  165. package/plugins/biggerStreamPreview/webpack/stores.d.ts +3 -0
  166. package/plugins/biggerStreamPreview/webpack/types/stores.d.ts +60 -0
  167. package/plugins/blockKeywords/index.d.ts +90 -0
  168. package/plugins/blockKrisp/index.d.ts +17 -0
  169. package/plugins/blurNsfw/index.d.ts +36 -0
  170. package/plugins/bypassStatus/index.d.ts +27 -0
  171. package/plugins/cakeday/index.d.ts +42 -0
  172. package/plugins/callTimer/index.d.ts +41 -0
  173. package/plugins/channelBadges/index.d.ts +631 -0
  174. package/plugins/channelBadges/settings.d.ts +662 -0
  175. package/plugins/channelTabs/components/BookmarkContainer.d.ts +4 -0
  176. package/plugins/channelTabs/components/ChannelTab.d.ts +8 -0
  177. package/plugins/channelTabs/components/ChannelTabsContainer.d.ts +3 -0
  178. package/plugins/channelTabs/components/ContextMenus.d.ts +17 -0
  179. package/plugins/channelTabs/index.d.ts +467 -0
  180. package/plugins/channelTabs/util/bookmarks.d.ts +4 -0
  181. package/plugins/channelTabs/util/constants.d.ts +449 -0
  182. package/plugins/channelTabs/util/index.d.ts +4 -0
  183. package/plugins/channelTabs/util/tabs.d.ts +23 -0
  184. package/plugins/channelTabs/util/types.d.ts +41 -0
  185. package/plugins/characterCounter/index.d.ts +35 -0
  186. package/plugins/cleanChannelName/index.d.ts +19 -0
  187. package/plugins/clearURLs/defaultRules.d.ts +1 -0
  188. package/plugins/clearURLs/index.d.ts +26 -0
  189. package/plugins/clientSideBlock/index.d.ts +158 -0
  190. package/plugins/clientTheme/components/Settings.d.ts +2 -0
  191. package/plugins/clientTheme/index.d.ts +67 -0
  192. package/plugins/clientTheme/utils/colorUtils.d.ts +6 -0
  193. package/plugins/clientTheme/utils/styleUtils.d.ts +3 -0
  194. package/plugins/clipsEnhancements/index.d.ts +71 -0
  195. package/plugins/colorSighted/index.d.ts +17 -0
  196. package/plugins/commandPalette/commands.d.ts +8 -0
  197. package/plugins/commandPalette/components/CommandPalette.d.ts +5 -0
  198. package/plugins/commandPalette/components/MultipleChoice.d.ts +11 -0
  199. package/plugins/commandPalette/components/TextInput.d.ts +11 -0
  200. package/plugins/commandPalette/index.d.ts +72 -0
  201. package/plugins/consoleJanitor/index.d.ts +107 -0
  202. package/plugins/consoleShortcuts/index.d.ts +22 -0
  203. package/plugins/consoleShortcuts/native.d.ts +2 -0
  204. package/plugins/contentWarning/index.d.ts +33 -0
  205. package/plugins/copyEmojiMarkdown/index.d.ts +40 -0
  206. package/plugins/copyFileContents/index.d.ts +22 -0
  207. package/plugins/copyStatusUrls/index.d.ts +23 -0
  208. package/plugins/copyStickerLinks/index.d.ts +15 -0
  209. package/plugins/copyUserMention/index.d.ts +14 -0
  210. package/plugins/copyUserURLs/index.d.ts +14 -0
  211. package/plugins/crashHandler/index.d.ts +48 -0
  212. package/plugins/ctrlEnterSend/index.d.ts +37 -0
  213. package/plugins/customFolderIcons/components.d.ts +8 -0
  214. package/plugins/customFolderIcons/index.d.ts +52 -0
  215. package/plugins/customFolderIcons/settings.d.ts +35 -0
  216. package/plugins/customFolderIcons/util.d.ts +11 -0
  217. package/plugins/customIdle/index.d.ts +53 -0
  218. package/plugins/customRPC/index.d.ts +311 -0
  219. package/plugins/customSounds/SoundOverrideComponent.d.ts +6 -0
  220. package/plugins/customSounds/audioStore.d.ts +11 -0
  221. package/plugins/customSounds/index.d.ts +38 -0
  222. package/plugins/customSounds/types.d.ts +40 -0
  223. package/plugins/customTimestamps/index.d.ts +51 -0
  224. package/plugins/customUserColors/SetColorModal.d.ts +5 -0
  225. package/plugins/customUserColors/index.d.ts +99 -0
  226. package/plugins/dearrow/index.d.ts +113 -0
  227. package/plugins/decodeBase64/index.d.ts +45 -0
  228. package/plugins/decor/index.d.ts +93 -0
  229. package/plugins/decor/lib/api.d.ts +27 -0
  230. package/plugins/decor/lib/constants.d.ts +11 -0
  231. package/plugins/decor/lib/stores/AuthorizationStore.d.ts +1 -0
  232. package/plugins/decor/lib/stores/CurrentUserDecorationsStore.d.ts +1 -0
  233. package/plugins/decor/lib/stores/UsersDecorationsStore.d.ts +4 -0
  234. package/plugins/decor/lib/utils/decoration.d.ts +4 -0
  235. package/plugins/decor/settings.d.ts +42 -0
  236. package/plugins/decor/ui/components/DecorDecorationGridDecoration.d.ts +9 -0
  237. package/plugins/decor/ui/components/DecorSection.d.ts +6 -0
  238. package/plugins/decor/ui/components/DecorationContextMenu.d.ts +4 -0
  239. package/plugins/decor/ui/components/DecorationGridCreate.d.ts +6 -0
  240. package/plugins/decor/ui/components/DecorationGridNone.d.ts +7 -0
  241. package/plugins/decor/ui/components/Grid.d.ts +8 -0
  242. package/plugins/decor/ui/components/SectionedGridList.d.ts +12 -0
  243. package/plugins/decor/ui/components/index.d.ts +17 -0
  244. package/plugins/decor/ui/index.d.ts +4 -0
  245. package/plugins/decor/ui/modals/ChangeDecorationModal.d.ts +1 -0
  246. package/plugins/decor/ui/modals/CreateDecorationModal.d.ts +1 -0
  247. package/plugins/decor/ui/modals/GuidelinesModal.d.ts +1 -0
  248. package/plugins/demonstration/index.d.ts +61 -0
  249. package/plugins/devCompanion.dev/index.d.ts +100 -0
  250. package/plugins/devCompanion.dev/initWs.d.ts +3 -0
  251. package/plugins/devCompanion.dev/types/index.d.ts +1 -0
  252. package/plugins/devCompanion.dev/types/recieve.d.ts +121 -0
  253. package/plugins/devCompanion.dev/types/send.d.ts +73 -0
  254. package/plugins/devCompanion.dev/util.d.ts +25 -0
  255. package/plugins/disCleaner/index.d.ts +172 -0
  256. package/plugins/disableCallIdle/index.d.ts +17 -0
  257. package/plugins/disableCameras/index.d.ts +17 -0
  258. package/plugins/dontFilterMe/constants.d.ts +2 -0
  259. package/plugins/dontFilterMe/index.d.ts +13 -0
  260. package/plugins/dontRoundMyTimestamps/index.d.ts +12 -0
  261. package/plugins/downloadify/index.d.ts +115 -0
  262. package/plugins/downloadify/native.d.ts +22 -0
  263. package/plugins/downloadify/settings.d.ts +84 -0
  264. package/plugins/downloadify/utils/definitions.d.ts +365 -0
  265. package/plugins/downloadify/utils/handlers.d.ts +9 -0
  266. package/plugins/downloadify/utils/misc.d.ts +21 -0
  267. package/plugins/encryptcord/index.d.ts +41 -0
  268. package/plugins/encryptcord/rsa-utils.d.ts +7 -0
  269. package/plugins/expandedUserTags/consts.d.ts +22 -0
  270. package/plugins/expandedUserTags/index.d.ts +97 -0
  271. package/plugins/expandedUserTags/settings.d.ts +56 -0
  272. package/plugins/expandedUserTags/types.d.ts +19 -0
  273. package/plugins/experiments/index.d.ts +61 -0
  274. package/plugins/exportMessages/index.d.ts +93 -0
  275. package/plugins/expressionCloner/index.d.ts +16 -0
  276. package/plugins/f8break/index.d.ts +13 -0
  277. package/plugins/fakeNitro/index.d.ts +187 -0
  278. package/plugins/fakeProfileThemes/index.d.ts +59 -0
  279. package/plugins/fakeProfileThemesAndEffects/components/Builder.d.ts +5 -0
  280. package/plugins/fakeProfileThemesAndEffects/components/BuilderButton.d.ts +9 -0
  281. package/plugins/fakeProfileThemesAndEffects/components/BuilderColorButton.d.ts +6 -0
  282. package/plugins/fakeProfileThemesAndEffects/components/index.d.ts +54 -0
  283. package/plugins/fakeProfileThemesAndEffects/components/settingsAboutComponent.d.ts +1 -0
  284. package/plugins/fakeProfileThemesAndEffects/index.d.ts +124 -0
  285. package/plugins/fakeProfileThemesAndEffects/lib/fpte.d.ts +57 -0
  286. package/plugins/fakeProfileThemesAndEffects/lib/index.d.ts +4 -0
  287. package/plugins/fakeProfileThemesAndEffects/lib/profileEffects.d.ts +58 -0
  288. package/plugins/fakeProfileThemesAndEffects/lib/profilePreview.d.ts +11 -0
  289. package/plugins/fakeProfileThemesAndEffects/lib/userProfile.d.ts +7 -0
  290. package/plugins/fastDeleteChannels/index.d.ts +72 -0
  291. package/plugins/favEmojiFirst/index.d.ts +32 -0
  292. package/plugins/favGifSearch/index.d.ts +123 -0
  293. package/plugins/findReply/ReplyNavigator.d.ts +5 -0
  294. package/plugins/findReply/index.d.ts +37 -0
  295. package/plugins/fixCodeblockGap/index.d.ts +17 -0
  296. package/plugins/fixFileExtensions/index.d.ts +23 -0
  297. package/plugins/fixImagesQuality/index.d.ts +17 -0
  298. package/plugins/fixSpotifyEmbeds.desktop/index.d.ts +21 -0
  299. package/plugins/fixSpotifyEmbeds.desktop/native.d.ts +1 -0
  300. package/plugins/fixYoutubeEmbeds.desktop/index.d.ts +10 -0
  301. package/plugins/fixYoutubeEmbeds.desktop/native.d.ts +1 -0
  302. package/plugins/followUser/index.d.ts +207 -0
  303. package/plugins/fontLoader/index.d.ts +55 -0
  304. package/plugins/forceOwnerCrown/index.d.ts +24 -0
  305. package/plugins/freaky/index.d.ts +41 -0
  306. package/plugins/frequentQuickSwitcher/index.d.ts +25 -0
  307. package/plugins/friendInvites/index.d.ts +18 -0
  308. package/plugins/friendsSince/index.d.ts +21 -0
  309. package/plugins/friendshipRanks/icons.d.ts +7 -0
  310. package/plugins/friendshipRanks/index.d.ts +13 -0
  311. package/plugins/fullSearchContext/index.d.ts +23 -0
  312. package/plugins/fullUserInChatbox/index.d.ts +25 -0
  313. package/plugins/fullVcPfp/index.d.ts +32 -0
  314. package/plugins/gameActivityToggle/index.d.ts +38 -0
  315. package/plugins/gifCollections/index.d.ts +388 -0
  316. package/plugins/gifCollections/types.d.ts +36 -0
  317. package/plugins/gifCollections/utils/cleanUrl.d.ts +1 -0
  318. package/plugins/gifCollections/utils/collectionManager.d.ts +17 -0
  319. package/plugins/gifCollections/utils/getFormat.d.ts +2 -0
  320. package/plugins/gifCollections/utils/getGif.d.ts +6 -0
  321. package/plugins/gifCollections/utils/getUrlExtension.d.ts +1 -0
  322. package/plugins/gifCollections/utils/isAudio.d.ts +1 -0
  323. package/plugins/gifCollections/utils/refreshUrl.d.ts +2 -0
  324. package/plugins/gifCollections/utils/settingsUtils.d.ts +4 -0
  325. package/plugins/gifCollections/utils/uuidv4.d.ts +1 -0
  326. package/plugins/gifPaste/index.d.ts +20 -0
  327. package/plugins/githubRepos/colors.d.ts +1 -0
  328. package/plugins/githubRepos/components/GitHubReposComponent.d.ts +4 -0
  329. package/plugins/githubRepos/components/RepoCard.d.ts +2 -0
  330. package/plugins/githubRepos/components/ReposModal.d.ts +8 -0
  331. package/plugins/githubRepos/components/Star.d.ts +2 -0
  332. package/plugins/githubRepos/githubApi.d.ts +8 -0
  333. package/plugins/githubRepos/index.d.ts +102 -0
  334. package/plugins/githubRepos/types.d.ts +19 -0
  335. package/plugins/googleThat/index.d.ts +75 -0
  336. package/plugins/greetStickerPicker/index.d.ts +57 -0
  337. package/plugins/guildPickerDumper/index.d.ts +15 -0
  338. package/plugins/hideAttachments/index.d.ts +33 -0
  339. package/plugins/hideChatButtons/index.d.ts +51 -0
  340. package/plugins/hideServers/HiddenServersStore.d.ts +19 -0
  341. package/plugins/hideServers/components/HiddenServersButton.d.ts +3 -0
  342. package/plugins/hideServers/components/HiddenServersMenu.d.ts +5 -0
  343. package/plugins/hideServers/index.d.ts +84 -0
  344. package/plugins/hideServers/settings.d.ts +37 -0
  345. package/plugins/holyNotes/NoteHandler.d.ts +25 -0
  346. package/plugins/holyNotes/components/icons/HelpIcon.d.ts +5 -0
  347. package/plugins/holyNotes/components/icons/NoteButton.d.ts +4 -0
  348. package/plugins/holyNotes/components/icons/overFlowIcon.d.ts +10 -0
  349. package/plugins/holyNotes/components/modals/Error.d.ts +4 -0
  350. package/plugins/holyNotes/components/modals/HelpModal.d.ts +5 -0
  351. package/plugins/holyNotes/components/modals/ManageNotebookButton.d.ts +5 -0
  352. package/plugins/holyNotes/components/modals/NoteBookTab.d.ts +14 -0
  353. package/plugins/holyNotes/components/modals/Notebook.d.ts +4 -0
  354. package/plugins/holyNotes/components/modals/NotebookCreateModal.d.ts +5 -0
  355. package/plugins/holyNotes/components/modals/NotebookDeleteModal.d.ts +7 -0
  356. package/plugins/holyNotes/components/modals/RenderMessage.d.ts +8 -0
  357. package/plugins/holyNotes/index.d.ts +33 -0
  358. package/plugins/holyNotes/types.d.ts +40 -0
  359. package/plugins/holyNotes/utils.d.ts +13 -0
  360. package/plugins/homeTyping/index.d.ts +19 -0
  361. package/plugins/iLoveSpam/index.d.ts +16 -0
  362. package/plugins/iRememberYou/index.d.ts +14 -0
  363. package/plugins/identity.desktop/index.d.ts +18 -0
  364. package/plugins/identity.desktop/native.d.ts +2 -0
  365. package/plugins/ignoreActivities/index.d.ts +185 -0
  366. package/plugins/ignoreCalls/index.d.ts +48 -0
  367. package/plugins/ignoreTerms/index.d.ts +17 -0
  368. package/plugins/imageFilename/index.d.ts +31 -0
  369. package/plugins/imageLink/index.d.ts +16 -0
  370. package/plugins/imagePreview/index.d.ts +129 -0
  371. package/plugins/imagePreview/settings.d.ts +122 -0
  372. package/plugins/imageZoom/components/Magnifier.d.ts +6 -0
  373. package/plugins/imageZoom/constants.d.ts +1 -0
  374. package/plugins/imageZoom/index.d.ts +244 -0
  375. package/plugins/imageZoom/utils/waitFor.d.ts +1 -0
  376. package/plugins/imgToGif/index.d.ts +26 -0
  377. package/plugins/implicitRelationships/index.d.ts +43 -0
  378. package/plugins/inRole/RoleMembersModal.d.ts +2 -0
  379. package/plugins/inRole/index.d.ts +34 -0
  380. package/plugins/index.d.ts +27 -0
  381. package/plugins/instantScreenshare/index.d.ts +26 -0
  382. package/plugins/instantScreenshare/utils.d.ts +15 -0
  383. package/plugins/invisibleChat.desktop/components/DecryptionModal.d.ts +2 -0
  384. package/plugins/invisibleChat.desktop/components/EncryptionModal.d.ts +1 -0
  385. package/plugins/invisibleChat.desktop/index.d.ts +55 -0
  386. package/plugins/inviteDefaults/index.d.ts +82 -0
  387. package/plugins/ircColors/index.d.ts +90 -0
  388. package/plugins/jumpTo/index.d.ts +15 -0
  389. package/plugins/jumpToStart/index.d.ts +15 -0
  390. package/plugins/keepCurrentChannel/index.d.ts +31 -0
  391. package/plugins/keyboardSounds/index.d.ts +60 -0
  392. package/plugins/keyboardSounds/packs.d.ts +9 -0
  393. package/plugins/keywordNotify/index.d.ts +68 -0
  394. package/plugins/lastOnline/index.d.ts +22 -0
  395. package/plugins/limitMiddleClickPaste/index.d.ts +53 -0
  396. package/plugins/listenBrainzRPC/index.d.ts +186 -0
  397. package/plugins/loadingQuotes/index.d.ts +76 -0
  398. package/plugins/loginWithQR/images.d.ts +10 -0
  399. package/plugins/loginWithQR/index.d.ts +38 -0
  400. package/plugins/loginWithQR/jsqr.d.ts +13 -0
  401. package/plugins/loginWithQR/ui/index.d.ts +23 -0
  402. package/plugins/loginWithQR/ui/modals/QrModal.d.ts +1 -0
  403. package/plugins/loginWithQR/ui/modals/VerifyModal.d.ts +1 -0
  404. package/plugins/mediaDownloader.desktop/DependencyModal.d.ts +9 -0
  405. package/plugins/mediaDownloader.desktop/index.d.ts +146 -0
  406. package/plugins/mediaDownloader.desktop/native.d.ts +27 -0
  407. package/plugins/mediaPlaybackSpeed/components/SpeedIcon.d.ts +2 -0
  408. package/plugins/mediaPlaybackSpeed/index.d.ts +62 -0
  409. package/plugins/memberCount/CircleIcon.d.ts +3 -0
  410. package/plugins/memberCount/MemberCount.d.ts +4 -0
  411. package/plugins/memberCount/OnlineMemberCountStore.d.ts +20 -0
  412. package/plugins/memberCount/VoiceIcon.d.ts +3 -0
  413. package/plugins/memberCount/index.d.ts +124 -0
  414. package/plugins/mentionAvatars/index.d.ts +40 -0
  415. package/plugins/meow/index.d.ts +11 -0
  416. package/plugins/messageClickActions/index.d.ts +56 -0
  417. package/plugins/messageColors/constants.d.ts +91 -0
  418. package/plugins/messageColors/index.d.ts +114 -0
  419. package/plugins/messageFetchTimer/index.d.ts +47 -0
  420. package/plugins/messageLatency/index.d.ts +65 -0
  421. package/plugins/messageLinkEmbeds/index.d.ts +95 -0
  422. package/plugins/messageLinkTooltip/index.d.ts +99 -0
  423. package/plugins/messageLogger/HistoryModal.d.ts +6 -0
  424. package/plugins/messageLogger/diffUtils.d.ts +6 -0
  425. package/plugins/messageLogger/index.d.ts +223 -0
  426. package/plugins/messageLoggerEnhanced/LoggedMessageManager.d.ts +3 -0
  427. package/plugins/messageLoggerEnhanced/components/FolderSelectInput.d.ts +12 -0
  428. package/plugins/messageLoggerEnhanced/components/LogsModal.d.ts +40 -0
  429. package/plugins/messageLoggerEnhanced/components/hooks.d.ts +9 -0
  430. package/plugins/messageLoggerEnhanced/db.d.ts +43 -0
  431. package/plugins/messageLoggerEnhanced/index.d.ts +360 -0
  432. package/plugins/messageLoggerEnhanced/list.d.ts +1 -0
  433. package/plugins/messageLoggerEnhanced/native/index.d.ts +21 -0
  434. package/plugins/messageLoggerEnhanced/native/settings.d.ts +7 -0
  435. package/plugins/messageLoggerEnhanced/native/updater.d.ts +15 -0
  436. package/plugins/messageLoggerEnhanced/native/utils.d.ts +5 -0
  437. package/plugins/messageLoggerEnhanced/settings.d.ts +292 -0
  438. package/plugins/messageLoggerEnhanced/types.d.ts +132 -0
  439. package/plugins/messageLoggerEnhanced/utils/LimitedMap.d.ts +6 -0
  440. package/plugins/messageLoggerEnhanced/utils/cleanUp.d.ts +13 -0
  441. package/plugins/messageLoggerEnhanced/utils/constants.d.ts +4 -0
  442. package/plugins/messageLoggerEnhanced/utils/contextMenu.d.ts +4 -0
  443. package/plugins/messageLoggerEnhanced/utils/index.d.ts +27 -0
  444. package/plugins/messageLoggerEnhanced/utils/memoize.d.ts +6 -0
  445. package/plugins/messageLoggerEnhanced/utils/misc.d.ts +23 -0
  446. package/plugins/messageLoggerEnhanced/utils/parseQuery.d.ts +18 -0
  447. package/plugins/messageLoggerEnhanced/utils/saveImage/ImageManager.d.ts +4 -0
  448. package/plugins/messageLoggerEnhanced/utils/saveImage/index.d.ts +10 -0
  449. package/plugins/messageLoggerEnhanced/utils/settingsUtils.d.ts +2 -0
  450. package/plugins/messageTags/index.d.ts +58 -0
  451. package/plugins/moreCommands/index.d.ts +59 -0
  452. package/plugins/moreKaomoji/index.d.ts +17 -0
  453. package/plugins/morse/index.d.ts +24 -0
  454. package/plugins/moyai/index.d.ts +113 -0
  455. package/plugins/musicControls/index.d.ts +362 -0
  456. package/plugins/musicControls/settings.d.ts +336 -0
  457. package/plugins/musicControls/spotify/PlayerComponent.d.ts +2 -0
  458. package/plugins/musicControls/spotify/SeekBar.d.ts +31 -0
  459. package/plugins/musicControls/spotify/SpotifyStore.d.ts +65 -0
  460. package/plugins/musicControls/spotify/lyrics/api.d.ts +14 -0
  461. package/plugins/musicControls/spotify/lyrics/components/ctxMenu.d.ts +1 -0
  462. package/plugins/musicControls/spotify/lyrics/components/lyrics.d.ts +3 -0
  463. package/plugins/musicControls/spotify/lyrics/components/modal.d.ts +4 -0
  464. package/plugins/musicControls/spotify/lyrics/components/util.d.ts +12 -0
  465. package/plugins/musicControls/spotify/lyrics/providers/SpotifyAPI/index.d.ts +2 -0
  466. package/plugins/musicControls/spotify/lyrics/providers/lrclibAPI/index.d.ts +3 -0
  467. package/plugins/musicControls/spotify/lyrics/providers/store.d.ts +21 -0
  468. package/plugins/musicControls/spotify/lyrics/providers/translator/index.d.ts +8 -0
  469. package/plugins/musicControls/spotify/lyrics/providers/translator/languages.d.ts +10 -0
  470. package/plugins/musicControls/spotify/lyrics/providers/types.d.ts +15 -0
  471. package/plugins/musicControls/tidal/TidalPlayer.d.ts +2 -0
  472. package/plugins/musicControls/tidal/TidalStore.d.ts +75 -0
  473. package/plugins/musicControls/tidal/lyrics/api.d.ts +3 -0
  474. package/plugins/musicControls/tidal/lyrics/components/ctxMenu.d.ts +1 -0
  475. package/plugins/musicControls/tidal/lyrics/components/lyrics.d.ts +3 -0
  476. package/plugins/musicControls/tidal/lyrics/components/modal.d.ts +4 -0
  477. package/plugins/musicControls/tidal/lyrics/components/util.d.ts +13 -0
  478. package/plugins/musicControls/tidal/lyrics/providers/store.d.ts +20 -0
  479. package/plugins/musicControls/tidal/lyrics/types.d.ts +26 -0
  480. package/plugins/musicControls/youtubeMusic/PlayerComponent.d.ts +2 -0
  481. package/plugins/musicControls/youtubeMusic/YtmStore.d.ts +95 -0
  482. package/plugins/mutualGroupDMs/index.d.ts +34 -0
  483. package/plugins/newGuildSettings/index.d.ts +124 -0
  484. package/plugins/newPluginsManager/NewPluginsModal.d.ts +7 -0
  485. package/plugins/newPluginsManager/index.d.ts +15 -0
  486. package/plugins/newPluginsManager/knownPlugins.d.ts +4 -0
  487. package/plugins/noBlockedMessages/index.d.ts +123 -0
  488. package/plugins/noBulletPoints/index.d.ts +12 -0
  489. package/plugins/noDeepLinks.web/index.d.ts +18 -0
  490. package/plugins/noDeleteSafety/index.d.ts +31 -0
  491. package/plugins/noDevtoolsWarning/index.d.ts +16 -0
  492. package/plugins/noF1/index.d.ts +16 -0
  493. package/plugins/noMaskedUrlPaste/index.d.ts +16 -0
  494. package/plugins/noMirroredCamera/index.d.ts +22 -0
  495. package/plugins/noModalAnimation/index.d.ts +16 -0
  496. package/plugins/noMosaic/index.d.ts +41 -0
  497. package/plugins/noNitroUpsell/index.d.ts +18 -0
  498. package/plugins/noOnboarding/index.d.ts +17 -0
  499. package/plugins/noOnboardingDelay/index.d.ts +16 -0
  500. package/plugins/noPendingCount/index.d.ts +65 -0
  501. package/plugins/noProfileThemes/index.d.ts +17 -0
  502. package/plugins/noRPC.discordDesktop/index.d.ts +16 -0
  503. package/plugins/noReplyMention/index.d.ts +78 -0
  504. package/plugins/noServerEmojis/index.d.ts +39 -0
  505. package/plugins/noSystemBadge.discordDesktop/index.d.ts +16 -0
  506. package/plugins/noTypingAnimation/index.d.ts +16 -0
  507. package/plugins/noUnblockToJump/index.d.ts +16 -0
  508. package/plugins/normalizeMessageLinks/index.d.ts +17 -0
  509. package/plugins/notificationTitle/index.d.ts +17 -0
  510. package/plugins/notificationVolume/index.d.ts +34 -0
  511. package/plugins/onePingPerDM/index.d.ts +93 -0
  512. package/plugins/oneko/index.d.ts +11 -0
  513. package/plugins/openInApp/index.d.ts +30 -0
  514. package/plugins/openInApp/native.d.ts +2 -0
  515. package/plugins/overrideForumDefaults/index.d.ts +74 -0
  516. package/plugins/partyMode/index.d.ts +52 -0
  517. package/plugins/pauseInvitesForever/index.d.ts +19 -0
  518. package/plugins/permissionFreeWill/index.d.ts +52 -0
  519. package/plugins/permissionsViewer/components/RolesAndUsersPermissions.d.ts +14 -0
  520. package/plugins/permissionsViewer/components/UserPermissions.d.ts +7 -0
  521. package/plugins/permissionsViewer/components/icons.d.ts +3 -0
  522. package/plugins/permissionsViewer/index.d.ts +92 -0
  523. package/plugins/permissionsViewer/utils.d.ts +9 -0
  524. package/plugins/petpet/index.d.ts +38 -0
  525. package/plugins/pictureInPicture/index.d.ts +34 -0
  526. package/plugins/pinDms/components/CreateCategoryModal.d.ts +10 -0
  527. package/plugins/pinDms/components/contextMenu.d.ts +5 -0
  528. package/plugins/pinDms/constants.d.ts +3 -0
  529. package/plugins/pinDms/data.d.ts +27 -0
  530. package/plugins/pinDms/index.d.ts +209 -0
  531. package/plugins/pinIcon/index.d.ts +18 -0
  532. package/plugins/pingNotifications/index.d.ts +66 -0
  533. package/plugins/plainFolderIcon/index.d.ts +17 -0
  534. package/plugins/platformIndicators/index.d.ts +50 -0
  535. package/plugins/platformSpoofer/index.d.ts +53 -0
  536. package/plugins/plexcordToolbox/index.d.ts +19 -0
  537. package/plugins/previewMessage/index.d.ts +13 -0
  538. package/plugins/purgeMessages/index.d.ts +33 -0
  539. package/plugins/questCompleter/index.d.ts +19 -0
  540. package/plugins/questFocused/index.d.ts +17 -0
  541. package/plugins/questify/index.d.ts +690 -0
  542. package/plugins/questify/settings.d.ts +623 -0
  543. package/plugins/questify/utils/components.d.ts +168 -0
  544. package/plugins/questify/utils/misc.d.ts +29 -0
  545. package/plugins/questionMarkReplacement/index.d.ts +25 -0
  546. package/plugins/quickMention/index.d.ts +17 -0
  547. package/plugins/quickReply/index.d.ts +69 -0
  548. package/plugins/quoter/components.d.ts +1 -0
  549. package/plugins/quoter/index.d.ts +47 -0
  550. package/plugins/quoter/utils.d.ts +4 -0
  551. package/plugins/randomVoice/index.d.ts +272 -0
  552. package/plugins/reactErrorDecoder/index.d.ts +19 -0
  553. package/plugins/readAllNotificationsButton/index.d.ts +14 -0
  554. package/plugins/relationshipNotifier/functions.d.ts +7 -0
  555. package/plugins/relationshipNotifier/index.d.ts +96 -0
  556. package/plugins/relationshipNotifier/settings.d.ts +65 -0
  557. package/plugins/relationshipNotifier/types.d.ts +36 -0
  558. package/plugins/relationshipNotifier/utils.d.ts +17 -0
  559. package/plugins/remix/RemixModal.d.ts +8 -0
  560. package/plugins/remix/editor/Editor.d.ts +3 -0
  561. package/plugins/remix/editor/components/Canvas.d.ts +11 -0
  562. package/plugins/remix/editor/components/SettingColorComponent.d.ts +8 -0
  563. package/plugins/remix/editor/components/Toolbar.d.ts +12 -0
  564. package/plugins/remix/editor/input.d.ts +12 -0
  565. package/plugins/remix/editor/tools/brush.d.ts +2 -0
  566. package/plugins/remix/editor/tools/crop.d.ts +9 -0
  567. package/plugins/remix/editor/tools/eraser.d.ts +2 -0
  568. package/plugins/remix/editor/tools/shape.d.ts +7 -0
  569. package/plugins/remix/editor/utils/canvas.d.ts +18 -0
  570. package/plugins/remix/editor/utils/eventEmitter.d.ts +11 -0
  571. package/plugins/remix/icons/SendIcon.d.ts +1 -0
  572. package/plugins/remix/index.d.ts +17 -0
  573. package/plugins/remixMe/index.d.ts +11 -0
  574. package/plugins/repeatMessage/index.d.ts +15 -0
  575. package/plugins/replaceGoogleSearch/index.d.ts +37 -0
  576. package/plugins/replyPingControl/index.d.ts +70 -0
  577. package/plugins/replyTimestamp/index.d.ts +33 -0
  578. package/plugins/revealAllSpoilers/index.d.ts +17 -0
  579. package/plugins/reverseImageSearch/index.d.ts +22 -0
  580. package/plugins/reviewDB/auth.d.ts +7 -0
  581. package/plugins/reviewDB/components/BlockedUserModal.d.ts +1 -0
  582. package/plugins/reviewDB/components/MessageButton.d.ts +13 -0
  583. package/plugins/reviewDB/components/ReviewBadge.d.ts +4 -0
  584. package/plugins/reviewDB/components/ReviewComponent.d.ts +7 -0
  585. package/plugins/reviewDB/components/ReviewModal.d.ts +2 -0
  586. package/plugins/reviewDB/components/ReviewsView.d.ts +25 -0
  587. package/plugins/reviewDB/entities.d.ts +73 -0
  588. package/plugins/reviewDB/index.d.ts +96 -0
  589. package/plugins/reviewDB/reviewDbApi.d.ts +18 -0
  590. package/plugins/reviewDB/settings.d.ts +63 -0
  591. package/plugins/reviewDB/utils.d.ts +6 -0
  592. package/plugins/roleColorEverywhere/index.d.ts +152 -0
  593. package/plugins/searchFix/index.d.ts +18 -0
  594. package/plugins/secretRingTone/index.d.ts +37 -0
  595. package/plugins/seeSummaries/index.d.ts +39 -0
  596. package/plugins/selfForward/index.d.ts +16 -0
  597. package/plugins/sendTimestamps/index.d.ts +28 -0
  598. package/plugins/serverInfo/GuildInfoModal.d.ts +3 -0
  599. package/plugins/serverInfo/index.d.ts +75 -0
  600. package/plugins/serverListIndicators/index.d.ts +106 -0
  601. package/plugins/serverSearch/index.d.ts +13 -0
  602. package/plugins/shikiCodeblocks.desktop/api/languages.d.ts +28 -0
  603. package/plugins/shikiCodeblocks.desktop/api/shiki.d.ts +77 -0
  604. package/plugins/shikiCodeblocks.desktop/api/themes.d.ts +63 -0
  605. package/plugins/shikiCodeblocks.desktop/components/ButtonRow.d.ts +5 -0
  606. package/plugins/shikiCodeblocks.desktop/components/Code.d.ts +11 -0
  607. package/plugins/shikiCodeblocks.desktop/components/CopyButton.d.ts +4 -0
  608. package/plugins/shikiCodeblocks.desktop/components/Header.d.ts +8 -0
  609. package/plugins/shikiCodeblocks.desktop/components/Highlighter.d.ts +13 -0
  610. package/plugins/shikiCodeblocks.desktop/hooks/useCopyCooldown.d.ts +1 -0
  611. package/plugins/shikiCodeblocks.desktop/hooks/useShikiSettings.d.ts +10 -0
  612. package/plugins/shikiCodeblocks.desktop/hooks/useTheme.d.ts +8 -0
  613. package/plugins/shikiCodeblocks.desktop/index.d.ts +272 -0
  614. package/plugins/shikiCodeblocks.desktop/previewExample.d.ts +5 -0
  615. package/plugins/shikiCodeblocks.desktop/settings.d.ts +173 -0
  616. package/plugins/shikiCodeblocks.desktop/types.d.ts +42 -0
  617. package/plugins/shikiCodeblocks.desktop/utils/color.d.ts +1 -0
  618. package/plugins/shikiCodeblocks.desktop/utils/createStyle.d.ts +3 -0
  619. package/plugins/shikiCodeblocks.desktop/utils/misc.d.ts +7 -0
  620. package/plugins/showAllMessageButtons/index.d.ts +40 -0
  621. package/plugins/showBadgesInChat/index.d.ts +123 -0
  622. package/plugins/showBadgesInChat/settings.d.ts +111 -0
  623. package/plugins/showConnections/VerifiedIcon.d.ts +1 -0
  624. package/plugins/showConnections/index.d.ts +59 -0
  625. package/plugins/showHiddenChannels/components/HiddenChannelLockScreen.d.ts +32 -0
  626. package/plugins/showHiddenChannels/index.d.ts +196 -0
  627. package/plugins/showHiddenThings/index.d.ts +69 -0
  628. package/plugins/showMeYourName/index.d.ts +310 -0
  629. package/plugins/showMessageEmbeds/index.d.ts +20 -0
  630. package/plugins/showTimeoutDuration/index.d.ts +58 -0
  631. package/plugins/sidebarChat/index.d.ts +38 -0
  632. package/plugins/sidebarChat/store.d.ts +46 -0
  633. package/plugins/signature/index.d.ts +103 -0
  634. package/plugins/silentMessageToggle/index.d.ts +55 -0
  635. package/plugins/silentTyping/index.d.ts +222 -0
  636. package/plugins/sortFriendRequests/index.d.ts +55 -0
  637. package/plugins/soundBoardLogger/components/Icons.d.ts +14 -0
  638. package/plugins/soundBoardLogger/components/MoreUsersModal.d.ts +8 -0
  639. package/plugins/soundBoardLogger/components/SoundBoardLog.d.ts +5 -0
  640. package/plugins/soundBoardLogger/components/UserModal.d.ts +8 -0
  641. package/plugins/soundBoardLogger/index.d.ts +110 -0
  642. package/plugins/soundBoardLogger/settings.d.ts +91 -0
  643. package/plugins/soundBoardLogger/store.d.ts +7 -0
  644. package/plugins/soundBoardLogger/utils.d.ts +31 -0
  645. package/plugins/splitLargeMessages/index.d.ts +91 -0
  646. package/plugins/spotifyActivityToggle/index.d.ts +17 -0
  647. package/plugins/spotifyCrack/index.d.ts +51 -0
  648. package/plugins/spotifyShareCommands/index.d.ts +11 -0
  649. package/plugins/startupTimings/StartupTimingPage.d.ts +2 -0
  650. package/plugins/startupTimings/index.d.ts +17 -0
  651. package/plugins/statusPresets/index.d.ts +55 -0
  652. package/plugins/statusWhileActive.desktop/index.d.ts +46 -0
  653. package/plugins/statusWhilePlaying.desktop/index.d.ts +42 -0
  654. package/plugins/steamStatusSync/index.d.ts +264 -0
  655. package/plugins/stickerBlocker/index.d.ts +74 -0
  656. package/plugins/stickerPaste/index.d.ts +16 -0
  657. package/plugins/streamerModeOnStream/index.d.ts +13 -0
  658. package/plugins/streamingCodecDisabler/index.d.ts +34 -0
  659. package/plugins/superReactionTweaks/index.d.ts +112 -0
  660. package/plugins/textReplace/index.d.ts +54 -0
  661. package/plugins/themeAttributes/index.d.ts +27 -0
  662. package/plugins/timelessClips/index.d.ts +35 -0
  663. package/plugins/timezones/TimezoneModal.d.ts +7 -0
  664. package/plugins/timezones/database.d.ts +6 -0
  665. package/plugins/timezones/index.d.ts +270 -0
  666. package/plugins/toastNotifications/components/NotificationComponent.d.ts +6 -0
  667. package/plugins/toastNotifications/components/Notifications.d.ts +14 -0
  668. package/plugins/toastNotifications/index.d.ts +409 -0
  669. package/plugins/toastNotifications/types.d.ts +11 -0
  670. package/plugins/toggleVideoBind/index.d.ts +57 -0
  671. package/plugins/toneIndicators/ToneIndicator.d.ts +6 -0
  672. package/plugins/toneIndicators/index.d.ts +41 -0
  673. package/plugins/toneIndicators/indicators.d.ts +2 -0
  674. package/plugins/translate/TranslateIcon.d.ts +8 -0
  675. package/plugins/translate/TranslateModal.d.ts +4 -0
  676. package/plugins/translate/TranslationAccessory.d.ts +6 -0
  677. package/plugins/translate/index.d.ts +159 -0
  678. package/plugins/translate/languages.d.ts +175 -0
  679. package/plugins/translate/native.d.ts +5 -0
  680. package/plugins/translate/settings.d.ts +133 -0
  681. package/plugins/translate/utils.d.ts +177 -0
  682. package/plugins/typingIndicator/index.d.ts +92 -0
  683. package/plugins/typingTweaks/index.d.ts +74 -0
  684. package/plugins/unindent/index.d.ts +21 -0
  685. package/plugins/unitConverter/ConverterAccessory.d.ts +10 -0
  686. package/plugins/unitConverter/converter.d.ts +1 -0
  687. package/plugins/unitConverter/index.d.ts +70 -0
  688. package/plugins/unlimitedAccounts/index.d.ts +33 -0
  689. package/plugins/unlockedAvatarZoom/index.d.ts +32 -0
  690. package/plugins/unsuppressEmbeds/index.d.ts +13 -0
  691. package/plugins/userMessagesPronouns/PronounsChatComponent.d.ts +7 -0
  692. package/plugins/userMessagesPronouns/index.d.ts +67 -0
  693. package/plugins/userMessagesPronouns/settings.d.ts +44 -0
  694. package/plugins/userMessagesPronouns/utils.d.ts +1 -0
  695. package/plugins/userVoiceShow/components.d.ts +8 -0
  696. package/plugins/userVoiceShow/index.d.ts +62 -0
  697. package/plugins/usrbg/index.d.ts +84 -0
  698. package/plugins/validReply/index.d.ts +34 -0
  699. package/plugins/validUser/index.d.ts +18 -0
  700. package/plugins/vcDoubleClick/index.d.ts +35 -0
  701. package/plugins/vcNarrator/VoiceSetting.d.ts +1 -0
  702. package/plugins/vcNarrator/index.d.ts +160 -0
  703. package/plugins/vcNarrator/settings.d.ts +135 -0
  704. package/plugins/videoSpeed/index.d.ts +33 -0
  705. package/plugins/viewIcons/index.d.ts +82 -0
  706. package/plugins/viewRaw/index.d.ts +69 -0
  707. package/plugins/voiceButtons/index.d.ts +121 -0
  708. package/plugins/voiceButtons/settings.d.ts +104 -0
  709. package/plugins/voiceButtons/utils.d.ts +12 -0
  710. package/plugins/voiceChannelLog.dev/components/VoiceChannelLogEntryComponent.d.ts +7 -0
  711. package/plugins/voiceChannelLog.dev/components/VoiceChannelLogEntryIcons.d.ts +7 -0
  712. package/plugins/voiceChannelLog.dev/components/VoiceChannelLogModal.d.ts +7 -0
  713. package/plugins/voiceChannelLog.dev/index.d.ts +97 -0
  714. package/plugins/voiceChannelLog.dev/logs.d.ts +12 -0
  715. package/plugins/voiceChatUtils/index.d.ts +41 -0
  716. package/plugins/voiceDownload/index.d.ts +19 -0
  717. package/plugins/voiceMessages/DesktopRecorder.d.ts +2 -0
  718. package/plugins/voiceMessages/VoicePreview.d.ts +6 -0
  719. package/plugins/voiceMessages/WebRecorder.d.ts +2 -0
  720. package/plugins/voiceMessages/index.d.ts +42 -0
  721. package/plugins/voiceMessages/native.d.ts +1 -0
  722. package/plugins/voiceMessages/settings.d.ts +24 -0
  723. package/plugins/voiceMessages/utils.d.ts +1 -0
  724. package/plugins/volumeBooster/index.d.ts +74 -0
  725. package/plugins/wallpaperFree/components/ctxmenu.d.ts +5 -0
  726. package/plugins/wallpaperFree/components/modal.d.ts +8 -0
  727. package/plugins/wallpaperFree/components/util.d.ts +2 -0
  728. package/plugins/wallpaperFree/index.d.ts +78 -0
  729. package/plugins/wallpaperFree/store.d.ts +31 -0
  730. package/plugins/webContextMenus.web/index.d.ts +91 -0
  731. package/plugins/webKeybinds.web/index.d.ts +13 -0
  732. package/plugins/webScreenShareFixes.web/index.d.ts +20 -0
  733. package/plugins/whoReacted/index.d.ts +54 -0
  734. package/plugins/whosWatching/index.d.ts +36 -0
  735. package/plugins/writeUpperCase/index.d.ts +25 -0
  736. package/plugins/xsOverlay/index.d.ts +226 -0
  737. package/plugins/xsOverlay/native.d.ts +1 -0
  738. package/plugins/youtubeAdblock.desktop/index.d.ts +9 -0
  739. package/plugins/youtubeAdblock.desktop/native.d.ts +1 -0
  740. package/plugins/youtubeDescription/index.d.ts +23 -0
  741. package/shared/IpcEvents.d.ts +31 -0
  742. package/shared/SettingsStore.d.ts +82 -0
  743. package/shared/debounce.d.ts +8 -0
  744. package/shared/onceDefined.d.ts +11 -0
  745. package/shared/plexcordUserAgent.d.ts +4 -0
  746. package/utils/ChangeList.d.ts +10 -0
  747. package/utils/Logger.d.ts +21 -0
  748. package/utils/Queue.d.ts +33 -0
  749. package/utils/clipboard.d.ts +1 -0
  750. package/utils/cloud.d.ts +8 -0
  751. package/utils/constants.d.ts +857 -0
  752. package/utils/cspViolations.d.ts +2 -0
  753. package/utils/dependencies.d.ts +40 -0
  754. package/utils/discord.d.ts +89 -0
  755. package/utils/guards.d.ts +2 -0
  756. package/utils/i18n.d.ts +5 -0
  757. package/utils/index.d.ts +40 -0
  758. package/utils/intlHash.d.ts +15 -0
  759. package/utils/langs/en.d.ts +287 -0
  760. package/utils/langs/index.d.ts +576 -0
  761. package/utils/langs/tr.d.ts +287 -0
  762. package/utils/lazy.d.ts +14 -0
  763. package/utils/lazyReact.d.ts +11 -0
  764. package/utils/localStorage.d.ts +1 -0
  765. package/utils/margins.d.ts +1 -0
  766. package/utils/mergeDefaults.d.ts +7 -0
  767. package/utils/misc.d.ts +36 -0
  768. package/utils/modal.d.ts +172 -0
  769. package/utils/native.d.ts +2 -0
  770. package/utils/onlyOnce.d.ts +1 -0
  771. package/utils/patches.d.ts +6 -0
  772. package/utils/quickCss.d.ts +1 -0
  773. package/utils/react.d.ts +44 -0
  774. package/utils/settingsSync.d.ts +22 -0
  775. package/utils/text.d.ts +39 -0
  776. package/utils/types.d.ts +328 -0
  777. package/utils/updater.d.ts +11 -0
  778. package/utils/web-metadata.d.ts +2 -0
  779. package/utils/web.d.ts +12 -0
  780. package/webpack/common/FormText.d.ts +2 -0
  781. package/webpack/common/classes.d.ts +2 -0
  782. package/webpack/common/components.d.ts +164 -0
  783. package/webpack/common/index.d.ts +7 -0
  784. package/webpack/common/internal.d.ts +4 -0
  785. package/webpack/common/menu.d.ts +3 -0
  786. package/webpack/common/react.d.ts +10 -0
  787. package/webpack/common/stores.d.ts +35 -0
  788. package/webpack/common/userSettings.d.ts +4 -0
  789. package/webpack/common/utils.d.ts +85 -0
  790. package/webpack/index.d.ts +3 -0
  791. package/webpack/patchWebpack.d.ts +12 -0
  792. package/webpack/types.d.ts +17 -0
  793. package/webpack/webpack.d.ts +187 -0
package/Plexcord.d.ts ADDED
@@ -0,0 +1,31 @@
1
+ /*!
2
+ * Plexcord, a modification for Discord's desktop app
3
+ * Copyright (c) 2022 Vendicated and contributors
4
+ * Copyright (c) 2025 MutanPlex
5
+ *
6
+ * This program is free software: you can redistribute it and/or modify
7
+ * it under the terms of the GNU General Public License as published by
8
+ * the Free Software Foundation, either version 3 of the License, or
9
+ * (at your option) any later version.
10
+ *
11
+ * This program is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ * GNU General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU General Public License
17
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
18
+ */
19
+ import "~plugins";
20
+ export * as Api from "./api";
21
+ export * as Components from "./components";
22
+ export * as Plugins from "./plugins";
23
+ export * as Util from "./utils";
24
+ export * as QuickCss from "./utils/quickCss";
25
+ export * as Updater from "./utils/updater";
26
+ export * as Webpack from "./webpack";
27
+ export * as WebpackPatcher from "./webpack/patchWebpack";
28
+ export { PlainSettings, Settings };
29
+ import "./utils/quickCss";
30
+ import "./webpack/patchWebpack";
31
+ import { PlainSettings, Settings } from "./api/Settings";
@@ -0,0 +1,56 @@
1
+ import type { Settings } from "./api/Settings";
2
+ import { CspRequestResult } from "./main/csp/manager";
3
+ import type { UserThemeHeader } from "./main/themes";
4
+ import { IpcEvents } from "./shared/IpcEvents";
5
+ import { IpcRes } from "./utils/types";
6
+ export declare function sendSync<T = any>(event: IpcEvents, ...args: any[]): T;
7
+ declare const _default: {
8
+ themes: {
9
+ uploadTheme: (fileName: string, fileData: string) => Promise<void>;
10
+ deleteTheme: (fileName: string) => Promise<void>;
11
+ getThemesDir: () => Promise<string>;
12
+ getThemesList: () => Promise<UserThemeHeader[]>;
13
+ getThemeData: (fileName: string) => Promise<string | undefined>;
14
+ getSystemValues: () => Promise<Record<string, string>>;
15
+ openFolder: () => Promise<void>;
16
+ };
17
+ updater: {
18
+ getUpdates: () => Promise<IpcRes<Record<"message" | "hash" | "author", string>[]>>;
19
+ update: () => Promise<IpcRes<boolean>>;
20
+ rebuild: () => Promise<IpcRes<boolean>>;
21
+ getRepo: () => Promise<IpcRes<string>>;
22
+ };
23
+ settings: {
24
+ get: () => Settings;
25
+ set: (settings: Settings, pathToNotify?: string) => Promise<void>;
26
+ getSettingsDir: () => Promise<string>;
27
+ openFolder: () => Promise<void>;
28
+ };
29
+ quickCss: {
30
+ get: () => Promise<string>;
31
+ set: (css: string) => Promise<void>;
32
+ addChangeListener(cb: (newCss: string) => void): void;
33
+ addThemeChangeListener(cb: () => void): void;
34
+ openFile: () => Promise<void>;
35
+ openEditor: () => Promise<void>;
36
+ };
37
+ native: {
38
+ getVersions: () => Partial<NodeJS.ProcessVersions>;
39
+ openExternal: (url: string) => Promise<void>;
40
+ };
41
+ i18n: {
42
+ updateMainLocale: (locale?: string) => Promise<boolean>;
43
+ };
44
+ csp: {
45
+ /**
46
+ * Note: Only supports full explicit matches, not wildcards.
47
+ *
48
+ * If `*.example.com` is allowed, `isDomainAllowed("https://sub.example.com")` will return false.
49
+ */
50
+ isDomainAllowed: (url: string, directives: string[]) => Promise<boolean>;
51
+ removeOverride: (url: string) => Promise<boolean>;
52
+ requestAddOverride: (url: string, directives: string[], callerName: string) => Promise<CspRequestResult>;
53
+ };
54
+ pluginHelpers: Record<string, Record<string, (...args: any[]) => Promise<any>>>;
55
+ };
56
+ export default _default;
package/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # Plexcord Types
2
+
3
+ Typings for Plexcord's api, published to npm
4
+
5
+ ```sh
6
+ npm i @plexcord/types
7
+
8
+ yarn add @plexcord/types
9
+
10
+ pnpm add @plexcord/types
11
+ ```
@@ -0,0 +1,151 @@
1
+ export type AudioProcessor = (data: PreprocessAudioData) => void;
2
+ export type AudioCallback = (() => void);
3
+ export type AudioErrorHandler = ((error: Error) => void);
4
+ export declare const audioProcessorFunctions: Record<string, AudioProcessor>;
5
+ export declare enum AudioType {
6
+ /** An external URL that follows the Content Security Policy. */
7
+ URL = "url",
8
+ /** A base64-encoded data URI. */
9
+ DATA = "data-uri",
10
+ /** A Blob URI. */
11
+ BLOB = "blob",
12
+ /** A file path. */
13
+ PATH = "file-path",
14
+ /** An internal Discord audio filename (e.g. "discodo"). */
15
+ DISCORD = "discord",
16
+ /** Any other unrecognized audio type. */
17
+ OTHER = "other"
18
+ }
19
+ export interface PreprocessAudioData {
20
+ /** The original audio string passed to the player. */
21
+ audio: string;
22
+ /** The read-only type of audio of the original audio string. */
23
+ readonly type: AudioType;
24
+ /** The volume of the original audio between 0 and 100. */
25
+ volume: number;
26
+ /** The playback speed of the original audio between 0.0625 and 16. */
27
+ speed: number;
28
+ }
29
+ export interface AudioPlayerInternal {
30
+ preprocessDataOriginal: PreprocessAudioData;
31
+ preprocessDataPrevious: PreprocessAudioData | null;
32
+ preprocessDataCurrent: PreprocessAudioData;
33
+ audio: string;
34
+ _audio: null | Promise<HTMLAudioElement>;
35
+ _volume: number;
36
+ _speed: number;
37
+ outputChannel: string;
38
+ type: AudioType;
39
+ preload: boolean;
40
+ persistent: boolean;
41
+ onEnded?: AudioCallback;
42
+ onError?: AudioErrorHandler;
43
+ processAudio: () => void;
44
+ ensureAudio(): Promise<HTMLAudioElement>;
45
+ destroyAudio(): void;
46
+ loop(): void;
47
+ play(): void;
48
+ pause(): void;
49
+ stop(restart?: boolean): void;
50
+ }
51
+ export interface AudioPlayerInterface {
52
+ /** The internal Discord audio filename (e.g. "discodo"), a data URI, or an external URL that follows the CSP. */
53
+ audio: string;
54
+ /** The read-only type of audio determined during processing. */
55
+ readonly type: AudioType;
56
+ /** The duration of the audio in seconds, or null if not yet loaded. */
57
+ readonly duration: Promise<number> | null;
58
+ /** The current time of the audio in seconds, or null if not yet loaded. */
59
+ time: Promise<number> | null;
60
+ /** The paused state of the audio, or null if not yet loaded. */
61
+ paused: Promise<boolean> | null;
62
+ /** The muted state of the audio, or null if not yet loaded. */
63
+ muted: Promise<boolean> | null;
64
+ /** The volume of the audio between 0 and 100. */
65
+ volume: number;
66
+ /** The playback speed of the audio between 0.0625 and 16. */
67
+ speed: number;
68
+ /** Whether to load the audio immediately. If persistent is false, this will only apply until the first playback. */
69
+ preload: boolean;
70
+ /** Whether the audio element is persistent and not recreated for every playback. */
71
+ persistent: boolean;
72
+ /** Preloads the audio before playback. Automatically called when persistent is true. */
73
+ load(): void;
74
+ /** Sets the audio to loop until paused or stopped. */
75
+ loop(): void;
76
+ /** Plays the audio. */
77
+ play(): void;
78
+ /** Pauses the audio. */
79
+ pause(): void;
80
+ /** Stops the audio. */
81
+ stop(): void;
82
+ /** Plays the audio from the beginning. */
83
+ restart(): void;
84
+ /** Seeks to a specific time in seconds. */
85
+ seek(time: number): void;
86
+ /** Mutes the audio. */
87
+ mute(): void;
88
+ /** Unmutes the audio. */
89
+ unmute(): void;
90
+ /** Deletes the audio element. Necessary if persistent is true. */
91
+ delete(): void;
92
+ }
93
+ export interface AudioPlayerOptions {
94
+ /** The volume of the audio, between 0 and 100, defaulting to 100. */
95
+ volume?: number;
96
+ /** The playback speed of the audio, between 0.0625 and 16, defaulting to 1. */
97
+ speed?: number;
98
+ /** Whether to preload the audio as soon as the player is created. */
99
+ preload?: boolean;
100
+ /** Whether the audio element is persistent and not recreated for every playback. If persistent, you must call delete() to free the memory. Defaults to false. */
101
+ persistent?: boolean;
102
+ /** An optional callback that is called every time the audio finishes playing. */
103
+ onEnded?: AudioCallback;
104
+ /** An optional error handler that is called when an error occurs during audio playback. */
105
+ onError?: AudioErrorHandler;
106
+ }
107
+ /**
108
+ * Creates an audio player.
109
+ * @param audio The internal Discord audio filename (e.g. "discodo"), a data URI, or an external URL that follows the CSP.
110
+ * @param options Additional options for the audio player.
111
+ * @param options.volume The volume of the audio, between 0 and 100, defaulting to 100.
112
+ * @param options.speed The playback speed of the audio, between 0.0625 and 16, defaulting to 1.
113
+ * @param options.preload Whether to load the audio immediately. If persistent is false, this will only apply until the first playback.
114
+ * @param options.persistent Whether the audio element is persistent and not recreated for every playback. If persistent, you must call delete() to free the memory. Defaults to false.
115
+ * @param options.onEnded An optional callback that is called every time the audio finishes playing.
116
+ * @param options.onError An optional error handler that is passed an Error object when an error occurs during audio playback.
117
+ * @return The created audio player.
118
+ */
119
+ export declare function createAudioPlayer(audio: string, options?: AudioPlayerOptions): AudioPlayerInterface;
120
+ /**
121
+ * Plays an audio instantly and returns the player.
122
+ * @param audio The internal Discord audio filename (e.g. "discodo"), a data URI, or an external URL that follows the CSP.
123
+ * @param options Additional options for the audio player.
124
+ * @param options.volume The volume of the audio, between 0 and 100, defaulting to 100.
125
+ * @param options.speed The playback speed of the audio, between 0.0625 and 16, defaulting to 1.
126
+ * @param options.preload Whether to load the audio immediately. If persistent is false, this will only apply until the first playback.
127
+ * @param options.persistent Whether the audio element is persistent and not recreated for every playback. If persistent, you must call delete() to free the memory. Defaults to false.
128
+ * @param options.onEnded An optional callback that is called every time the audio finishes playing.
129
+ * @param options.onError An optional error handler that is passed an Error object when an error occurs during audio playback.
130
+ * @return The created audio player.
131
+ */
132
+ export declare function playAudio(audio: string, options?: AudioPlayerOptions): AudioPlayerInterface;
133
+ /**
134
+ * Identifies the type of audio based on its string.
135
+ * @param audio The audio string to identify.
136
+ * @returns The identified AudioType.
137
+ */
138
+ export declare function identifyAudioType(audio: string): AudioType;
139
+ /**
140
+ * Adds a function to process an audio before it is played.
141
+ * @param key A unique identifier for this audio processor. Plugin name is recommended.
142
+ * @param processor A function that takes an audio, volume (0-100), and type (AudioType), and returns the replacement audio and volume.
143
+ */
144
+ export declare function addAudioProcessor(key: string, processor: AudioProcessor): void;
145
+ /**
146
+ * Removes an audio processor by its key.
147
+ * @param key The unique identifier of the audio processor to remove.
148
+ */
149
+ export declare function removeAudioProcessor(key: string): void;
150
+ /** Returns an array of all internal Discord audio filenames. */
151
+ export declare function defaultAudioNames(): string[];
@@ -0,0 +1,49 @@
1
+ import { ComponentType, HTMLProps } from "react";
2
+ export declare const enum BadgePosition {
3
+ START = 0,
4
+ END = 1
5
+ }
6
+ export interface ProfileBadge {
7
+ /** The tooltip to show on hover. Required for image badges */
8
+ description?: string;
9
+ /** Custom component for the badge (tooltip not included) */
10
+ component?: ComponentType<ProfileBadge & BadgeUserArgs>;
11
+ /** The custom image to use */
12
+ image?: string;
13
+ link?: string;
14
+ /** Action to perform when you click the badge */
15
+ onClick?(event: React.MouseEvent, props: ProfileBadge & BadgeUserArgs): void;
16
+ /** Action to perform when you right click the badge */
17
+ onContextMenu?(event: React.MouseEvent, props: BadgeUserArgs & BadgeUserArgs): void;
18
+ /** Should the user display this badge? */
19
+ shouldShow?(userInfo: BadgeUserArgs): boolean;
20
+ /** Optional props (e.g. style) for the badge, ignored for component badges */
21
+ props?: HTMLProps<HTMLImageElement>;
22
+ /** Insert at start or end? */
23
+ position?: BadgePosition;
24
+ /** The badge name to display, Discord uses this. Required for component badges */
25
+ key?: string;
26
+ /**
27
+ * Allows dynamically returning multiple badges
28
+ */
29
+ getBadges?(userInfo: BadgeUserArgs): ProfileBadge[];
30
+ }
31
+ /**
32
+ * Register a new badge with the Badges API
33
+ * @param badge The badge to register
34
+ */
35
+ export declare function addProfileBadge(badge: ProfileBadge): void;
36
+ /**
37
+ * Unregister a badge from the Badges API
38
+ * @param badge The badge to remove
39
+ */
40
+ export declare function removeProfileBadge(badge: ProfileBadge): boolean;
41
+ /**
42
+ * Inject badges into the profile badges array.
43
+ * You probably don't need to use this.
44
+ */
45
+ export declare function _getBadges(args: BadgeUserArgs): ProfileBadge[];
46
+ export interface BadgeUserArgs {
47
+ userId: string;
48
+ guildId: string;
49
+ }
@@ -0,0 +1,75 @@
1
+ import "./ChatButton.css";
2
+ import { Channel } from "@plexcord/discord-types";
3
+ import { HTMLProps, JSX, MouseEventHandler, ReactNode } from "react";
4
+ export interface ChatBarProps {
5
+ channel: Channel;
6
+ disabled: boolean;
7
+ isEmpty: boolean;
8
+ type: {
9
+ analyticsName: string;
10
+ attachments: boolean;
11
+ autocomplete: {
12
+ addReactionShortcut: boolean;
13
+ forceChatLayer: boolean;
14
+ reactions: boolean;
15
+ };
16
+ commands: {
17
+ enabled: boolean;
18
+ };
19
+ drafts: {
20
+ type: number;
21
+ commandType: number;
22
+ autoSave: boolean;
23
+ };
24
+ emojis: {
25
+ button: boolean;
26
+ };
27
+ gifs: {
28
+ button: boolean;
29
+ allowSending: boolean;
30
+ };
31
+ gifts: {
32
+ button: boolean;
33
+ };
34
+ permissions: {
35
+ requireSendMessages: boolean;
36
+ };
37
+ showThreadPromptOnReply: boolean;
38
+ stickers: {
39
+ button: boolean;
40
+ allowSending: boolean;
41
+ autoSuggest: boolean;
42
+ };
43
+ users: {
44
+ allowMentioning: boolean;
45
+ };
46
+ submit: {
47
+ button: boolean;
48
+ ignorePreference: boolean;
49
+ disableEnterToSubmit: boolean;
50
+ clearOnSubmit: boolean;
51
+ useDisabledStylesOnSubmit: boolean;
52
+ };
53
+ uploadLongMessages: boolean;
54
+ upsellLongMessages: {
55
+ iconOnly: boolean;
56
+ };
57
+ showCharacterCount: boolean;
58
+ sedReplace: boolean;
59
+ };
60
+ }
61
+ export type ChatBarButtonFactory = (props: ChatBarProps & {
62
+ isMainChat: boolean;
63
+ }) => JSX.Element | null;
64
+ export declare function _injectButtons(buttons: ReactNode[], props: ChatBarProps): void;
65
+ export declare const addChatBarButton: (id: string, button: ChatBarButtonFactory) => Map<string, ChatBarButtonFactory>;
66
+ export declare const removeChatBarButton: (id: string) => boolean;
67
+ export interface ChatBarButtonProps {
68
+ children: ReactNode;
69
+ tooltip: string;
70
+ onClick: MouseEventHandler<HTMLButtonElement>;
71
+ onContextMenu?: MouseEventHandler<HTMLButtonElement>;
72
+ onAuxClick?: MouseEventHandler<HTMLButtonElement>;
73
+ buttonProps?: Omit<HTMLProps<HTMLButtonElement>, "size" | "onClick" | "onContextMenu" | "onAuxClick" | "ref">;
74
+ }
75
+ export declare const ChatBarButton: import("react").FunctionComponent<ChatBarButtonProps>;
@@ -0,0 +1,19 @@
1
+ import { CommandArgument, Message } from "@plexcord/discord-types";
2
+ import type { PartialDeep } from "type-fest";
3
+ export declare function generateId(): string;
4
+ /**
5
+ * Send a message as Clyde
6
+ * @param {string} channelId ID of channel to send message to
7
+ * @param {Message} message Message to send
8
+ * @returns {Message}
9
+ */
10
+ export declare function sendBotMessage(channelId: string, message: PartialDeep<Message>): Message;
11
+ /**
12
+ * Get the value of an option by name
13
+ * @param args Arguments array (first argument passed to execute)
14
+ * @param name Name of the argument
15
+ * @param fallbackValue Fallback value in case this option wasn't passed
16
+ * @returns Value
17
+ */
18
+ export declare function findOption<T>(args: CommandArgument[], name: string): T & {} | undefined;
19
+ export declare function findOption<T>(args: CommandArgument[], name: string, fallbackValue: T): T & {};
@@ -0,0 +1,28 @@
1
+ import { CommandOption } from "@plexcord/discord-types";
2
+ import { PlexcordCommand } from "./types";
3
+ export * from "./commandHelpers";
4
+ export * from "./types";
5
+ export declare let BUILT_IN: PlexcordCommand[];
6
+ export declare const commands: Record<string, PlexcordCommand>;
7
+ /**
8
+ * Optional message option named "message" you can use in commands.
9
+ * Used in "tableflip" or "shrug"
10
+ * @see {@link RequiredMessageOption}
11
+ */
12
+ export declare let OptionalMessageOption: CommandOption;
13
+ /**
14
+ * Required message option named "message" you can use in commands.
15
+ * Used in "me"
16
+ * @see {@link OptionalMessageOption}
17
+ */
18
+ export declare let RequiredMessageOption: CommandOption;
19
+ export declare const _init: never;
20
+ export declare const _handleCommand: never;
21
+ /**
22
+ * Prepare a Command Option for Discord by filling missing fields
23
+ * @param opt
24
+ */
25
+ export declare function prepareOption<O extends CommandOption | PlexcordCommand>(opt: O): O;
26
+ export declare function updateCommandTranslations(): void;
27
+ export declare function registerCommand<C extends PlexcordCommand>(command: C, plugin: string): void;
28
+ export declare function unregisterCommand(name: string): boolean;
@@ -0,0 +1,5 @@
1
+ import { Command } from "@plexcord/discord-types";
2
+ export { ApplicationCommandInputType, ApplicationCommandOptionType, ApplicationCommandType } from "@plexcord/discord-types/enums";
3
+ export interface PlexcordCommand extends Command {
4
+ isPlexcordCommand?: boolean;
5
+ }
@@ -0,0 +1,55 @@
1
+ import type { ReactElement } from "react";
2
+ /**
3
+ * @param children The rendered context menu elements
4
+ * @param args Any arguments passed into making the context menu, like the guild, channel, user or message for example
5
+ */
6
+ export type NavContextMenuPatchCallback = (children: Array<ReactElement<any> | null>, ...args: Array<any>) => void;
7
+ /**
8
+ * @param navId The navId of the context menu being patched
9
+ * @param children The rendered context menu elements
10
+ * @param args Any arguments passed into making the context menu, like the guild, channel, user or message for example
11
+ */
12
+ export type GlobalContextMenuPatchCallback = (navId: string, children: Array<ReactElement<any> | null>, ...args: Array<any>) => void;
13
+ export declare const navPatches: Map<string, Set<NavContextMenuPatchCallback>>;
14
+ export declare const globalPatches: Set<GlobalContextMenuPatchCallback>;
15
+ /**
16
+ * Add a context menu patch
17
+ * @param navId The navId(s) for the context menu(s) to patch
18
+ * @param patch The patch to be applied
19
+ */
20
+ export declare function addContextMenuPatch(navId: string | Array<string>, patch: NavContextMenuPatchCallback): void;
21
+ /**
22
+ * Add a global context menu patch that fires the patch for all context menus
23
+ * @param patch The patch to be applied
24
+ */
25
+ export declare function addGlobalContextMenuPatch(patch: GlobalContextMenuPatchCallback): void;
26
+ /**
27
+ * Remove a context menu patch
28
+ * @param navId The navId(s) for the context menu(s) to remove the patch
29
+ * @param patch The patch to be removed
30
+ * @returns Whether the patch was successfully removed from the context menu(s)
31
+ */
32
+ export declare function removeContextMenuPatch<T extends string | Array<string>>(navId: T, patch: NavContextMenuPatchCallback): T extends string ? boolean : Array<boolean>;
33
+ /**
34
+ * Remove a global context menu patch
35
+ * @param patch The patch to be removed
36
+ * @returns Whether the patch was successfully removed
37
+ */
38
+ export declare function removeGlobalContextMenuPatch(patch: GlobalContextMenuPatchCallback): boolean;
39
+ /**
40
+ * A helper function for finding the children array of a group nested inside a context menu based on the id(s) of its children
41
+ * @param id The id of the child. If an array is specified, all ids will be tried
42
+ * @param children The context menu children
43
+ * @param matchSubstring Whether to check if the id is a substring of the child id
44
+ */
45
+ export declare function findGroupChildrenByChildId(id: string | string[], children: Array<ReactElement<any> | null | undefined>, matchSubstring?: boolean): Array<ReactElement<any> | null | undefined> | null;
46
+ interface ContextMenuProps {
47
+ contextMenuAPIArguments?: Array<any>;
48
+ navId: string;
49
+ children: Array<ReactElement<any> | null>;
50
+ "aria-label": string;
51
+ onSelect: (() => void) | undefined;
52
+ onClose: (callback: (...args: Array<any>) => any) => void;
53
+ }
54
+ export declare function _usePatchContextMenu(props: ContextMenuProps): ContextMenuProps;
55
+ export {};
@@ -0,0 +1,97 @@
1
+ /*!
2
+ * idb-keyval v6.2.0
3
+ * Copyright 2016, Jake Archibald
4
+ * Copyright 2022, Vendicated
5
+ * Copyright (c) 2025 MutanPlex
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */
19
+ export declare function promisifyRequest<T = undefined>(request: IDBRequest<T> | IDBTransaction): Promise<T>;
20
+ export declare function createStore(dbName: string, storeName: string): UseStore;
21
+ export type UseStore = <T>(txMode: IDBTransactionMode, callback: (store: IDBObjectStore) => T | PromiseLike<T>) => Promise<T>;
22
+ /**
23
+ * Get a value by its key.
24
+ *
25
+ * @param key
26
+ * @param customStore Method to get a custom store. Use with caution (see the docs).
27
+ */
28
+ export declare function get<T = any>(key: IDBValidKey, customStore?: UseStore): Promise<T | undefined>;
29
+ /**
30
+ * Set a value with a key.
31
+ *
32
+ * @param key
33
+ * @param value
34
+ * @param customStore Method to get a custom store. Use with caution (see the docs).
35
+ */
36
+ export declare function set(key: IDBValidKey, value: any, customStore?: UseStore): Promise<void>;
37
+ /**
38
+ * Set multiple values at once. This is faster than calling set() multiple times.
39
+ * It's also atomic – if one of the pairs can't be added, none will be added.
40
+ *
41
+ * @param entries Array of entries, where each entry is an array of `[key, value]`.
42
+ * @param customStore Method to get a custom store. Use with caution (see the docs).
43
+ */
44
+ export declare function setMany(entries: [IDBValidKey, any][], customStore?: UseStore): Promise<void>;
45
+ /**
46
+ * Get multiple values by their keys
47
+ *
48
+ * @param keys
49
+ * @param customStore Method to get a custom store. Use with caution (see the docs).
50
+ */
51
+ export declare function getMany<T = any>(keys: IDBValidKey[], customStore?: UseStore): Promise<T[]>;
52
+ /**
53
+ * Update a value. This lets you see the old value and update it as an atomic operation.
54
+ *
55
+ * @param key
56
+ * @param updater A callback that takes the old value and returns a new value.
57
+ * @param customStore Method to get a custom store. Use with caution (see the docs).
58
+ */
59
+ export declare function update<T = any>(key: IDBValidKey, updater: (oldValue: T | undefined) => T, customStore?: UseStore): Promise<void>;
60
+ /**
61
+ * Delete a particular key from the store.
62
+ *
63
+ * @param key
64
+ * @param customStore Method to get a custom store. Use with caution (see the docs).
65
+ */
66
+ export declare function del(key: IDBValidKey, customStore?: UseStore): Promise<void>;
67
+ /**
68
+ * Delete multiple keys at once.
69
+ *
70
+ * @param keys List of keys to delete.
71
+ * @param customStore Method to get a custom store. Use with caution (see the docs).
72
+ */
73
+ export declare function delMany(keys: IDBValidKey[], customStore?: UseStore): Promise<void>;
74
+ /**
75
+ * Clear all values in the store.
76
+ *
77
+ * @param customStore Method to get a custom store. Use with caution (see the docs).
78
+ */
79
+ export declare function clear(customStore?: UseStore): Promise<void>;
80
+ /**
81
+ * Get all keys in the store.
82
+ *
83
+ * @param customStore Method to get a custom store. Use with caution (see the docs).
84
+ */
85
+ export declare function keys<KeyType extends IDBValidKey>(customStore?: UseStore): Promise<KeyType[]>;
86
+ /**
87
+ * Get all values in the store.
88
+ *
89
+ * @param customStore Method to get a custom store. Use with caution (see the docs).
90
+ */
91
+ export declare function values<T = any>(customStore?: UseStore): Promise<T[]>;
92
+ /**
93
+ * Get all entries in the store. Each entry is an array of `[key, value]`.
94
+ *
95
+ * @param customStore Method to get a custom store. Use with caution (see the docs).
96
+ */
97
+ export declare function entries<KeyType extends IDBValidKey, ValueType = any>(customStore?: UseStore): Promise<[KeyType, ValueType][]>;
@@ -0,0 +1,49 @@
1
+ import { LocaleData } from "./i18n";
2
+ export declare class LocaleLoader {
3
+ private static loadedCoreLocales;
4
+ private static loadedPluginLocales;
5
+ static loadCoreLocales(): Promise<void>;
6
+ /**
7
+ * Register a plugin's locale loader
8
+ * @param pluginName The plugin name
9
+ * @param locale The locale code
10
+ * @param loader Function that returns a promise with locale data
11
+ */
12
+ static registerPluginLocale(pluginName: string, locale: string, loader: () => Promise<{
13
+ default: LocaleData;
14
+ }>): void;
15
+ /**
16
+ * Load a specific plugin locale
17
+ * @param pluginName The plugin name
18
+ * @param locale The locale code
19
+ */
20
+ static loadPluginLocale(pluginName: string, locale: string): Promise<boolean>;
21
+ /**
22
+ * Load all locales for a specific plugin
23
+ * @param pluginName The plugin name
24
+ */
25
+ static loadPluginLocales(pluginName: string): Promise<void>;
26
+ /**
27
+ * Unregister all locales for a plugin
28
+ * @param pluginName The plugin name
29
+ */
30
+ static unregisterPlugin(pluginName: string): void;
31
+ static getRegisteredPlugins(): string[];
32
+ /**
33
+ * Get available locales for a plugin
34
+ * @param pluginName The plugin name
35
+ */
36
+ static getPluginLocales(pluginName: string): string[];
37
+ /**
38
+ * Check if a plugin has a specific locale
39
+ * @param pluginName The plugin name
40
+ * @param locale The locale code
41
+ */
42
+ static hasPluginLocale(pluginName: string, locale: string): boolean;
43
+ static loadCurrentLocales(): Promise<void>;
44
+ static initialize(): Promise<void>;
45
+ }
46
+ export declare function definePluginLocales(pluginName: string, locales: Record<string, () => Promise<{
47
+ default: LocaleData;
48
+ }>>): void;
49
+ export default LocaleLoader;
@@ -0,0 +1,20 @@
1
+ import { Channel, User } from "@plexcord/discord-types";
2
+ import { JSX } from "react";
3
+ export type DecoratorProps = {
4
+ type: "guild" | "dm";
5
+ user: User;
6
+ /** only present when this is a DM list item */
7
+ channel: Channel;
8
+ /** only present when this is a guild list item */
9
+ isOwner: boolean;
10
+ };
11
+ export type MemberListDecoratorFactory = (props: DecoratorProps) => JSX.Element | null;
12
+ type OnlyIn = "guilds" | "dms";
13
+ export declare const decoratorsFactories: Map<string, {
14
+ render: MemberListDecoratorFactory;
15
+ onlyIn?: OnlyIn;
16
+ }>;
17
+ export declare function addMemberListDecorator(identifier: string, render: MemberListDecoratorFactory, onlyIn?: OnlyIn): void;
18
+ export declare function removeMemberListDecorator(identifier: string): void;
19
+ export declare function __getDecorators(props: DecoratorProps, type: "guild" | "dm"): JSX.Element;
20
+ export {};
@@ -0,0 +1,10 @@
1
+ import { JSX, ReactNode } from "react";
2
+ export type MessageAccessoryFactory = (props: Record<string, any>) => ReactNode;
3
+ export type MessageAccessory = {
4
+ render: MessageAccessoryFactory;
5
+ position?: number;
6
+ };
7
+ export declare const accessories: Map<string, MessageAccessory>;
8
+ export declare function addMessageAccessory(identifier: string, render: MessageAccessoryFactory, position?: number): void;
9
+ export declare function removeMessageAccessory(identifier: string): void;
10
+ export declare function _modifyAccessories(elements: JSX.Element[], props: Record<string, any>): JSX.Element[];