import { MajorConfig } from '@oinone/kunlun-engine';
import { Matched, Router } from '@oinone/kunlun-router';
import { LoginConfig, LoginData, RuntimeLanguage } from '@oinone/kunlun-vue-ui-common';
import { BaseI18nRouterWidget } from '../../basic';
export declare class BaseLoginWidget extends BaseI18nRouterWidget {
    protected matched: Matched | undefined;
    protected router: Router;
    errorMessages: Record<string, string>;
    protected getLoginConfig(): LoginConfig;
    protected authForm: {
        login: string;
        password: string;
        phone: string;
        verificationCode: string;
        picCode: string;
        email: string;
        emailCode: string;
    };
    protected error: LoginData;
    protected clearErrorMessage(): void;
    protected get systemMajorConfig(): MajorConfig;
    protected get loginLabel(): string;
    protected get forgetPassword(): boolean;
    protected get forgetPasswordLabel(): string;
    protected get register(): boolean;
    protected get codeLogin(): boolean;
    protected get accountLoginLabel(): string;
    protected get codeLoginLabel(): string;
    protected get registerLabel(): string;
    protected get accountPlaceholder(): string;
    protected get passwordPlaceholder(): string;
    protected get phonePlaceholder(): string;
    protected get codePlaceholder(): string;
    protected get email(): boolean;
    protected get emailLoginLabel(): string;
    protected get emailPlaceholder(): string;
    protected get emailCodePlaceholder(): string;
    protected get currentLoginTheme(): import("@oinone/kunlun-engine").OioLoginThemeConfig | undefined;
    protected get copyrightYear(): string;
    protected get enableI18n(): boolean | undefined;
    protected languages: RuntimeLanguage[];
    protected currentLanguage: RuntimeLanguage;
    protected getCurrentLanguage(): Promise<string>;
    protected getCurrentLanguageIsoCode(): Promise<string | null>;
    protected setCurrentLanguage(language: RuntimeLanguage): Promise<void>;
    protected initCurrentLanguage(code: string): void;
    protected queryLanguageSetting(langCode: any): Promise<Record<string, unknown>>;
    protected initLanguages(): Promise<void>;
    protected queryLanguageList(): Promise<RuntimeLanguage[]>;
    protected onLanguageChange(value: RuntimeLanguage): void;
    /**
     * 用来处理点击「登录」之前的事件，可以做二次确定或者其他的逻辑
     * 只有return true，才会继续往下执行
     */
    beforeClick(): Promise<Boolean | null | undefined>;
    protected beforeCreated(): void;
    protected beforeMount(): Promise<void>;
}
