/// <reference types="react" />
import { PageSettingValue } from './PageSetting/types';
import { AuthenticationMethodsValue } from './AuthenticationMethods/types';
import { CollectInfoValue } from './CollectInfo/types';
export declare type TabKey = 'pageSetting' | 'authenticationMethods' | 'collectInfo';
export interface ChannelAuthSettingValue {
    pageSetting?: PageSettingValue;
    authenticationMethods?: AuthenticationMethodsValue;
    collectInfo?: CollectInfoValue;
}
export interface ChannelAuthSettingSaveParams {
    value: ChannelAuthSettingValue;
    currentTab: TabKey;
}
export interface ChannelAuthSettingProps {
    className?: string;
    style?: React.CSSProperties;
    value?: ChannelAuthSettingValue;
    /**
     * 默认激活的Tab
     */
    defaultActiveTab?: TabKey;
    /**
     * 可见的Tab列表，如果不传则显示所有Tab
     * @example ['pageSetting', 'authenticationMethods'] // 只显示页面设置和身份验证方法
     */
    visibleTabs?: TabKey[];
    /**
     * 是否显示注册页面配置
     */
    showRegisterPage?: boolean;
    /**
     * 保存按钮回调
     */
    onSave?: (params: ChannelAuthSettingSaveParams) => void;
}
