import { type ReactNode, type PropsWithChildren } from "react";
import type { PopperProps, ButtonProps, PaperProps, LinkProps } from "@mui/material";
export interface PopConfirmProps extends Omit<PopperProps, "open" | "title"> {
    open?: boolean;
    arrow?: boolean;
    timeout?: number;
    preventOverflow?: boolean;
    triggerProps?: Omit<LinkProps, "onClick">;
    rootProps?: PaperProps;
    disabled?: boolean;
    closeOnClickAway?: boolean;
    showConfirm?: boolean;
    confirmText?: ReactNode | ReactNode[];
    confirmProps?: Omit<ButtonProps, "onClick">;
    onConfirm?: (() => any) | (() => Promise<any>);
    showCancel?: boolean;
    cancelText?: ReactNode | ReactNode[];
    cancelProps?: Omit<ButtonProps, "onClick">;
    onCancel?: (() => any) | (() => Promise<any>);
    showTitle?: boolean;
    title?: ReactNode | ReactNode[];
    showIcon?: boolean;
    icon?: ReactNode;
    extraContent?: ReactNode | ReactNode[];
    width?: number;
    maxWidth?: number;
}
export declare const PopConfirm: import("react").ForwardRefExoticComponent<Omit<PropsWithChildren<PopConfirmProps>, "ref"> & import("react").RefAttributes<any>>;
