import { Component } from "react";
import { ModalProps } from "antd/lib/modal";
import { ConfigConsumerEProps } from "../config-provider";
import "antd/lib/modal/style";
interface IModalProps extends ModalProps {
    draggable?: boolean;
}
export default class Modal extends Component<IModalProps> {
    private simpleClass;
    private header;
    private contain;
    private modalContent;
    private mouseDownX;
    private mouseDownY;
    private deltaX;
    private deltaY;
    private sumX;
    private sumY;
    static destroyAll: () => void;
    static contextType: any;
    context: ConfigConsumerEProps;
    constructor(props: any);
    static info: import("antd/lib/modal/Modal").ModalFunc;
    static confirm: import("antd/lib/modal/Modal").ModalFunc;
    static success: import("antd/lib/modal/Modal").ModalFunc;
    static error: import("antd/lib/modal/Modal").ModalFunc;
    static warning: import("antd/lib/modal/Modal").ModalFunc;
    state: {
        visible: boolean;
    };
    handleMove: (event: any) => void;
    show: () => void;
    hide: () => void;
    initialEvent: (visible: boolean) => void;
    static getDerivedStateFromProps(nextProps: any, prevState: any): {
        visible: boolean;
    } | null;
    removeMove: () => void;
    removeUp: () => void;
    componentDidMount(): void;
    componentWillUnmount(): void;
    componentDidUpdate(): void;
    render(): JSX.Element;
}
export {};
