import { FC, ReactElement } from "react";
import L3ComponentProps from "../../types/L3ComponentProps";
interface ModalProps extends L3ComponentProps {
    /**
     * Id of the modal, used internally and for accessibility
     */
    id: string;
    /**
     * Show/hide the Dialog
     */
    show: boolean;
    /**
     * Title for the modal, mandatory when ModalHeader isn't provided in children
     */
    title?: string;
    /**
     * Description for the modal title
     */
    description?: string;
    /**
     * Called when the modal is closed (by close button/click outside/esc key)
     */
    onClose: () => void;
    /**
     *  Makes the dialog behave like a modal (preventing closing on click outside of
     *  ESC key)..
     */
    alertDialog?: boolean;
    /**
     *  Used for the fromOrigin animation
     */
    triggerElement?: Element;
    /**
     *  Hide the modal close button
     */
    hideCloseButton?: boolean;
    /**
     *  Aria label for the close button
     */
    closeButtonAriaLabel?: string;
    /**
     *  classNames for specific parts of the dialog
     */
    classNames?: {
        container: string;
        overlay: string;
        modal: string;
        header: string;
    };
    /**
     *  Dialog content
     */
    children?: ReactElement | ReactElement[];
    backgroundColor?: "light" | "dark";
    modalWidth?: string;
    modalHeight?: string;
    className?: string;
}
declare const Modal: FC<ModalProps> & {
    backgroundColor?: "light" | "dark";
    modalWidth?: string;
    modalHeight?: string;
};
export default Modal;
