import { HTMLAttributes } from "react";
interface ModalState {
    onClose?: () => void;
}
export declare const useModalContext: () => ModalState;
export interface ModalProps extends HTMLAttributes<HTMLDivElement> {
    /** Determine the max-width of the modal. The modal width grows with the size of the screen unless a number in pixels is specified. */
    width?: "small" | "normal" | "large" | number;
    /** If true, the Modal is open. */
    open: boolean;
    /** Callback fired when the component requests to be closed. */
    onClose?: () => void;
    /** Modal children, usually the included sub-components. */
    children: JSX.Element | Array<JSX.Element>;
    /** If true, the backdrop is displayed when the Modal is open. */
    backdrop?: boolean;
}
declare const Modal: ({ width: size, backdrop, open, onClose, className, style, children, ...other }: ModalProps) => JSX.Element;
export default Modal;
