@cometchat/chat-uikit-react 5.0.0-beta1 → 5.0.0-beta2

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 (249) hide show
  1. package/README.md +8 -7
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.js +1 -1
  4. package/dist/index.js.map +1 -1
  5. package/dist/styles/CometChatEditPreview.css +1 -0
  6. package/dist/styles/CometChatFileBubble.css +2 -0
  7. package/dist/styles/CometChatMessageComposer.css +5 -0
  8. package/dist/styles/CometChatMessageHeader.css +11 -0
  9. package/dist/styles/components/CometChatEditPreview.css +1 -0
  10. package/dist/styles/components/CometChatFileBubble.css +2 -0
  11. package/dist/styles/components/CometChatMessageComposer.css +5 -0
  12. package/dist/styles/components/CometChatMessageHeader.css +11 -0
  13. package/dist/styles/components/index.css +1 -0
  14. package/dist/styles/index.css +1 -0
  15. package/dist/types/events/CometChatUIEvents.d.ts +2 -0
  16. package/package.json +1 -1
  17. package/screenshots/sample_app_overview.png +0 -0
  18. package/dist/Collaborative_Whiteboard_Dark.png +0 -0
  19. package/dist/Collaborative_Whiteboard_Light.png +0 -0
  20. package/dist/styles/CometChatBadge.css +0 -15
  21. package/dist/styles/CometChatCard.css +0 -41
  22. package/dist/styles/components/CometChatBadge.css +0 -15
  23. package/dist/styles/components/CometChatCard.css +0 -41
  24. package/dist/types/CometChatUIKit/CometChatUIKitSharedSettings.d.ts +0 -8
  25. package/dist/types/components/BaseComponents/CometChatBadge/CometChatBadge.d.ts +0 -10
  26. package/dist/types/components/BaseComponents/CometChatCard/CometChatCard.d.ts +0 -15
  27. package/dist/types/components/BaseComponents/CometChatQuickView/CometChatQuickView.d.ts +0 -9
  28. package/dist/types/components/BaseComponents/CometChatSingleSelect/CometChatSingleSelect.d.ts +0 -8
  29. package/dist/types/components/CometChatUserMemberWrapper/index.d.ts +0 -23
  30. package/dist/types/modals/InteractiveActions/APIAction.d.ts +0 -108
  31. package/dist/types/modals/InteractiveActions/CustomAction.d.ts +0 -12
  32. package/dist/types/modals/InteractiveActions/URLNavigationAction.d.ts +0 -30
  33. package/dist/types/modals/InteractiveActions/index.d.ts +0 -3
  34. package/dist/types/modals/InteractiveElements/BaseInputElement.d.ts +0 -50
  35. package/dist/types/modals/InteractiveElements/BaseInteractiveElement.d.ts +0 -25
  36. package/dist/types/modals/InteractiveElements/ButtonElement.d.ts +0 -48
  37. package/dist/types/modals/InteractiveElements/CheckboxElement.d.ts +0 -46
  38. package/dist/types/modals/InteractiveElements/DateTimePickerElement.d.ts +0 -124
  39. package/dist/types/modals/InteractiveElements/DropdownElement.d.ts +0 -55
  40. package/dist/types/modals/InteractiveElements/LabelElement.d.ts +0 -29
  41. package/dist/types/modals/InteractiveElements/OptionElement.d.ts +0 -35
  42. package/dist/types/modals/InteractiveElements/RadioButtonElement.d.ts +0 -54
  43. package/dist/types/modals/InteractiveElements/SingleSelectElement.d.ts +0 -50
  44. package/dist/types/modals/InteractiveElements/TextInputElement.d.ts +0 -69
  45. package/dist/types/modals/InteractiveElements/index.d.ts +0 -11
  46. package/dist/types/modals/InteractiveEntities/ActionEntity.d.ts +0 -32
  47. package/dist/types/modals/InteractiveEntities/ElementEntity.d.ts +0 -35
  48. package/dist/types/modals/InteractiveEntities/index.d.ts +0 -2
  49. package/dist/types/modals/InteractiveMessage/CardMessage.d.ts +0 -69
  50. package/dist/types/modals/InteractiveMessage/CustomInteractiveMessage.d.ts +0 -20
  51. package/dist/types/modals/InteractiveMessage/FormMessage.d.ts +0 -75
  52. package/dist/types/modals/InteractiveMessage/SchedulerMessage.d.ts +0 -230
  53. package/dist/types/modals/InteractiveMessage/index.d.ts +0 -5
  54. package/dist/types/src/CometChatCustomHooks.d.ts +0 -27
  55. package/dist/types/src/CometChatUIKit/CometChatCalls.d.ts +0 -1
  56. package/dist/types/src/CometChatUIKit/CometChatUIKit.d.ts +0 -147
  57. package/dist/types/src/CometChatUIKit/CometChatUIKitLoginListener.d.ts +0 -32
  58. package/dist/types/src/CometChatUIKit/CometChatUIKitUtility.d.ts +0 -81
  59. package/dist/types/src/CometChatUIKit/UIKitSettings.d.ts +0 -304
  60. package/dist/types/src/Enums/Enums.d.ts +0 -258
  61. package/dist/types/src/components/AI/AIBaseConfiguration.d.ts +0 -51
  62. package/dist/types/src/components/AI/AIConversationStarter/AIConversationStarterConfiguration.d.ts +0 -20
  63. package/dist/types/src/components/AI/AIConversationStarter/AIConversationStarterDecorator.d.ts +0 -18
  64. package/dist/types/src/components/AI/AIConversationStarter/AIConversationStarterExtension.d.ts +0 -8
  65. package/dist/types/src/components/AI/AIConversationStarter/AIConversationStarterView.d.ts +0 -8
  66. package/dist/types/src/components/AI/AIConversationSummary/AIConversationSummaryConfiguration.d.ts +0 -31
  67. package/dist/types/src/components/AI/AIConversationSummary/AIConversationSummaryDecorator.d.ts +0 -22
  68. package/dist/types/src/components/AI/AIConversationSummary/AIConversationSummaryExtension.d.ts +0 -8
  69. package/dist/types/src/components/AI/AIConversationSummary/AIConversationSummaryView.d.ts +0 -9
  70. package/dist/types/src/components/AI/AIExtensionDataSource.d.ts +0 -6
  71. package/dist/types/src/components/AI/AISmartReplies/AISmartRepliesConfiguration.d.ts +0 -28
  72. package/dist/types/src/components/AI/AISmartReplies/AISmartRepliesDecorator.d.ts +0 -21
  73. package/dist/types/src/components/AI/AISmartReplies/AISmartRepliesExtension.d.ts +0 -8
  74. package/dist/types/src/components/AI/AISmartReplies/AISmartRepliesView.d.ts +0 -11
  75. package/dist/types/src/components/BaseComponents/CometChatActionBubble/CometChatActionBubble.d.ts +0 -8
  76. package/dist/types/src/components/BaseComponents/CometChatActionSheet/CometChatActionSheet.d.ts +0 -7
  77. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/CometChatAudioBubble.d.ts +0 -6
  78. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/base-plugin.d.ts +0 -21
  79. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/decoder.d.ts +0 -9
  80. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/dom.d.ts +0 -13
  81. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/draggable.d.ts +0 -1
  82. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/event-emitter.d.ts +0 -21
  83. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/fetcher.d.ts +0 -5
  84. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/player.d.ts +0 -50
  85. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/envelope.d.ts +0 -79
  86. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/hover.d.ts +0 -36
  87. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/minimap.d.ts +0 -65
  88. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/record.d.ts +0 -89
  89. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/regions.d.ts +0 -139
  90. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/spectrogram.d.ts +0 -98
  91. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/timeline.d.ts +0 -54
  92. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/zoom.d.ts +0 -55
  93. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/renderer.d.ts +0 -63
  94. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/timer.d.ts +0 -11
  95. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/wavesurfer.d.ts +0 -223
  96. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/webaudio.d.ts +0 -63
  97. package/dist/types/src/components/BaseComponents/CometChatAvatar/CometChatAvatar.d.ts +0 -13
  98. package/dist/types/src/components/BaseComponents/CometChatButton/CometChatButton.d.ts +0 -12
  99. package/dist/types/src/components/BaseComponents/CometChatCallBubble/CometChatCallBubble.d.ts +0 -12
  100. package/dist/types/src/components/BaseComponents/CometChatChangeScope/CometChatChangeScope.d.ts +0 -10
  101. package/dist/types/src/components/BaseComponents/CometChatChangeScope/useCometChatChangeScope.d.ts +0 -10
  102. package/dist/types/src/components/BaseComponents/CometChatCheckbox/CometChatCheckbox.d.ts +0 -11
  103. package/dist/types/src/components/BaseComponents/CometChatCheckbox/useCometChatCheckbox.d.ts +0 -11
  104. package/dist/types/src/components/BaseComponents/CometChatConfirmDialog/CometChatConfirmDialog.d.ts +0 -16
  105. package/dist/types/src/components/BaseComponents/CometChatContextMenu/CometChatContextMenu.d.ts +0 -17
  106. package/dist/types/src/components/BaseComponents/CometChatDate/CometChatDate.d.ts +0 -13
  107. package/dist/types/src/components/BaseComponents/CometChatDate/useCometChatDate.d.ts +0 -8
  108. package/dist/types/src/components/BaseComponents/CometChatDeleteBubble/CometChatDeleteBubble.d.ts +0 -14
  109. package/dist/types/src/components/BaseComponents/CometChatDocumentBubble/CometChatDocumentBubble.d.ts +0 -11
  110. package/dist/types/src/components/BaseComponents/CometChatDropDown/CometChatDropDown.d.ts +0 -14
  111. package/dist/types/src/components/BaseComponents/CometChatDropDown/useCometChatDropDown.d.ts +0 -12
  112. package/dist/types/src/components/BaseComponents/CometChatEditPreview/CometChatEditPreview.d.ts +0 -21
  113. package/dist/types/src/components/BaseComponents/CometChatEmojiKeyboard/CometChatEmoji.d.ts +0 -22
  114. package/dist/types/src/components/BaseComponents/CometChatEmojiKeyboard/CometChatEmojiKeyboard.d.ts +0 -7
  115. package/dist/types/src/components/BaseComponents/CometChatEmojiKeyboard/emojis.d.ts +0 -6579
  116. package/dist/types/src/components/BaseComponents/CometChatEmojiKeyboard/useCometChatEmojiKeyboard.d.ts +0 -17
  117. package/dist/types/src/components/BaseComponents/CometChatFileBubble/CometChatFileBubble.d.ts +0 -9
  118. package/dist/types/src/components/BaseComponents/CometChatFullScreenViewer/CometChatFullScreenViewer.d.ts +0 -23
  119. package/dist/types/src/components/BaseComponents/CometChatImageBubble/CometChatImageBubble.d.ts +0 -10
  120. package/dist/types/src/components/BaseComponents/CometChatImageBubble/useCometChatImageBubble.d.ts +0 -7
  121. package/dist/types/src/components/BaseComponents/CometChatList/CometChatList.d.ts +0 -156
  122. package/dist/types/src/components/BaseComponents/CometChatList/useCometChatList.d.ts +0 -17
  123. package/dist/types/src/components/BaseComponents/CometChatListItem/CometChatListItem.d.ts +0 -15
  124. package/dist/types/src/components/BaseComponents/CometChatListItem/useCometChatListItem.d.ts +0 -12
  125. package/dist/types/src/components/BaseComponents/CometChatLiveReaction/CometChatLiveReaction.d.ts +0 -5
  126. package/dist/types/src/components/BaseComponents/CometChatLiveReaction/useLiveReactionHook.d.ts +0 -19
  127. package/dist/types/src/components/BaseComponents/CometChatMediaRecorder/CometChatMediaRecorder.d.ts +0 -8
  128. package/dist/types/src/components/BaseComponents/CometChatMessageBubble/CometChatMessageBubble.d.ts +0 -28
  129. package/dist/types/src/components/BaseComponents/CometChatPopover/CometChatPopover.d.ts +0 -24
  130. package/dist/types/src/components/BaseComponents/CometChatRadioButton/CometChatRadioButton.d.ts +0 -14
  131. package/dist/types/src/components/BaseComponents/CometChatRadioButton/useCometChatRadioButton.d.ts +0 -13
  132. package/dist/types/src/components/BaseComponents/CometChatSearchBar/CometChatSearchBar.d.ts +0 -9
  133. package/dist/types/src/components/BaseComponents/CometChatSearchBar/useCometChatSearchBar.d.ts +0 -10
  134. package/dist/types/src/components/BaseComponents/CometChatTextBubble/CometChatTextBubble.d.ts +0 -8
  135. package/dist/types/src/components/BaseComponents/CometChatTextBubble/useCometChatTextBubble.d.ts +0 -6
  136. package/dist/types/src/components/BaseComponents/CometChatToast/CometChatToast.d.ts +0 -27
  137. package/dist/types/src/components/BaseComponents/CometChatVideoBubble/CometChatVideoBubble.d.ts +0 -9
  138. package/dist/types/src/components/BaseComponents/CometChatVideoBubble/useCometChatVideoBubble.d.ts +0 -6
  139. package/dist/types/src/components/Calling/CallButtonConfiguration.d.ts +0 -10
  140. package/dist/types/src/components/Calling/CallingConfiguration.d.ts +0 -7
  141. package/dist/types/src/components/Calling/CallingExtension.d.ts +0 -9
  142. package/dist/types/src/components/Calling/CallingExtensionDecorator.d.ts +0 -29
  143. package/dist/types/src/components/Calling/CometChatCallButtons/CometChatCallButtons.d.ts +0 -36
  144. package/dist/types/src/components/Calling/CometChatCallButtons/useCallButtons.d.ts +0 -6
  145. package/dist/types/src/components/Calling/CometChatCallLogs/CometChatCallLogs.d.ts +0 -71
  146. package/dist/types/src/components/Calling/CometChatCallLogs/useCometChatCallLogs.d.ts +0 -2
  147. package/dist/types/src/components/Calling/CometChatIncomingCall/CometChatIncomingCall.d.ts +0 -59
  148. package/dist/types/src/components/Calling/CometChatIncomingCall/useCometChatIncomingCall.d.ts +0 -2
  149. package/dist/types/src/components/Calling/CometChatOngoingCall/CometChatOngoingCall.d.ts +0 -10
  150. package/dist/types/src/components/Calling/CometChatOngoingCall/useCometChatOngoingCall.d.ts +0 -2
  151. package/dist/types/src/components/Calling/CometChatOutgoingCall/CometChatOutgoingCall.d.ts +0 -36
  152. package/dist/types/src/components/Calling/CometChatOutgoingCall/useCometChatOutgoingCall.d.ts +0 -7
  153. package/dist/types/src/components/Calling/OutgoingCallConfiguration.d.ts +0 -8
  154. package/dist/types/src/components/Calling/Utils/utils.d.ts +0 -7
  155. package/dist/types/src/components/CometChatConversations/CometChatConversations.d.ts +0 -219
  156. package/dist/types/src/components/CometChatConversations/controller.d.ts +0 -74
  157. package/dist/types/src/components/CometChatConversations/useCometChatConversations.d.ts +0 -25
  158. package/dist/types/src/components/CometChatGroupMembers/CometChatGroupMembers.d.ts +0 -178
  159. package/dist/types/src/components/CometChatGroupMembers/controller.d.ts +0 -38
  160. package/dist/types/src/components/CometChatGroupMembers/useCometChatGroupMembers.d.ts +0 -22
  161. package/dist/types/src/components/CometChatGroups/CometChatGroups.d.ts +0 -150
  162. package/dist/types/src/components/CometChatGroups/controller.d.ts +0 -44
  163. package/dist/types/src/components/CometChatGroups/useCometChatGroups.d.ts +0 -15
  164. package/dist/types/src/components/CometChatMessageComposer/CometChatMessageComposer.d.ts +0 -166
  165. package/dist/types/src/components/CometChatMessageComposer/useCometChatMessageComposer.d.ts +0 -42
  166. package/dist/types/src/components/CometChatMessageHeader/CometChatMessageHeader.d.ts +0 -29
  167. package/dist/types/src/components/CometChatMessageHeader/useCometChatMessageHeader.d.ts +0 -3
  168. package/dist/types/src/components/CometChatMessageInformation/CometChatMessageInformation.d.ts +0 -6
  169. package/dist/types/src/components/CometChatMessageList/CometChatMessageList.d.ts +0 -132
  170. package/dist/types/src/components/CometChatMessageList/CometChatMessageListController.d.ts +0 -48
  171. package/dist/types/src/components/CometChatMessageList/useCometChatMessageList.d.ts +0 -6
  172. package/dist/types/src/components/CometChatThreadedMessagePreview/CometChatThreadedMessagePreview.d.ts +0 -11
  173. package/dist/types/src/components/CometChatUserMemberWrapper/CometChatUserMemberWrapper.d.ts +0 -21
  174. package/dist/types/src/components/CometChatUsers/CometChatUsers.d.ts +0 -193
  175. package/dist/types/src/components/CometChatUsers/controller.d.ts +0 -28
  176. package/dist/types/src/components/CometChatUsers/useCometChatUsers.d.ts +0 -19
  177. package/dist/types/src/components/Extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.d.ts +0 -35
  178. package/dist/types/src/components/Extensions/CollaborativeDocument/CollaborativeDocumentConstants.d.ts +0 -15
  179. package/dist/types/src/components/Extensions/CollaborativeDocument/CollaborativeDocumentExtension.d.ts +0 -37
  180. package/dist/types/src/components/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +0 -116
  181. package/dist/types/src/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.d.ts +0 -35
  182. package/dist/types/src/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConstants.d.ts +0 -13
  183. package/dist/types/src/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.d.ts +0 -29
  184. package/dist/types/src/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +0 -94
  185. package/dist/types/src/components/Extensions/ExtensionsDataSource.d.ts +0 -29
  186. package/dist/types/src/components/Extensions/ExtensionsId.d.ts +0 -22
  187. package/dist/types/src/components/Extensions/LinkPreview/LinkPreview.d.ts +0 -37
  188. package/dist/types/src/components/Extensions/LinkPreview/LinkPreviewConstants.d.ts +0 -11
  189. package/dist/types/src/components/Extensions/LinkPreview/LinkPreviewExtension.d.ts +0 -24
  190. package/dist/types/src/components/Extensions/LinkPreview/LinkPreviewExtensionDecorator.d.ts +0 -60
  191. package/dist/types/src/components/Extensions/MessageTranslation/MessageTranslationBubble.d.ts +0 -35
  192. package/dist/types/src/components/Extensions/MessageTranslation/MessageTranslationConstants.d.ts +0 -12
  193. package/dist/types/src/components/Extensions/MessageTranslation/MessageTranslationExtension.d.ts +0 -30
  194. package/dist/types/src/components/Extensions/MessageTranslation/MessageTranslationExtensionDecorator.d.ts +0 -53
  195. package/dist/types/src/components/Extensions/Polls/CreatePolls.d.ts +0 -66
  196. package/dist/types/src/components/Extensions/Polls/PollsBubble.d.ts +0 -35
  197. package/dist/types/src/components/Extensions/Polls/PollsConfiguration.d.ts +0 -19
  198. package/dist/types/src/components/Extensions/Polls/PollsConstants.d.ts +0 -8
  199. package/dist/types/src/components/Extensions/Polls/PollsExtension.d.ts +0 -8
  200. package/dist/types/src/components/Extensions/Polls/PollsExtensionDecorator.d.ts +0 -112
  201. package/dist/types/src/components/Extensions/Stickers/StickersConstants.d.ts +0 -16
  202. package/dist/types/src/components/Extensions/Stickers/StickersExtension.d.ts +0 -31
  203. package/dist/types/src/components/Extensions/Stickers/StickersExtensionDecorator.d.ts +0 -112
  204. package/dist/types/src/components/Extensions/Stickers/StickersKeyboard.d.ts +0 -29
  205. package/dist/types/src/components/Extensions/ThumbnailGeneration/ThumbnailGenerationConstants.d.ts +0 -13
  206. package/dist/types/src/components/Extensions/ThumbnailGeneration/ThumbnailGenerationExtension.d.ts +0 -21
  207. package/dist/types/src/components/Extensions/ThumbnailGeneration/ThumbnailGenerationExtensionDecorator.d.ts +0 -40
  208. package/dist/types/src/components/Reactions/CometChatReactionInfo/CometChatReactionInfo.d.ts +0 -9
  209. package/dist/types/src/components/Reactions/CometChatReactionList/CometChatReactionList.d.ts +0 -8
  210. package/dist/types/src/components/Reactions/CometChatReactions/CometChatReactions.d.ts +0 -12
  211. package/dist/types/src/constants/CometChatUIKitConstants.d.ts +0 -139
  212. package/dist/types/src/constants/CometChatUtilityConstants.d.ts +0 -9
  213. package/dist/types/src/constants/index.d.ts +0 -1
  214. package/dist/types/src/events/CometChatCallEvents.d.ts +0 -10
  215. package/dist/types/src/events/CometChatConversationEvents.d.ts +0 -13
  216. package/dist/types/src/events/CometChatGroupEvents.d.ts +0 -63
  217. package/dist/types/src/events/CometChatMessageEvents.d.ts +0 -43
  218. package/dist/types/src/events/CometChatUIEvents.d.ts +0 -59
  219. package/dist/types/src/events/CometChatUserEvents.d.ts +0 -16
  220. package/dist/types/src/formatters/CometChatFormatters/CometChatMentionsFormatter/CometChatMentionsFormatter.d.ts +0 -210
  221. package/dist/types/src/formatters/CometChatFormatters/CometChatTextFormatter.d.ts +0 -268
  222. package/dist/types/src/formatters/CometChatFormatters/CometChatUrlsFormatter/CometChatUrlsFormatter.d.ts +0 -12
  223. package/dist/types/src/formatters/index.d.ts +0 -3
  224. package/dist/types/src/index.d.ts +0 -108
  225. package/dist/types/src/modals/CometChatActions.d.ts +0 -36
  226. package/dist/types/src/modals/CometChatActionsIcon.d.ts +0 -38
  227. package/dist/types/src/modals/CometChatActionsView.d.ts +0 -39
  228. package/dist/types/src/modals/CometChatMessageComposerAction.d.ts +0 -33
  229. package/dist/types/src/modals/CometChatMessageOption.d.ts +0 -37
  230. package/dist/types/src/modals/CometChatMessageTemplate.d.ts +0 -70
  231. package/dist/types/src/modals/CometChatOption.d.ts +0 -20
  232. package/dist/types/src/modals/index.d.ts +0 -7
  233. package/dist/types/src/resources/CometChatLocalize/cometchat-localize.d.ts +0 -5603
  234. package/dist/types/src/resources/CometChatSoundManager/CometChatSoundManager.d.ts +0 -128
  235. package/dist/types/src/resources/index.d.ts +0 -1
  236. package/dist/types/src/utils/CallingDetailsUtils.d.ts +0 -42
  237. package/dist/types/src/utils/ChatConfigurator.d.ts +0 -12
  238. package/dist/types/src/utils/ChatSdkEventInitializer.d.ts +0 -6
  239. package/dist/types/src/utils/ConversationUtils.d.ts +0 -69
  240. package/dist/types/src/utils/DataSource.d.ts +0 -55
  241. package/dist/types/src/utils/DataSourceDecorator.d.ts +0 -57
  242. package/dist/types/src/utils/GroupMemberUtils.d.ts +0 -32
  243. package/dist/types/src/utils/MessageReceiptUtils.d.ts +0 -44
  244. package/dist/types/src/utils/MessageUtils.d.ts +0 -55
  245. package/dist/types/src/utils/MessagesDataSource.d.ts +0 -110
  246. package/dist/types/src/utils/Storage.d.ts +0 -33
  247. package/dist/types/src/utils/util.d.ts +0 -26
  248. package/dist/types/utils/IcsToJson.d.ts +0 -19
  249. package/dist/types/utils/InteractiveMessageUtils.d.ts +0 -71
@@ -1,17 +0,0 @@
1
- import { CometChatEmoji, CometChatEmojiCategory } from "./CometChatEmoji";
2
- export declare const useCometChatEmojiKeyboard: ({ emojiData, }: {
3
- emojiData: CometChatEmojiCategory[];
4
- }) => {
5
- emojiDataState: CometChatEmojiCategory[];
6
- activeCategory: string;
7
- searchEmojiData: {
8
- [key: string]: CometChatEmoji;
9
- };
10
- searchString: string;
11
- getEmojiData: (emojiData: CometChatEmoji) => string;
12
- getEmojiCategory: () => void;
13
- scrollToElement: (id: string) => void;
14
- filterEmojis: (e: {
15
- value?: string;
16
- }) => void;
17
- };
@@ -1,9 +0,0 @@
1
- interface FileBubbleProps {
2
- fileURL: string;
3
- fileTypeIconURL?: string;
4
- title?: string;
5
- subtitle?: string;
6
- isSentByMe?: boolean;
7
- }
8
- declare const CometChatFileBubble: (props: FileBubbleProps) => import("react/jsx-runtime").JSX.Element;
9
- export { CometChatFileBubble };
@@ -1,23 +0,0 @@
1
- import React from 'react';
2
- /**
3
- * Props for the CometChatFullScreenViewer component.
4
- */
5
- interface FullScreenViewerProps {
6
- /** URL of the image to be displayed */
7
- URL?: string;
8
- /** Placeholder image URL */
9
- placeholderImage?: string;
10
- /** Callback function when the close button is clicked */
11
- ccCloseClicked?: () => void;
12
- /**
13
- * The media message containing the image.
14
- */
15
- message: CometChat.MediaMessage;
16
- }
17
- /**
18
- * CometChatFullScreenViewer is a full-screen image viewer component with a customizable close button.
19
- *
20
- * @param {FullScreenViewerProps} props - The properties passed to the component.
21
- */
22
- declare const CometChatFullScreenViewer: React.FC<FullScreenViewerProps>;
23
- export { CometChatFullScreenViewer };
@@ -1,10 +0,0 @@
1
- interface ImageBubbleProps {
2
- src: string;
3
- placeholderImage?: string;
4
- onImageClicked?: (input: {
5
- src: string;
6
- }) => void;
7
- isSentByMe?: boolean;
8
- }
9
- declare const CometChatImageBubble: (props: ImageBubbleProps) => import("react/jsx-runtime").JSX.Element;
10
- export { CometChatImageBubble };
@@ -1,7 +0,0 @@
1
- export declare const useCometChatImageBubble: ({ src, placeholderImage, }: {
2
- src?: string | undefined;
3
- placeholderImage?: string | undefined;
4
- }) => {
5
- image: string;
6
- updateImage: () => void;
7
- };
@@ -1,156 +0,0 @@
1
- import { JSX } from "react";
2
- import { States, TitleAlignment } from "../../../Enums/Enums";
3
- export type DivElementRef = HTMLDivElement | null;
4
- interface ListProps<T> {
5
- /**
6
- * Title of the component
7
- *
8
- * @defaultValue `""`
9
- */
10
- title?: string;
11
- /**
12
- * Menu view of the component
13
- *
14
- * @defaultValue `""`
15
- */
16
- menu?: JSX.Element;
17
- /**
18
- * Alignment of the `title` text
19
- *
20
- * @defaultValue `TitleAlignment.left`
21
- */
22
- titleAlignment?: TitleAlignment;
23
- /**
24
- * Hide the search bar
25
- *
26
- * @defaulValue `false`
27
- */
28
- hideSearch?: boolean;
29
- /**
30
- * Text to fill the search input with
31
- *
32
- * @defaultValue `""`
33
- */
34
- searchText?: string;
35
- /**
36
- * Function to call when the search input text changes
37
- *
38
- * @remarks
39
- * This function will only be called after 500ms of the search input text change
40
- */
41
- onSearch?: (searchStr: string) => void;
42
- /**
43
- * Image URL for the search icon to use in the search bar
44
- */
45
- searchIconURL?: string;
46
- /**
47
- * Text to be displayed when the search input has no value
48
- *
49
- * @defaultValue `"Search"`
50
- */
51
- searchPlaceholderText?: string;
52
- /**
53
- * List of objects to display
54
- */
55
- list: T[];
56
- /**
57
- * Custom list item view to be rendered for each object in the `list` prop
58
- */
59
- listItem: (item: T, itemIndex: number) => JSX.Element;
60
- /**
61
- * Function to call when the scrollbar is at the top-most position of the scrollable list
62
- */
63
- onScrolledToBottom?: () => Promise<any>;
64
- /**
65
- * Function to call when the scrollbar is at the bottom-most position of the scrollable list
66
- */
67
- onScrolledToTop?: () => Promise<any>;
68
- /**
69
- * Function to call when the scrollbar is not at the bottom-most position of the scrollable list
70
- */
71
- scrolledUpCallback?: (boolean?: boolean) => void;
72
- /**
73
- * Show alphabetical header
74
- *
75
- * @defaultValue `true`
76
- */
77
- showSectionHeader?: boolean;
78
- /**
79
- * Property on each object in the `list` prop
80
- *
81
- * @remarks
82
- * This property will be used to extract the section header character from each object in the `list` prop
83
- */
84
- sectionHeaderKey?: keyof T;
85
- /**
86
- * Property on each object in the `list` prop
87
- *
88
- * @remarks
89
- * This property will be used to extract the key value from each object in the `list` prop. The extracted key value is set as a `key` of a React element
90
- */
91
- listItemKey?: keyof T;
92
- /**
93
- * Fetch state of the component
94
- */
95
- state: States;
96
- /**
97
- * Custom view for the loading state of the component
98
- */
99
- loadingView?: JSX.Element;
100
- /**
101
- * Image URL for the default loading view
102
- */
103
- loadingIconURL?: string;
104
- /**
105
- * Hide error view
106
- *
107
- * @remarks
108
- * If set to true, hides the default and the custom error view
109
- *
110
- * @defaultValue `false`
111
- */
112
- hideError?: boolean;
113
- /**
114
- * Custom view for the error state of the component
115
- */
116
- errorStateView?: JSX.Element;
117
- /**
118
- * Text to display in the default error view
119
- *
120
- * @defaultValue `"ERROR"`
121
- */
122
- errorStateText?: string;
123
- /**
124
- * Custom view for the empty state of the component
125
- */
126
- emptyStateView?: JSX.Element;
127
- /**
128
- * Text to display in the default empty view
129
- *
130
- * @defaultValue `"EMPTY"`
131
- */
132
- emptyStateText?: string;
133
- /**
134
- * Set the scrollbar to the bottom-most position of the scrollable list
135
- *
136
- * @remarks
137
- * If the scrollbar of the scrollable list is set to the bottom-most position of the scrollable list because of this `prop`, the component won't call the `onScrolledToBottom` prop
138
- */
139
- scrollToBottom?: boolean;
140
- /**
141
- * Function to call whenever the component encounters an error
142
- */
143
- onError?: ((error: CometChat.CometChatException) => void) | null;
144
- }
145
- /**
146
- * Renders a list component that can display a title, search bar,
147
- * and items with optional section headers.
148
- *
149
- * @param props - The props for configuring the list
150
- */
151
- declare function List<T>(props: ListProps<T>): JSX.Element;
152
- /**
153
- * Renders a scrollable list
154
- */
155
- export declare const CometChatList: typeof List;
156
- export {};
@@ -1,17 +0,0 @@
1
- import React from "react";
2
- import { DivElementRef } from "./CometChatList";
3
- type Args = {
4
- intersectionObserverRootRef: React.MutableRefObject<DivElementRef>;
5
- intersectionObserverBottomTargetRef: React.MutableRefObject<DivElementRef>;
6
- intersectionObserverTopTargetRef: React.MutableRefObject<DivElementRef>;
7
- onScrolledToBottomRef: React.MutableRefObject<(() => void) | undefined>;
8
- onScrolledToTopRef: React.MutableRefObject<(() => void) | undefined>;
9
- scrollToBottom: boolean;
10
- didComponentScrollToBottomRef: React.MutableRefObject<boolean>;
11
- scrollHeightTupleRef: React.MutableRefObject<[number, number]>;
12
- didTopObserverCallbackRunRef: React.MutableRefObject<boolean>;
13
- errorHandler: (error: unknown) => void;
14
- scrolledUpCallback?: (boolean?: boolean) => void;
15
- };
16
- export declare function useCometChatList(args: Args): void;
17
- export {};
@@ -1,15 +0,0 @@
1
- import { ReactNode } from "react";
2
- interface ListItemProps {
3
- id?: string;
4
- avatarURL?: string;
5
- avatarName?: string;
6
- title: string;
7
- onListItemClicked?: (input: {
8
- id?: string;
9
- }) => void;
10
- menuView?: ReactNode;
11
- subtitleView?: ReactNode;
12
- tailView?: ReactNode;
13
- }
14
- declare const CometChatListItem: (props: ListItemProps) => import("react/jsx-runtime").JSX.Element;
15
- export { CometChatListItem };
@@ -1,12 +0,0 @@
1
- import { MouseEvent } from "react";
2
- export declare const useCometChatListItem: ({ id, onListItemClicked }: {
3
- id?: string | undefined;
4
- onListItemClicked?: (({ id: string }: {
5
- id?: string | undefined;
6
- }) => void) | undefined;
7
- }) => {
8
- listItemClick: (event: MouseEvent<HTMLDivElement>) => void;
9
- isHovering: boolean;
10
- showTail: () => void;
11
- hideTail: () => void;
12
- };
@@ -1,5 +0,0 @@
1
- interface BaseProps {
2
- reactionIconURL?: string;
3
- }
4
- declare const CometChatLiveReaction: (props: BaseProps) => import("react/jsx-runtime").JSX.Element;
5
- export { CometChatLiveReaction };
@@ -1,19 +0,0 @@
1
- /// <reference types="react" />
2
- interface customItem {
3
- element: HTMLElement;
4
- elementHeight: number;
5
- elementWidth: number;
6
- ySpeed: number;
7
- omega: number;
8
- random: number;
9
- x: Function;
10
- y: number;
11
- }
12
- export declare const useLiveReactionHook: ({}: {}) => {
13
- setVerticalSpeed: import("react").Dispatch<import("react").SetStateAction<number>>;
14
- setHorizontalSpeed: import("react").Dispatch<import("react").SetStateAction<number>>;
15
- setItems: import("react").Dispatch<import("react").SetStateAction<customItem[]>>;
16
- updateItems: () => void;
17
- requestAnimation: () => void;
18
- };
19
- export {};
@@ -1,8 +0,0 @@
1
- import React from "react";
2
- interface MediaRecorderProps {
3
- autoRecording?: boolean;
4
- onCloseRecording?: () => void;
5
- onSubmitRecording?: (file: Blob) => void;
6
- }
7
- declare const CometChatMediaRecorder: React.FC<MediaRecorderProps>;
8
- export { CometChatMediaRecorder };
@@ -1,28 +0,0 @@
1
- /// <reference types="react" />
2
- import { CometChatActionsIcon, CometChatActionsView } from "../../../modals";
3
- import { MessageBubbleAlignment } from "../../../Enums/Enums";
4
- /**Interface defining the structure for MessageBubbleProps */
5
- interface MessageBubbleProps {
6
- id: string | number;
7
- setRef?: (ref: any) => void;
8
- leadingView?: JSX.Element | null;
9
- headerView?: JSX.Element | null;
10
- replyView?: JSX.Element | null;
11
- contentView?: JSX.Element | null;
12
- bottomView?: JSX.Element | null;
13
- threadView?: JSX.Element | null;
14
- footerView?: JSX.Element | null;
15
- statusInfoView?: JSX.Element | null;
16
- options: (CometChatActionsIcon | CometChatActionsView)[];
17
- alignment: MessageBubbleAlignment;
18
- topMenuSize?: number;
19
- type?: string;
20
- category?: string;
21
- }
22
- /**
23
- * React component for displaying different types of messages in the message list.
24
- * @param props
25
- * @returns
26
- */
27
- declare const CometChatMessageBubble: (props: MessageBubbleProps) => import("react/jsx-runtime").JSX.Element;
28
- export { CometChatMessageBubble };
@@ -1,24 +0,0 @@
1
- import { ReactNode, CSSProperties } from 'react';
2
- export declare enum Placement {
3
- top = "top",
4
- right = "right",
5
- bottom = "bottom",
6
- left = "left"
7
- }
8
- interface PopoverProps {
9
- placement?: Placement;
10
- closeOnOutsideClick?: boolean;
11
- showOnHover?: boolean;
12
- debounceOnHover?: number;
13
- children: ReactNode;
14
- content: ReactNode;
15
- hasToolTip?: boolean;
16
- childClickHandler?: (openContent: Function, event: Event) => void;
17
- onOutsideClick?: () => void;
18
- overrideStyleProps?: CSSProperties;
19
- }
20
- declare const CometChatPopover: import("react").ForwardRefExoticComponent<PopoverProps & import("react").RefAttributes<{
21
- openPopover: () => void;
22
- closePopover: () => void;
23
- }>>;
24
- export { CometChatPopover };
@@ -1,14 +0,0 @@
1
- interface RadioButtonProps {
2
- checked?: boolean;
3
- name?: string;
4
- labelText?: string;
5
- disabled?: boolean;
6
- id?: string;
7
- onRadioButtonChanged?: (input: {
8
- checked: boolean;
9
- labelText: string | undefined;
10
- id: string;
11
- }) => void;
12
- }
13
- declare const CometChatRadioButton: (props: RadioButtonProps) => import("react/jsx-runtime").JSX.Element;
14
- export { CometChatRadioButton };
@@ -1,13 +0,0 @@
1
- import { ChangeEvent } from "react";
2
- export declare const useCometChatRadioButton: ({ checked, onRadioButtonChanged, id, name, }: {
3
- checked?: boolean | undefined;
4
- onRadioButtonChanged?: ((input: {
5
- checked: boolean;
6
- labelText: string | undefined;
7
- id: string;
8
- }) => void) | undefined;
9
- id?: string | undefined;
10
- name?: string | undefined;
11
- }) => {
12
- updateRadioState: (event: ChangeEvent<HTMLInputElement>) => void;
13
- };
@@ -1,9 +0,0 @@
1
- interface SearchBarProps {
2
- searchText?: string;
3
- placeholderText?: string;
4
- onChange?: (input: {
5
- value?: string;
6
- }) => void;
7
- }
8
- declare const CometChatSearchBar: (props: SearchBarProps) => import("react/jsx-runtime").JSX.Element;
9
- export { CometChatSearchBar };
@@ -1,10 +0,0 @@
1
- import { ChangeEvent } from "react";
2
- export declare const useCometChatSearchBar: ({ searchText, onChange, }: {
3
- searchText?: string | undefined;
4
- onChange?: (({ value: string }: {
5
- value?: string | undefined;
6
- }) => void) | undefined;
7
- }) => {
8
- searchValue: string;
9
- onInputChange: (event: ChangeEvent<HTMLInputElement>) => void;
10
- };
@@ -1,8 +0,0 @@
1
- import { CometChatTextFormatter } from "../../../formatters/CometChatFormatters/CometChatTextFormatter";
2
- interface TextBubbleProps {
3
- text: string;
4
- textFormatters?: Array<CometChatTextFormatter>;
5
- isSentByMe?: boolean;
6
- }
7
- declare const CometChatTextBubble: (props: TextBubbleProps) => import("react/jsx-runtime").JSX.Element;
8
- export { CometChatTextBubble };
@@ -1,6 +0,0 @@
1
- import { CometChatTextFormatter } from "../../../formatters/CometChatFormatters/CometChatTextFormatter";
2
- export declare const useCometChatTextBubble: (props: {
3
- textFormatters: Array<CometChatTextFormatter>;
4
- }) => {
5
- pasteHtml: (textElement: HTMLElement, text: string) => void;
6
- };
@@ -1,27 +0,0 @@
1
- import React from 'react';
2
- /**
3
- * Interface for the props of CometChatToast component
4
- */
5
- interface CometChatToastProps {
6
- /** The text to display in the toast message */
7
- text: string;
8
- /** Duration (in milliseconds) for which the toast is visible (default is 3000ms) */
9
- duration?: number;
10
- /** Optional callback function that executes when the toast closes */
11
- onClose?: () => void;
12
- }
13
- /**
14
- * CometChatToast Component
15
- *
16
- * This component displays a temporary toast message with a specified text and duration.
17
- * The toast will automatically disappear after the specified duration and optionally trigger
18
- * an `onClose` callback if provided.
19
- *
20
- * @param {string} text - The message text to display in the toast
21
- * @param {number} duration - Duration for which the toast is visible
22
- * @param {function} onClose - Callback function executed when the toast closes
23
- *
24
- * @returns {JSX.Element | null} - The JSX element for the toast message or null if no text is provided
25
- */
26
- declare const CometChatToast: React.FC<CometChatToastProps>;
27
- export default CometChatToast;
@@ -1,9 +0,0 @@
1
- interface VideoBubbleProps {
2
- src: string;
3
- autoPlay?: boolean;
4
- loop?: boolean;
5
- muted?: boolean;
6
- isSentByMe?: boolean;
7
- }
8
- declare const CometChatVideoBubble: (props: VideoBubbleProps) => import("react/jsx-runtime").JSX.Element;
9
- export { CometChatVideoBubble };
@@ -1,6 +0,0 @@
1
- export declare const useCometChatVideoBubble: ({ src, }: {
2
- src?: string | undefined;
3
- }) => {
4
- posterImage: string;
5
- updateImage: () => void;
6
- };
@@ -1,10 +0,0 @@
1
- import { CometChatUIKitCalls } from "../../CometChatUIKit/CometChatCalls";
2
- import { OutgoingCallConfiguration } from "./OutgoingCallConfiguration";
3
- export declare class CallButtonConfiguration {
4
- callSettingsBuilder?: (isAudioOnlyCall: boolean, user?: CometChat.User, group?: CometChat.Group) => typeof CometChatUIKitCalls.CallSettingsBuilder;
5
- onVoiceCallClick?: () => void;
6
- onVideoCallClick?: () => void;
7
- onError?: (error: CometChat.CometChatException) => void;
8
- outgoingCallConfiguration?: OutgoingCallConfiguration;
9
- constructor(configuration?: CallButtonConfiguration);
10
- }
@@ -1,7 +0,0 @@
1
- import { CometChatUIKitCalls } from "../../CometChatUIKit/CometChatCalls";
2
- import { CallButtonConfiguration } from "./CallButtonConfiguration";
3
- export declare class CallingConfiguration {
4
- groupCallSettingsBuilder?: (message: CometChat.CustomMessage) => typeof CometChatUIKitCalls.CallSettingsBuilder;
5
- callButtonConfiguration?: CallButtonConfiguration;
6
- constructor(configuration?: CallingConfiguration);
7
- }
@@ -1,9 +0,0 @@
1
- import { ExtensionsDataSource } from '../Extensions/ExtensionsDataSource';
2
- import { CallingConfiguration } from './CallingConfiguration';
3
- export declare class CallingExtension extends ExtensionsDataSource {
4
- private configuration?;
5
- constructor(configuration?: CallingConfiguration);
6
- enable(): void;
7
- addExtension(): void;
8
- getExtensionId(): string;
9
- }
@@ -1,29 +0,0 @@
1
- import { DataSource } from "../../utils/DataSource";
2
- import { DataSourceDecorator } from "../../utils/DataSourceDecorator";
3
- import { CallingConfiguration } from "./CallingConfiguration";
4
- import { MessageBubbleAlignment } from "../../Enums/Enums";
5
- import { CometChatMessageTemplate } from "../../modals";
6
- export declare class CallingExtensionDecorator extends DataSourceDecorator {
7
- loggedInUser: CometChat.User | null;
8
- configuration?: CallingConfiguration;
9
- constructor(dataSource: DataSource, configuration?: CallingConfiguration);
10
- addLoginListener(): void;
11
- getLoggedInUser(): Promise<void>;
12
- getAllMessageTypes(): string[];
13
- getId(): string;
14
- getAllMessageCategories(): string[];
15
- checkIfTemplateTypeExist(template: CometChatMessageTemplate[], type: string): boolean;
16
- checkIfTemplateCategoryExist(template: CometChatMessageTemplate[], category: string): boolean;
17
- getAllMessageTemplates(additionalConfigurations?: any): CometChatMessageTemplate[];
18
- getDirectCallTemplate(): CometChatMessageTemplate;
19
- getDefaultCallTemplate(): CometChatMessageTemplate[];
20
- getSessionId(_message: CometChat.CustomMessage): any;
21
- getDirectCallMessageBubble(_message: CometChat.CustomMessage, _alignment: MessageBubbleAlignment): import("react/jsx-runtime").JSX.Element;
22
- startDirectCall(sessionId: string, message: CometChat.CustomMessage): void;
23
- getCallActionMessage(_message: CometChat.Call): string;
24
- getCallStatusClass(message: CometChat.Call): "" | "cometchat-message-bubble__outgoing-call" | "cometchat-message-bubble__incoming-call" | "cometchat-message-bubble__cancelled-call" | "cometchat-message-bubble__rejected-call" | "cometchat-message-bubble__busy-call" | "cometchat-message-bubble__ended-call" | "cometchat-message-bubble__answered-call" | "cometchat-message-bubble__unanswered-call" | "cometchat-message-bubble__missed-call";
25
- getDefaultAudioCallMessageBubble(_message: CometChat.Call, _alignment: MessageBubbleAlignment): import("react/jsx-runtime").JSX.Element;
26
- getDefaultVideoCallMessageBubble(_message: CometChat.Call, _alignment: MessageBubbleAlignment): import("react/jsx-runtime").JSX.Element;
27
- getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User, additionalParams?: any): string;
28
- getAuxiliaryHeaderMenu(user?: CometChat.User, group?: CometChat.Group): any[];
29
- }
@@ -1,36 +0,0 @@
1
- import { CometChatUIKitCalls } from "../../../CometChatUIKit/CometChatCalls";
2
- import { OutgoingCallConfiguration } from "../OutgoingCallConfiguration";
3
- interface CallButtonsProps {
4
- onVoiceCallClick?: () => void;
5
- onVideoCallClick?: () => void;
6
- onError?: (error: CometChat.CometChatException) => void;
7
- callSettingsBuilder?: (isAudioOnlyCall: boolean, user?: CometChat.User, group?: CometChat.Group) => typeof CometChatUIKitCalls.CallSettingsBuilder;
8
- outgoingCallConfiguration?: OutgoingCallConfiguration;
9
- }
10
- interface CallButtonsUserProps extends CallButtonsProps {
11
- /**
12
- * Sets the user object for Call Buttons.
13
- */
14
- user: CometChat.User;
15
- /**
16
- * Used to set the group object for Call Buttons.
17
- *
18
- * @default null
19
- */
20
- group?: CometChat.Group | null;
21
- }
22
- interface CallButtonsGroupProps extends CallButtonsProps {
23
- /**
24
- * Sets the user object for Call Buttons, or null if no user is involved.
25
- *
26
- * @default null
27
- */
28
- user?: CometChat.User | null;
29
- /**
30
- * Used to set the group object for Call Buttons.
31
- */
32
- group: CometChat.Group;
33
- }
34
- type CallButtonsPropsType = CallButtonsUserProps | CallButtonsGroupProps;
35
- declare const CometChatCallButtons: (props: CallButtonsPropsType) => import("react/jsx-runtime").JSX.Element;
36
- export { CometChatCallButtons };
@@ -1,6 +0,0 @@
1
- import React from "react";
2
- declare function useCallButtons(loggedInUser: any, setLoggedInUser: Function, user: any, group: any, onErrorCallback: Function, attachListeners: Function, removeListener: Function, setActiveUser: any, setActiveGroup: any, initiateAudioCall: Function, initiateVideoCall: Function, onVoiceCallClickRef: React.MutableRefObject<Function | undefined>, onVideoCallClickRef: React.MutableRefObject<Function | undefined>, subscribeToEvents: Function): {
3
- audioCallButtonClicked: () => void;
4
- videoCallButtonClicked: () => void;
5
- };
6
- export { useCallButtons };