import React from 'react';
import './index.less';
/**
 * loginAndRegister组件的属性接口
 */
export interface loginAndRegisterProps {
    /** Logo相关配置 */
    showLogo?: boolean;
    logo?: string;
    logoPosition?: 'left' | 'center' | 'right';
    logoSize?: {
        width?: number;
        height?: number;
    };
    /** 标题相关配置 */
    title?: string;
    showTitle?: boolean;
    titleAlign?: 'left' | 'center' | 'right';
    /** 副标题相关配置 */
    subtitle?: string;
    showSubtitle?: boolean;
    subtitleAlign?: 'left' | 'center' | 'right';
    /** 登录方式配置 */
    loginMethods?: ('email' | 'google' | 'facebook' | 'apple')[];
    defaultLoginMethod?: 'email' | 'google' | 'facebook' | 'apple';
    /** 表单配置 */
    emailLabel?: string;
    passwordLabel?: string;
    emailPlaceholder?: string;
    passwordPlaceholder?: string;
    emailRules?: any[];
    buttonText?: string;
    rememberMeText?: string;
    forgotPasswordText?: string;
    showRememberMe?: boolean;
    showForgotPassword?: boolean;
    /** 社交登录配置 */
    socialLoginTexts?: {
        google?: string;
        facebook?: string;
        apple?: string;
    };
    /** 底部配置 */
    showFooter?: boolean;
    showSignUp?: boolean;
    signUpText?: string;
    signUpLink?: string;
    signUpPosition?: 'left' | 'center' | 'right';
    otherLinks?: Array<{
        text: string;
        url: string;
    }>;
    otherLinksPosition?: 'left' | 'center' | 'right';
    /** 登录/注册切换配置 */
    showTabs?: boolean;
    loginTabText?: string;
    registerTabText?: string;
    /** 注册表单配置 */
    registerEmailPlaceholder?: string;
    registerPasswordPlaceholder?: string;
    registerButtonText?: string;
    /** 事件回调 */
    onLogin?: (values: {
        email: string;
        loginMethod: string;
    }) => void;
    onSocialLogin?: (type: 'google' | 'facebook' | 'apple') => void;
    onSignUp?: () => void;
    onRegister?: (values: {
        email: string;
        password: string;
    }) => void;
    /** 新增背景图片属性 */
    backgroundImage?: string;
}
/**
 * Saas登录组件
 * @param props - 组件属性
 * @returns React组件
 */
declare const loginAndRegister: React.FC<loginAndRegisterProps>;
export default loginAndRegister;
