import { BloudStream, Participant } from '@hysc/bloud';
export default class BCUser {
    /**
    * @param userinfo 用户信息
     @param {string} avatar - 头像
     @param {number} jointime - 加入时间
     @param {string} nickname - 昵称
     @param {string} pos - 设备终端
     @param {string} userId - 用户id
    */
    userinfo: any;
    permission: any;
    stream: Map<string, BloudStream>;
    userId: string;
    params: any;
    customInfo: any;
    nickname: string;
    constructor(props: any);
    static toUser(user: Participant, type: number): BCUser;
}
