import React, { ReactNode } from 'react';
import * as icons from './icons';
export declare type MessageType = keyof typeof icons;
export interface MessageProps {
    root: HTMLDivElement;
    type: MessageType;
    content: ReactNode;
    duration?: number;
    showClose?: boolean;
    onClose?: () => void;
}
declare const Message: React.ForwardRefExoticComponent<MessageProps & React.RefAttributes<{}>>;
export default Message;
