import * as React from 'react';
import { ModalProps } from 'antd/lib/modal';
import { IDraggableModalContextMethods } from './DraggableModalContext';
import { ModalID, IModalState } from './draggableModalReducer';
interface IContextProps extends IDraggableModalContextMethods {
    id: ModalID;
    modalState: IModalState;
    initialWidth?: number;
    initialHeight?: number;
    initialX?: number;
    initialY?: number;
    resizable?: boolean;
    minPosition?: {
        x?: number;
        y?: number;
    };
    maxPosition?: {
        x?: number;
        y?: number;
    };
}
export declare type DraggableModalInnerProps = ModalProps & {
    children?: React.ReactNode;
} & IContextProps;
declare function DraggableModalInnerNonMemo({ id, modalState, dispatch, visible, children, title, initialWidth, initialHeight, initialX, initialY, resizable, minPosition, maxPosition, ...otherProps }: DraggableModalInnerProps): JSX.Element;
export declare const DraggableModalInner: React.MemoExoticComponent<typeof DraggableModalInnerNonMemo>;
export {};
