import { ZIMRoomAllLeftResult, ZIMBlacklistCheckedResult, ZIMBlacklistQueriedResult, ZIMBlacklistQueryConfig, ZIMBlacklistUsersAddedResult, ZIMBlacklistUsersRemovedResult, ZIMCallAcceptanceSentResult, ZIMCallAcceptConfig, ZIMCallCancelConfig, ZIMCallCancelSentResult, ZIMCallEndConfig, ZIMCallEndSentResult, ZIMCallingInvitationSentResult, ZIMCallingInviteConfig, ZIMCallInvitationListQueriedResult, ZIMCallInvitationQueryConfig, ZIMCallInvitationSentResult, ZIMCallInviteConfig, ZIMCallJoinConfig, ZIMCallJoinSentResult, ZIMCallQuitConfig, ZIMCallQuitSentResult, ZIMCallRejectConfig, ZIMCallRejectionSentResult, ZIMCombineMessage, ZIMCombineMessageDetailQueriedResult, ZIMConversationDeleteConfig, ZIMConversationDeletedResult, ZIMConversationDraftSetResult, ZIMConversationListQueriedResult, ZIMConversationMessageReceiptReadSentResult, ZIMConversationNotificationStatus, ZIMConversationNotificationStatusSetResult, ZIMConversationPinnedListQueriedResult, ZIMConversationPinnedStateUpdatedResult, ZIMConversationQueriedResult, ZIMConversationQueryConfig, ZIMConversationSearchConfig, ZIMConversationsSearchedResult, ZIMConversationType, ZIMConversationUnreadMessageCountClearedResult, ZIMFileCacheClearConfig, ZIMFileCacheQueriedResult, ZIMFileCacheQueryConfig, ZIMFriendAddConfig, ZIMFriendAddedResult, ZIMFriendAliasUpdatedResult, ZIMFriendApplicationAcceptConfig, ZIMFriendApplicationAcceptedResult, ZIMFriendApplicationListQueriedResult, ZIMFriendApplicationListQueryConfig, ZIMFriendApplicationRejectConfig, ZIMFriendApplicationRejectedResult, ZIMFriendApplicationSendConfig, ZIMFriendApplicationSentResult, ZIMFriendAttributesUpdatedResult, ZIMFriendDeleteConfig, ZIMFriendListQueriedResult, ZIMFriendListQueryConfig, ZIMFriendRelationCheckConfig, ZIMFriendsDeletedResult, ZIMFriendsInfoQueriedResult, ZIMFriendsRelationCheckedResult, ZIMGroupAdvancedConfig, ZIMGroupApplicationListQueriedResult, ZIMGroupApplicationListQueryConfig, ZIMGroupAttributesOperatedResult, ZIMGroupAttributesQueriedResult, ZIMGroupAvatarUrlUpdatedResult, ZIMGroupCreatedResult, ZIMGroupDismissedResult, ZIMGroupInfo, ZIMGroupInfoQueriedResult, ZIMGroupInviteApplicationAcceptedResult, ZIMGroupInviteApplicationRejectedResult, ZIMGroupInviteApplicationSendConfig, ZIMGroupInviteApplicationsSentResult, ZIMGroupJoinApplicationAcceptConfig, ZIMGroupJoinApplicationAcceptedResult, ZIMGroupJoinApplicationRejectConfig, ZIMGroupJoinApplicationRejectedResult, ZIMGroupJoinApplicationSendConfig, ZIMGroupJoinApplicationSentResult, ZIMGroupJoinedResult, ZIMGroupLeftResult, ZIMGroupListQueriedResult, ZIMGroupMemberCountQueriedResult, ZIMGroupMemberInfoQueriedResult, ZIMGroupMemberKickedResult, ZIMGroupMemberListQueriedResult, ZIMGroupMemberMuteConfig, ZIMGroupMemberNicknameUpdatedResult, ZIMGroupMemberQueryConfig, ZIMGroupMemberRoleUpdatedResult, ZIMGroupMemberSearchConfig, ZIMGroupMembersMutedResult, ZIMGroupMembersSearchedResult, ZIMGroupMessageReceiptMemberListQueriedResult, ZIMGroupMessageReceiptMemberQueryConfig, ZIMGroupMuteConfig, ZIMGroupMutedResult, ZIMGroupNameUpdatedResult, ZIMGroupNoticeUpdatedResult, ZIMGroupOwnerTransferredResult, ZIMGroupSearchConfig, ZIMGroupsSearchedResult, ZIMGroupUsersInvitedResult, ZIMGroupVerifyType, ZIMLoginConfig, ZIMMediaDownloadedResult, ZIMMediaDownloadingProgress, ZIMMediaFileType, ZIMMediaMessage, ZIMMediaMessageBase, ZIMMediaMessageSendNotification, ZIMMediaMessageSentResult, ZIMMessage, ZIMMessageBase, ZIMMessageDeleteConfig, ZIMMessageDeletedResult, ZIMMessageExportConfig, ZIMMessageExportingProgress, ZIMMessageImportConfig, ZIMMessageImportingProgress, ZIMMessageInsertedResult, ZIMMessageLocalExtendedDataUpdatedResult, ZIMMessageQueriedResult, ZIMMessageQueryConfig, ZIMMessageReactionAddedResult, ZIMMessageReactionDeletedResult, ZIMMessageReactionUserListQueriedResult, ZIMMessageReactionUserQueryConfig, ZIMMessageReceiptsInfoQueriedResult, ZIMMessageReceiptsReadSentResult, ZIMMessageRevokeConfig, ZIMMessageRevokedResult, ZIMMessageSearchConfig, ZIMMessageSendConfig, ZIMMessageSendNotification, ZIMMessageSentResult, ZIMMessagesGlobalSearchedResult, ZIMMessagesSearchedResult, ZIMRoomAdvancedConfig, ZIMRoomAttributesBatchOperatedResult, ZIMRoomAttributesBatchOperationConfig, ZIMRoomAttributesDeleteConfig, ZIMRoomAttributesOperatedResult, ZIMRoomAttributesQueriedResult, ZIMRoomAttributesSetConfig, ZIMRoomCreatedResult, ZIMRoomEnteredResult, ZIMRoomInfo, ZIMRoomJoinedResult, ZIMRoomLeftResult, ZIMRoomMemberAttributesListQueriedResult, ZIMRoomMemberAttributesQueryConfig, ZIMRoomMemberAttributesSetConfig, ZIMRoomMemberQueriedResult, ZIMRoomMemberQueryConfig, ZIMRoomMembersAttributesOperatedResult, ZIMRoomMembersAttributesQueriedResult, ZIMRoomMembersQueriedResult, ZIMRoomOnlineMemberCountQueriedResult, ZIMSelfUserInfoQueriedResult, ZIMTokenRenewedResult, ZIMUserAvatarUrlUpdatedResult, ZIMUserExtendedDataUpdatedResult, ZIMUserNameUpdatedResult, ZIMUserOfflinePushRule, ZIMUserOfflinePushRuleUpdatedResult, ZIMUsersInfoQueriedResult, ZIMUsersInfoQueryConfig } from '../ZIMDefines'; import { ZIMLogger } from './ZIMLogger'; import { ZIMParamValid } from './ZIMParamValid'; import { ZIMEventHandler } from '../ZIMEventHandler'; declare type MessageAttachedCallback = ZIMMessageSendNotification['onMessageAttached']; declare type MediaMessageAttachedCallback = ZIMMediaMessageSendNotification['onMessageAttached']; declare type MediaUploadingProgressCallback = ZIMMediaMessageSendNotification['onMediaUploadingProgress']; declare type MessageExportingProgressCallback = ZIMMessageExportingProgress['onMessageExportingProgress']; export declare class ZIMEngine { handle: symbol; appID: number; appSign: string; logger: ZIMLogger; paramValid: ZIMParamValid; loginUserID: string; uploadingMap: Map; downloadingMap: Map; messageAttachedMap: Map; messageExportingMap: Map; eventNameList: string[]; static _callMethod(method: string, args?: {}): Promise; constructor(handle: symbol, appID: number, appSign: string); create(): Promise; destroy(): Promise; uploadLog(): Promise; on(type: K, listener: ZIMEventHandler[K]): void; off(type: K): void; login(userID: string, config: ZIMLoginConfig): Promise; logout(): Promise; renewToken(token: string): Promise; updateUserName(userName: string): Promise; updateUserAvatarUrl(userAvatarUrl: string): Promise; updateUserExtendedData(extendedData: string): Promise; updateUserOfflinePushRule(offlinePushRule: ZIMUserOfflinePushRule): Promise; querySelfUserInfo(): Promise; queryUsersInfo(userIDs: string[], config: ZIMUsersInfoQueryConfig): Promise; queryConversation(conversationID: string, conversationType: ZIMConversationType): Promise; queryConversationList(config: ZIMConversationQueryConfig): Promise; queryConversationPinnedList(config: ZIMConversationQueryConfig): Promise; deleteConversation(conversationID: string, conversationType: ZIMConversationType, config: ZIMConversationDeleteConfig): Promise; deleteAllConversations(config: ZIMConversationDeleteConfig): Promise; deleteAllConversationMessages(config: ZIMMessageDeleteConfig): Promise; setConversationNotificationStatus(status: ZIMConversationNotificationStatus, conversationID: string, conversationType: ZIMConversationType): Promise; updateConversationPinnedState(isPinned: boolean, conversationID: string, conversationType: ZIMConversationType): Promise; clearConversationUnreadMessageCount(conversationID: string, conversationType: ZIMConversationType): Promise; clearConversationTotalUnreadMessageCount(): Promise; setConversationDraft(draft: string, conversationID: string, conversationType: ZIMConversationType): Promise; sendMessage(message: ZIMMessageBase, toConversationID: string, conversationType: ZIMConversationType, config: ZIMMessageSendConfig, notification?: ZIMMessageSendNotification): Promise; sendMediaMessage(message: ZIMMediaMessageBase, toConversationID: string, conversationType: ZIMConversationType, config: ZIMMessageSendConfig, notification?: ZIMMediaMessageSendNotification): Promise; deleteMessages(messageList: ZIMMessage[], conversationID: string, conversationType: ZIMConversationType, config: ZIMMessageDeleteConfig): Promise; deleteAllMessage(conversationID: string, conversationType: ZIMConversationType, config: ZIMMessageDeleteConfig): Promise; insertMessageToLocalDB(message: ZIMMessageBase | ZIMMediaMessageBase, conversationID: string, conversationType: ZIMConversationType, senderUserID: string): Promise; updateMessageLocalExtendedData(localExtendedData: string, message: ZIMMessage): Promise; sendConversationMessageReceiptRead(conversationID: string, conversationType: ZIMConversationType): Promise; sendMessageReceiptsRead(messageList: ZIMMessage[], conversationID: string, conversationType: ZIMConversationType): Promise; queryMessageReceiptsInfo(messageList: ZIMMessage[], conversationID: string, conversationType: ZIMConversationType): Promise; queryGroupMessageReceiptMemberList(message: ZIMMessage, groupID: string, config: ZIMGroupMessageReceiptMemberQueryConfig, read: boolean): Promise; revokeMessage(message: ZIMMessage, config: ZIMMessageRevokeConfig): Promise; queryCombineMessageDetail(message: ZIMCombineMessage): Promise; queryHistoryMessage(conversationID: string, conversationType: ZIMConversationType, config: ZIMMessageQueryConfig): Promise; downloadMediaFile(message: ZIMMediaMessage, fileType: ZIMMediaFileType, progress: ZIMMediaDownloadingProgress): Promise; addMessageReaction(reactionType: string, message: ZIMMessage): Promise; deleteMessageReaction(reactionType: string, message: ZIMMessage): Promise; queryMessageReactionUserList(message: ZIMMessage, config: ZIMMessageReactionUserQueryConfig): Promise; createRoom(roomInfo: ZIMRoomInfo, config?: ZIMRoomAdvancedConfig): Promise; enterRoom(roomInfo: ZIMRoomInfo, config?: ZIMRoomAdvancedConfig): Promise; joinRoom(roomID: string): Promise; leaveRoom(roomID: string): Promise; queryRoomMemberList(roomID: string, config: ZIMRoomMemberQueryConfig): Promise; queryRoomMembers(userIDs: string[], roomID: string): Promise; queryRoomOnlineMemberCount(roomID: string): Promise; queryRoomAllAttributes(roomID: string): Promise; setRoomAttributes(roomAttributes: Record, roomID: string, config: ZIMRoomAttributesSetConfig): Promise; deleteRoomAttributes(keys: string[], roomID: string, config: ZIMRoomAttributesDeleteConfig): Promise; beginRoomAttributesBatchOperation(roomID: string, config: ZIMRoomAttributesBatchOperationConfig): Promise; endRoomAttributesBatchOperation(roomID: string): Promise; setRoomMembersAttributes(attributes: Record, userIDs: string[], roomID: string, config: ZIMRoomMemberAttributesSetConfig): Promise; queryRoomMembersAttributes(userIDs: string[], roomID: string): Promise; queryRoomMemberAttributesList(roomID: string, config: ZIMRoomMemberAttributesQueryConfig): Promise; leaveAllRoom(): Promise; createGroup(groupInfo: ZIMGroupInfo, userIDs: string[], config?: ZIMGroupAdvancedConfig): Promise; joinGroup(isJoin: boolean, groupID: string, config?: ZIMGroupJoinApplicationSendConfig): Promise; leaveGroup(groupID: string): Promise; dismissGroup(groupID: string): Promise; queryGroupList(): Promise; updateGroupNotice(groupNotice: string, groupID: string): Promise; updateGroupName(groupName: string, groupID: string): Promise; updateGroupAvatarUrl(groupAvatarUrl: string, groupID: string): Promise; muteGroup(isMute: boolean, groupID: string, config: ZIMGroupMuteConfig): Promise; muteGroupMembers(isMute: boolean, userIDs: string[], groupID: string, config: ZIMGroupMemberMuteConfig): Promise; queryGroupInfo(groupID: string): Promise; setGroupAttributes(groupAttributes: Record, groupID: string): Promise; deleteGroupAttributes(keys: string[], groupID: string): Promise; queryGroupAttributes(keys: string[], groupID: string): Promise; queryGroupAllAttributes(groupID: string): Promise; setGroupMemberNickname(nickname: string, forUserID: string, groupID: string): Promise; setGroupMemberRole(role: number, forUserID: string, groupID: string): Promise; transferGroupOwner(toUserID: string, groupID: string): Promise; queryGroupMemberInfo(userID: string, groupID: string): Promise; inviteUsersIntoGroup(isApply: boolean, userIDs: string[], groupID: string, config?: ZIMGroupInviteApplicationSendConfig): Promise; kickGroupMembers(userIDs: string[], groupID: string): Promise; queryGroupMemberList(groupID: string, config: ZIMGroupMemberQueryConfig): Promise; queryGroupMemberCount(groupID: string): Promise; acceptGroupApply(isJoin: boolean, userID: string, groupID: string, config: ZIMGroupJoinApplicationAcceptConfig): Promise; rejectGroupApply(isJoin: boolean, userID: string, groupID: string, config: ZIMGroupJoinApplicationRejectConfig): Promise; queryGroupApplyList(config: ZIMGroupApplicationListQueryConfig): Promise; updateGroupVerifyMode(mode: number, groupID: string, type: ZIMGroupVerifyType): Promise; callInvite(invitees: string[], config: ZIMCallInviteConfig): Promise; callCancel(invitees: string[], callID: string, config: ZIMCallCancelConfig): Promise; callAccept(callID: string, config: ZIMCallAcceptConfig): Promise; callReject(callID: string, config: ZIMCallRejectConfig): Promise; callQuit(callID: string, config: ZIMCallQuitConfig): Promise; callEnd(callID: string, config: ZIMCallEndConfig): Promise; callJoin(callID: string, config: ZIMCallJoinConfig): Promise; callingInvite(invitees: string[], callID: string, config: ZIMCallingInviteConfig): Promise; queryCallInvitationList(config: ZIMCallInvitationQueryConfig): Promise; searchConversations(config: ZIMConversationSearchConfig): Promise; searchGlobalMessages(config: ZIMMessageSearchConfig): Promise; searchMessages(conversationID: string, conversationType: ZIMConversationType, config: ZIMMessageSearchConfig): Promise; searchGroups(config: ZIMGroupSearchConfig): Promise; searchGroupMembers(groupID: string, config: ZIMGroupMemberSearchConfig): Promise; addFriend(userID: string, config: ZIMFriendAddConfig): Promise; sendFriendApplication(userID: string, config: ZIMFriendApplicationSendConfig): Promise; deleteFriends(userIDs: string[], config: ZIMFriendDeleteConfig): Promise; checkFriendsRelation(userIDs: string[], config: ZIMFriendRelationCheckConfig): Promise; updateFriendAlias(friendAlias: string, userID: string): Promise; updateFriendAttributes(friendAttributes: Record, userID: string): Promise; acceptFriendApplication(userID: string, config: ZIMFriendApplicationAcceptConfig): Promise; rejectFriendApplication(userID: string, config: ZIMFriendApplicationRejectConfig): Promise; queryFriendsInfo(userIDs: string[]): Promise; queryFriendList(config: ZIMFriendListQueryConfig): Promise; queryFriendApplicationList(config: ZIMFriendApplicationListQueryConfig): Promise; addUsersToBlacklist(userIDs: string[]): Promise; removeUsersFromBlacklist(userIDs: string[]): Promise; checkUserIsInBlacklist(userID: string): Promise; queryBlacklist(config: ZIMBlacklistQueryConfig): Promise; exportLocalMessages(folderPath: string, config: ZIMMessageExportConfig, progress?: ZIMMessageExportingProgress): Promise; importLocalMessages(folderPath: string, config: ZIMMessageImportConfig, progress?: ZIMMessageImportingProgress): Promise; queryLocalFileCache(config: ZIMFileCacheQueryConfig): Promise; clearLocalFileCache(config: ZIMFileCacheClearConfig): Promise; } export {};