import React from 'react';
import { ButtonProps } from '../button/Button';
import { GenericComponent } from '../../@types/types';
export declare type Status = 'error' | 'info' | 'success' | 'warning';
export interface MessageProps {
    /** The content to display inside the message. */
    children: React.ReactNode;
    /** If true, the message will be rendered inline instead of taking full width. */
    inline?: boolean;
    /** Callback function that is fired when the close button of the message is clicked. */
    onClose?: () => void;
    /** Object containing the props of the primary action (a Button). */
    primaryAction?: ButtonProps;
    /** Object containing the props of the secondary action (a Button, with level prop set to 'link'). */
    secondaryAction?: ButtonProps;
    /** If true, an icon will show up depending on the status type */
    showIcon?: boolean;
    /** A status type to determine color and icon */
    status?: Status;
    /** The message title */
    title: React.ReactNode;
}
declare const Message: GenericComponent<MessageProps>;
export default Message;
