import { UserAuthModel, UserLoginModel, UserCorpsModel, UserNotifyModel, UserProfileModel } from './current-user.model'; /** 用來存放當前登入者的資訊 */ export declare class CurrentUser { /** 登入後轉址 Url */ static ReturnUrl: string; /** storage key 前綴 */ private static readonly KEY_PREFIX; /** 使用者公司資訊的 storage key */ static readonly KEY_USER_CORPS: string; /** 使用者資訊的 storage key */ static readonly KEY_USER_INFO: string; /** 登入設定的 storage key */ private static readonly KEY_LOGIN_SETTINGS; /** 使用者資訊 */ private static _profile; /** 授權相關資訊,token 只存在 memory */ private static _authInfo; /** 登入者的公司資訊 */ private static _corpsInfo; /** 登入偏好設定 */ private static _loginInfo; /** 使用者通用連結裡的內容 */ private static _notifyInfo; /** 使用者資訊 */ static get Profile(): UserProfileModel; /** 授權資訊 */ static get Auth(): UserAuthModel; /** 登入者的公司資訊 */ static get Corps(): UserCorpsModel; /** 登入偏好設定 */ static get LoginPreferences(): UserLoginModel; /** 使用者通知中心導頁參數 */ static get Notify(): UserNotifyModel; /** 是否已登入 */ static get IsLoggedIn(): boolean; /** 使用者資訊 */ static set Profile(info: UserProfileModel); /** 授權資訊 */ static set Auth(auth: UserAuthModel); /** 登入者的公司資訊 */ static set Corps(corps: UserCorpsModel); /** 登入偏好設定 */ static set LoginPreferences(pref: UserLoginModel); /** 使用者通知中心導頁參數 */ static set Notify(notify: UserNotifyModel); /** 清除所有設定 */ static clear(): void; /** 使用者資訊 */ private static _setProfile; /** 授權相關資訊 */ private static _setAuthInfo; /** 登入者的公司資訊 */ private static _setCorps; /** 登入偏好設定 */ private static _setLoginPreferences; /** 使用者通用連結裡的內容 */ private static _setNotify; /** 清除所有設定 */ private static _clear; /** 取得 sessionStorage 中的物件 */ private static _sessionStorageGet; /** 設定 sessionStorage 中的物件 */ private static _sessionStorageSet; /** 移除 sessionStorage 中的物件 */ private static _sessionStorageRemove; /** 取得 localStorage 中的物件 */ private static _localStorageGet; /** 設定 localStorage 中的物件 */ private static _localStorageSet; /** 移除 localStorage 中的物件 */ private static _localStorageRemove; }