import { ComponentType, ReactElement } from 'react';
import { ThemeColor } from '../../types';
export interface ConfirmModalProps {
    onClose: (result: boolean) => void;
    message?: string | ReactElement;
    title?: string | ReactElement;
    confirmText?: string;
    cancelText?: string;
    confirmColor?: ThemeColor;
    cancelColor?: ThemeColor;
    className?: string;
    buttonsComponent?: ComponentType<{
        onClose: (result: boolean) => void;
    }>;
    size?: string;
}
export declare const ConfirmModal: {
    ({ onClose, message, title, confirmText, cancelText, confirmColor, cancelColor, className, buttonsComponent, size }: ConfirmModalProps): JSX.Element;
    defaultProps: {
        message: string;
        title: string;
        confirmText: string;
        cancelText: string;
        confirmColor: string;
        cancelColor: string;
        className: string;
        buttonsComponent: null;
        size: null;
    };
};
export declare const confirm: (props: Omit<ConfirmModalProps, 'onClose'>) => Promise<unknown>;
//# sourceMappingURL=ConfirmModal.d.ts.map