import { PopoverProps } from '../../popover'; import { ButtonProps } from '../../button'; export interface PopconfirmProps extends PopoverProps { cancelText?: string; okText?: string; showCancel?: boolean; cancelButtonProps?: ButtonProps; okButtonProps?: ButtonProps; onCancel?: (() => Promise) | (() => void); onConfirm?: (() => Promise) | (() => void); } export type PopconfirmEmit = { (e: 'update:open', ev: boolean): void; };