stream-chat-react-native-core 5.25.0-beta.7 → 5.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (619) hide show
  1. package/lib/commonjs/components/Channel/Channel.js +2 -2
  2. package/lib/commonjs/components/Channel/Channel.js.map +1 -1
  3. package/lib/commonjs/components/ChannelPreview/ChannelPreview.js.map +1 -1
  4. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js +2 -2
  5. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
  6. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js +1 -4
  7. package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
  8. package/lib/commonjs/components/ChannelPreview/ChannelPreviewStatus.js +4 -4
  9. package/lib/commonjs/components/ChannelPreview/ChannelPreviewStatus.js.map +1 -1
  10. package/lib/commonjs/components/ChannelPreview/ChannelPreviewTitle.js +1 -1
  11. package/lib/commonjs/components/ChannelPreview/ChannelPreviewTitle.js.map +1 -1
  12. package/lib/commonjs/components/ChannelPreview/ChannelPreviewUnreadCount.js +2 -2
  13. package/lib/commonjs/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
  14. package/lib/commonjs/components/Message/Message.js +7 -7
  15. package/lib/commonjs/components/Message/Message.js.map +1 -1
  16. package/lib/commonjs/components/MessageInput/hooks/useCountdown.js.map +1 -1
  17. package/lib/commonjs/components/MessageOverlay/MessageActionListItem.js +5 -5
  18. package/lib/commonjs/components/MessageOverlay/MessageActionListItem.js.map +1 -1
  19. package/lib/commonjs/contexts/channelsContext/ChannelsContext.js.map +1 -1
  20. package/lib/commonjs/contexts/chatContext/ChatContext.js +2 -2
  21. package/lib/commonjs/contexts/chatContext/ChatContext.js.map +1 -1
  22. package/lib/commonjs/contexts/themeContext/ThemeContext.js.map +1 -1
  23. package/lib/commonjs/i18n/en.json +1 -1
  24. package/lib/commonjs/i18n/es.json +47 -47
  25. package/lib/commonjs/i18n/fr.json +47 -47
  26. package/lib/commonjs/i18n/he.json +47 -47
  27. package/lib/commonjs/i18n/hi.json +47 -47
  28. package/lib/commonjs/i18n/it.json +47 -47
  29. package/lib/commonjs/i18n/ja.json +47 -47
  30. package/lib/commonjs/i18n/ko.json +47 -47
  31. package/lib/commonjs/i18n/nl.json +47 -47
  32. package/lib/commonjs/i18n/ru.json +50 -50
  33. package/lib/commonjs/i18n/tr.json +50 -50
  34. package/lib/commonjs/icons/ArrowRight.js.map +1 -1
  35. package/lib/commonjs/icons/AtMentions.js.map +1 -1
  36. package/lib/commonjs/icons/Attach.js.map +1 -1
  37. package/lib/commonjs/icons/Audio.js.map +1 -1
  38. package/lib/commonjs/icons/CSV.js.map +1 -1
  39. package/lib/commonjs/icons/Camera.js.map +1 -1
  40. package/lib/commonjs/icons/Check.js.map +1 -1
  41. package/lib/commonjs/icons/CheckAll.js.map +1 -1
  42. package/lib/commonjs/icons/CheckSend.js.map +1 -1
  43. package/lib/commonjs/icons/CircleClose.js.map +1 -1
  44. package/lib/commonjs/icons/CirclePlus.js.map +1 -1
  45. package/lib/commonjs/icons/CircleRight.js.map +1 -1
  46. package/lib/commonjs/icons/Close.js.map +1 -1
  47. package/lib/commonjs/icons/Copy.js.map +1 -1
  48. package/lib/commonjs/icons/CurveLineLeftUp.js.map +1 -1
  49. package/lib/commonjs/icons/DOC.js.map +1 -1
  50. package/lib/commonjs/icons/DOCX.js.map +1 -1
  51. package/lib/commonjs/icons/Delete.js.map +1 -1
  52. package/lib/commonjs/icons/Down.js.map +1 -1
  53. package/lib/commonjs/icons/DownloadArrow.js.map +1 -1
  54. package/lib/commonjs/icons/DownloadCloud.js.map +1 -1
  55. package/lib/commonjs/icons/Edit.js.map +1 -1
  56. package/lib/commonjs/icons/Error.js.map +1 -1
  57. package/lib/commonjs/icons/Eye.js.map +1 -1
  58. package/lib/commonjs/icons/Flag.js.map +1 -1
  59. package/lib/commonjs/icons/Folder.js.map +1 -1
  60. package/lib/commonjs/icons/GenericFile.js.map +1 -1
  61. package/lib/commonjs/icons/GiphyIcon.js.map +1 -1
  62. package/lib/commonjs/icons/Grid.js.map +1 -1
  63. package/lib/commonjs/icons/Group.js.map +1 -1
  64. package/lib/commonjs/icons/HTML.js.map +1 -1
  65. package/lib/commonjs/icons/Imgur.js.map +1 -1
  66. package/lib/commonjs/icons/LOLReaction.js.map +1 -1
  67. package/lib/commonjs/icons/Lightning.js.map +1 -1
  68. package/lib/commonjs/icons/Link.js.map +1 -1
  69. package/lib/commonjs/icons/Logo.js.map +1 -1
  70. package/lib/commonjs/icons/LoveReaction.js.map +1 -1
  71. package/lib/commonjs/icons/MD.js.map +1 -1
  72. package/lib/commonjs/icons/MailOpen.js.map +1 -1
  73. package/lib/commonjs/icons/MenuPointHorizontal.js.map +1 -1
  74. package/lib/commonjs/icons/MenuPointVertical.js.map +1 -1
  75. package/lib/commonjs/icons/MessageFlag.js.map +1 -1
  76. package/lib/commonjs/icons/MessageIcon.js.map +1 -1
  77. package/lib/commonjs/icons/Mute.js.map +1 -1
  78. package/lib/commonjs/icons/Notification.js.map +1 -1
  79. package/lib/commonjs/icons/ODT.js.map +1 -1
  80. package/lib/commonjs/icons/PDF.js.map +1 -1
  81. package/lib/commonjs/icons/PPT.js.map +1 -1
  82. package/lib/commonjs/icons/PPTX.js.map +1 -1
  83. package/lib/commonjs/icons/Pause.js.map +1 -1
  84. package/lib/commonjs/icons/Picture.js.map +1 -1
  85. package/lib/commonjs/icons/Pin.js.map +1 -1
  86. package/lib/commonjs/icons/PinHeader.js.map +1 -1
  87. package/lib/commonjs/icons/Play.js.map +1 -1
  88. package/lib/commonjs/icons/RAR.js.map +1 -1
  89. package/lib/commonjs/icons/RTF.js.map +1 -1
  90. package/lib/commonjs/icons/Recorder.js.map +1 -1
  91. package/lib/commonjs/icons/Refresh.js.map +1 -1
  92. package/lib/commonjs/icons/SEVEN_Z.js.map +1 -1
  93. package/lib/commonjs/icons/Search.js.map +1 -1
  94. package/lib/commonjs/icons/SendRight.js.map +1 -1
  95. package/lib/commonjs/icons/SendUp.js.map +1 -1
  96. package/lib/commonjs/icons/Share.js.map +1 -1
  97. package/lib/commonjs/icons/ShareRightArrow.js.map +1 -1
  98. package/lib/commonjs/icons/Smile.js.map +1 -1
  99. package/lib/commonjs/icons/Sound.js.map +1 -1
  100. package/lib/commonjs/icons/TAR.js.map +1 -1
  101. package/lib/commonjs/icons/TXT.js.map +1 -1
  102. package/lib/commonjs/icons/ThreadReply.js.map +1 -1
  103. package/lib/commonjs/icons/ThumbsDownReaction.js.map +1 -1
  104. package/lib/commonjs/icons/ThumbsUpReaction.js.map +1 -1
  105. package/lib/commonjs/icons/Time.js.map +1 -1
  106. package/lib/commonjs/icons/Unknown.js.map +1 -1
  107. package/lib/commonjs/icons/Unpin.js.map +1 -1
  108. package/lib/commonjs/icons/User.js.map +1 -1
  109. package/lib/commonjs/icons/UserAdd.js.map +1 -1
  110. package/lib/commonjs/icons/UserAdmin.js.map +1 -1
  111. package/lib/commonjs/icons/UserDelete.js.map +1 -1
  112. package/lib/commonjs/icons/UserMinus.js.map +1 -1
  113. package/lib/commonjs/icons/Video.js.map +1 -1
  114. package/lib/commonjs/icons/Warning.js.map +1 -1
  115. package/lib/commonjs/icons/WutReaction.js.map +1 -1
  116. package/lib/commonjs/icons/XLS.js.map +1 -1
  117. package/lib/commonjs/icons/XLSX.js.map +1 -1
  118. package/lib/commonjs/icons/ZIP.js.map +1 -1
  119. package/lib/commonjs/icons/utils/base.js.map +1 -1
  120. package/lib/commonjs/version.json +1 -1
  121. package/lib/module/components/Channel/Channel.js +2 -2
  122. package/lib/module/components/Channel/Channel.js.map +1 -1
  123. package/lib/module/components/ChannelPreview/ChannelPreview.js.map +1 -1
  124. package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js +2 -2
  125. package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
  126. package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js +1 -4
  127. package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
  128. package/lib/module/components/ChannelPreview/ChannelPreviewStatus.js +4 -4
  129. package/lib/module/components/ChannelPreview/ChannelPreviewStatus.js.map +1 -1
  130. package/lib/module/components/ChannelPreview/ChannelPreviewTitle.js +1 -1
  131. package/lib/module/components/ChannelPreview/ChannelPreviewTitle.js.map +1 -1
  132. package/lib/module/components/ChannelPreview/ChannelPreviewUnreadCount.js +2 -2
  133. package/lib/module/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
  134. package/lib/module/components/Message/Message.js +7 -7
  135. package/lib/module/components/Message/Message.js.map +1 -1
  136. package/lib/module/components/MessageInput/hooks/useCountdown.js.map +1 -1
  137. package/lib/module/components/MessageOverlay/MessageActionListItem.js +5 -5
  138. package/lib/module/components/MessageOverlay/MessageActionListItem.js.map +1 -1
  139. package/lib/module/contexts/channelsContext/ChannelsContext.js.map +1 -1
  140. package/lib/module/contexts/chatContext/ChatContext.js +2 -2
  141. package/lib/module/contexts/chatContext/ChatContext.js.map +1 -1
  142. package/lib/module/contexts/themeContext/ThemeContext.js.map +1 -1
  143. package/lib/module/i18n/en.json +1 -1
  144. package/lib/module/i18n/es.json +47 -47
  145. package/lib/module/i18n/fr.json +47 -47
  146. package/lib/module/i18n/he.json +47 -47
  147. package/lib/module/i18n/hi.json +47 -47
  148. package/lib/module/i18n/it.json +47 -47
  149. package/lib/module/i18n/ja.json +47 -47
  150. package/lib/module/i18n/ko.json +47 -47
  151. package/lib/module/i18n/nl.json +47 -47
  152. package/lib/module/i18n/ru.json +50 -50
  153. package/lib/module/i18n/tr.json +50 -50
  154. package/lib/module/icons/ArrowRight.js.map +1 -1
  155. package/lib/module/icons/AtMentions.js.map +1 -1
  156. package/lib/module/icons/Attach.js.map +1 -1
  157. package/lib/module/icons/Audio.js.map +1 -1
  158. package/lib/module/icons/CSV.js.map +1 -1
  159. package/lib/module/icons/Camera.js.map +1 -1
  160. package/lib/module/icons/Check.js.map +1 -1
  161. package/lib/module/icons/CheckAll.js.map +1 -1
  162. package/lib/module/icons/CheckSend.js.map +1 -1
  163. package/lib/module/icons/CircleClose.js.map +1 -1
  164. package/lib/module/icons/CirclePlus.js.map +1 -1
  165. package/lib/module/icons/CircleRight.js.map +1 -1
  166. package/lib/module/icons/Close.js.map +1 -1
  167. package/lib/module/icons/Copy.js.map +1 -1
  168. package/lib/module/icons/CurveLineLeftUp.js.map +1 -1
  169. package/lib/module/icons/DOC.js.map +1 -1
  170. package/lib/module/icons/DOCX.js.map +1 -1
  171. package/lib/module/icons/Delete.js.map +1 -1
  172. package/lib/module/icons/Down.js.map +1 -1
  173. package/lib/module/icons/DownloadArrow.js.map +1 -1
  174. package/lib/module/icons/DownloadCloud.js.map +1 -1
  175. package/lib/module/icons/Edit.js.map +1 -1
  176. package/lib/module/icons/Error.js.map +1 -1
  177. package/lib/module/icons/Eye.js.map +1 -1
  178. package/lib/module/icons/Flag.js.map +1 -1
  179. package/lib/module/icons/Folder.js.map +1 -1
  180. package/lib/module/icons/GenericFile.js.map +1 -1
  181. package/lib/module/icons/GiphyIcon.js.map +1 -1
  182. package/lib/module/icons/Grid.js.map +1 -1
  183. package/lib/module/icons/Group.js.map +1 -1
  184. package/lib/module/icons/HTML.js.map +1 -1
  185. package/lib/module/icons/Imgur.js.map +1 -1
  186. package/lib/module/icons/LOLReaction.js.map +1 -1
  187. package/lib/module/icons/Lightning.js.map +1 -1
  188. package/lib/module/icons/Link.js.map +1 -1
  189. package/lib/module/icons/Logo.js.map +1 -1
  190. package/lib/module/icons/LoveReaction.js.map +1 -1
  191. package/lib/module/icons/MD.js.map +1 -1
  192. package/lib/module/icons/MailOpen.js.map +1 -1
  193. package/lib/module/icons/MenuPointHorizontal.js.map +1 -1
  194. package/lib/module/icons/MenuPointVertical.js.map +1 -1
  195. package/lib/module/icons/MessageFlag.js.map +1 -1
  196. package/lib/module/icons/MessageIcon.js.map +1 -1
  197. package/lib/module/icons/Mute.js.map +1 -1
  198. package/lib/module/icons/Notification.js.map +1 -1
  199. package/lib/module/icons/ODT.js.map +1 -1
  200. package/lib/module/icons/PDF.js.map +1 -1
  201. package/lib/module/icons/PPT.js.map +1 -1
  202. package/lib/module/icons/PPTX.js.map +1 -1
  203. package/lib/module/icons/Pause.js.map +1 -1
  204. package/lib/module/icons/Picture.js.map +1 -1
  205. package/lib/module/icons/Pin.js.map +1 -1
  206. package/lib/module/icons/PinHeader.js.map +1 -1
  207. package/lib/module/icons/Play.js.map +1 -1
  208. package/lib/module/icons/RAR.js.map +1 -1
  209. package/lib/module/icons/RTF.js.map +1 -1
  210. package/lib/module/icons/Recorder.js.map +1 -1
  211. package/lib/module/icons/Refresh.js.map +1 -1
  212. package/lib/module/icons/SEVEN_Z.js.map +1 -1
  213. package/lib/module/icons/Search.js.map +1 -1
  214. package/lib/module/icons/SendRight.js.map +1 -1
  215. package/lib/module/icons/SendUp.js.map +1 -1
  216. package/lib/module/icons/Share.js.map +1 -1
  217. package/lib/module/icons/ShareRightArrow.js.map +1 -1
  218. package/lib/module/icons/Smile.js.map +1 -1
  219. package/lib/module/icons/Sound.js.map +1 -1
  220. package/lib/module/icons/TAR.js.map +1 -1
  221. package/lib/module/icons/TXT.js.map +1 -1
  222. package/lib/module/icons/ThreadReply.js.map +1 -1
  223. package/lib/module/icons/ThumbsDownReaction.js.map +1 -1
  224. package/lib/module/icons/ThumbsUpReaction.js.map +1 -1
  225. package/lib/module/icons/Time.js.map +1 -1
  226. package/lib/module/icons/Unknown.js.map +1 -1
  227. package/lib/module/icons/Unpin.js.map +1 -1
  228. package/lib/module/icons/User.js.map +1 -1
  229. package/lib/module/icons/UserAdd.js.map +1 -1
  230. package/lib/module/icons/UserAdmin.js.map +1 -1
  231. package/lib/module/icons/UserDelete.js.map +1 -1
  232. package/lib/module/icons/UserMinus.js.map +1 -1
  233. package/lib/module/icons/Video.js.map +1 -1
  234. package/lib/module/icons/Warning.js.map +1 -1
  235. package/lib/module/icons/WutReaction.js.map +1 -1
  236. package/lib/module/icons/XLS.js.map +1 -1
  237. package/lib/module/icons/XLSX.js.map +1 -1
  238. package/lib/module/icons/ZIP.js.map +1 -1
  239. package/lib/module/icons/utils/base.js.map +1 -1
  240. package/lib/module/version.json +1 -1
  241. package/lib/typescript/components/Attachment/Attachment.d.ts +3 -3
  242. package/lib/typescript/components/Attachment/AttachmentActions.d.ts +2 -2
  243. package/lib/typescript/components/Attachment/AudioAttachment.d.ts +2 -2
  244. package/lib/typescript/components/Attachment/Card.d.ts +2 -2
  245. package/lib/typescript/components/Attachment/FileAttachment.d.ts +3 -3
  246. package/lib/typescript/components/Attachment/FileAttachmentGroup.d.ts +2 -2
  247. package/lib/typescript/components/Attachment/FileIcon.d.ts +1 -1
  248. package/lib/typescript/components/Attachment/Gallery.d.ts +2 -2
  249. package/lib/typescript/components/Attachment/GalleryImage.d.ts +2 -2
  250. package/lib/typescript/components/Attachment/Giphy.d.ts +2 -2
  251. package/lib/typescript/components/Attachment/ImageLoadingFailedIndicator.d.ts +1 -1
  252. package/lib/typescript/components/Attachment/ImageLoadingIndicator.d.ts +1 -1
  253. package/lib/typescript/components/Attachment/VideoThumbnail.d.ts +1 -1
  254. package/lib/typescript/components/Attachment/utils/buildGallery/types.d.ts +4 -4
  255. package/lib/typescript/components/Attachment/utils/getGalleryImageBorderRadius.d.ts +1 -1
  256. package/lib/typescript/components/Attachment/utils/openUrlSafely.d.ts +1 -1
  257. package/lib/typescript/components/AttachmentPicker/AttachmentPicker.d.ts +1 -1
  258. package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerError.d.ts +1 -1
  259. package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerItem.d.ts +1 -1
  260. package/lib/typescript/components/AttachmentPicker/components/ImageSelectorIcon.d.ts +1 -1
  261. package/lib/typescript/components/AutoCompleteInput/AutoCompleteInput.d.ts +2 -2
  262. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionHeader.d.ts +2 -2
  263. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionItem.d.ts +2 -2
  264. package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionList.d.ts +3 -3
  265. package/lib/typescript/components/Avatar/Avatar.d.ts +1 -1
  266. package/lib/typescript/components/Avatar/GroupAvatar.d.ts +1 -1
  267. package/lib/typescript/components/Channel/Channel.d.ts +2 -2
  268. package/lib/typescript/components/Channel/hooks/useTargetedMessage.d.ts +1 -1
  269. package/lib/typescript/components/ChannelList/ChannelList.d.ts +1 -1
  270. package/lib/typescript/components/ChannelList/ChannelListHeaderErrorIndicator.d.ts +1 -1
  271. package/lib/typescript/components/ChannelList/ChannelListMessenger.d.ts +2 -2
  272. package/lib/typescript/components/ChannelList/hooks/listeners/useAddedToChannelNotification.d.ts +1 -1
  273. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelDeleted.d.ts +1 -1
  274. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelHidden.d.ts +1 -1
  275. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelTruncated.d.ts +1 -1
  276. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelUpdated.d.ts +1 -1
  277. package/lib/typescript/components/ChannelList/hooks/listeners/useChannelVisible.d.ts +1 -1
  278. package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessage.d.ts +1 -1
  279. package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessageNotification.d.ts +1 -1
  280. package/lib/typescript/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.d.ts +1 -1
  281. package/lib/typescript/components/ChannelList/hooks/listeners/useUserPresence.d.ts +1 -1
  282. package/lib/typescript/components/ChannelList/hooks/usePaginatedChannels.d.ts +3 -3
  283. package/lib/typescript/components/ChannelList/utils.d.ts +2 -2
  284. package/lib/typescript/components/ChannelPreview/ChannelAvatar.d.ts +2 -2
  285. package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts +3 -3
  286. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts +4 -1
  287. package/lib/typescript/components/ChannelPreview/ChannelPreviewMessenger.d.ts +2 -2
  288. package/lib/typescript/components/ChannelPreview/ChannelPreviewStatus.d.ts +1 -2
  289. package/lib/typescript/components/ChannelPreview/ChannelPreviewTitle.d.ts +5 -4
  290. package/lib/typescript/components/ChannelPreview/ChannelPreviewUnreadCount.d.ts +5 -3
  291. package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayName.d.ts +1 -1
  292. package/lib/typescript/components/ChannelPreview/hooks/useLatestMessagePreview.d.ts +2 -2
  293. package/lib/typescript/components/Chat/Chat.d.ts +1 -1
  294. package/lib/typescript/components/Chat/hooks/handleEventToSyncDB.d.ts +1 -1
  295. package/lib/typescript/components/Chat/hooks/useSyncDatabase.d.ts +1 -1
  296. package/lib/typescript/components/ImageGallery/ImageGallery.d.ts +3 -3
  297. package/lib/typescript/components/ImageGallery/components/AnimatedGalleryImage.d.ts +1 -1
  298. package/lib/typescript/components/ImageGallery/components/AnimatedGalleryVideo.d.ts +1 -1
  299. package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts +6 -6
  300. package/lib/typescript/components/ImageGallery/components/ImageGalleryHeader.d.ts +3 -3
  301. package/lib/typescript/components/ImageGallery/components/ImageGalleryOverlay.d.ts +1 -1
  302. package/lib/typescript/components/ImageGallery/components/ImageGrid.d.ts +4 -4
  303. package/lib/typescript/components/ImageGallery/components/ImageGridHandle.d.ts +3 -3
  304. package/lib/typescript/components/Indicators/EmptyStateIndicator.d.ts +1 -1
  305. package/lib/typescript/components/Indicators/LoadingDot.d.ts +1 -1
  306. package/lib/typescript/components/Indicators/LoadingDots.d.ts +1 -1
  307. package/lib/typescript/components/Indicators/LoadingErrorIndicator.d.ts +1 -1
  308. package/lib/typescript/components/Indicators/LoadingIndicator.d.ts +1 -1
  309. package/lib/typescript/components/Message/Message.d.ts +18 -9
  310. package/lib/typescript/components/Message/MessageSimple/MessageAvatar.d.ts +2 -2
  311. package/lib/typescript/components/Message/MessageSimple/MessageBounce.d.ts +2 -2
  312. package/lib/typescript/components/Message/MessageSimple/MessageContent.d.ts +2 -2
  313. package/lib/typescript/components/Message/MessageSimple/MessageDeleted.d.ts +2 -2
  314. package/lib/typescript/components/Message/MessageSimple/MessageError.d.ts +1 -1
  315. package/lib/typescript/components/Message/MessageSimple/MessageFooter.d.ts +2 -2
  316. package/lib/typescript/components/Message/MessageSimple/MessagePinnedHeader.d.ts +2 -2
  317. package/lib/typescript/components/Message/MessageSimple/MessageReplies.d.ts +2 -2
  318. package/lib/typescript/components/Message/MessageSimple/MessageRepliesAvatars.d.ts +2 -2
  319. package/lib/typescript/components/Message/MessageSimple/MessageSimple.d.ts +2 -2
  320. package/lib/typescript/components/Message/MessageSimple/MessageStatus.d.ts +2 -2
  321. package/lib/typescript/components/Message/MessageSimple/MessageTextContainer.d.ts +3 -3
  322. package/lib/typescript/components/Message/MessageSimple/ReactionList.d.ts +3 -3
  323. package/lib/typescript/components/Message/MessageSimple/utils/generateMarkdownText.d.ts +1 -1
  324. package/lib/typescript/components/Message/MessageSimple/utils/renderText.d.ts +2 -2
  325. package/lib/typescript/components/Message/utils/messageActions.d.ts +2 -2
  326. package/lib/typescript/components/MessageInput/AttachButton.d.ts +2 -2
  327. package/lib/typescript/components/MessageInput/CommandsButton.d.ts +2 -2
  328. package/lib/typescript/components/MessageInput/CooldownTimer.d.ts +1 -1
  329. package/lib/typescript/components/MessageInput/FileUploadPreview.d.ts +2 -2
  330. package/lib/typescript/components/MessageInput/ImageUploadPreview.d.ts +2 -2
  331. package/lib/typescript/components/MessageInput/InputButtons.d.ts +2 -2
  332. package/lib/typescript/components/MessageInput/MessageInput.d.ts +2 -2
  333. package/lib/typescript/components/MessageInput/MoreOptionsButton.d.ts +2 -2
  334. package/lib/typescript/components/MessageInput/SendButton.d.ts +2 -2
  335. package/lib/typescript/components/MessageInput/ShowThreadMessageInChannelButton.d.ts +2 -2
  336. package/lib/typescript/components/MessageInput/UploadProgressIndicator.d.ts +1 -1
  337. package/lib/typescript/components/MessageInput/components/InputEditingStateHeader.d.ts +2 -2
  338. package/lib/typescript/components/MessageInput/components/InputGiphySearch.d.ts +2 -2
  339. package/lib/typescript/components/MessageInput/components/InputReplyStateHeader.d.ts +2 -2
  340. package/lib/typescript/components/MessageList/DateHeader.d.ts +1 -1
  341. package/lib/typescript/components/MessageList/InlineDateSeparator.d.ts +1 -1
  342. package/lib/typescript/components/MessageList/InlineLoadingMoreIndicator.d.ts +1 -1
  343. package/lib/typescript/components/MessageList/InlineLoadingMoreRecentIndicator.d.ts +1 -1
  344. package/lib/typescript/components/MessageList/InlineLoadingMoreThreadIndicator.d.ts +1 -1
  345. package/lib/typescript/components/MessageList/MessageList.d.ts +2 -2
  346. package/lib/typescript/components/MessageList/MessageSystem.d.ts +1 -1
  347. package/lib/typescript/components/MessageList/ScrollToBottomButton.d.ts +1 -1
  348. package/lib/typescript/components/MessageList/TypingIndicatorContainer.d.ts +2 -2
  349. package/lib/typescript/components/MessageList/hooks/useMessageList.d.ts +4 -4
  350. package/lib/typescript/components/MessageList/utils/filterTypingUsers.d.ts +1 -1
  351. package/lib/typescript/components/MessageList/utils/getDateSeparators.d.ts +2 -2
  352. package/lib/typescript/components/MessageList/utils/getGroupStyles.d.ts +1 -1
  353. package/lib/typescript/components/MessageList/utils/getReadStates.d.ts +1 -0
  354. package/lib/typescript/components/MessageOverlay/MessageActionList.d.ts +2 -2
  355. package/lib/typescript/components/MessageOverlay/MessageActionListItem.d.ts +19 -3
  356. package/lib/typescript/components/MessageOverlay/MessageOverlay.d.ts +2 -2
  357. package/lib/typescript/components/MessageOverlay/OverlayBackdrop.d.ts +1 -1
  358. package/lib/typescript/components/MessageOverlay/OverlayReactionList.d.ts +3 -3
  359. package/lib/typescript/components/MessageOverlay/OverlayReactions.d.ts +2 -2
  360. package/lib/typescript/components/MessageOverlay/OverlayReactionsAvatar.d.ts +1 -1
  361. package/lib/typescript/components/MessageOverlay/hooks/useMessageActionAnimation.d.ts +1 -1
  362. package/lib/typescript/components/ProgressControl/ProgressControl.d.ts +1 -1
  363. package/lib/typescript/components/RTLComponents/WritingDirectionAwareText.d.ts +1 -1
  364. package/lib/typescript/components/Reply/Reply.d.ts +2 -2
  365. package/lib/typescript/components/Spinner/Spinner.d.ts +1 -1
  366. package/lib/typescript/components/Thread/Thread.d.ts +2 -2
  367. package/lib/typescript/contexts/activeChannelsRefContext/ActiveChannelsRefContext.d.ts +1 -1
  368. package/lib/typescript/contexts/attachmentPickerContext/AttachmentPickerContext.d.ts +2 -2
  369. package/lib/typescript/contexts/channelContext/ChannelContext.d.ts +1 -1
  370. package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts +2 -2
  371. package/lib/typescript/contexts/channelsStateContext/ChannelsStateContext.d.ts +5 -5
  372. package/lib/typescript/contexts/channelsStateContext/useChannelState.d.ts +1 -1
  373. package/lib/typescript/contexts/chatContext/ChatContext.d.ts +4 -1
  374. package/lib/typescript/contexts/debugContext/DebugContext.d.ts +2 -2
  375. package/lib/typescript/contexts/imageGalleryContext/ImageGalleryContext.d.ts +2 -2
  376. package/lib/typescript/contexts/keyboardContext/KeyboardContext.d.ts +1 -1
  377. package/lib/typescript/contexts/messageContext/MessageContext.d.ts +3 -3
  378. package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +5 -5
  379. package/lib/typescript/contexts/messageInputContext/hooks/useMessageDetailsForState.d.ts +1 -1
  380. package/lib/typescript/contexts/messageOverlayContext/MessageOverlayContext.d.ts +2 -2
  381. package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts +3 -3
  382. package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts +3 -3
  383. package/lib/typescript/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.d.ts +2 -2
  384. package/lib/typescript/contexts/paginatedMessageListContext/PaginatedMessageListContext.d.ts +1 -1
  385. package/lib/typescript/contexts/suggestionsContext/SuggestionsContext.d.ts +6 -6
  386. package/lib/typescript/contexts/themeContext/ThemeContext.d.ts +5 -5
  387. package/lib/typescript/contexts/themeContext/utils/theme.d.ts +2 -2
  388. package/lib/typescript/contexts/threadContext/ThreadContext.d.ts +1 -1
  389. package/lib/typescript/contexts/translationContext/TranslationContext.d.ts +5 -5
  390. package/lib/typescript/contexts/typingContext/TypingContext.d.ts +1 -1
  391. package/lib/typescript/emoji-data/index.d.ts +2 -2
  392. package/lib/typescript/hooks/useAppStateListener.d.ts +1 -1
  393. package/lib/typescript/hooks/useStreami18n.d.ts +1 -1
  394. package/lib/typescript/hooks/useViewport.d.ts +1 -1
  395. package/lib/typescript/i18n/en.json +1 -1
  396. package/lib/typescript/i18n/es.json +47 -47
  397. package/lib/typescript/i18n/fr.json +47 -47
  398. package/lib/typescript/i18n/he.json +47 -47
  399. package/lib/typescript/i18n/hi.json +47 -47
  400. package/lib/typescript/i18n/it.json +47 -47
  401. package/lib/typescript/i18n/ja.json +47 -47
  402. package/lib/typescript/i18n/ko.json +47 -47
  403. package/lib/typescript/i18n/nl.json +47 -47
  404. package/lib/typescript/i18n/ru.json +50 -50
  405. package/lib/typescript/i18n/tr.json +50 -50
  406. package/lib/typescript/icons/ArrowRight.d.ts +2 -2
  407. package/lib/typescript/icons/AtMentions.d.ts +2 -2
  408. package/lib/typescript/icons/Attach.d.ts +2 -2
  409. package/lib/typescript/icons/Audio.d.ts +2 -2
  410. package/lib/typescript/icons/CSV.d.ts +2 -2
  411. package/lib/typescript/icons/Camera.d.ts +2 -2
  412. package/lib/typescript/icons/Check.d.ts +2 -2
  413. package/lib/typescript/icons/CheckAll.d.ts +2 -2
  414. package/lib/typescript/icons/CheckSend.d.ts +2 -2
  415. package/lib/typescript/icons/CircleClose.d.ts +2 -2
  416. package/lib/typescript/icons/CirclePlus.d.ts +2 -2
  417. package/lib/typescript/icons/CircleRight.d.ts +2 -2
  418. package/lib/typescript/icons/Close.d.ts +2 -2
  419. package/lib/typescript/icons/CurveLineLeftUp.d.ts +2 -2
  420. package/lib/typescript/icons/DOC.d.ts +2 -2
  421. package/lib/typescript/icons/DOCX.d.ts +2 -2
  422. package/lib/typescript/icons/Delete.d.ts +2 -2
  423. package/lib/typescript/icons/Down.d.ts +2 -2
  424. package/lib/typescript/icons/DownloadArrow.d.ts +2 -2
  425. package/lib/typescript/icons/DownloadCloud.d.ts +2 -2
  426. package/lib/typescript/icons/Edit.d.ts +2 -2
  427. package/lib/typescript/icons/Error.d.ts +2 -2
  428. package/lib/typescript/icons/Eye.d.ts +2 -2
  429. package/lib/typescript/icons/Flag.d.ts +2 -2
  430. package/lib/typescript/icons/Folder.d.ts +2 -2
  431. package/lib/typescript/icons/GenericFile.d.ts +2 -2
  432. package/lib/typescript/icons/GiphyIcon.d.ts +2 -2
  433. package/lib/typescript/icons/Grid.d.ts +2 -2
  434. package/lib/typescript/icons/Group.d.ts +2 -2
  435. package/lib/typescript/icons/HTML.d.ts +2 -2
  436. package/lib/typescript/icons/Imgur.d.ts +2 -2
  437. package/lib/typescript/icons/LOLReaction.d.ts +2 -2
  438. package/lib/typescript/icons/Lightning.d.ts +2 -2
  439. package/lib/typescript/icons/Link.d.ts +2 -2
  440. package/lib/typescript/icons/Loading.d.ts +1 -1
  441. package/lib/typescript/icons/Logo.d.ts +2 -2
  442. package/lib/typescript/icons/LoveReaction.d.ts +2 -2
  443. package/lib/typescript/icons/MD.d.ts +2 -2
  444. package/lib/typescript/icons/MailOpen.d.ts +2 -2
  445. package/lib/typescript/icons/MenuPointHorizontal.d.ts +2 -2
  446. package/lib/typescript/icons/MenuPointVertical.d.ts +2 -2
  447. package/lib/typescript/icons/MessageFlag.d.ts +2 -2
  448. package/lib/typescript/icons/MessageIcon.d.ts +2 -2
  449. package/lib/typescript/icons/Mute.d.ts +2 -2
  450. package/lib/typescript/icons/Notification.d.ts +2 -2
  451. package/lib/typescript/icons/ODT.d.ts +2 -2
  452. package/lib/typescript/icons/PDF.d.ts +2 -2
  453. package/lib/typescript/icons/PPT.d.ts +2 -2
  454. package/lib/typescript/icons/PPTX.d.ts +2 -2
  455. package/lib/typescript/icons/Pause.d.ts +2 -2
  456. package/lib/typescript/icons/Picture.d.ts +2 -2
  457. package/lib/typescript/icons/Pin.d.ts +2 -2
  458. package/lib/typescript/icons/PinHeader.d.ts +2 -2
  459. package/lib/typescript/icons/Play.d.ts +2 -2
  460. package/lib/typescript/icons/RAR.d.ts +2 -2
  461. package/lib/typescript/icons/RTF.d.ts +2 -2
  462. package/lib/typescript/icons/Recorder.d.ts +2 -2
  463. package/lib/typescript/icons/Refresh.d.ts +2 -2
  464. package/lib/typescript/icons/SEVEN_Z.d.ts +2 -2
  465. package/lib/typescript/icons/Search.d.ts +2 -2
  466. package/lib/typescript/icons/SendRight.d.ts +2 -2
  467. package/lib/typescript/icons/SendUp.d.ts +2 -2
  468. package/lib/typescript/icons/Share.d.ts +2 -2
  469. package/lib/typescript/icons/ShareRightArrow.d.ts +2 -2
  470. package/lib/typescript/icons/Smile.d.ts +2 -2
  471. package/lib/typescript/icons/Sound.d.ts +2 -2
  472. package/lib/typescript/icons/TAR.d.ts +2 -2
  473. package/lib/typescript/icons/TXT.d.ts +2 -2
  474. package/lib/typescript/icons/ThreadReply.d.ts +2 -2
  475. package/lib/typescript/icons/ThumbsDownReaction.d.ts +2 -2
  476. package/lib/typescript/icons/ThumbsUpReaction.d.ts +2 -2
  477. package/lib/typescript/icons/Time.d.ts +2 -2
  478. package/lib/typescript/icons/Unknown.d.ts +2 -2
  479. package/lib/typescript/icons/Unpin.d.ts +2 -2
  480. package/lib/typescript/icons/User.d.ts +2 -2
  481. package/lib/typescript/icons/UserAdd.d.ts +2 -2
  482. package/lib/typescript/icons/UserAdmin.d.ts +2 -2
  483. package/lib/typescript/icons/UserDelete.d.ts +2 -2
  484. package/lib/typescript/icons/UserMinus.d.ts +2 -2
  485. package/lib/typescript/icons/Video.d.ts +2 -2
  486. package/lib/typescript/icons/Warning.d.ts +2 -2
  487. package/lib/typescript/icons/WutReaction.d.ts +2 -2
  488. package/lib/typescript/icons/XLS.d.ts +2 -2
  489. package/lib/typescript/icons/XLSX.d.ts +2 -2
  490. package/lib/typescript/icons/ZIP.d.ts +2 -2
  491. package/lib/typescript/icons/utils/base.d.ts +5 -5
  492. package/lib/typescript/native.d.ts +26 -26
  493. package/lib/typescript/store/QuickSqliteClient.d.ts +1 -1
  494. package/lib/typescript/store/apis/upsertChannels.d.ts +2 -2
  495. package/lib/typescript/store/apis/upsertCidsForQuery.d.ts +2 -2
  496. package/lib/typescript/store/mappers/mapDateTimeToStorable.d.ts +1 -1
  497. package/lib/typescript/store/schema.d.ts +2 -2
  498. package/lib/typescript/store/sqlite-utils/appendOrderByClause.d.ts +1 -1
  499. package/lib/typescript/store/sqlite-utils/appendWhereCluase.d.ts +1 -1
  500. package/lib/typescript/store/sqlite-utils/createUpsertQuery.d.ts +1 -1
  501. package/lib/typescript/store/types.d.ts +8 -8
  502. package/lib/typescript/types/types.d.ts +7 -7
  503. package/lib/typescript/utils/StreamChatRN.d.ts +1 -1
  504. package/lib/typescript/utils/Streami18n.d.ts +2 -2
  505. package/lib/typescript/utils/compressImage.d.ts +1 -1
  506. package/lib/typescript/utils/getResizedImageUrl.d.ts +1 -1
  507. package/lib/typescript/utils/utils.d.ts +14 -14
  508. package/package.json +2 -6
  509. package/src/components/Channel/Channel.tsx +1 -1
  510. package/src/components/ChannelPreview/ChannelPreview.tsx +1 -1
  511. package/src/components/ChannelPreview/ChannelPreviewMessage.tsx +3 -0
  512. package/src/components/ChannelPreview/ChannelPreviewMessenger.tsx +2 -3
  513. package/src/components/ChannelPreview/ChannelPreviewStatus.tsx +1 -3
  514. package/src/components/ChannelPreview/ChannelPreviewTitle.tsx +5 -12
  515. package/src/components/ChannelPreview/ChannelPreviewUnreadCount.tsx +5 -4
  516. package/src/components/Message/Message.tsx +9 -0
  517. package/src/components/MessageInput/hooks/useCountdown.ts +1 -1
  518. package/src/components/MessageOverlay/MessageActionListItem.tsx +16 -0
  519. package/src/contexts/channelsContext/ChannelsContext.tsx +1 -1
  520. package/src/contexts/chatContext/ChatContext.tsx +3 -0
  521. package/src/contexts/themeContext/ThemeContext.tsx +3 -3
  522. package/src/i18n/en.json +1 -1
  523. package/src/i18n/es.json +47 -47
  524. package/src/i18n/fr.json +47 -47
  525. package/src/i18n/he.json +47 -47
  526. package/src/i18n/hi.json +47 -47
  527. package/src/i18n/it.json +47 -47
  528. package/src/i18n/ja.json +47 -47
  529. package/src/i18n/ko.json +47 -47
  530. package/src/i18n/nl.json +47 -47
  531. package/src/i18n/ru.json +50 -50
  532. package/src/i18n/tr.json +50 -50
  533. package/src/icons/ArrowRight.tsx +1 -1
  534. package/src/icons/AtMentions.tsx +1 -1
  535. package/src/icons/Attach.tsx +1 -1
  536. package/src/icons/Audio.tsx +1 -1
  537. package/src/icons/CSV.tsx +1 -1
  538. package/src/icons/Camera.tsx +1 -1
  539. package/src/icons/Check.tsx +1 -1
  540. package/src/icons/CheckAll.tsx +1 -1
  541. package/src/icons/CheckSend.tsx +1 -1
  542. package/src/icons/CircleClose.tsx +1 -1
  543. package/src/icons/CirclePlus.tsx +1 -1
  544. package/src/icons/CircleRight.tsx +1 -1
  545. package/src/icons/Close.tsx +1 -1
  546. package/src/icons/Copy.tsx +1 -1
  547. package/src/icons/CurveLineLeftUp.tsx +1 -1
  548. package/src/icons/DOC.tsx +1 -1
  549. package/src/icons/DOCX.tsx +1 -1
  550. package/src/icons/Delete.tsx +1 -1
  551. package/src/icons/Down.tsx +1 -1
  552. package/src/icons/DownloadArrow.tsx +1 -1
  553. package/src/icons/DownloadCloud.tsx +1 -1
  554. package/src/icons/Edit.tsx +1 -1
  555. package/src/icons/Error.tsx +1 -1
  556. package/src/icons/Eye.tsx +1 -1
  557. package/src/icons/Flag.tsx +1 -1
  558. package/src/icons/Folder.tsx +1 -1
  559. package/src/icons/GenericFile.tsx +1 -1
  560. package/src/icons/GiphyIcon.tsx +1 -1
  561. package/src/icons/Grid.tsx +1 -1
  562. package/src/icons/Group.tsx +1 -1
  563. package/src/icons/HTML.tsx +1 -1
  564. package/src/icons/Imgur.tsx +1 -1
  565. package/src/icons/LOLReaction.tsx +1 -1
  566. package/src/icons/Lightning.tsx +1 -1
  567. package/src/icons/Link.tsx +1 -1
  568. package/src/icons/Logo.tsx +1 -1
  569. package/src/icons/LoveReaction.tsx +1 -1
  570. package/src/icons/MD.tsx +1 -1
  571. package/src/icons/MailOpen.tsx +1 -1
  572. package/src/icons/MenuPointHorizontal.tsx +1 -1
  573. package/src/icons/MenuPointVertical.tsx +1 -1
  574. package/src/icons/MessageFlag.tsx +1 -1
  575. package/src/icons/MessageIcon.tsx +1 -1
  576. package/src/icons/Mute.tsx +1 -1
  577. package/src/icons/Notification.tsx +1 -1
  578. package/src/icons/ODT.tsx +1 -1
  579. package/src/icons/PDF.tsx +1 -1
  580. package/src/icons/PPT.tsx +1 -1
  581. package/src/icons/PPTX.tsx +1 -1
  582. package/src/icons/Pause.tsx +1 -1
  583. package/src/icons/Picture.tsx +1 -1
  584. package/src/icons/Pin.tsx +1 -1
  585. package/src/icons/PinHeader.tsx +1 -1
  586. package/src/icons/Play.tsx +1 -1
  587. package/src/icons/RAR.tsx +1 -1
  588. package/src/icons/RTF.tsx +1 -1
  589. package/src/icons/Recorder.tsx +1 -1
  590. package/src/icons/Refresh.tsx +1 -1
  591. package/src/icons/SEVEN_Z.tsx +1 -1
  592. package/src/icons/Search.tsx +1 -1
  593. package/src/icons/SendRight.tsx +1 -1
  594. package/src/icons/SendUp.tsx +1 -1
  595. package/src/icons/Share.tsx +1 -1
  596. package/src/icons/ShareRightArrow.tsx +1 -1
  597. package/src/icons/Smile.tsx +1 -1
  598. package/src/icons/Sound.tsx +1 -1
  599. package/src/icons/TAR.tsx +1 -1
  600. package/src/icons/TXT.tsx +1 -1
  601. package/src/icons/ThreadReply.tsx +1 -1
  602. package/src/icons/ThumbsDownReaction.tsx +1 -1
  603. package/src/icons/ThumbsUpReaction.tsx +1 -1
  604. package/src/icons/Time.tsx +1 -1
  605. package/src/icons/Unknown.tsx +1 -1
  606. package/src/icons/Unpin.tsx +1 -1
  607. package/src/icons/User.tsx +1 -1
  608. package/src/icons/UserAdd.tsx +1 -1
  609. package/src/icons/UserAdmin.tsx +1 -1
  610. package/src/icons/UserDelete.tsx +1 -1
  611. package/src/icons/UserMinus.tsx +1 -1
  612. package/src/icons/Video.tsx +1 -1
  613. package/src/icons/Warning.tsx +1 -1
  614. package/src/icons/WutReaction.tsx +1 -1
  615. package/src/icons/XLS.tsx +1 -1
  616. package/src/icons/XLSX.tsx +1 -1
  617. package/src/icons/ZIP.tsx +1 -1
  618. package/src/icons/utils/base.tsx +2 -2
  619. package/src/version.json +1 -1
@@ -5,7 +5,7 @@ import { ChatContextValue } from '../../contexts/chatContext/ChatContext';
5
5
  import { MessageContextValue } from '../../contexts/messageContext/MessageContext';
6
6
  import { MessagesContextValue } from '../../contexts/messagesContext/MessagesContext';
7
7
  import type { DefaultStreamChatGenerics } from '../../types/types';
8
- export declare type CardPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Attachment<StreamChatGenerics> & Pick<ChatContextValue, 'ImageComponent'> & Pick<MessageContextValue<StreamChatGenerics>, 'onLongPress' | 'onPress' | 'onPressIn' | 'preventPress'> & Pick<MessagesContextValue<StreamChatGenerics>, 'additionalTouchableProps' | 'CardCover' | 'CardFooter' | 'CardHeader' | 'myMessageTheme'> & {
8
+ export type CardPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Attachment<StreamChatGenerics> & Pick<ChatContextValue, 'ImageComponent'> & Pick<MessageContextValue<StreamChatGenerics>, 'onLongPress' | 'onPress' | 'onPressIn' | 'preventPress'> & Pick<MessagesContextValue<StreamChatGenerics>, 'additionalTouchableProps' | 'CardCover' | 'CardFooter' | 'CardHeader' | 'myMessageTheme'> & {
9
9
  channelId: string | undefined;
10
10
  messageId: string | undefined;
11
11
  styles?: Partial<{
@@ -21,7 +21,7 @@ export declare type CardPropsWithContext<StreamChatGenerics extends DefaultStrea
21
21
  title: StyleProp<TextStyle>;
22
22
  }>;
23
23
  };
24
- export declare type CardProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Attachment<StreamChatGenerics> & Partial<Pick<ChatContextValue<StreamChatGenerics>, 'ImageComponent'> & Pick<MessageContextValue<StreamChatGenerics>, 'onLongPress' | 'onPress' | 'onPressIn' | 'myMessageTheme'> & Pick<MessagesContextValue<StreamChatGenerics>, 'additionalTouchableProps' | 'CardCover' | 'CardFooter' | 'CardHeader'>>;
24
+ export type CardProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Attachment<StreamChatGenerics> & Partial<Pick<ChatContextValue<StreamChatGenerics>, 'ImageComponent'> & Pick<MessageContextValue<StreamChatGenerics>, 'onLongPress' | 'onPress' | 'onPressIn' | 'myMessageTheme'> & Pick<MessagesContextValue<StreamChatGenerics>, 'additionalTouchableProps' | 'CardCover' | 'CardFooter' | 'CardHeader'>>;
25
25
  /**
26
26
  * UI component for card in attachments.
27
27
  */
@@ -4,7 +4,7 @@ import type { Attachment } from 'stream-chat';
4
4
  import { MessageContextValue } from '../../contexts/messageContext/MessageContext';
5
5
  import { MessagesContextValue } from '../../contexts/messagesContext/MessagesContext';
6
6
  import type { DefaultStreamChatGenerics } from '../../types/types';
7
- export declare type FileAttachmentPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageContextValue<StreamChatGenerics>, 'onLongPress' | 'onPress' | 'onPressIn' | 'preventPress'> & Pick<MessagesContextValue<StreamChatGenerics>, 'additionalTouchableProps' | 'AttachmentActions' | 'FileAttachmentIcon'> & {
7
+ export type FileAttachmentPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageContextValue<StreamChatGenerics>, 'onLongPress' | 'onPress' | 'onPressIn' | 'preventPress'> & Pick<MessagesContextValue<StreamChatGenerics>, 'additionalTouchableProps' | 'AttachmentActions' | 'FileAttachmentIcon'> & {
8
8
  /** The attachment to render */
9
9
  attachment: Attachment<StreamChatGenerics>;
10
10
  attachmentSize?: number;
@@ -15,9 +15,9 @@ export declare type FileAttachmentPropsWithContext<StreamChatGenerics extends De
15
15
  title: StyleProp<TextStyle>;
16
16
  }>;
17
17
  };
18
- export declare type FileAttachmentProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<Omit<FileAttachmentPropsWithContext<StreamChatGenerics>, 'attachment'>> & Pick<FileAttachmentPropsWithContext<StreamChatGenerics>, 'attachment'>;
18
+ export type FileAttachmentProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<Omit<FileAttachmentPropsWithContext<StreamChatGenerics>, 'attachment'>> & Pick<FileAttachmentPropsWithContext<StreamChatGenerics>, 'attachment'>;
19
19
  export declare const FileAttachment: {
20
20
  <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: FileAttachmentProps<StreamChatGenerics>): JSX.Element;
21
21
  displayName: string;
22
22
  };
23
- export declare const getFileSizeDisplayText: (size?: string | number | undefined) => string | undefined;
23
+ export declare const getFileSizeDisplayText: (size?: number | string) => string | undefined;
@@ -3,7 +3,7 @@ import { StyleProp, ViewStyle } from 'react-native';
3
3
  import { MessageContextValue } from '../../contexts/messageContext/MessageContext';
4
4
  import { MessagesContextValue } from '../../contexts/messagesContext/MessagesContext';
5
5
  import type { DefaultStreamChatGenerics } from '../../types/types';
6
- export declare type FileAttachmentGroupPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageContextValue<StreamChatGenerics>, 'files'> & Pick<MessagesContextValue<StreamChatGenerics>, 'Attachment' | 'AudioAttachment'> & {
6
+ export type FileAttachmentGroupPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageContextValue<StreamChatGenerics>, 'files'> & Pick<MessagesContextValue<StreamChatGenerics>, 'Attachment' | 'AudioAttachment'> & {
7
7
  /**
8
8
  * The unique id for the message with file attachments
9
9
  */
@@ -13,7 +13,7 @@ export declare type FileAttachmentGroupPropsWithContext<StreamChatGenerics exten
13
13
  container: StyleProp<ViewStyle>;
14
14
  }>;
15
15
  };
16
- export declare type FileAttachmentGroupProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<Omit<FileAttachmentGroupPropsWithContext<StreamChatGenerics>, 'messageId'>> & Pick<FileAttachmentGroupPropsWithContext<StreamChatGenerics>, 'messageId'>;
16
+ export type FileAttachmentGroupProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<Omit<FileAttachmentGroupPropsWithContext<StreamChatGenerics>, 'messageId'>> & Pick<FileAttachmentGroupPropsWithContext<StreamChatGenerics>, 'messageId'>;
17
17
  export declare const FileAttachmentGroup: {
18
18
  <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: FileAttachmentGroupProps<StreamChatGenerics>): JSX.Element | null;
19
19
  displayName: string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare type FileIconProps = {
2
+ export type FileIconProps = {
3
3
  mimeType?: string;
4
4
  size?: number;
5
5
  };
@@ -5,7 +5,7 @@ import { MessageContextValue } from '../../contexts/messageContext/MessageContex
5
5
  import { MessagesContextValue } from '../../contexts/messagesContext/MessagesContext';
6
6
  import { OverlayContextValue } from '../../contexts/overlayContext/OverlayContext';
7
7
  import type { DefaultStreamChatGenerics } from '../../types/types';
8
- export declare type GalleryPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<ImageGalleryContextValue<StreamChatGenerics>, 'setSelectedMessage' | 'setMessages'> & Pick<MessageContextValue<StreamChatGenerics>, 'alignment' | 'groupStyles' | 'images' | 'videos' | 'onLongPress' | 'onPress' | 'onPressIn' | 'preventPress' | 'threadList'> & Pick<MessagesContextValue<StreamChatGenerics>, 'additionalTouchableProps' | 'legacyImageViewerSwipeBehaviour' | 'VideoThumbnail' | 'ImageLoadingIndicator' | 'ImageLoadingFailedIndicator' | 'myMessageTheme'> & Pick<OverlayContextValue, 'setOverlay'> & {
8
+ export type GalleryPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<ImageGalleryContextValue<StreamChatGenerics>, 'setSelectedMessage' | 'setMessages'> & Pick<MessageContextValue<StreamChatGenerics>, 'alignment' | 'groupStyles' | 'images' | 'videos' | 'onLongPress' | 'onPress' | 'onPressIn' | 'preventPress' | 'threadList'> & Pick<MessagesContextValue<StreamChatGenerics>, 'additionalTouchableProps' | 'legacyImageViewerSwipeBehaviour' | 'VideoThumbnail' | 'ImageLoadingIndicator' | 'ImageLoadingFailedIndicator' | 'myMessageTheme'> & Pick<OverlayContextValue, 'setOverlay'> & {
9
9
  channelId: string | undefined;
10
10
  hasThreadReplies?: boolean;
11
11
  /**
@@ -22,7 +22,7 @@ export declare type GalleryPropsWithContext<StreamChatGenerics extends DefaultSt
22
22
  */
23
23
  message?: MessageType<StreamChatGenerics>;
24
24
  };
25
- export declare type GalleryProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<GalleryPropsWithContext<StreamChatGenerics>>;
25
+ export type GalleryProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<GalleryPropsWithContext<StreamChatGenerics>>;
26
26
  /**
27
27
  * UI component for card in attachments.
28
28
  */
@@ -2,10 +2,10 @@ import React from 'react';
2
2
  import { ImageProps } from 'react-native';
3
3
  import { ChatContextValue } from '../../contexts/chatContext/ChatContext';
4
4
  import type { DefaultStreamChatGenerics } from '../../types/types';
5
- export declare type GalleryImageWithContextProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = GalleryImageProps & Pick<ChatContextValue<StreamChatGenerics>, 'ImageComponent'>;
5
+ export type GalleryImageWithContextProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = GalleryImageProps & Pick<ChatContextValue<StreamChatGenerics>, 'ImageComponent'>;
6
6
  export declare const GalleryImageWithContext: React.FC<GalleryImageWithContextProps>;
7
7
  export declare const MemoizedGalleryImage: React.NamedExoticComponent<GalleryImageWithContextProps<DefaultStreamChatGenerics>>;
8
- export declare type GalleryImageProps = Omit<ImageProps, 'height' | 'source'> & {
8
+ export type GalleryImageProps = Omit<ImageProps, 'height' | 'source'> & {
9
9
  uri: string;
10
10
  };
11
11
  export declare const GalleryImage: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: GalleryImageProps) => JSX.Element;
@@ -6,10 +6,10 @@ import { MessageContextValue } from '../../contexts/messageContext/MessageContex
6
6
  import { MessagesContextValue } from '../../contexts/messagesContext/MessagesContext';
7
7
  import { OverlayContextValue } from '../../contexts/overlayContext/OverlayContext';
8
8
  import type { DefaultStreamChatGenerics } from '../../types/types';
9
- export declare type GiphyPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<ImageGalleryContextValue<StreamChatGenerics>, 'setSelectedMessage' | 'setMessages'> & Pick<MessageContextValue<StreamChatGenerics>, 'handleAction' | 'isMyMessage' | 'message' | 'onLongPress' | 'onPress' | 'onPressIn' | 'preventPress'> & Pick<ChatContextValue<StreamChatGenerics>, 'ImageComponent'> & Pick<MessagesContextValue<StreamChatGenerics>, 'giphyVersion' | 'additionalTouchableProps' | 'ImageLoadingIndicator' | 'ImageLoadingFailedIndicator'> & {
9
+ export type GiphyPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<ImageGalleryContextValue<StreamChatGenerics>, 'setSelectedMessage' | 'setMessages'> & Pick<MessageContextValue<StreamChatGenerics>, 'handleAction' | 'isMyMessage' | 'message' | 'onLongPress' | 'onPress' | 'onPressIn' | 'preventPress'> & Pick<ChatContextValue<StreamChatGenerics>, 'ImageComponent'> & Pick<MessagesContextValue<StreamChatGenerics>, 'giphyVersion' | 'additionalTouchableProps' | 'ImageLoadingIndicator' | 'ImageLoadingFailedIndicator'> & {
10
10
  attachment: Attachment<StreamChatGenerics>;
11
11
  } & Pick<OverlayContextValue, 'setOverlay'>;
12
- export declare type GiphyProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<GiphyPropsWithContext<StreamChatGenerics>> & {
12
+ export type GiphyProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<GiphyPropsWithContext<StreamChatGenerics>> & {
13
13
  attachment: Attachment<StreamChatGenerics>;
14
14
  };
15
15
  /**
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { ViewProps } from 'react-native';
3
- export declare type ImageLoadingFailedIndicatorProps = ViewProps;
3
+ export type ImageLoadingFailedIndicatorProps = ViewProps;
4
4
  export declare const ImageLoadingFailedIndicator: (props: ImageLoadingFailedIndicatorProps) => JSX.Element;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { ViewProps } from 'react-native';
3
- export declare type ImageLoadingIndicatorProps = ViewProps;
3
+ export type ImageLoadingIndicatorProps = ViewProps;
4
4
  export declare const ImageLoadingIndicator: (props: ImageLoadingIndicatorProps) => JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ImageStyle, StyleProp, ViewStyle } from 'react-native';
3
- export declare type VideoThumbnailProps = {
3
+ export type VideoThumbnailProps = {
4
4
  imageStyle?: StyleProp<ImageStyle>;
5
5
  style?: StyleProp<ViewStyle>;
6
6
  thumb_url?: string;
@@ -1,5 +1,5 @@
1
1
  import type { ImageResizeMode } from 'react-native';
2
- export declare type Thumbnail = {
2
+ export type Thumbnail = {
3
3
  height: number;
4
4
  resizeMode: ImageResizeMode;
5
5
  url: string;
@@ -8,7 +8,7 @@ export declare type Thumbnail = {
8
8
  thumb_url?: string;
9
9
  type?: string;
10
10
  };
11
- export declare type GallerySizeConfig = {
11
+ export type GallerySizeConfig = {
12
12
  gridHeight: number;
13
13
  gridWidth: number;
14
14
  maxHeight: number;
@@ -16,8 +16,8 @@ export declare type GallerySizeConfig = {
16
16
  minHeight: number;
17
17
  minWidth: number;
18
18
  };
19
- export declare type ThumbnailGrid = Thumbnail[][];
20
- export declare type GallerySizeAndThumbnailGrid = {
19
+ export type ThumbnailGrid = Thumbnail[][];
20
+ export type GallerySizeAndThumbnailGrid = {
21
21
  height: number;
22
22
  thumbnailGrid: ThumbnailGrid;
23
23
  width: number;
@@ -1,6 +1,6 @@
1
1
  import type { GallerySizeConfig } from './buildGallery/types';
2
2
  import type { MessageContextValue } from '../../../contexts/messageContext/MessageContext';
3
- declare type Params = {
3
+ type Params = {
4
4
  colIndex: number;
5
5
  numOfColumns: number;
6
6
  numOfRows: number;
@@ -1 +1 @@
1
- export declare const openUrlSafely: (url?: string | undefined) => Promise<void>;
1
+ export declare const openUrlSafely: (url?: string) => Promise<void>;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { BottomSheetHandleProps } from '@gorhom/bottom-sheet';
3
3
  import type { AttachmentPickerErrorProps } from './components/AttachmentPickerError';
4
- export declare type AttachmentPickerProps = {
4
+ export type AttachmentPickerProps = {
5
5
  /**
6
6
  * Custom UI component to render [draggable handle](https://github.com/GetStream/stream-chat-react-native/blob/main/screenshots/docs/1.png) of attachment picker.
7
7
  *
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare type AttachmentPickerErrorProps = {
2
+ export type AttachmentPickerErrorProps = {
3
3
  AttachmentPickerErrorImage: React.ComponentType;
4
4
  attachmentPickerBottomSheetHeight?: number;
5
5
  attachmentPickerErrorButtonText?: string;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { AttachmentPickerContextValue } from '../../../contexts/attachmentPickerContext/AttachmentPickerContext';
3
3
  import type { Asset } from '../../../types/types';
4
- declare type AttachmentPickerItemType = Pick<AttachmentPickerContextValue, 'selectedFiles' | 'setSelectedFiles' | 'setSelectedImages' | 'selectedImages' | 'maxNumberOfFiles'> & {
4
+ type AttachmentPickerItemType = Pick<AttachmentPickerContextValue, 'selectedFiles' | 'setSelectedFiles' | 'setSelectedImages' | 'selectedImages' | 'maxNumberOfFiles'> & {
5
5
  asset: Asset;
6
6
  ImageOverlaySelectedComponent: React.ComponentType;
7
7
  numberOfUploads: number;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type Props = {
2
+ type Props = {
3
3
  selectedPicker?: 'images';
4
4
  };
5
5
  export declare const ImageSelectorIcon: React.FC<Props>;
@@ -4,14 +4,14 @@ import { MessageInputContextValue } from '../../contexts/messageInputContext/Mes
4
4
  import { SuggestionsContextValue } from '../../contexts/suggestionsContext/SuggestionsContext';
5
5
  import { TranslationContextValue } from '../../contexts/translationContext/TranslationContext';
6
6
  import type { DefaultStreamChatGenerics } from '../../types/types';
7
- declare type AutoCompleteInputPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<ChannelContextValue<StreamChatGenerics>, 'giphyEnabled'> & Pick<MessageInputContextValue<StreamChatGenerics>, 'additionalTextInputProps' | 'autoCompleteSuggestionsLimit' | 'giphyActive' | 'maxMessageLength' | 'mentionAllAppUsersEnabled' | 'mentionAllAppUsersQuery' | 'numberOfLines' | 'onChange' | 'setGiphyActive' | 'setInputBoxRef' | 'text' | 'triggerSettings'> & Pick<SuggestionsContextValue<StreamChatGenerics>, 'closeSuggestions' | 'openSuggestions' | 'updateSuggestions'> & Pick<TranslationContextValue, 't'> & {
7
+ type AutoCompleteInputPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<ChannelContextValue<StreamChatGenerics>, 'giphyEnabled'> & Pick<MessageInputContextValue<StreamChatGenerics>, 'additionalTextInputProps' | 'autoCompleteSuggestionsLimit' | 'giphyActive' | 'maxMessageLength' | 'mentionAllAppUsersEnabled' | 'mentionAllAppUsersQuery' | 'numberOfLines' | 'onChange' | 'setGiphyActive' | 'setInputBoxRef' | 'text' | 'triggerSettings'> & Pick<SuggestionsContextValue<StreamChatGenerics>, 'closeSuggestions' | 'openSuggestions' | 'updateSuggestions'> & Pick<TranslationContextValue, 't'> & {
8
8
  /**
9
9
  * This is currently passed in from MessageInput to avoid rerenders
10
10
  * that would happen if we put this in the MessageInputContext
11
11
  */
12
12
  cooldownActive?: boolean;
13
13
  };
14
- export declare type AutoCompleteInputProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<AutoCompleteInputPropsWithContext<StreamChatGenerics>>;
14
+ export type AutoCompleteInputProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<AutoCompleteInputPropsWithContext<StreamChatGenerics>>;
15
15
  export declare const AutoCompleteInput: {
16
16
  <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: Partial<AutoCompleteInputPropsWithContext<StreamChatGenerics>>): JSX.Element;
17
17
  displayName: string;
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import type { SuggestionsContextValue } from '../../contexts/suggestionsContext/SuggestionsContext';
3
3
  import type { DefaultStreamChatGenerics } from '../../types/types';
4
- export declare type AutoCompleteSuggestionHeaderPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<SuggestionsContextValue<StreamChatGenerics>, 'triggerType' | 'queryText'>;
5
- export declare type AutoCompleteSuggestionHeaderProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = AutoCompleteSuggestionHeaderPropsWithContext<StreamChatGenerics>;
4
+ export type AutoCompleteSuggestionHeaderPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<SuggestionsContextValue<StreamChatGenerics>, 'triggerType' | 'queryText'>;
5
+ export type AutoCompleteSuggestionHeaderProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = AutoCompleteSuggestionHeaderPropsWithContext<StreamChatGenerics>;
6
6
  export declare const AutoCompleteSuggestionHeader: {
7
7
  <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: AutoCompleteSuggestionHeaderProps<StreamChatGenerics>): JSX.Element;
8
8
  displayName: string;
@@ -1,10 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  import type { Suggestion, SuggestionsContextValue } from '../../contexts/suggestionsContext/SuggestionsContext';
3
3
  import type { DefaultStreamChatGenerics } from '../../types/types';
4
- export declare type AutoCompleteSuggestionItemPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<SuggestionsContextValue, 'triggerType'> & {
4
+ export type AutoCompleteSuggestionItemPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<SuggestionsContextValue, 'triggerType'> & {
5
5
  itemProps: Suggestion<StreamChatGenerics>;
6
6
  };
7
- export declare type AutoCompleteSuggestionItemProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = AutoCompleteSuggestionItemPropsWithContext<StreamChatGenerics>;
7
+ export type AutoCompleteSuggestionItemProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = AutoCompleteSuggestionItemPropsWithContext<StreamChatGenerics>;
8
8
  export declare const AutoCompleteSuggestionItem: {
9
9
  <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: AutoCompleteSuggestionItemProps<StreamChatGenerics>): JSX.Element;
10
10
  displayName: string;
@@ -3,14 +3,14 @@ import type { AutoCompleteSuggestionHeaderProps } from './AutoCompleteSuggestion
3
3
  import type { AutoCompleteSuggestionItemProps } from './AutoCompleteSuggestionItem';
4
4
  import { Suggestion, SuggestionsContextValue } from '../../contexts/suggestionsContext/SuggestionsContext';
5
5
  import type { DefaultStreamChatGenerics } from '../../types/types';
6
- declare type AutoCompleteSuggestionListComponentProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<SuggestionsContextValue, 'queryText' | 'triggerType'> & {
6
+ type AutoCompleteSuggestionListComponentProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<SuggestionsContextValue, 'queryText' | 'triggerType'> & {
7
7
  active: boolean;
8
8
  data: Suggestion<StreamChatGenerics>[];
9
9
  onSelect: (item: Suggestion<StreamChatGenerics>) => void;
10
10
  };
11
- export declare type AutoCompleteSuggestionListPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<SuggestionsContextValue<StreamChatGenerics>, 'AutoCompleteSuggestionHeader' | 'AutoCompleteSuggestionItem'> & AutoCompleteSuggestionListComponentProps<StreamChatGenerics>;
11
+ export type AutoCompleteSuggestionListPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<SuggestionsContextValue<StreamChatGenerics>, 'AutoCompleteSuggestionHeader' | 'AutoCompleteSuggestionItem'> & AutoCompleteSuggestionListComponentProps<StreamChatGenerics>;
12
12
  export declare const AutoCompleteSuggestionListWithContext: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: AutoCompleteSuggestionListPropsWithContext<StreamChatGenerics>) => JSX.Element | null;
13
- export declare type AutoCompleteSuggestionListProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = AutoCompleteSuggestionListComponentProps<StreamChatGenerics> & {
13
+ export type AutoCompleteSuggestionListProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = AutoCompleteSuggestionListComponentProps<StreamChatGenerics> & {
14
14
  AutoCompleteSuggestionHeader?: React.ComponentType<AutoCompleteSuggestionHeaderProps>;
15
15
  AutoCompleteSuggestionItem?: React.ComponentType<AutoCompleteSuggestionItemProps<StreamChatGenerics>>;
16
16
  };
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ImageProps, ImageStyle, StyleProp, ViewStyle } from 'react-native';
3
3
  import { CircleProps } from 'react-native-svg';
4
- export declare type AvatarProps = {
4
+ export type AvatarProps = {
5
5
  /** size in pixels */
6
6
  size: number;
7
7
  containerStyle?: StyleProp<ViewStyle>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ImageProps, StyleProp, ViewStyle } from 'react-native';
3
- export declare type GroupAvatarProps = {
3
+ export type GroupAvatarProps = {
4
4
  /** total size in pixels */
5
5
  size: number;
6
6
  containerStyle?: StyleProp<ViewStyle>;
@@ -15,7 +15,7 @@ import type { DefaultStreamChatGenerics } from '../../types/types';
15
15
  import { ReactionData } from '../../utils/utils';
16
16
  import { LoadingErrorProps } from '../Indicators/LoadingErrorIndicator';
17
17
  export declare const reactionData: ReactionData[];
18
- export declare type ChannelPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<ChannelContextValue<StreamChatGenerics>, 'channel'> & Partial<Pick<ChannelContextValue<StreamChatGenerics>, 'EmptyStateIndicator' | 'enableMessageGroupingByUser' | 'enforceUniqueReaction' | 'giphyEnabled' | 'hideStickyDateHeader' | 'hideDateSeparators' | 'LoadingIndicator' | 'maxTimeBetweenGroupedMessages' | 'NetworkDownIndicator' | 'StickyHeader'>> & Pick<ChatContextValue<StreamChatGenerics>, 'client' | 'enableOfflineSupport'> & Partial<Omit<InputMessageInputContextValue<StreamChatGenerics>, 'quotedMessage' | 'editing' | 'clearEditingState' | 'clearQuotedMessageState' | 'sendMessage'>> & Partial<Pick<SuggestionsContextValue<StreamChatGenerics>, 'AutoCompleteSuggestionHeader' | 'AutoCompleteSuggestionItem' | 'AutoCompleteSuggestionList'>> & Pick<TranslationContextValue, 't'> & Partial<Pick<PaginatedMessageListContextValue<StreamChatGenerics>, 'messages' | 'loadingMore' | 'loadingMoreRecent'>> & UseChannelStateValue<StreamChatGenerics> & Partial<Pick<MessagesContextValue<StreamChatGenerics>, 'additionalTouchableProps' | 'Attachment' | 'AttachmentActions' | 'AudioAttachment' | 'Card' | 'CardCover' | 'CardFooter' | 'CardHeader' | 'DateHeader' | 'deletedMessagesVisibilityType' | 'disableTypingIndicator' | 'dismissKeyboardOnMessageTouch' | 'FileAttachment' | 'FileAttachmentIcon' | 'FileAttachmentGroup' | 'FlatList' | 'forceAlignMessages' | 'formatDate' | 'Gallery' | 'getMessagesGroupStyles' | 'Giphy' | 'giphyVersion' | 'handleBlock' | 'handleCopy' | 'handleDelete' | 'handleEdit' | 'handleFlag' | 'handleMute' | 'handlePinMessage' | 'handleReaction' | 'handleQuotedReply' | 'handleRetry' | 'handleThreadReply' | 'InlineDateSeparator' | 'InlineUnreadIndicator' | 'isAttachmentEqual' | 'legacyImageViewerSwipeBehaviour' | 'ImageLoadingFailedIndicator' | 'ImageLoadingIndicator' | 'markdownRules' | 'Message' | 'messageActions' | 'MessageAvatar' | 'MessageBounce' | 'MessageContent' | 'messageContentOrder' | 'MessageDeleted' | 'MessageError' | 'MessageFooter' | 'MessageHeader' | 'MessageList' | 'MessagePinnedHeader' | 'MessageReplies' | 'MessageRepliesAvatars' | 'MessageSimple' | 'MessageStatus' | 'MessageSystem' | 'MessageText' | 'myMessageTheme' | 'onLongPressMessage' | 'onPressInMessage' | 'onPressMessage' | 'OverlayReactionList' | 'ReactionList' | 'Reply' | 'ScrollToBottomButton' | 'selectReaction' | 'supportedReactions' | 'TypingIndicator' | 'TypingIndicatorContainer' | 'UrlPreview' | 'VideoThumbnail'>> & Partial<Pick<ThreadContextValue<StreamChatGenerics>, 'allowThreadMessagesInChannel' | 'thread'>> & {
18
+ export type ChannelPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<ChannelContextValue<StreamChatGenerics>, 'channel'> & Partial<Pick<ChannelContextValue<StreamChatGenerics>, 'EmptyStateIndicator' | 'enableMessageGroupingByUser' | 'enforceUniqueReaction' | 'giphyEnabled' | 'hideStickyDateHeader' | 'hideDateSeparators' | 'LoadingIndicator' | 'maxTimeBetweenGroupedMessages' | 'NetworkDownIndicator' | 'StickyHeader'>> & Pick<ChatContextValue<StreamChatGenerics>, 'client' | 'enableOfflineSupport'> & Partial<Omit<InputMessageInputContextValue<StreamChatGenerics>, 'quotedMessage' | 'editing' | 'clearEditingState' | 'clearQuotedMessageState' | 'sendMessage'>> & Partial<Pick<SuggestionsContextValue<StreamChatGenerics>, 'AutoCompleteSuggestionHeader' | 'AutoCompleteSuggestionItem' | 'AutoCompleteSuggestionList'>> & Pick<TranslationContextValue, 't'> & Partial<Pick<PaginatedMessageListContextValue<StreamChatGenerics>, 'messages' | 'loadingMore' | 'loadingMoreRecent'>> & UseChannelStateValue<StreamChatGenerics> & Partial<Pick<MessagesContextValue<StreamChatGenerics>, 'additionalTouchableProps' | 'Attachment' | 'AttachmentActions' | 'AudioAttachment' | 'Card' | 'CardCover' | 'CardFooter' | 'CardHeader' | 'DateHeader' | 'deletedMessagesVisibilityType' | 'disableTypingIndicator' | 'dismissKeyboardOnMessageTouch' | 'FileAttachment' | 'FileAttachmentIcon' | 'FileAttachmentGroup' | 'FlatList' | 'forceAlignMessages' | 'formatDate' | 'Gallery' | 'getMessagesGroupStyles' | 'Giphy' | 'giphyVersion' | 'handleBlock' | 'handleCopy' | 'handleDelete' | 'handleEdit' | 'handleFlag' | 'handleMute' | 'handlePinMessage' | 'handleReaction' | 'handleQuotedReply' | 'handleRetry' | 'handleThreadReply' | 'InlineDateSeparator' | 'InlineUnreadIndicator' | 'isAttachmentEqual' | 'legacyImageViewerSwipeBehaviour' | 'ImageLoadingFailedIndicator' | 'ImageLoadingIndicator' | 'markdownRules' | 'Message' | 'messageActions' | 'MessageAvatar' | 'MessageBounce' | 'MessageContent' | 'messageContentOrder' | 'MessageDeleted' | 'MessageError' | 'MessageFooter' | 'MessageHeader' | 'MessageList' | 'MessagePinnedHeader' | 'MessageReplies' | 'MessageRepliesAvatars' | 'MessageSimple' | 'MessageStatus' | 'MessageSystem' | 'MessageText' | 'myMessageTheme' | 'onLongPressMessage' | 'onPressInMessage' | 'onPressMessage' | 'OverlayReactionList' | 'ReactionList' | 'Reply' | 'ScrollToBottomButton' | 'selectReaction' | 'supportedReactions' | 'TypingIndicator' | 'TypingIndicatorContainer' | 'UrlPreview' | 'VideoThumbnail'>> & Partial<Pick<ThreadContextValue<StreamChatGenerics>, 'allowThreadMessagesInChannel' | 'thread'>> & {
19
19
  shouldSyncChannel: boolean;
20
20
  /**
21
21
  * Additional props passed to keyboard avoiding view
@@ -94,7 +94,7 @@ export declare type ChannelPropsWithContext<StreamChatGenerics extends DefaultSt
94
94
  */
95
95
  threadList?: boolean;
96
96
  };
97
- export declare type ChannelProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<Omit<ChannelPropsWithContext<StreamChatGenerics>, 'channel'>> & Pick<ChannelPropsWithContext<StreamChatGenerics>, 'channel'>;
97
+ export type ChannelProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<Omit<ChannelPropsWithContext<StreamChatGenerics>, 'channel'>> & Pick<ChannelPropsWithContext<StreamChatGenerics>, 'channel'>;
98
98
  /**
99
99
  *
100
100
  * The wrapper component for a chat channel. Channel needs to be placed inside a Chat component
@@ -1,4 +1,4 @@
1
- export declare const useTargetedMessage: (messageId?: string | undefined) => {
1
+ export declare const useTargetedMessage: (messageId?: string) => {
2
2
  setTargetedMessage: (messageId: string) => void;
3
3
  targetedMessage: string | undefined;
4
4
  };
@@ -3,7 +3,7 @@ import type { Channel, ChannelFilters, ChannelOptions, ChannelSort, Event } from
3
3
  import { ChannelListMessengerProps } from './ChannelListMessenger';
4
4
  import { ChannelsContextValue } from '../../contexts/channelsContext/ChannelsContext';
5
5
  import type { DefaultStreamChatGenerics } from '../../types/types';
6
- export declare type ChannelListProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<Pick<ChannelsContextValue<StreamChatGenerics>, 'additionalFlatListProps' | 'EmptyStateIndicator' | 'FooterLoadingIndicator' | 'HeaderErrorIndicator' | 'HeaderNetworkDownIndicator' | 'LoadingErrorIndicator' | 'LoadingIndicator' | 'Preview' | 'setFlatListRef' | 'ListHeaderComponent' | 'onSelect' | 'PreviewAvatar' | 'PreviewMessage' | 'PreviewMutedStatus' | 'PreviewStatus' | 'PreviewTitle' | 'PreviewUnreadCount' | 'loadMoreThreshold' | 'Skeleton' | 'maxUnreadCount' | 'numberOfSkeletons'>> & {
6
+ export type ChannelListProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<Pick<ChannelsContextValue<StreamChatGenerics>, 'additionalFlatListProps' | 'EmptyStateIndicator' | 'FooterLoadingIndicator' | 'HeaderErrorIndicator' | 'HeaderNetworkDownIndicator' | 'LoadingErrorIndicator' | 'LoadingIndicator' | 'Preview' | 'setFlatListRef' | 'ListHeaderComponent' | 'onSelect' | 'PreviewAvatar' | 'PreviewMessage' | 'PreviewMutedStatus' | 'PreviewStatus' | 'PreviewTitle' | 'PreviewUnreadCount' | 'loadMoreThreshold' | 'Skeleton' | 'maxUnreadCount' | 'numberOfSkeletons'>> & {
7
7
  /** Optional function to filter channels prior to rendering the list. Do not use any complex logic that would delay the loading of the ChannelList. We recommend using a pure function with array methods like filter/sort/reduce. */
8
8
  channelRenderFilterFn?: (channels: Array<Channel<StreamChatGenerics>>) => Array<Channel<StreamChatGenerics>>;
9
9
  /**
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { GestureResponderEvent } from 'react-native';
3
- export declare type HeaderErrorProps = {
3
+ export type HeaderErrorProps = {
4
4
  onPress?: (event: GestureResponderEvent) => void;
5
5
  };
6
6
  export declare const ChannelListHeaderErrorIndicator: React.FC<HeaderErrorProps>;
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import { ChannelsContextValue } from '../../contexts/channelsContext/ChannelsContext';
3
3
  import type { DefaultStreamChatGenerics } from '../../types/types';
4
- export declare type ChannelListMessengerPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Omit<ChannelsContextValue<StreamChatGenerics>, 'HeaderErrorIndicator' | 'HeaderNetworkDownIndicator' | 'maxUnreadCount' | 'numberOfSkeletons' | 'onSelect' | 'Preview' | 'PreviewTitle' | 'PreviewStatus' | 'PreviewAvatar' | 'previewMessage' | 'Skeleton'>;
5
- export declare type ChannelListMessengerProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<ChannelListMessengerPropsWithContext<StreamChatGenerics>>;
4
+ export type ChannelListMessengerPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Omit<ChannelsContextValue<StreamChatGenerics>, 'HeaderErrorIndicator' | 'HeaderNetworkDownIndicator' | 'maxUnreadCount' | 'numberOfSkeletons' | 'onSelect' | 'Preview' | 'PreviewTitle' | 'PreviewStatus' | 'PreviewAvatar' | 'previewMessage' | 'Skeleton'>;
5
+ export type ChannelListMessengerProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<ChannelListMessengerPropsWithContext<StreamChatGenerics>>;
6
6
  /**
7
7
  * This UI component displays the preview list of channels and handles Channel navigation. It
8
8
  * receives all props from the ChannelList component.
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import type { Channel, Event } from 'stream-chat';
3
3
  import type { DefaultStreamChatGenerics } from '../../../../types/types';
4
- declare type Parameters<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
4
+ type Parameters<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
5
5
  setChannels: React.Dispatch<React.SetStateAction<Channel<StreamChatGenerics>[] | null>>;
6
6
  onAddedToChannel?: (setChannels: React.Dispatch<React.SetStateAction<Channel<StreamChatGenerics>[] | null>>, event: Event<StreamChatGenerics>) => void;
7
7
  };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import type { Channel, Event } from 'stream-chat';
3
3
  import type { DefaultStreamChatGenerics } from '../../../../types/types';
4
- declare type Parameters<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
4
+ type Parameters<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
5
5
  setChannels: React.Dispatch<React.SetStateAction<Channel<StreamChatGenerics>[] | null>>;
6
6
  onChannelDeleted?: (setChannels: React.Dispatch<React.SetStateAction<Channel<StreamChatGenerics>[] | null>>, event: Event<StreamChatGenerics>) => void;
7
7
  };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import type { Channel, Event } from 'stream-chat';
3
3
  import type { DefaultStreamChatGenerics } from '../../../../types/types';
4
- declare type Parameters<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
4
+ type Parameters<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
5
5
  setChannels: React.Dispatch<React.SetStateAction<Channel<StreamChatGenerics>[] | null>>;
6
6
  onChannelHidden?: (setChannels: React.Dispatch<React.SetStateAction<Channel<StreamChatGenerics>[] | null>>, event: Event<StreamChatGenerics>) => void;
7
7
  };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import type { Channel, Event } from 'stream-chat';
3
3
  import type { DefaultStreamChatGenerics } from '../../../../types/types';
4
- declare type Parameters<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
4
+ type Parameters<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
5
5
  refreshList: () => void;
6
6
  setChannels: React.Dispatch<React.SetStateAction<Channel<StreamChatGenerics>[] | null>>;
7
7
  setForceUpdate: React.Dispatch<React.SetStateAction<number>>;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import type { Channel, Event } from 'stream-chat';
3
3
  import type { DefaultStreamChatGenerics } from '../../../../types/types';
4
- declare type Parameters<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
4
+ type Parameters<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
5
5
  setChannels: React.Dispatch<React.SetStateAction<Channel<StreamChatGenerics>[] | null>>;
6
6
  onChannelUpdated?: (setChannels: React.Dispatch<React.SetStateAction<Channel<StreamChatGenerics>[] | null>>, event: Event<StreamChatGenerics>) => void;
7
7
  };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import type { Channel, Event } from 'stream-chat';
3
3
  import type { DefaultStreamChatGenerics } from '../../../../types/types';
4
- declare type Parameters<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
4
+ type Parameters<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
5
5
  setChannels: React.Dispatch<React.SetStateAction<Channel<StreamChatGenerics>[] | null>>;
6
6
  onChannelVisible?: (setChannels: React.Dispatch<React.SetStateAction<Channel<StreamChatGenerics>[] | null>>, event: Event<StreamChatGenerics>) => void;
7
7
  };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import type { Channel, Event } from 'stream-chat';
3
3
  import type { DefaultStreamChatGenerics } from '../../../../types/types';
4
- declare type Parameters<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
4
+ type Parameters<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
5
5
  lockChannelOrder: boolean;
6
6
  setChannels: React.Dispatch<React.SetStateAction<Channel<StreamChatGenerics>[] | null>>;
7
7
  onNewMessage?: (lockChannelOrder: boolean, setChannels: React.Dispatch<React.SetStateAction<Channel<StreamChatGenerics>[] | null>>, event: Event<StreamChatGenerics>) => void;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import type { Channel, Event } from 'stream-chat';
3
3
  import type { DefaultStreamChatGenerics } from '../../../../types/types';
4
- declare type Parameters<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
4
+ type Parameters<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
5
5
  setChannels: React.Dispatch<React.SetStateAction<Channel<StreamChatGenerics>[] | null>>;
6
6
  onMessageNew?: (setChannels: React.Dispatch<React.SetStateAction<Channel<StreamChatGenerics>[] | null>>, event: Event<StreamChatGenerics>) => void;
7
7
  onNewMessageNotification?: (setChannels: React.Dispatch<React.SetStateAction<Channel<StreamChatGenerics>[] | null>>, event: Event<StreamChatGenerics>) => void;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import type { Channel, Event } from 'stream-chat';
3
3
  import type { DefaultStreamChatGenerics } from '../../../../types/types';
4
- declare type Parameters<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
4
+ type Parameters<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
5
5
  setChannels: React.Dispatch<React.SetStateAction<Channel<StreamChatGenerics>[] | null>>;
6
6
  onRemovedFromChannel?: (setChannels: React.Dispatch<React.SetStateAction<Channel<StreamChatGenerics>[] | null>>, event: Event<StreamChatGenerics>) => void;
7
7
  };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import type { Channel } from 'stream-chat';
3
3
  import type { DefaultStreamChatGenerics } from '../../../../types/types';
4
- declare type Parameters<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
4
+ type Parameters<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
5
5
  setChannels: React.Dispatch<React.SetStateAction<Channel<StreamChatGenerics>[] | null>>;
6
6
  };
7
7
  export declare const useUserPresence: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ setChannels, }: Parameters<StreamChatGenerics>) => void;
@@ -1,15 +1,15 @@
1
1
  /// <reference types="react" />
2
2
  import type { Channel, ChannelFilters, ChannelOptions, ChannelSort } from 'stream-chat';
3
3
  import type { DefaultStreamChatGenerics } from '../../../types/types';
4
- declare type Parameters<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
4
+ type Parameters<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
5
5
  enableOfflineSupport: boolean;
6
6
  filters: ChannelFilters<StreamChatGenerics>;
7
7
  options: ChannelOptions;
8
8
  setForceUpdate: React.Dispatch<React.SetStateAction<number>>;
9
9
  sort: ChannelSort<StreamChatGenerics>;
10
10
  };
11
- declare type QueryType = 'queryLocalDB' | 'reload' | 'refresh' | 'loadChannels';
12
- export declare type QueryChannels = (queryType?: QueryType, retryCount?: number) => Promise<void>;
11
+ type QueryType = 'queryLocalDB' | 'reload' | 'refresh' | 'loadChannels';
12
+ export type QueryChannels = (queryType?: QueryType, retryCount?: number) => Promise<void>;
13
13
  export declare const usePaginatedChannels: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ enableOfflineSupport, filters, options, setForceUpdate, sort, }: Parameters<StreamChatGenerics>) => {
14
14
  channels: Channel<StreamChatGenerics>[] | null;
15
15
  error: Error | undefined;
@@ -1,11 +1,11 @@
1
1
  import type { Channel, StreamChat } from 'stream-chat';
2
2
  import type { DefaultStreamChatGenerics } from '../../types/types';
3
- declare type MoveParameters<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
3
+ type MoveParameters<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
4
4
  channels: Channel<StreamChatGenerics>[];
5
5
  cid: string;
6
6
  };
7
7
  export declare const moveChannelUp: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ cid, channels, }: MoveParameters<StreamChatGenerics>) => Channel<StreamChatGenerics>[];
8
- declare type GetParameters<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
8
+ type GetParameters<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
9
9
  client: StreamChat<StreamChatGenerics>;
10
10
  id: string;
11
11
  type: string;
@@ -2,9 +2,9 @@
2
2
  import type { ChannelPreviewProps } from './ChannelPreview';
3
3
  import { ChatContextValue } from '../../contexts/chatContext/ChatContext';
4
4
  import type { DefaultStreamChatGenerics } from '../../types/types';
5
- export declare type ChannelAvatarProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<ChannelPreviewProps<StreamChatGenerics>, 'channel'>;
5
+ export type ChannelAvatarProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<ChannelPreviewProps<StreamChatGenerics>, 'channel'>;
6
6
  /**
7
7
  * This UI component displays an avatar for a particular channel.
8
8
  */
9
- export declare const ChannelAvatarWithContext: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: ChannelAvatarProps<StreamChatGenerics> & Pick<ChatContextValue<DefaultStreamChatGenerics>, "ImageComponent">) => JSX.Element;
9
+ export declare const ChannelAvatarWithContext: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: ChannelAvatarProps<StreamChatGenerics> & Pick<ChatContextValue, "ImageComponent">) => JSX.Element;
10
10
  export declare const ChannelAvatar: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: ChannelAvatarProps<StreamChatGenerics>) => JSX.Element;
@@ -3,11 +3,11 @@ import type { Channel } from 'stream-chat';
3
3
  import { ChannelsContextValue } from '../../contexts/channelsContext/ChannelsContext';
4
4
  import { ChatContextValue } from '../../contexts/chatContext/ChatContext';
5
5
  import type { DefaultStreamChatGenerics } from '../../types/types';
6
- export declare type ChannelPreviewPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<ChatContextValue<StreamChatGenerics>, 'client'> & Pick<ChannelsContextValue<StreamChatGenerics>, 'Preview' | 'forceUpdate'> & {
6
+ export type ChannelPreviewPropsWithContext<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<ChatContextValue<StreamChatGenerics>, 'client'> & Pick<ChannelsContextValue<StreamChatGenerics>, 'Preview' | 'forceUpdate'> & {
7
7
  /**
8
- * The previewed channel
8
+ * Instance of Channel from stream-chat package.
9
9
  */
10
10
  channel: Channel<StreamChatGenerics>;
11
11
  };
12
- export declare type ChannelPreviewProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<Omit<ChannelPreviewPropsWithContext<StreamChatGenerics>, 'channel'>> & Pick<ChannelPreviewPropsWithContext<StreamChatGenerics>, 'channel'>;
12
+ export type ChannelPreviewProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<Omit<ChannelPreviewPropsWithContext<StreamChatGenerics>, 'channel'>> & Pick<ChannelPreviewPropsWithContext<StreamChatGenerics>, 'channel'>;
13
13
  export declare const ChannelPreview: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: ChannelPreviewProps<StreamChatGenerics>) => JSX.Element;
@@ -1,7 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  import type { LatestMessagePreview } from './hooks/useLatestMessagePreview';
3
3
  import type { DefaultStreamChatGenerics } from '../../types/types';
4
- export declare type ChannelPreviewMessageProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
4
+ export type ChannelPreviewMessageProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = {
5
+ /**
6
+ * Latest message on a channel, formatted for preview.
7
+ */
5
8
  latestMessagePreview: LatestMessagePreview<StreamChatGenerics>;
6
9
  };
7
10
  export declare const ChannelPreviewMessage: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: ChannelPreviewMessageProps<StreamChatGenerics>) => JSX.Element;