import { ReactNode, MouseEvent, PropsWithChildren } from 'react'; import { AlertType, SvgFC } from '@befe/brick-core'; import { PopoverProps } from './popover'; type PropsFromPopover = Omit; export interface PopoverConfirmProps extends PropsFromPopover { /** * 自定义 class */ className?: string; /** * type */ type?: AlertType | null; /** * 自定义 icon */ icon?: SvgFC; /** * @deprecated use content instead * 提示内容 */ message?: ReactNode; /** * 点击确认回调 */ onConfirm?: (e: MouseEvent) => void; /** * 点击取消回调 */ onCancel?: (e: MouseEvent) => void; /** * 自定义确认按钮文本 */ confirmLabel?: string; /** * 自定义取消按钮文本 */ cancelLabel?: string; } export declare function PopoverConfirm(props: PropsWithChildren): import("react/jsx-runtime").JSX.Element; export declare namespace PopoverConfirm { var displayName: string; } export {};