import { Component, ReactElement } from 'react'; import { CommonProps } from '../types'; import { MessageQuickProps, MessageProps as NextMessageProps } from '@alifd/next/types/message'; interface MessageProps extends NextMessageProps, CommonProps { bgcolor?: string; } declare class Message extends Component { static wrapMethod: (type?: 'notice' | 'success' | 'warning' | 'error' | 'help' | 'loading' | 'hide' | 'show') => (config?: string | MessageQuickProps | ReactElement) => void; static notice: (config?: string | MessageQuickProps | ReactElement) => void; static show: (config?: string | MessageQuickProps | ReactElement) => void; static success: (config?: string | MessageQuickProps | ReactElement) => void; static warning: (config?: string | MessageQuickProps | ReactElement) => void; static error: (config?: string | MessageQuickProps | ReactElement) => void; static help: (config?: string | MessageQuickProps | ReactElement) => void; static loading: (config?: string | MessageQuickProps | ReactElement) => void; static hide: (config?: string | MessageQuickProps | ReactElement) => void; static withContext: any; classNameDefine: () => any; render(): JSX.Element; } declare const _default: typeof Message; export default _default;