import type { GetUserInfoWithCacheParams } from '../types/params'; import OpenIMSDK from '.'; import type { MessageReceiveOptType } from '../types/enum'; import type { FullUserItemWithCache, SelfUserInfo, UserOnlineState, WsResponse } from '../types/entity'; export declare function setupUser(openIMSDK: OpenIMSDK): { getSelfUserInfo: (operationID?: string) => Promise>; setSelfInfo: (params: Partial, operationID?: string) => Promise>; getUsersInfoWithCache: (params: GetUserInfoWithCacheParams, operationID?: string) => Promise>; subscribeUsersStatus: (params: string[], operationID?: string) => Promise>; unsubscribeUsersStatus: (params: string[], operationID?: string) => Promise>; getSubscribeUsersStatus: (operationID?: string) => Promise>; setAppBackgroundStatus: (params: boolean, operationID?: string) => Promise>; networkStatusChanged: (operationID?: string) => Promise>; setGlobalRecvMessageOpt: (params: MessageReceiveOptType, operationID?: string) => Promise>; }; export interface UserApi { getSelfUserInfo: (operationID?: string) => Promise>; setSelfInfo: (params: Partial, operationID?: string) => Promise>; getUsersInfoWithCache: (params: GetUserInfoWithCacheParams, operationID?: string) => Promise>; subscribeUsersStatus: (params: string[], operationID?: string) => Promise>; unsubscribeUsersStatus: (params: string[], operationID?: string) => Promise>; getSubscribeUsersStatus: (operationID?: string) => Promise>; setAppBackgroundStatus: (params: boolean, operationID?: string) => Promise>; networkStatusChanged: (operationID?: string) => Promise>; setGlobalRecvMessageOpt: (params: MessageReceiveOptType, operationID?: string) => Promise>; }