import * as React from 'react';
import { ButtonProps } from '../button';
import { PopoverProps } from '../popover';
import { NotificationContainerProps } from '../notification';
import './style/popconfirm.css';
import { TooltipRef } from 'rc-tooltip/lib/Tooltip';
export interface PopconfirmProps extends PopoverProps, Omit<NotificationContainerProps, 'footer'> {
    /** 失效状态 */
    disabled?: boolean;
    /** 确认回调 */
    onConfirm?: (e?: React.MouseEvent) => void;
    /** 取消回调 */
    onCancel?: (e?: React.MouseEvent) => void;
    /** 确认文案 */
    okText?: React.ReactNode;
    /** 取消文案 */
    cancelText?: React.ReactNode;
    /** 确认属性 */
    okButtonProps?: ButtonProps;
    /** 取消属性 */
    cancelButtonProps?: ButtonProps;
    /** 显示隐藏回调 */
    onVisibleChange?: (visible: boolean, e?: React.MouseEvent) => void;
    /** 底部模块 */
    footer?: (onCancel: (e: React.MouseEvent) => void) => React.ReactNode;
}
export declare const Popconfirm: React.ForwardRefExoticComponent<PopconfirmProps & React.RefAttributes<TooltipRef>>;
export default Popconfirm;
declare const PopconfirmMemo: React.MemoExoticComponent<React.ForwardRefExoticComponent<PopconfirmProps & React.RefAttributes<TooltipRef>>>;
export { PopconfirmMemo };
