/// import React from 'react'; import { ConfirmOptions } from '../modal/Modal'; export declare type ConfigOnClose = () => void; export interface MessageOptions { type?: 'info' | 'success' | 'error' | 'warn' | 'loading'; content: string | React.ReactNode; duration?: number; alert?: boolean; banner?: boolean; closable?: boolean; onClose?: () => void; } declare var _default: { confirm(options: ConfirmOptions): () => void | Promise; show(options: MessageOptions): () => void; info(options: MessageOptions): () => void; success(options: MessageOptions): () => void; error(options: MessageOptions): () => void; warn(options: MessageOptions): () => void; loading(options: MessageOptions): () => void; }; export default _default;