import React from 'react'; interface ModalProps { title: React.ReactNode; content: React.ReactNode; hideIcon?: boolean; confirmText?: string; cancelText?: string; onlyConfirmBtn?: boolean; danger?: boolean; iconType?: 'warning' | 'success'; closable?: boolean; close?: () => void; onConfirm?: () => void | Promise; onCancel?: () => void | Promise; } declare const _default: { error: (s: string) => void; msg: (s: string) => void; warn: (s: string) => void; info: (s: string) => void; confirm: (props: ModalProps) => { close: () => void; }; alert: (props: ModalProps) => { close: () => void; }; loading(msg?: string): false | undefined; closeLoading(): void; }; export default _default;