import * as React from 'react';
import { CSSTransitionProps } from '../csstransition/CSSTransition';
import './Messages.scss';
type MessagesSeverityType = 'success' | 'info' | 'warn' | 'error' | (string & {});
export interface MessagesMessage {
    id?: string;
    severity?: MessagesSeverityType;
    summary?: React.ReactNode;
    detail?: React.ReactNode;
    closable?: boolean;
    sticky?: boolean;
    life?: number;
}
export interface MessagesProps {
    id?: string;
    className?: string;
    style?: object;
    transitionOptions?: CSSTransitionProps;
    onRemove?(message: MessagesMessage): void;
    onClick?(message: MessagesMessage): void;
    children?: React.ReactNode;
}
export declare const Messages: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>>;
export {};
