import React from 'react';
export type MessageType = 'error' | 'info' | 'success' | 'warning';
export interface MessageProps {
    /** Title of the Message */
    title: string | React.ReactNode;
    /** Message type. default: ('error') */
    type?: MessageType;
    /** React element which will be rendered after the title */
    header?: JSX.Element;
    /** Determines if the body is rendered  (default: 'false')*/
    isBodyOpen?: boolean;
    /** Disables 'position: absolute' styling if set to false (default: true)*/
    isBodyPositionAbsolute?: boolean;
    /** Optional class */
    className?: string;
    /** Optional data-test-id. Defaults to 'message' */
    dataTestId?: string;
}
/**
 * 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
 * <Message type="error" title="An error has occurred" />
 */
export declare const Message: React.FC<MessageProps>;
//# sourceMappingURL=Message.d.ts.map