import * as React from 'react'; import { ButtonProps } from '../../button'; import { ModalProps, RenderProps } from '../Modal'; export interface ConfirmModalProps extends Omit { readonly children?: RenderProps | React.ReactNode; readonly options: { confirmButton: { content: string; props?: ButtonProps; }; cancelButton: { content: string; props?: ButtonProps; }; }; readonly title: React.ReactNode | string; readonly body?: React.ReactNode; readonly onConfirm?: () => void | Promise; readonly onCancel?: () => void | Promise; } export declare const ConfirmModal: React.FC; export default ConfirmModal;