import * as React from 'react';
import { IDialogPropTypes } from 'rc-dialog/lib/IDialogPropTypes';
import { ButtonProps } from '@/components/button';
import './style/dialog.css';
export interface DialogProps extends Omit<IDialogPropTypes, 'prefixCls' | 'onClose' | 'footer'> {
    /** 垂直居中展示 */
    centered?: boolean;
    /** 确认按钮文字 */
    okText?: React.ReactNode;
    /** 取消按钮文字 */
    cancelText?: React.ReactNode;
    /** 点击确定回调 */
    onOk?: (e: React.SyntheticEvent, value?: string, setLoading?: (loading: boolean) => void) => void;
    /** 点击遮罩层或右上角叉或取消按钮的回调 */
    onCancel?: (e: React.SyntheticEvent, onClose?: (e?: React.SyntheticEvent) => void) => void;
    /** ok 按钮 props */
    okButtonProps?: ButtonProps;
    /** cancel 按钮 props */
    cancelButtonProps?: ButtonProps;
    /** 底部内容，当不需要默认底部按钮时，可以设为 footer={null} */
    footer?: (onCancel?: (e: React.SyntheticEvent, onClose?: () => void) => void) => React.ReactNode;
}
declare const Dialog: React.FC<DialogProps>;
export default Dialog;
declare const DialogMemo: React.NamedExoticComponent<DialogProps>;
export { DialogMemo };
