export default class User { username: string; password: string; userId: string; orgId: string; orgName: string; accessToken: string; tplusToken: string; authorization: string; sid: string; channel: { targetURL: string; throughProxy: boolean; }; orgList: Array<{ orgId: string; orgName: string; orgFullName: string; }>; proxyserver: string; static authentication(username: string, password: string): Promise; static authentication2(username: string, password: string): Promise; static updatePwd(oldPassword: string, newPassword: string): Promise; initChannel(orgId: string): Promise; executeFEGatewayStrategy(): Promise; /** * 执行代理灰度策略 * @param {*} data 配置信息 */ executeProxyGrayStrategy(data: any): Promise; /** * 执行云代理灰度策略 * @param {*} data 配置信息 */ executeCloudproxyGrayStrategy(data: any): Promise; setChannel(targetURL: string): void; loginTplus(param: { clientName?: string; desc?: string; }): Promise; changeUserInfo(param: { orgName: string; orgId: string; targetURL: string; tplusToken: string; }): Promise; QRLogin({ userId, orgId }: { userId: any; orgId: any; }): Promise; static pwdEncrypt(password: any): any; constructor(obj?: object); fromJS(result: any): this; cache(): void; static restore(): any; static clear(): void; static clearLocalSession(): void; static logout(fn?: () => any, isdestroyApp?: boolean): Promise; static mobileLogout(isdestroyApp?: boolean): Promise; static posLogout(): Promise; static loginByAuthcode(authCode: string): Promise; static isLogined(): boolean; }