import { ModalProps, Modal as OldModal } from 'antd'; import React from 'react'; import { ModalStaticFunctions, modalGlobalConfig } from './confirm'; import './index.less'; export interface ModalExtraProps { type?: 'default' | 'biggest'; noContent?: boolean; } declare const OriginModal: ({ className, type, width, closeIcon, footer, cancelText, cancelButtonProps, confirmLoading, okButtonProps, okText, okType, noContent, style, ...props }: ModalExtraProps & ModalProps) => React.JSX.Element; type ModalType = typeof OriginModal & ModalStaticFunctions & { useModal: typeof OldModal.useModal; destroyAll: () => void; config: typeof modalGlobalConfig; }; declare const Modal: ModalType; export { Modal };