import { Modal as AntdModal, ModalProps } from 'antd'; import { ButtonType } from 'antd/es/button/index'; import { modalGlobalConfig, ModalStaticFunctions } from 'antd/es/modal/confirm'; import React from 'react'; export interface IOriginModalProps extends ModalProps { cancelLoading?: boolean; okType?: ButtonType; titleWrapperClassName?: string; footerWrapperClassName?: string; fullPage?: boolean; footer?: React.ReactNode | 'defaultFooter'; fixHeight?: boolean; } declare const OriginModal: React.FC; export type TModalType = typeof OriginModal & ModalStaticFunctions & { useModal: typeof AntdModal.useModal; destroyAll: () => void; config: typeof modalGlobalConfig; } & { deleteConfirm: any; }; declare const Modal: TModalType; export default Modal;