import { MessageEntity, OfflinePush, PicBaseInfo, AtUsersInfoItem, GroupInitInfo, Member, RtcInvite, FullUserItem, MessageItem } from './entity'; import { OptType, AllowType, GroupJoinSource, GroupRole, GroupVerificationType, MessageType } from './enum'; export declare type LoginParam = { userID: string; token: string; platformID: number; apiAddress: string; wsAddress: string; logLevel?: number; }; export declare type GetOneConversationParams = { sourceID: string; sessionType: number; }; export declare type GetAdvancedHistoryMsgParams = { userID: string; groupID: string; lastMinSeq: number; count: number; startClientMsgID: string; conversationID?: string; }; export declare type GetHistoryMsgParams = { userID: string; groupID: string; count: number; startClientMsgID: string; conversationID?: string; }; export declare type MarkC2CParams = { userID: string; msgIDList: string[]; }; export declare type MarkNotiParams = { conversationID: string; msgIDList: string[]; }; export declare type GetGroupMemberParams = { groupID: string; filter: number; offset: number; count: number; }; export declare type SendMsgParams = { recvID: string; groupID: string; offlinePushInfo?: OfflinePush; message: string; fileArrayBuffer?: ArrayBuffer; snpFileArrayBuffer?: ArrayBuffer; }; export declare type ImageMsgParams = { sourcePicture: PicBaseInfo; bigPicture: PicBaseInfo; snapshotPicture: PicBaseInfo; }; export declare type VideoMsgParams = { videoPath: string; duration: number; videoType: string; snapshotPath: string; videoUUID: string; videoUrl: string; videoSize: number; snapshotUUID: string; snapshotSize: number; snapshotUrl: string; snapshotWidth: number; snapshotHeight: number; }; export declare type VideoMsgFullParams = { videoFullPath: string; videoType: string; duration: number; snapshotFullPath: string; }; export declare type CustomMsgParams = { data: string; extension: string; description: string; }; export declare type QuoteMsgParams = { text: string; message: string; }; export declare type AdvancedQuoteMsgParams = { text: string; message: string; messageEntityList?: MessageEntity[]; }; export declare type AdvancedMsgParams = { text: string; messageEntityList?: MessageEntity[]; }; export declare type SetPrvParams = { conversationID: string; isPrivate: boolean; }; export declare type SplitConversationParams = { offset: number; count: number; }; export declare type SetDraftParams = { conversationID: string; draftText: string; }; export declare type PinCveParams = { conversationID: string; isPinned: boolean; }; export declare type IsRecvParams = { conversationIDList: string[]; opt: OptType; }; export declare type UpdateMemberNameParams = { groupID: string; userID: string; GroupMemberNickname: string; }; export declare type GroupBaseInfo = Partial>; export declare type JoinGroupParams = { groupID: string; reqMsg: string; joinSource: GroupJoinSource; }; export declare type SearchGroupParams = { keywordList: string[]; isSearchGroupID: boolean; isSearchGroupName: boolean; }; export declare type ChangeGroupMuteParams = { groupID: string; isMute: boolean; }; export declare type ChangeGroupMemberMuteParams = { groupID: string; userID: string; mutedSeconds: number; }; export declare type TransferGroupParams = { groupID: string; newOwnerUserID: string; }; export declare type AccessGroupParams = { groupID: string; fromUserID: string; handleMsg: string; }; export declare type SetGroupRoleParams = { groupID: string; userID: string; roleLevel: GroupRole; }; export declare type SetGroupVerificationParams = { verification: GroupVerificationType; groupID: string; }; export declare type RtcActionParams = { opUserID: string; invitation: RtcInvite; }; export declare type setPrvParams = { conversationID: string; isPrivate: boolean; }; export declare type LoginParams = { userID: string; token: string; }; export declare type AtMsgParams = { text: string; atUserIDList: string[]; atUsersInfo?: AtUsersInfoItem[]; message?: string; }; export declare type SoundMsgParams = { uuid: string; soundPath: string; sourceUrl: string; dataSize: number; duration: number; }; export declare type FileMsgParams = { filePath: string; fileName: string; uuid: string; sourceUrl: string; fileSize: number; }; export declare type FileMsgFullParams = { fileFullPath: string; fileName: string; }; export declare type SouondMsgFullParams = { soundPath: string; duration: number; }; export declare type MergerMsgParams = { messageList: MessageItem[]; title: string; summaryList: string[]; }; export declare type FaceMessageParams = { index: number; data: string; }; export declare type LocationMsgParams = { description: string; longitude: number; latitude: number; }; export declare type GroupMsgReadParams = { groupID: string; msgIDList: string[]; }; export declare type InsertSingleMsgParams = { message: string; recvID: string; sendID: string; }; export declare type InsertGroupMsgParams = { message: string; groupID: string; sendID: string; }; export declare type TypingUpdateParams = { recvID: string; msgTip: string; }; export declare type SplitParams = { offset: number; count: number; }; export declare type GetOneCveParams = { sourceID: string; sessionType: number; }; export declare type isRecvParams = { conversationIDList: string[]; opt: OptType; }; export declare type SearchLocalParams = { conversationID: string; keywordList: string[]; keywordListMatchType?: number; senderUserIDList?: string[]; messageTypeList?: MessageType[]; searchTimePosition?: number; searchTimePeriod?: number; pageIndex?: number; count?: number; }; export declare type AddFriendParams = { toUserID: string; reqMsg: string; }; export declare type SearchFriendParams = { keywordList: string[]; isSearchUserID: boolean; isSearchNickname: boolean; isSearchRemark: boolean; }; export declare type RemarkFriendParams = { toUserID: string; remark: string; }; export declare type AccessFriendParams = { toUserID: string; handleMsg: string; }; export declare type InviteGroupParams = { groupID: string; reason: string; userIDList: string[]; }; export declare type GetGroupMemberByTimeParams = { groupID: string; filterUserIDList: string[]; offset: number; count: number; joinTimeBegin: number; joinTimeEnd: number; }; export declare type SearchGroupMemberParams = { groupID: string; keywordList: string[]; isSearchUserID: boolean; isSearchMemberNickname: boolean; offset: number; count: number; }; export declare type SetMemberAuthParams = { rule: AllowType; groupID: string; }; export declare type CreateGroupParams = { groupBaseInfo: GroupInitInfo; memberList: Member[]; }; export declare type GroupInfoParams = { groupID: string; groupInfo: GroupBaseInfo; }; export declare type MemberNameParams = { groupID: string; userID: string; GroupMemberNickname: string; }; export declare type GetSubDepParams = { departmentID: string; offset: number; count: number; }; export declare type FindMessageParams = { conversationID: string; clientMsgIDList: string[]; }; export declare type PartialUserItem = Partial> & { userID: string; };