import type { ModalProps } from 'antd'; import React from 'react'; import modal from './modal'; import type { ModalFuncPropsExt } from './types'; import useModal from './useModal'; declare const Mix: { (props: ModalProps): React.JSX.Element; useModal: typeof useModal; confirm: typeof modal; info(config: ModalFuncPropsExt): { destroy: () => void; update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void; }; success(config: ModalFuncPropsExt): { destroy: () => void; update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void; }; warning(config: ModalFuncPropsExt): { destroy: () => void; update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void; }; error(config: ModalFuncPropsExt): { destroy: () => void; update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void; }; }; export default Mix; export * from './types';