import type { EventHandler } from 'react';
export default function ConfirmDialog({ onConfirm, onCancel, title, message, confirm, color, cancel, loading, }: {
    onConfirm: EventHandler<any>;
    onCancel: EventHandler<any>;
    title: string | React.ReactNode;
    message: string | React.ReactNode;
    confirm?: string | React.ReactNode;
    color?: string;
    cancel?: boolean | string | React.ReactNode;
    loading?: boolean;
}): import("react").JSX.Element;
