import * as React from 'react';
interface IProps {
    active: boolean;
    type?: string;
    onClose: (boolean: boolean) => void;
    onConfirm?: any;
    onConfirmText?: string;
    selector: string;
    css?: string;
    asyncClose?: (e?: Function) => void;
    onConfirmType?: string;
}
export default class Modal extends React.PureComponent<IProps> {
    el: HTMLElement | Node | null;
    body: HTMLBodyElement;
    html: HTMLElement;
    state: {
        animation: string;
    };
    componentDidMount(): void;
    onClose: () => Promise<void>;
    setOverflowBody: (overflow: string) => void;
    componentDidUpdate(prevProps: Object, prevState: {
        animation: string;
    }): void;
    onConfirm: () => any;
    render(): false | React.ReactPortal;
}
export {};
