import * as React from 'react'; import type { SemanticClassName } from "../_util/classNameUtils"; import type { RenderFunction } from "../_util/getRenderPropValue"; import type { ButtonProps, ButtonType } from '../button'; import type { PopoverProps } from '../popover'; import type { AbstractTooltipProps, TooltipRef } from '../tooltip'; export interface PopconfirmProps extends Omit { className?: SemanticClassName<{ popover?: PopoverProps['className']; icon?: string; title?: string; description?: string; actions?: string; }, { open?: boolean; }>; title: React.ReactNode | RenderFunction; description?: React.ReactNode | RenderFunction; disabled?: boolean; onConfirm?: (e?: React.MouseEvent) => void; onCancel?: (e?: React.MouseEvent) => void; okText?: React.ReactNode; okType?: ButtonType; cancelText?: React.ReactNode; okButtonProps?: ButtonProps; cancelButtonProps?: ButtonProps; showCancel?: boolean; icon?: React.ReactNode; onPopupClick?: (e: React.MouseEvent) => void; } declare const Popconfirm: React.ForwardRefExoticComponent>; export default Popconfirm;