import { LoginMode } from '@oinone/kunlun-vue-ui-common';
import { BaseLoginWidget } from './BaseLoginWidget';
export declare class LoginWidget extends BaseLoginWidget {
    protected moduleName: string;
    protected handleRegister(): void;
    /**
     *
     * @param result 后端接口返回的数据
     *
     * 用来处理「登录」接口调用后的逻辑，可以修改后端返回的错误文案
     *
     * 只有return true，才会执行默认的跳转事件
     */
    afterClick(result?: any): Promise<any | null | undefined>;
    protected year: string;
    protected countryList: any[];
    protected selectCountry: string;
    protected loginMode: LoginMode;
    protected get loginModeTitle(): string;
    protected get isAccount(): boolean;
    protected get isCode(): boolean;
    protected get isEmail(): boolean;
    private buttonContent;
    protected canClick: boolean;
    protected graphCode: string;
    initialize(config?: Record<string, unknown>): this;
    protected validation: {
        status: string;
        message: string;
    };
    protected onResetPicCode(): Promise<void>;
    protected watchSwitch(mode: any): Promise<void>;
    protected getPicCode(message?: string): Promise<void>;
    protected getCode(): Promise<void>;
    protected getPhoneCode(): Promise<false | undefined>;
    protected getEmailCode(): Promise<false | undefined>;
    protected countDown(): void;
    protected picCode(): Promise<string>;
    protected queryCountryList(): Promise<any[]>;
    protected getUserMutation(mutation: string, data: any): Promise<any>;
    protected constructModel(dict: any): string;
    protected searchMethod(keyword: any, option: any): boolean;
    protected handleCountryChange(val: any): void;
    login(): Promise<void>;
    /**
     * 登录接口调用后调
     * @param result { errorField, errorMsg, redirect, broken, errorCode }
     * @param isByLogin
     * @protected
     */
    protected executeResult(result: any, isByLogin?: boolean): Promise<void>;
    watchError(): void;
    protected setLoginMode(mode: LoginMode): void;
    protected gotoForget(): void;
}
/**
 * @deprecated please using LoginWidget
 */
export declare const LoginPageWidget: typeof LoginWidget;
