import React from 'react';
import { AuthMethod } from './types';
import { EmailSettings, PhoneSettings, DefaultSettings, PasswordRulesSettings } from './components';
import './SettingsDrawer.less';
interface SettingsDrawerProps {
    open: boolean;
    method: AuthMethod | null;
    onClose: () => void;
    onSave?: (settings: EmailSettings | PhoneSettings | DefaultSettings | PasswordRulesSettings) => void;
    /**
     * 模式：
     * - 'auth-methods': 来自AuthMethods组件，显示所有设置包括启用/禁用
     * - 'setting-list': 来自SettingList组件，不显示默认的启用/禁用设置
     */
    mode?: 'auth-methods' | 'setting-list';
    /**
     * 初始设置值
     */
    initialSettings?: EmailSettings | PhoneSettings | DefaultSettings | PasswordRulesSettings;
}
declare const SettingsDrawer: React.FC<SettingsDrawerProps>;
export default SettingsDrawer;
