import { ButtonProps } from '../button';
import { PopupProps } from '../popup';
import { LNode } from '../../common.type';
export interface TypePopconfirmProps {
    cancelBtn?: string | ButtonProps | LNode;
    confirmBtn?: string | ButtonProps | LNode;
    content?: string | LNode;
    default?: string | LNode;
    destroyOnClose?: boolean;
    icon?: LNode;
    placement?: 'top' | 'left' | 'right' | 'bottom' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'left-top' | 'left-bottom' | 'right-top' | 'right-bottom';
    popupProps?: PopupProps;
    showArrow?: boolean;
    theme?: 'default' | 'warning' | 'danger';
    triggerElement?: string | LNode;
    visible?: boolean;
    defaultVisible?: boolean;
    onCancel?: (options: {
        e: MouseEvent;
    }) => void;
    onConfirm?: (options: {
        e: MouseEvent;
    }) => void;
    onVisibleChange?: (visible: boolean, context?: PopconfirmVisibleChangeContext) => void;
}
export interface PopconfirmVisibleChangeContext {
    trigger?: TriggerSource;
    e?: MouseEvent;
}
export declare type TriggerSource = 'cancel' | 'confirm' | 'document' | 'trigger-element-click';
