import { IUserDataNormalizedClient, IUserDataNormalizedPublic, IUserProfile, IUserProfileBase } from "../bridge/define"; import { DeprecatedProperties } from "../bridge/define.server"; import { UserCenter } from "../includes/user-center"; import { UserPermissionDict } from "./user-permission-dict"; export declare class UserInstance implements IUserDataNormalizedPublic, DeprecatedProperties { private user; private _permissions; private uc; readonly token: string; readonly username: string; readonly email: string; readonly profile: IProfile; readonly id: string; readonly updatedAt: Date; readonly createdAt: Date; readonly roles: any; readonly emails: any; constructor(user: IUserDataNormalizedClient, uc: UserCenter); toJSON(): IUserDataNormalizedClient; /** @deprecated */ readonly userCenterLoginToken: string; /** @deprecated */ readonly _id: string; readonly permissions: UserPermissionDict; readonly hasLoggedIn: boolean; private hiddenProp(name, value); private normalProp(name, value); updateProfile(map: Partial): Promise; updatePermissionObject(permissions: UserPermissionDict): void; getDisplayName(): string; }