import React from 'react';
interface Props {
    children?: React.ReactChild | React.ReactChild[];
    onClose: () => void;
    footer?: JSX.Element | string;
    header?: JSX.Element | string;
    hideHeader?: boolean;
    width?: string;
    onMaskClick?: () => void;
}
interface BodyProps {
    hasFooter: boolean;
    noBorder?: boolean;
}
export declare const ModalBody: import("styled-components").StyledComponent<"div", import("@monstrosity/types/theme").Theme, BodyProps, never>;
export declare class Modal extends React.PureComponent<Props> {
    render(): JSX.Element;
    private onMaskClick;
    private getHeader;
}
export {};
