import { RuntimeConfigOptions } from '@oinone/kunlun-meta';
export interface LoginData {
    login?: string;
    password?: string;
    phone?: string;
    verificationCode?: string;
    picCode?: string;
    email?: string;
    emailCode?: string;
}
export declare enum LoginMode {
    ACCOUNT = "ACCOUNT",
    CODE = "CODE",
    EMAIL = "EMAIL"
}
/**
 * 登录页配置
 */
export interface LoginConfig extends RuntimeConfigOptions {
    /**
     * 登录按钮label
     */
    loginLabel?: string;
    /**
     * 是否显示忘记密码按钮
     */
    forgetPassword?: boolean;
    /**
     * 忘记密码按钮Label
     */
    forgetPasswordLabel?: string;
    /**
     * 是否显示注册按钮
     */
    register?: boolean;
    /**
     * 注册按钮Label
     */
    registerLabel?: string;
    /**
     * 是否显示验证码登录Tab
     */
    codeLogin?: boolean;
    /**
     * 账号登录Tab Label
     */
    accountLoginLabel?: string;
    /**
     * 验证码登录Tab Label
     */
    codeLoginLabel?: string;
    /**
     * 账号登录-账号输入框Placeholder
     */
    accountPlaceholder?: string;
    /**
     * 账号登录-密码输入框Placeholder
     */
    passwordPlaceholder?: string;
    /**
     * 验证码登录-手机号输入框Placeholder
     */
    phonePlaceholder?: string;
    /**
     * 验证码登录-验证码输入框Placeholder
     */
    codePlaceholder?: string;
    /**
     * 是否开启邮箱登录
     */
    email?: boolean;
    /**
     * 邮箱登录label
     */
    emailLoginLabel?: string;
    /**
     * 邮箱登录输入框占位
     */
    emailPlaceholder?: string;
    /**
     * 邮箱登录验证码输入框占位
     */
    emailCodePlaceholder?: string;
}
export declare const loginMessageHubName = "user_login_message_hub$";
export declare const LOGIN_LANGUAGE_STORAGE_KEY: string;
export declare const LOGIN_LANGUAGE_ISO_STORAGE_KEY: string;
export declare const defaultLoginPageSettings: {
    loginLabel: string;
    forgetPassword: boolean;
    forgetPasswordLabel: string;
    register: boolean;
    registerLabel: string;
    accountLoginLabel: string;
    accountPlaceholder: string;
    passwordPlaceholder: string;
    codeLogin: boolean;
    codeLoginLabel: string;
    phonePlaceholder: string;
    codePlaceholder: string;
    email: boolean;
    emailLoginLabel: string;
    emailPlaceholder: string;
    emailCodePlaceholder: string;
};
export declare const defaultLoginErrorMessages: Record<string, string>;
