import { default as React } from 'react'; export interface ModalProps { className?: string; open?: boolean; title?: React.ReactNode; okText?: string; cancelText?: string; width?: number | string; top?: number; mask?: boolean; maskClosable?: boolean; maximized?: boolean; centered?: boolean; draggable?: boolean; showClose?: boolean; loading?: boolean; footer?: boolean | React.ReactNode; escKey?: boolean; panelOnly?: boolean; destroyOnClose?: boolean; onClose?: () => void; onOk?: () => void; onCancel?: () => void; onOpenChange?: (opened: boolean) => void; onAfterClose?: () => void; content?: React.ReactNode; children?: React.ReactNode; } declare const Modal: React.FC; export default Modal; export type ModalPanelProps = Omit; export declare function ModalPanel(props: ModalPanelProps): React.JSX.Element;