import React, { Component, ReactChild } from "react";
declare class Modal extends Component<{
    visible?: boolean;
    title?: ReactChild;
    width?: number;
    zIndex?: number;
    onClose: Function;
    ariaLabelCloseButton?: string;
}, {}> {
    static defaultProps: {
        visible: boolean;
        title: boolean;
        width: number;
        zIndex: number;
        onClose: () => void;
        ariaLabelCloseButton: string;
    };
    private TAB_KEY;
    private FOCUSABLE;
    private modalRef;
    private focusableNodes;
    private firstFocusableNode;
    private lastFocusableNode;
    constructor(props: any);
    componentDidMount(): void;
    componentWillUnmount(): void;
    componentDidUpdate(): void;
    private setupFocusTrap;
    private keyboardListener;
    private clickAnywhereToDismiss;
    private close;
    render(): React.ReactPortal;
}
export { Modal };
