import { ChatUserInfo } from './common/ChatUserInfo'; import { Native } from './__internal__/Native'; export declare class ChatUserInfoManager extends Native { private static TAG; constructor(); /** * Modifies the user attributes of the current user. * * @param params The params set. * - [nickName] The user name. * - [avatarUrl] The user head image. * - [mail] The user email address. * - [phone] The user mobile phone number. * - [gender] The user sex. * - [sign] The user signature. * - [birth] The user birthday. * - [ext] The user custom define attribute. * * @throws A description of the exception. See {@link ChatError}. */ updateOwnUserInfo(params: { nickName?: string; avatarUrl?: string; mail?: string; phone?: string; gender?: number; sign?: string; birth?: string; ext?: string; }): Promise; /** * Gets user attributes of the specified users. * * @param userIds The username array. * @returns A map that contains key-value pairs where the key is the user ID and the value is user attributes,see {@link ChatUserInfo} * * @throws A description of the exception. See {@link ChatError}. */ fetchUserInfoById(userIds: Array): Promise>; /** * Gets the current user's attributes from the server. * * @returns The user properties that are obtained. See {@link ChatUserInfo}. * * @throws A description of the exception. See {@link ChatError}. */ fetchOwnInfo(): Promise; }