/// <reference types="react" />
import { PageSettingItemValue } from '../PageSettingItem/types';
export interface PageSettingValue {
    registerPage: PageSettingItemValue;
    loginPage: {
        sameAsRegister: boolean;
        settings?: PageSettingItemValue;
    };
}
export interface PageSettingProps {
    className?: string;
    style?: React.CSSProperties;
    value?: PageSettingValue;
    onChange?: (value: PageSettingValue) => void;
    /**
     * 是否显示注册页面配置
     * 某些渠道(如POS)不支持注册页面，此时不显示"Same as Register Page Settings"选项
     */
    showRegisterPage?: boolean;
    /**
     * 是否显示图片上传组件
     * 默认为true，设置为false时隐藏背景图片上传功能
     */
    showImageUpload?: boolean;
}
