import { HTMLAttributes, ReactNode } from 'react';

export interface ModalProps {
    title?: string;
    bodyText?: string;
    children?: ReactNode;
    useOk?: boolean;
    useCancel?: boolean;
    okText?: string;
    cancelText?: string;
    okNode?: ReactNode;
    cancelNode?: ReactNode;
    onOk?: () => void;
    onCancel?: () => void;
    portal?: string;
}
declare const Modal: ({ title, bodyText, children, useOk, useCancel, okText, cancelText, okNode, cancelNode, onOk, onCancel, portal, ...rest }: ModalProps & HTMLAttributes<HTMLDivElement>) => import('react').ReactPortal;
export default Modal;
