import { ReactElement } from "react";
import { ModalHeaderProps } from "./modalHeader";
import { ModalBodyProps } from "./modalBody";
export interface Props {
    /**
     *  Control modal’s visibility
     */
    showModal: boolean;
    /**
     *  Modal content
     */
    children: ReactElement<ModalBodyProps> | [ReactElement<ModalHeaderProps>, ReactElement<ModalBodyProps>];
    /**
     *  Callback function for onHide
     */
    onHide?: () => void;
    /**
     *  Overwrite the Modal styles by passing space separated class names
     */
    className?: string;
    /**
     *  Sets the modal content to right-to-left
     */
    rtl?: boolean;
    /**
     *  Hide the modal on esc key press
     * @default true
     */
    escKeyClose?: boolean;
    /**
     *  Show/hide the close button within the modal
     * @default true
     */
    closeButton?: boolean;
}
export declare function Modal({ className, rtl, children, showModal, escKeyClose, closeButton, onHide }: Props): ReactElement | null;
export declare namespace Modal {
    var Header: ({ children, className }: ModalHeaderProps) => ReactElement | null;
    var Body: ({ className, scrollable, children }: ModalBodyProps) => ReactElement | null;
}
