import React from 'react';
import { MessageType } from '../Message';
export interface MessageBarProps {
    /** Context to convey */
    title: string | React.ReactNode;
    /** Message type. default: ('error') */
    type?: Extract<MessageType, 'error' | 'info' | 'warning'>;
    /** If set, renders a close icon that will emit this callback. default: (undefined) */
    onClose?: () => void;
    /** If set, renders a retry icon that will emit this callback. default: (undefined) */
    onRetry?: () => void;
}
/**
 * Renders a contextual feedback message
 * Takes optional children which will be hidden by default. If the child is only a string, it will be wrapped in a `<p>` element.
 * @example
 * <MessageBar type="error" title="An error has occurred" onClose={onCloseHandler} />
 */
export declare const MessageBar: React.FC<MessageBarProps>;
//# sourceMappingURL=MessageBar.d.ts.map