import React from 'react';
import type { LocaleProps, ThemeProps } from 'jamis-core';
import type { ModalProps, SizeUnit } from '../types';
interface ModalState {
}
export declare const getContainerWithFullscreen: (container?: () => HTMLElement | HTMLElement | null) => () => HTMLElement | null;
export declare class Modal extends React.Component<ModalProps, ModalState> {
    static defaultProps: Partial<ModalProps>;
    isRootClosed: boolean;
    modalDom: HTMLElement;
    static Header: ({ className, showCloseButton, onClose, children, forwardedRef, ...rest }: ThemeProps & LocaleProps & {
        className?: string;
        showCloseButton?: boolean;
        onClose?: () => void;
        children?: React.ReactNode;
        forwardedRef?: any;
    } & React.HTMLAttributes<HTMLDivElement>) => JSX.Element;
    static Title: ({ className, children, forwardedRef, ...rest }: {
        className?: string;
        children?: React.ReactNode;
        forwardedRef?: any;
    } & React.HTMLAttributes<HTMLDivElement>) => JSX.Element;
    static Body: ({ className, children, forwardedRef, size, ...rest }: ThemeProps & {
        className?: string;
        children?: React.ReactNode;
        forwardedRef?: any;
        size?: SizeUnit;
    } & React.HTMLAttributes<HTMLDivElement>) => JSX.Element;
    static Footer: ({ className, children, forwardedRef, ...rest }: ThemeProps & {
        className?: string;
        children?: React.ReactNode;
        forwardedRef?: any;
    } & React.HTMLAttributes<HTMLDivElement>) => JSX.Element;
    componentDidMount(): void;
    componentWillUnmount(): void;
    handleEnter: () => void;
    handleEntered: () => void | undefined;
    handleExited: () => void;
    modalRef: (ref: any) => void;
    handleRootClickCapture(e: MouseEvent): void;
    handleRootClick(e: MouseEvent): void;
    render(): JSX.Element;
}
declare const _default: typeof Modal & {
    Header: typeof Modal.Header;
    Title: typeof Modal.Title;
    Body: typeof Modal.Body;
    Footer: typeof Modal.Footer;
};
export default _default;
