profinansy-ui-lib 4.1.87 → 4.1.89

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 (317) hide show
  1. package/dist/components/blocks/SupportV2/SupportV2.d.ts +1 -1
  2. package/dist/components/blocks/SupportV2/SupportV2.styled.d.ts +2 -0
  3. package/dist/components/blocks/SupportV2/SupportV2.typed.d.ts +8 -0
  4. package/dist/components/blocks/SupportV2/components/ChatHeader.d.ts +2 -1
  5. package/dist/components/uikit/Dropdown/Dropdown.typed.d.ts +1 -0
  6. package/dist/features/user-chats/components/ChatAvatar/ChatAvatar.d.ts +12 -0
  7. package/dist/features/user-chats/components/ChatAvatar/ChatAvatar.styled.d.ts +8 -0
  8. package/dist/features/user-chats/components/ChatAvatar/index.d.ts +1 -0
  9. package/dist/features/user-chats/components/ChatAvatar/utils/getChatAvatarTint.d.ts +2 -0
  10. package/dist/features/user-chats/components/ChatAvatar/utils/getChatInitials.d.ts +1 -0
  11. package/dist/features/user-chats/components/ChatCategorySkeleton/ChatCategoryBubblesSkeleton.d.ts +2 -0
  12. package/dist/features/user-chats/components/ChatCategorySkeleton/ChatCategorySkeleton.styled.d.ts +4 -0
  13. package/dist/features/user-chats/components/ChatCategorySkeleton/ChatHubCategoryCardsSkeleton.d.ts +2 -0
  14. package/dist/features/user-chats/components/ChatCategorySkeleton/index.d.ts +2 -0
  15. package/dist/features/user-chats/components/ChatMessagesLoadError/ChatMessagesLoadError.d.ts +9 -0
  16. package/dist/features/user-chats/components/ChatMessagesLoadError/ChatMessagesLoadError.styled.d.ts +3 -0
  17. package/dist/features/user-chats/components/ChatMessagesLoadError/index.d.ts +1 -0
  18. package/dist/features/user-chats/components/ChatsFab/ChatsFab.d.ts +10 -0
  19. package/dist/features/user-chats/components/ChatsFab/ChatsFab.styled.d.ts +7 -0
  20. package/dist/features/user-chats/components/ChatsFab/index.d.ts +1 -0
  21. package/dist/features/user-chats/components/ChatsHubPanel/ChatsHubPanel.d.ts +10 -0
  22. package/dist/features/user-chats/components/ChatsHubPanel/ChatsHubPanel.styled.d.ts +6 -0
  23. package/dist/features/user-chats/components/ChatsHubPanel/components/ChatHubCard/ChatHubCard.d.ts +12 -0
  24. package/dist/features/user-chats/components/ChatsHubPanel/components/ChatHubCard/ChatHubCard.styled.d.ts +11 -0
  25. package/dist/features/user-chats/components/ChatsHubPanel/components/ChatHubCard/index.d.ts +1 -0
  26. package/dist/features/user-chats/components/ChatsHubPanel/components/ChatHubWrapper/ChatHubWrapper.d.ts +10 -0
  27. package/dist/features/user-chats/components/ChatsHubPanel/components/ChatHubWrapper/ChatHubWrapper.styled.d.ts +3 -0
  28. package/dist/features/user-chats/components/ChatsHubPanel/components/ChatHubWrapper/index.d.ts +1 -0
  29. package/dist/features/user-chats/components/ChatsHubPanel/index.d.ts +1 -0
  30. package/dist/features/user-chats/components/ChatsOverlay/ChatsOverlay.d.ts +17 -0
  31. package/dist/features/user-chats/components/ChatsOverlay/ChatsOverlay.styled.d.ts +11 -0
  32. package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/ChatDetailsContent.d.ts +10 -0
  33. package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/ChatDetailsModal.d.ts +9 -0
  34. package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/ChatDetailsModal.styled.d.ts +6 -0
  35. package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/chatDetails.utils.d.ts +21 -0
  36. package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/ChatDetailsAttachments/ChatDetailsAttachments.d.ts +19 -0
  37. package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/ChatDetailsAttachments/ChatDetailsAttachments.styled.d.ts +5 -0
  38. package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/ChatDetailsAttachments/index.d.ts +1 -0
  39. package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/ChatDetailsProfile/ChatDetailsProfile.d.ts +8 -0
  40. package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/ChatDetailsProfile/ChatDetailsProfile.styled.d.ts +8 -0
  41. package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/ChatDetailsProfile/index.d.ts +1 -0
  42. package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/ChatDetailsTabs/ChatDetailsTabs.d.ts +8 -0
  43. package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/ChatDetailsTabs/ChatDetailsTabs.styled.d.ts +2 -0
  44. package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/ChatDetailsTabs/index.d.ts +1 -0
  45. package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/FileList/FileList.d.ts +7 -0
  46. package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/FileList/FileList.styled.d.ts +5 -0
  47. package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/FileList/index.d.ts +1 -0
  48. package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/LinkList/LinkList.d.ts +7 -0
  49. package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/LinkList/LinkList.styled.d.ts +5 -0
  50. package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/LinkList/index.d.ts +1 -0
  51. package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/MediaGrid/MediaGrid.d.ts +8 -0
  52. package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/MediaGrid/MediaGrid.styled.d.ts +3 -0
  53. package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/MediaGrid/index.d.ts +1 -0
  54. package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/hooks/useChatDetailsAttachments.d.ts +16 -0
  55. package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/index.d.ts +1 -0
  56. package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/ChatList.d.ts +25 -0
  57. package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/ChatList.styled.d.ts +12 -0
  58. package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/components/ChatCard/ChatCard.d.ts +13 -0
  59. package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/components/ChatCard/ChatCard.styled.d.ts +29 -0
  60. package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/components/ChatCard/index.d.ts +1 -0
  61. package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/components/ChatContextMenu/ChatContextMenu.d.ts +12 -0
  62. package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/components/ChatContextMenu/ChatContextMenu.styled.d.ts +3 -0
  63. package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/components/ChatContextMenu/index.d.ts +1 -0
  64. package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/components/ChatListInboxSkeleton/ChatListInboxSkeleton.d.ts +2 -0
  65. package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/components/ChatListInboxSkeleton/ChatListInboxSkeleton.styled.d.ts +4 -0
  66. package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/components/ChatListInboxSkeleton/index.d.ts +1 -0
  67. package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/components/SearchMessageHit/SearchMessageHit.d.ts +9 -0
  68. package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/components/SearchMessageHit/SearchMessageHit.styled.d.ts +10 -0
  69. package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/components/SearchMessageHit/index.d.ts +1 -0
  70. package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/index.d.ts +1 -0
  71. package/dist/features/user-chats/components/ChatsOverlay/components/ChatSearchInput/ChatSearchInput.d.ts +7 -0
  72. package/dist/features/user-chats/components/ChatsOverlay/components/ChatSearchInput/ChatSearchInput.styled.d.ts +3 -0
  73. package/dist/features/user-chats/components/ChatsOverlay/components/ChatSearchInput/index.d.ts +1 -0
  74. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/ChatThread.d.ts +16 -0
  75. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/ChatThread.styled.d.ts +2 -0
  76. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatHeader/ChatHeader.d.ts +15 -0
  77. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatHeader/ChatHeader.styled.d.ts +12 -0
  78. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatHeader/ChatHeaderSkeleton.d.ts +2 -0
  79. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatHeader/components/ChatHeaderMobile/ChatHeaderMobile.d.ts +14 -0
  80. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatHeader/components/ChatHeaderMobile/ChatHeaderMobile.styled.d.ts +8 -0
  81. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatHeader/components/ChatHeaderMobile/index.d.ts +1 -0
  82. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatHeader/components/ChatHeaderSearch/ChatHeaderSearch.d.ts +11 -0
  83. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatHeader/components/ChatHeaderSearch/ChatHeaderSearch.styled.d.ts +19 -0
  84. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatHeader/components/ChatHeaderSearch/index.d.ts +1 -0
  85. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatHeader/index.d.ts +2 -0
  86. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatThreadBody/ChatThreadBody.d.ts +7 -0
  87. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatThreadBody/ChatThreadBody.styled.d.ts +13 -0
  88. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatThreadBody/index.d.ts +1 -0
  89. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatThreadResolving/ChatThreadResolving.d.ts +2 -0
  90. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatThreadResolving/index.d.ts +1 -0
  91. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/Composer.d.ts +7 -0
  92. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/Composer.styled.d.ts +9 -0
  93. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/Composer.types.d.ts +18 -0
  94. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/components/ComposerField/ComposerField.d.ts +14 -0
  95. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/components/ComposerField/ComposerField.styled.d.ts +3 -0
  96. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/components/ComposerField/index.d.ts +1 -0
  97. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/components/ImagePreview/ImagePreview.d.ts +13 -0
  98. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/components/ImagePreview/ImagePreview.styled.d.ts +5 -0
  99. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/components/ImagePreview/index.d.ts +2 -0
  100. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/components/ImageUpload/ImageUpload.d.ts +16 -0
  101. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/components/ImageUpload/ImageUpload.styled.d.ts +2 -0
  102. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/components/ImageUpload/index.d.ts +2 -0
  103. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/hooks/useComposer.d.ts +21 -0
  104. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/hooks/useLinkPreview.d.ts +10 -0
  105. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/index.d.ts +3 -0
  106. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ContextMenu/ContextMenu.styled.d.ts +5 -0
  107. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ContextMenu/ContextMenuItems.d.ts +13 -0
  108. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ContextMenu/index.d.ts +2 -0
  109. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/DeleteChatModal/DeleteChatModal.d.ts +11 -0
  110. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/DeleteChatModal/DeleteChatModal.styled.d.ts +4 -0
  111. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/DeleteChatModal/index.d.ts +1 -0
  112. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/HighlightedText/HighlightedText.d.ts +8 -0
  113. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/HighlightedText/HighlightedText.styled.d.ts +4 -0
  114. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/HighlightedText/index.d.ts +1 -0
  115. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/MessageListSkeleton/MessageListSkeleton.d.ts +2 -0
  116. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/MessageListSkeleton/MessageListSkeleton.styled.d.ts +5 -0
  117. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/MessageListSkeleton/index.d.ts +1 -0
  118. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/constants/chatsUi.d.ts +6 -0
  119. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/hooks/ChatView.types.d.ts +22 -0
  120. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/hooks/index.d.ts +1 -0
  121. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/hooks/useChatDraftActions.d.ts +10 -0
  122. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/hooks/useChatListActions.d.ts +20 -0
  123. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/hooks/useChatMessageActions.d.ts +18 -0
  124. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/hooks/useChatThreadModel.d.ts +80 -0
  125. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/hooks/useChats.d.ts +51 -0
  126. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/hooks/useChats.types.d.ts +3 -0
  127. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/hooks/useChatsQueries.d.ts +36 -0
  128. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/hooks/useDownloadChatFile.d.ts +10 -0
  129. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/hooks/useInboxMessageSearch.d.ts +15 -0
  130. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/hooks/useMappedChats.d.ts +21 -0
  131. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/index.d.ts +1 -0
  132. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/utils/copyChatMessage.d.ts +4 -0
  133. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/utils/createZipArchive.d.ts +5 -0
  134. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/utils/fetchChatAttachment.d.ts +2 -0
  135. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/utils/formatChatTime.d.ts +6 -0
  136. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/utils/formatFileSize.d.ts +3 -0
  137. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/utils/getChatComposeAccess.d.ts +9 -0
  138. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/utils/getChatImageUrls.d.ts +2 -0
  139. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/utils/getLinkPreview.d.ts +13 -0
  140. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/utils/getMessageAuthorName.d.ts +3 -0
  141. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/utils/getMessagePreview.d.ts +4 -0
  142. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/utils/optimisticMessage.d.ts +19 -0
  143. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/utils/saveChatImage.d.ts +7 -0
  144. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/utils/searchChatMessages.d.ts +11 -0
  145. package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/utils/shouldStackMessages.d.ts +2 -0
  146. package/dist/features/user-chats/components/ChatsOverlay/components/EmptyState/EmptyState.d.ts +2 -0
  147. package/dist/features/user-chats/components/ChatsOverlay/components/EmptyState/EmptyState.styled.d.ts +3 -0
  148. package/dist/features/user-chats/components/ChatsOverlay/components/EmptyState/index.d.ts +1 -0
  149. package/dist/features/user-chats/components/ChatsOverlay/components/ImageViewerModal/ImageViewerModal.d.ts +10 -0
  150. package/dist/features/user-chats/components/ChatsOverlay/components/ImageViewerModal/ImageViewerModal.styled.d.ts +7 -0
  151. package/dist/features/user-chats/components/ChatsOverlay/components/ImageViewerModal/index.d.ts +1 -0
  152. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/MessageList.d.ts +18 -0
  153. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/MessageList.styled.d.ts +9 -0
  154. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/MessageList.types.d.ts +18 -0
  155. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/EmptyMessage/EmptyMessage.d.ts +6 -0
  156. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/EmptyMessage/EmptyMessage.styled.d.ts +5 -0
  157. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/EmptyMessage/index.d.ts +1 -0
  158. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/MessageCard.d.ts +13 -0
  159. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/MessageCard.styled.d.ts +19 -0
  160. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/FileAttachment/FileAttachment.d.ts +11 -0
  161. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/FileAttachment/FileAttachment.styled.d.ts +14 -0
  162. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/FileAttachment/index.d.ts +1 -0
  163. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageActions/MessageActions.d.ts +13 -0
  164. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageActions/MessageActions.styled.d.ts +9 -0
  165. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageActions/index.d.ts +1 -0
  166. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageBubbleMenu/MessageBubbleMenu.d.ts +14 -0
  167. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageBubbleMenu/MessageBubbleMenu.styled.d.ts +2 -0
  168. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageBubbleMenu/index.d.ts +1 -0
  169. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageContextMenu/MessageContextMenu.d.ts +12 -0
  170. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageContextMenu/index.d.ts +1 -0
  171. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageContextMenu/messageContextMenuItems.d.ts +23 -0
  172. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageFooter/MessageFooter.d.ts +13 -0
  173. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageFooter/MessageFooter.styled.d.ts +26 -0
  174. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageFooter/index.d.ts +1 -0
  175. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageLinkPreview/MessageLinkPreview.d.ts +8 -0
  176. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageLinkPreview/MessageLinkPreview.styled.d.ts +2 -0
  177. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageLinkPreview/index.d.ts +1 -0
  178. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageMedia/MessageMedia.d.ts +8 -0
  179. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageMedia/MessageMedia.styled.d.ts +16 -0
  180. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageMedia/index.d.ts +1 -0
  181. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageMediaWithUpload/MessageMediaWithUpload.d.ts +12 -0
  182. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageMediaWithUpload/MessageMediaWithUpload.styled.d.ts +3 -0
  183. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageMediaWithUpload/index.d.ts +1 -0
  184. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageQuote/MessageQuote.d.ts +11 -0
  185. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageQuote/index.d.ts +1 -0
  186. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageReactions/MessageReactions.d.ts +9 -0
  187. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageReactions/MessageReactions.styled.d.ts +7 -0
  188. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageReactions/index.d.ts +1 -0
  189. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageText/MessageText.d.ts +9 -0
  190. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageText/MessageText.styled.d.ts +5 -0
  191. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageText/index.d.ts +1 -0
  192. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/index.d.ts +1 -0
  193. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/SystemMessage/SystemMessage.d.ts +7 -0
  194. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/SystemMessage/SystemMessage.styled.d.ts +2 -0
  195. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/SystemMessage/index.d.ts +1 -0
  196. package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/index.d.ts +2 -0
  197. package/dist/features/user-chats/components/ChatsOverlay/components/OverlayHeader/OverlayHeader.d.ts +12 -0
  198. package/dist/features/user-chats/components/ChatsOverlay/components/OverlayHeader/OverlayHeader.styled.d.ts +16 -0
  199. package/dist/features/user-chats/components/ChatsOverlay/components/OverlayHeader/OverlayHeaderMobile.d.ts +11 -0
  200. package/dist/features/user-chats/components/ChatsOverlay/components/OverlayHeader/index.d.ts +2 -0
  201. package/dist/features/user-chats/components/ChatsOverlay/components/Snippet/Snippet.d.ts +18 -0
  202. package/dist/features/user-chats/components/ChatsOverlay/components/Snippet/Snippet.styled.d.ts +16 -0
  203. package/dist/features/user-chats/components/ChatsOverlay/components/Snippet/index.d.ts +1 -0
  204. package/dist/features/user-chats/components/ChatsOverlay/components/Snippet/utils/getSnippetTextColor.d.ts +4 -0
  205. package/dist/features/user-chats/components/ChatsUploadProgressControl/ChatsUploadProgressControl.d.ts +3 -0
  206. package/dist/features/user-chats/components/ChatsUploadProgressControl/ChatsUploadProgressControl.styled.d.ts +6 -0
  207. package/dist/features/user-chats/components/ChatsUploadProgressControl/ChatsUploadProgressControl.typed.d.ts +9 -0
  208. package/dist/features/user-chats/components/ChatsUploadProgressControl/index.d.ts +2 -0
  209. package/dist/features/user-chats/components/ComposerFileNotice/ComposerFileNotice.d.ts +6 -0
  210. package/dist/features/user-chats/components/ComposerFileNotice/ComposerFileNotice.styled.d.ts +2 -0
  211. package/dist/features/user-chats/components/ComposerFileNotice/index.d.ts +2 -0
  212. package/dist/features/user-chats/components/ComposerFileNotice/useComposerFileNotice.d.ts +4 -0
  213. package/dist/features/user-chats/components/JumpToLatestButton/JumpToLatestButton.d.ts +7 -0
  214. package/dist/features/user-chats/components/JumpToLatestButton/JumpToLatestButton.styled.d.ts +3 -0
  215. package/dist/features/user-chats/components/JumpToLatestButton/index.d.ts +1 -0
  216. package/dist/features/user-chats/components/MessageFailedMenu/MessageFailedMenu.d.ts +12 -0
  217. package/dist/features/user-chats/components/MessageFailedMenu/MessageFailedMenu.styled.d.ts +3 -0
  218. package/dist/features/user-chats/components/MessageFailedMenu/index.d.ts +1 -0
  219. package/dist/features/user-chats/components/SupportChatPanel/SupportChatPanel.d.ts +8 -0
  220. package/dist/features/user-chats/components/SupportChatPanel/SupportChatPanel.styled.d.ts +7 -0
  221. package/dist/features/user-chats/components/SupportChatPanel/components/SupportCompactHubHeader/SupportCompactHubHeader.d.ts +9 -0
  222. package/dist/features/user-chats/components/SupportChatPanel/components/SupportCompactHubHeader/SupportCompactHubHeader.styled.d.ts +5 -0
  223. package/dist/features/user-chats/components/SupportChatPanel/components/SupportCompactHubHeader/index.d.ts +1 -0
  224. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/SupportInboxChat.d.ts +10 -0
  225. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/SupportInboxChat.styled.d.ts +2 -0
  226. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/ChatFeed.d.ts +28 -0
  227. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/CommandChips.d.ts +8 -0
  228. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/GuestGate.d.ts +18 -0
  229. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/MessageBubble.d.ts +3 -0
  230. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/MessageBubble.typed.d.ts +22 -0
  231. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/components/MessageBubbleBody/MessageBubbleBody.d.ts +5 -0
  232. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/components/MessageBubbleBody/MessageBubbleBody.styled.d.ts +12 -0
  233. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/components/MessageBubbleBody/index.d.ts +1 -0
  234. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/components/MessagePlainTextRow/MessagePlainTextRow.d.ts +9 -0
  235. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/components/MessagePlainTextRow/MessagePlainTextRow.styled.d.ts +6 -0
  236. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/components/MessagePlainTextRow/index.d.ts +1 -0
  237. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/components/SystemMessageBubble/SystemMessageBubble.d.ts +15 -0
  238. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/components/SystemMessageBubble/SystemMessageBubble.styled.d.ts +3 -0
  239. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/components/SystemMessageBubble/index.d.ts +1 -0
  240. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/hooks/useSupportMessageAttachments.d.ts +10 -0
  241. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/index.d.ts +2 -0
  242. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/utils/SupportMessageText.styled.d.ts +2 -0
  243. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/utils/formatProgressBytes.d.ts +1 -0
  244. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/utils/renderSupportMessageText.d.ts +2 -0
  245. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/utils/supportMessageText.const.d.ts +3 -0
  246. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/NpsRating.d.ts +6 -0
  247. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/chatInbox.styled.d.ts +36 -0
  248. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/utils/getSupportImageUrls.d.ts +2 -0
  249. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/utils/mapSupportAttachmentToChatFile.d.ts +3 -0
  250. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/utils/mapSupportLinkPreview.d.ts +4 -0
  251. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/utils/mapSupportMessageForFooter.d.ts +3 -0
  252. package/dist/features/user-chats/components/SupportChatPanel/inbox-support/utils/readSupportLocalFile.d.ts +3 -0
  253. package/dist/features/user-chats/components/SupportChatPanel/index.d.ts +1 -0
  254. package/dist/features/user-chats/components/UnreadMessagesDivider/UnreadMessagesDivider.d.ts +6 -0
  255. package/dist/features/user-chats/components/UnreadMessagesDivider/UnreadMessagesDivider.styled.d.ts +2 -0
  256. package/dist/features/user-chats/components/UnreadMessagesDivider/index.d.ts +1 -0
  257. package/dist/features/user-chats/components/UserChats/UserChats.d.ts +6 -0
  258. package/dist/features/user-chats/components/UserChats/index.d.ts +2 -0
  259. package/dist/features/user-chats/components/UserChatsWidget/UserChatsWidget.d.ts +7 -0
  260. package/dist/features/user-chats/components/UserChatsWidget/UserChatsWidget.styled.d.ts +14 -0
  261. package/dist/features/user-chats/components/UserChatsWidget/index.d.ts +1 -0
  262. package/dist/features/user-chats/constants/attachments.const.d.ts +1 -0
  263. package/dist/features/user-chats/constants/categoryPresentation.const.d.ts +9 -0
  264. package/dist/features/user-chats/constants/composerNotice.const.d.ts +1 -0
  265. package/dist/features/user-chats/constants/supportInboxChat.const.d.ts +14 -0
  266. package/dist/features/user-chats/constants/supportWidget.const.d.ts +5 -0
  267. package/dist/features/user-chats/constants/userChats.const.d.ts +38 -0
  268. package/dist/features/user-chats/entities/chats.constants.d.ts +6 -0
  269. package/dist/features/user-chats/entities/chats.interface.d.ts +266 -0
  270. package/dist/features/user-chats/entities/chats.list.d.ts +19 -0
  271. package/dist/features/user-chats/entities/chats.messages.d.ts +19 -0
  272. package/dist/features/user-chats/entities/chats.profiles.d.ts +18 -0
  273. package/dist/features/user-chats/entities/chats.unwrap.d.ts +4 -0
  274. package/dist/features/user-chats/entities/chats.utils.d.ts +4 -0
  275. package/dist/features/user-chats/entities/chats.view-types.d.ts +107 -0
  276. package/dist/features/user-chats/entities/index.d.ts +3 -0
  277. package/dist/features/user-chats/hooks/supportInboxListPreviewContext.d.ts +9 -0
  278. package/dist/features/user-chats/hooks/useChatComposerState.d.ts +23 -0
  279. package/dist/features/user-chats/hooks/useChatHostPaths.d.ts +9 -0
  280. package/dist/features/user-chats/hooks/useChatImageViewer.d.ts +8 -0
  281. package/dist/features/user-chats/hooks/useChatMessageSearch.d.ts +12 -0
  282. package/dist/features/user-chats/hooks/useChatProfiles.d.ts +6 -0
  283. package/dist/features/user-chats/hooks/useChatThreadScroll.d.ts +26 -0
  284. package/dist/features/user-chats/hooks/useChatsPanelTransition.d.ts +9 -0
  285. package/dist/features/user-chats/hooks/useChatsRealtime.d.ts +5 -0
  286. package/dist/features/user-chats/hooks/useImageViewerModal.d.ts +7 -0
  287. package/dist/features/user-chats/hooks/useLongPress.d.ts +13 -0
  288. package/dist/features/user-chats/hooks/useSupportInboxListPreview.d.ts +12 -0
  289. package/dist/features/user-chats/hooks/useUserChatsCategories.d.ts +20 -0
  290. package/dist/features/user-chats/hooks/useUserChatsNavigation.d.ts +19 -0
  291. package/dist/features/user-chats/hooks/useUserChatsTranslation.d.ts +2 -0
  292. package/dist/features/user-chats/index.d.ts +4 -0
  293. package/dist/features/user-chats/store/UserChatsProvider.d.ts +24 -0
  294. package/dist/features/user-chats/store/chats.api.d.ts +1 -0
  295. package/dist/features/user-chats/store/chats.cache.d.ts +24 -0
  296. package/dist/features/user-chats/store/chats.endpoints.d.ts +4254 -0
  297. package/dist/features/user-chats/store/chatsBaseQuery.d.ts +14 -0
  298. package/dist/features/user-chats/store/chatsConfig.slice.d.ts +12 -0
  299. package/dist/features/user-chats/store/chatsStore.d.ts +15 -0
  300. package/dist/features/user-chats/store/chatsStoreHooks.d.ts +5 -0
  301. package/dist/features/user-chats/store/userChatsUi.d.ts +24 -0
  302. package/dist/features/user-chats/styles/chatsPanelMotion.styled.d.ts +5 -0
  303. package/dist/features/user-chats/utils/blobUrlToFile.d.ts +1 -0
  304. package/dist/features/user-chats/utils/hasChatProductAccess.d.ts +15 -0
  305. package/dist/features/user-chats/utils/knownChatCategory.d.ts +2 -0
  306. package/dist/features/user-chats/utils/mergeChatsQueryFromUrl.d.ts +2 -0
  307. package/dist/features/user-chats/utils/supportInboxListPreview.d.ts +7 -0
  308. package/dist/index.d.ts +2 -0
  309. package/dist/localization/translations/support.d.ts +4 -0
  310. package/dist/localization/translations/userChats.d.ts +260 -0
  311. package/dist/profinansy-ui-lib.cjs +4980 -2252
  312. package/dist/profinansy-ui-lib.cjs.map +1 -1
  313. package/dist/profinansy-ui-lib.es.js +27483 -16803
  314. package/dist/profinansy-ui-lib.es.js.map +1 -1
  315. package/dist/urls/productsV2/portfolios/portfolios.d.ts +2 -2
  316. package/dist/utils/declOfNum.d.ts +1 -0
  317. package/package.json +3 -1
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ interface IProps {
3
+ content?: string;
4
+ time: string;
5
+ mine: boolean;
6
+ showReadReceipt: boolean;
7
+ }
8
+ export declare const MessagePlainTextRow: ({ content, time, mine, showReadReceipt }: IProps) => JSX.Element;
9
+ export {};
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ export declare const Row: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
+ export declare const Meta: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
4
+ $mine: boolean;
5
+ }>> & string;
6
+ export declare const ReadReceipt: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import type { ISupportLayoutChip } from '../../../../../../../../../components/blocks/SupportV2/SupportV2.typed';
3
+ import type { IMessageBubbleLabels } from '../../MessageBubble.typed';
4
+ interface IProps {
5
+ content: string;
6
+ showUnreadDivider: boolean;
7
+ labels: IMessageBubbleLabels;
8
+ chips?: ISupportLayoutChip[];
9
+ showNps?: boolean;
10
+ npsTitle?: string;
11
+ onChip: (chip: ISupportLayoutChip) => void;
12
+ onRate: (rating: number) => void;
13
+ }
14
+ export declare const SystemMessageBubble: ({ content, showUnreadDivider, labels, chips, showNps, npsTitle, onChip, onRate }: IProps) => JSX.Element;
15
+ export {};
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare const Row: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
+ export declare const SystemRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,10 @@
1
+ import type { ISupportLayoutMessage } from '../../../../../../../../components/blocks/SupportV2/SupportV2.typed';
2
+ export declare const useSupportMessageAttachments: (message: ISupportLayoutMessage) => {
3
+ image: import("../../../../../../../../components/blocks/SupportV2/SupportV2.typed").ISupportLayoutAttachment;
4
+ file: import("../../../../../../../../components/blocks/SupportV2/SupportV2.typed").ISupportLayoutAttachment;
5
+ isFileUploading: boolean;
6
+ isImageUploading: boolean;
7
+ uploadLoaded: number;
8
+ uploadTotal: number;
9
+ uploadProgress: number;
10
+ };
@@ -0,0 +1,2 @@
1
+ export { MessageBubble } from './MessageBubble';
2
+ export type { IMessageBubble, IMessageBubbleLabels } from './MessageBubble.typed';
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const MessageLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>> & string;
@@ -0,0 +1 @@
1
+ export declare const formatProgressBytes: (bytes: number) => string;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const renderSupportMessageText: (content: string) => React.ReactNode;
@@ -0,0 +1,3 @@
1
+ export declare const MESSAGE_URL_REGEXP: RegExp;
2
+ export declare const URL_START_REGEXP: RegExp;
3
+ export declare const URL_TRAILING_PUNCTUATION_REGEXP: RegExp;
@@ -0,0 +1,6 @@
1
+ interface INpsRating {
2
+ title: string;
3
+ onRate: (rating: number) => void;
4
+ }
5
+ declare const NpsRating: ({ title, onRate }: INpsRating) => import("react/jsx-runtime").JSX.Element;
6
+ export { NpsRating };
@@ -0,0 +1,36 @@
1
+ /// <reference types="react" />
2
+ export declare const PanelBody: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
+ export declare const Feed: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
4
+ $empty?: boolean;
5
+ }>> & string;
6
+ export declare const FeedInner: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
7
+ export declare const DateDayGroup: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
8
+ export declare const HistoryLoader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
9
+ export declare const EmptyPrompt: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
10
+ export declare const DateChip: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("../../../../../../components/uikit/Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>, "ref"> & {
11
+ ref?: import("react").Ref<HTMLElement>;
12
+ }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("../../../../../../components/uikit/Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
13
+ /** Плавающая дата при скролле — видна ~300 ms после остановки (как ChatThreadBody). */
14
+ export declare const FloatingDate: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("../../../../../../components/uikit/Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>, "ref"> & {
15
+ ref?: import("react").Ref<HTMLElement>;
16
+ }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("../../../../../../components/uikit/Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
17
+ export declare const Chips: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
18
+ $center?: boolean;
19
+ }>> & string;
20
+ export declare const Chip: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
21
+ $accent?: boolean;
22
+ }>> & string;
23
+ export declare const NpsBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
24
+ export declare const GuestBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
25
+ export declare const GuestQuestion: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
26
+ export declare const GuestSegments: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
27
+ export declare const GuestRobot: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, never>> & string;
28
+ export declare const GuestDescription: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
29
+ export declare const GuestAction: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
30
+ export declare const GuestAuthChevron: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
31
+ export declare const GuestForm: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, never>> & string;
32
+ export declare const GuestContactFields: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
33
+ export declare const GuestPhoneField: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
34
+ export declare const GuestError: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
35
+ export declare const LoadErrorBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
36
+ export declare const LoadErrorIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,2 @@
1
+ import type { ISupportLayoutMessage } from '../../../../../../components/blocks/SupportV2/SupportV2.typed';
2
+ export declare const getSupportImageUrls: (messages: ISupportLayoutMessage[]) => string[];
@@ -0,0 +1,3 @@
1
+ import type { ISupportLayoutAttachment } from '../../../../../../components/blocks/SupportV2/SupportV2.typed';
2
+ import type { IChatFileAttachment } from '../../../../entities/chats.view-types';
3
+ export declare const mapSupportAttachmentToChatFile: (attachment: ISupportLayoutAttachment, uploadLoaded?: number) => IChatFileAttachment;
@@ -0,0 +1,4 @@
1
+ import type { ISupportLinkPreview } from '../../../../../../components/blocks/SupportV2/SupportV2.typed';
2
+ import type { IChatLinkPreview } from '../../../../entities/chats.view-types';
3
+ export declare const mapSupportLinkPreviewToChat: (preview: ISupportLinkPreview | null | undefined) => IChatLinkPreview | undefined;
4
+ export declare const mapChatLinkPreviewToSupport: (preview: IChatLinkPreview | undefined) => ISupportLinkPreview | null;
@@ -0,0 +1,3 @@
1
+ import type { ISupportLayoutMessage } from '../../../../../../components/blocks/SupportV2/SupportV2.typed';
2
+ import type { IChatMessage } from '../../../../entities/chats.view-types';
3
+ export declare const mapSupportMessageForFooter: (message: ISupportLayoutMessage) => IChatMessage;
@@ -0,0 +1,3 @@
1
+ import type { ISupportLayoutAttachment } from '../../../../../../components/blocks/SupportV2/SupportV2.typed';
2
+ export declare const readSupportLocalFile: (file: File, kind: 'image' | 'document') => ISupportLayoutAttachment | null;
3
+ export declare const pickSupportAttachment: (file: File) => ISupportLayoutAttachment | null;
@@ -0,0 +1 @@
1
+ export { SupportChatPanel } from './SupportChatPanel';
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ interface IProps {
3
+ label?: string;
4
+ }
5
+ export declare const UnreadMessagesDivider: ({ label }: IProps) => JSX.Element;
6
+ export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const Root: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1 @@
1
+ export { UnreadMessagesDivider } from './UnreadMessagesDivider';
@@ -0,0 +1,6 @@
1
+ import type { IChatsFabBottomOffset } from '../../constants/userChats.const';
2
+ import { type IUserChatsProviderProps } from '../../store/UserChatsProvider';
3
+ export interface IUserChatsProps extends Omit<IUserChatsProviderProps, 'children'> {
4
+ fabBottomOffset?: IChatsFabBottomOffset;
5
+ }
6
+ export declare const UserChats: ({ fabBottomOffset, ...providerProps }: IUserChatsProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { UserChats } from './UserChats';
2
+ export type { IUserChatsProps } from './UserChats';
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { type IChatsFabBottomOffset } from '../../constants/userChats.const';
3
+ interface IProps {
4
+ fabBottomOffset?: IChatsFabBottomOffset;
5
+ }
6
+ export declare const UserChatsWidget: ({ fabBottomOffset }: IProps) => JSX.Element;
7
+ export {};
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import type { TChatsPanelAnimPhase } from '../../hooks/useChatsPanelTransition';
3
+ export declare const Backdrop: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
4
+ $visible: boolean;
5
+ $dimmed?: boolean;
6
+ }>> & string;
7
+ export declare const CompactSupportShell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
8
+ export declare const Shell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
9
+ $isExpanded: boolean;
10
+ $compactFill?: boolean;
11
+ $compactBottom: number;
12
+ $phase: TChatsPanelAnimPhase;
13
+ $expandPulse: boolean;
14
+ }>> & string;
@@ -0,0 +1 @@
1
+ export { UserChatsWidget } from './UserChatsWidget';
@@ -0,0 +1 @@
1
+ export declare const CHAT_ATTACHMENT_MAX_SIZE_BYTES: number;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { TLocalChatsEntryId } from './userChats.const';
3
+ interface ICategoryPresentation {
4
+ iconBg: string;
5
+ icon: React.ReactNode;
6
+ }
7
+ export declare const getChatCategoryPresentation: (name: string) => ICategoryPresentation;
8
+ export declare const CATEGORY_PRESENTATION: Record<TLocalChatsEntryId, ICategoryPresentation>;
9
+ export {};
@@ -0,0 +1 @@
1
+ export declare const COMPOSER_FILE_NOTICE_MS = 4000;
@@ -0,0 +1,14 @@
1
+ import type { IChatListItem } from '../entities/chats.view-types';
2
+ export declare const SUPPORT_INBOX_DEFAULT_LAST_MESSAGE = "\u0417\u0430\u0434\u0430\u0439\u0442\u0435 \u0432\u043E\u043F\u0440\u043E\u0441 \u043A\u043E\u043D\u0441\u0443\u043B\u044C\u0442\u0430\u043D\u0442\u0443";
3
+ export declare const SUPPORT_INBOX_CHAT: IChatListItem;
4
+ export interface ISupportInboxChatLabels {
5
+ title: string;
6
+ defaultLastMessage: string;
7
+ }
8
+ export declare const mergeSupportInboxChat: (overlay?: Partial<IChatListItem> | null, labels?: ISupportInboxChatLabels) => IChatListItem;
9
+ export declare const isSupportInboxChatId: (chatId: string | null | undefined) => boolean;
10
+ export declare const prependSupportInboxChat: (chats: IChatListItem[], options?: {
11
+ hideWhenSearch?: boolean;
12
+ supportListItem?: Partial<IChatListItem> | null;
13
+ supportLabels?: ISupportInboxChatLabels;
14
+ }) => IChatListItem[];
@@ -0,0 +1,5 @@
1
+ export declare const COURSE_SUPPORT_FAB_OFFSET: {
2
+ desktopBottom: number;
3
+ mobileBottom: number;
4
+ };
5
+ export declare const SUPPORT_HIDDEN_PATHS: string[];
@@ -0,0 +1,38 @@
1
+ import { SUPPORT_HIDDEN_PATHS } from './supportWidget.const';
2
+ export declare const CHATS_FAB_RIGHT = 22;
3
+ export declare const CHATS_FAB_BOTTOM_DESKTOP = 32;
4
+ export declare const CHATS_FAB_BOTTOM_MOBILE = 32;
5
+ export interface IChatsFabBottomOffset {
6
+ desktopBottom?: number;
7
+ mobileBottom?: number;
8
+ }
9
+ export declare const COURSE_FAB_BOTTOM_OFFSET: IChatsFabBottomOffset;
10
+ export { SUPPORT_HIDDEN_PATHS };
11
+ export declare const USER_CHATS_QUERY: {
12
+ readonly open: "chats";
13
+ readonly panel: "chatsPanel";
14
+ readonly category: "chatsCategory";
15
+ readonly chatId: "chatId";
16
+ };
17
+ export type TUserChatsPanel = 'hub' | 'expanded';
18
+ export declare const USER_CHATS_PANEL: {
19
+ readonly hub: "hub";
20
+ readonly expanded: "expanded";
21
+ };
22
+ export type TLocalChatsEntryId = 'support' | 'appeals' | 'ai';
23
+ export declare const SUPPORT_CHAT_LIST_ID = "support";
24
+ export type TOverlayChatId = number | typeof SUPPORT_CHAT_LIST_ID;
25
+ export type TChatsOverlayCategory = number | 'support';
26
+ export declare const CHATS_Z_INDEX: {
27
+ readonly fab: 2400;
28
+ readonly compactBackdrop: 2405;
29
+ readonly compactHub: 2410;
30
+ readonly overlayBackdrop: 2420;
31
+ readonly overlay: 2430;
32
+ };
33
+ export declare const COMPACT_HUB_WIDTH = 360;
34
+ export declare const COMPACT_HUB_MAX_HEIGHT = 620;
35
+ export declare const MOBILE_CHATS_SHELL_HEIGHT_PX = 704;
36
+ export declare const MOBILE_CHATS_SHELL_MAX_VIEWPORT = "87dvh";
37
+ export declare const COMPACT_HUB_VIEWPORT_TOP_GAP = 16;
38
+ export declare const SIDEBAR_WIDTH = 356;
@@ -0,0 +1,6 @@
1
+ export declare const CHAT_MESSAGES_PAGE_LIMIT = 50;
2
+ export declare const CHAT_THREAD_LOAD_MORE_ROOT_MARGIN = "120px";
3
+ export declare const CHAT_QUOTE_JUMP_MAX_PAGES = 20;
4
+ export declare const CHATS_QUERY_PARAMS_SERIALIZER: {
5
+ readonly indexes: any;
6
+ };
@@ -0,0 +1,266 @@
1
+ export interface IChatsEnvelope<T = unknown> {
2
+ msg: string;
3
+ data: T | null;
4
+ error: string | Record<string, unknown> | null;
5
+ }
6
+ export type TChatScope = 'all' | 'personal' | 'groups';
7
+ export type TChatListFilter = 'all' | 'unread';
8
+ export type TChatType = 'direct' | 'group' | 'channel';
9
+ export type TChatRole = 'member' | 'mod' | 'adm' | 'owner';
10
+ export type TUserKind = 'client' | 'employee';
11
+ export type TAttachmentKind = 'image' | 'file';
12
+ export type TSystemMessageKind = 'chat_created' | 'member_joined' | 'member_left' | 'title_changed' | 'type_changed';
13
+ export interface IChatTagOut {
14
+ id: number;
15
+ name: string;
16
+ chats_count?: number;
17
+ }
18
+ export interface IChatCategoryOut {
19
+ id: number;
20
+ name: string;
21
+ }
22
+ export interface IChatCategoryMeta extends IChatCategoryOut {
23
+ total_chats: number;
24
+ unread_chats: number;
25
+ unread_messages: number;
26
+ }
27
+ export interface ILastMessagePreview {
28
+ id: number;
29
+ sender_id: number | null;
30
+ sender_kind: TUserKind | null;
31
+ text_preview: string | null;
32
+ has_attachment: boolean;
33
+ is_system: boolean;
34
+ created_at: string;
35
+ }
36
+ export interface IChatListItemOut {
37
+ id: number;
38
+ type: TChatType;
39
+ title: string | null;
40
+ description: string | null;
41
+ image_id: number | null;
42
+ image_url: string | null;
43
+ is_locked: boolean;
44
+ is_closed: boolean;
45
+ members_count: number;
46
+ tags: IChatTagOut[];
47
+ category: IChatCategoryOut | null;
48
+ last_message_id: number | null;
49
+ last_message_at: string | null;
50
+ last_message: ILastMessagePreview | null;
51
+ peer_user_id: number | null;
52
+ peer_kind: TUserKind | null;
53
+ is_pinned: boolean;
54
+ pinned_at: string | null;
55
+ notifications_enabled: boolean;
56
+ notifications_muted_until: string | null;
57
+ last_read_message_id: number | null;
58
+ unread_count: number;
59
+ is_manually_unread: boolean;
60
+ role: TChatRole;
61
+ is_banned: boolean;
62
+ has_draft: boolean;
63
+ draft_preview: string | null;
64
+ }
65
+ export interface IChatListMeta {
66
+ unread_chats: number;
67
+ unread_messages: number;
68
+ personal_unread_chats: number;
69
+ group_unread_chats: number;
70
+ total_chats: number;
71
+ categories?: IChatCategoryMeta[];
72
+ }
73
+ export interface IChatListPage {
74
+ user_key: string;
75
+ items: IChatListItemOut[];
76
+ has_more: boolean;
77
+ next_cursor: string | null;
78
+ meta: IChatListMeta;
79
+ }
80
+ export interface IChatDetailOut extends IChatListItemOut {
81
+ created_by: number;
82
+ created_by_user_id: number | null;
83
+ created_at: string;
84
+ can_send: boolean;
85
+ invite_url: string | null;
86
+ peer_last_read_message_id: number | null;
87
+ peer_is_online: boolean | null;
88
+ peer_last_seen_at: string | null;
89
+ }
90
+ export interface IReplyPreview {
91
+ id: number;
92
+ sender_id: number | null;
93
+ sender_kind: TUserKind | null;
94
+ text_preview: string | null;
95
+ has_attachment: boolean;
96
+ is_deleted: boolean;
97
+ }
98
+ export interface IAttachmentOut {
99
+ id: number;
100
+ kind: TAttachmentKind;
101
+ filename: string;
102
+ content_type: string;
103
+ size_bytes: number;
104
+ width: number | null;
105
+ height: number | null;
106
+ url: string;
107
+ url_expires_at: string | null;
108
+ }
109
+ export interface ILinkPreviewOut {
110
+ url: string;
111
+ title: string | null;
112
+ description: string | null;
113
+ image_url: string | null;
114
+ site_name: string | null;
115
+ }
116
+ export type TChatAttachmentKind = 'media' | 'file' | 'link';
117
+ export interface IChatAttachmentItem {
118
+ message_id: number;
119
+ sender_id: number | null;
120
+ created_at: string;
121
+ attachment: IAttachmentOut | null;
122
+ link_preview: ILinkPreviewOut | null;
123
+ }
124
+ export interface IChatAttachmentsPage {
125
+ user_key: string;
126
+ items: IChatAttachmentItem[];
127
+ has_more: boolean;
128
+ next_cursor: string | null;
129
+ }
130
+ export type TMessageEntityType = 'mention' | 'bold' | 'italic' | 'code' | 'url';
131
+ export interface IMessageEntity {
132
+ type: TMessageEntityType;
133
+ offset: number;
134
+ length: number;
135
+ user_id?: number;
136
+ }
137
+ export interface IReactionGroup {
138
+ emoji: string;
139
+ count: number;
140
+ me: boolean;
141
+ user_ids: number[];
142
+ }
143
+ export interface IMessageOut {
144
+ id: number;
145
+ chat_id: number;
146
+ sender_id: number | null;
147
+ sender_kind: TUserKind | null;
148
+ content: string | null;
149
+ reply_to_id: number | null;
150
+ reply_to: IReplyPreview | null;
151
+ attachments: IAttachmentOut[];
152
+ link_preview: ILinkPreviewOut | null;
153
+ reactions: IReactionGroup[];
154
+ system_kind: TSystemMessageKind | null;
155
+ system_payload: Record<string, unknown> | null;
156
+ client_message_id: string | null;
157
+ is_edited: boolean;
158
+ edited_at: string | null;
159
+ created_at: string;
160
+ }
161
+ export interface IMessagesPage {
162
+ user_key: string;
163
+ items: IMessageOut[];
164
+ has_more: boolean;
165
+ next_before_id: number | null;
166
+ next_after_id: number | null;
167
+ }
168
+ export interface IMessageSearchItem {
169
+ message: IMessageOut;
170
+ highlight: string | null;
171
+ }
172
+ export interface IMessageSearchPage {
173
+ user_key: string;
174
+ items: IMessageSearchItem[];
175
+ has_more: boolean;
176
+ next_cursor: string | null;
177
+ }
178
+ export interface IGlobalMessageSearchHit {
179
+ chat_id: number;
180
+ chat_type: TChatType;
181
+ chat_title: string | null;
182
+ peer_user_id: number | null;
183
+ message: IMessageOut;
184
+ highlight: string | null;
185
+ }
186
+ export interface IGlobalMessageSearchPage {
187
+ user_key: string;
188
+ items: IGlobalMessageSearchHit[];
189
+ has_more: boolean;
190
+ next_cursor: string | null;
191
+ }
192
+ export interface IChatPrefsOut {
193
+ is_pinned: boolean;
194
+ pinned_at: string | null;
195
+ notifications_enabled: boolean;
196
+ notifications_muted_until: string | null;
197
+ is_manually_unread: boolean;
198
+ }
199
+ export interface IGetInboxParams {
200
+ scope?: TChatScope;
201
+ filter?: TChatListFilter;
202
+ q?: string;
203
+ limit?: number;
204
+ cursor?: string;
205
+ tag_ids?: number[];
206
+ tariff_ids?: number[];
207
+ product_ids?: number[];
208
+ flow_ids?: number[];
209
+ category_id?: number;
210
+ }
211
+ export interface ISendMessageRequest {
212
+ content?: string | null;
213
+ reply_to_id?: number | null;
214
+ client_message_id?: string | null;
215
+ attachment_ids?: number[];
216
+ link_preview?: ILinkPreviewOut | null;
217
+ entities?: IMessageEntity[];
218
+ }
219
+ export interface IAttachmentUrlOut {
220
+ url: string;
221
+ url_expires_at: string | null;
222
+ }
223
+ export interface IEditMessageRequest {
224
+ content: string;
225
+ entities?: IMessageEntity[];
226
+ }
227
+ export interface IMarkReadRequest {
228
+ last_read_message_id: number;
229
+ }
230
+ export interface IChatPrefsRequest {
231
+ is_pinned?: boolean | null;
232
+ notifications_enabled?: boolean | null;
233
+ notifications_muted_until?: string | null;
234
+ }
235
+ export interface IDraftOut {
236
+ chat_id: number;
237
+ text: string;
238
+ updated_at: string;
239
+ }
240
+ export interface ISaveDraftRequest {
241
+ text: string;
242
+ }
243
+ export interface IUploadAttachmentArg {
244
+ file: File;
245
+ signal?: AbortSignal;
246
+ onProgress?: (loadedBytes: number) => void;
247
+ }
248
+ export interface ISetReactionRequest {
249
+ emoji: string;
250
+ }
251
+ export interface IReactionsOut {
252
+ message_id: number;
253
+ reactions: IReactionGroup[];
254
+ }
255
+ export interface ILinkPreviewRequest {
256
+ url: string;
257
+ }
258
+ export interface IChatCategoriesPage {
259
+ items: IChatCategoryOut[];
260
+ }
261
+ export interface IStreamInfoOut {
262
+ subscribed_chat_ids: number[];
263
+ truncated: boolean;
264
+ ping_interval_seconds: number;
265
+ reconnect_after_seconds: number;
266
+ }
@@ -0,0 +1,19 @@
1
+ import type { IChatDetailOut, IChatListItemOut, IChatTagOut, TUserKind } from './chats.interface';
2
+ import { type TChatProfilesMap } from './chats.profiles';
3
+ import type { TUserChatsListCopy } from '../../../localization/translations/userChats';
4
+ import type { IChatGroupTag, IChatListItem } from './chats.view-types';
5
+ export declare const uniqueById: <T extends {
6
+ id: number;
7
+ }>(items: T[]) => T[];
8
+ export declare const getChatRoleLabel: (senderKind: TUserKind | null | undefined, consultantTitle: string) => string | undefined;
9
+ export declare const mapChatTagToGroupTag: (tag: IChatTagOut) => IChatGroupTag;
10
+ /** Закреплённые выше остальных (кроме support): свежее `pinned_at` — выше */
11
+ export declare const sortInboxChatListItems: (chats: IChatListItem[]) => IChatListItem[];
12
+ export declare const resolveMarkReadMessageId: (source: {
13
+ last_message_id?: number | null;
14
+ last_message?: {
15
+ id?: number;
16
+ } | null;
17
+ last_read_message_id?: number | null;
18
+ }) => number | null;
19
+ export declare const mapChatListItem: (item: IChatListItemOut, profiles: TChatProfilesMap, detail?: IChatDetailOut | null, currentUserId?: number, listCopy?: TUserChatsListCopy) => IChatListItem;
@@ -0,0 +1,19 @@
1
+ import { Locales } from '../../../common.types';
2
+ import type { TUserChatsCopy } from '../../../localization/translations/userChats';
3
+ import type { IGlobalMessageSearchHit, IMessageOut, TSystemMessageKind } from './chats.interface';
4
+ import { type TChatProfilesMap } from './chats.profiles';
5
+ import type { IChatMessage } from './chats.view-types';
6
+ export declare const formatSystemMessage: (kind: TSystemMessageKind | null, payload: Record<string, unknown> | null, profiles: TChatProfilesMap, fallbackContent?: string | null) => string;
7
+ export declare const isOutgoingMessage: (message: Pick<IMessageOut, 'sender_id' | 'sender_kind'>, currentUserId: number | undefined, peerUserId?: number | null) => boolean;
8
+ export declare const mapMessage: (message: IMessageOut, currentUserId: number | undefined, profiles: TChatProfilesMap, peerUserId?: number | null, peerLastReadMessageId?: number | null, locale?: Locales, copy?: Pick<TUserChatsCopy, 'dateToday' | 'quoteUserFallback' | 'quoteMessageDeleted'>) => IChatMessage;
9
+ export declare const mapGlobalMessageSearchHit: (hit: IGlobalMessageSearchHit, profiles: TChatProfilesMap, query?: string, defaultChatTitle?: string) => {
10
+ chatId: string;
11
+ messageId: string;
12
+ chatType: import("./chats.interface").TChatType;
13
+ peerUserId: number;
14
+ title: string;
15
+ imageUrl: string;
16
+ highlight: string;
17
+ query: string;
18
+ createdAt: string;
19
+ };