import React from 'react';
import { ModalProps, ButtonProps } from 'antd';
import { PisellContextType } from '../pisell-config-provider/context';
export interface PisellModalProps extends ModalProps {
    /** 平台 */
    platform?: PisellContextType['platform'];
    /**
     * 弹窗大小
     * large 800
     * middle 600
     * small 400
     * */
    size?: 'large' | 'middle' | 'small';
    /** 头部分割线是否展示 */
    headerDivider?: boolean;
    /** 底部分割线是否展示 */
    footerDivider?: boolean;
    /** 删除按钮props */
    deleteButtonProps?: ButtonProps | null;
    /** 删除事件 */
    onDelete?: () => void;
    /** 移动端展示时弹窗高度 默认null 在移动端全屏 */
    mobileModalHeight?: string | number;
    /** footer中额外操作按钮 */
    actions?: React.ReactNode;
    /** 取消按钮是否展示 */
    cancelVisible?: boolean;
    /** 确认按钮是否展示 */
    okVisible?: boolean;
    /** 是否展示header */
    header?: boolean | null;
    /**
     * 透传至底层 Dialog 遮罩（antd Modal 运行时支持，但 ModalProps 类型未声明）
     */
    maskProps?: React.HTMLAttributes<HTMLDivElement>;
}
declare const PisellModal: {
    (props: PisellModalProps): React.JSX.Element;
    confirm: (props: import("./components/functions").PisellModalFuncProps) => {
        destroy: () => void;
        update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
    };
    info: (props: import("./components/functions").PisellModalFuncProps) => {
        destroy: () => void;
        update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
    };
    error: (props: import("./components/functions").PisellModalFuncProps) => {
        destroy: () => void;
        update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
    };
    warn: (props: import("./components/functions").PisellModalFuncProps) => any;
    warning: (props: import("./components/functions").PisellModalFuncProps) => {
        destroy: () => void;
        update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
    };
    success: (props: import("./components/functions").PisellModalFuncProps) => {
        destroy: () => void;
        update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
    };
    Information: (props: import("./components/Information").InformationProps) => React.JSX.Element;
};
export default PisellModal;
