import { ComponentProps, MouseEvent, ReactNode } from "react"; import { InternalProps, OmitInternalProps, StyledComponentProps } from "../../shared"; declare const DefaultElement = "div"; export interface InnerMessageProps extends InternalProps, StyledComponentProps { /** * React children. */ children: ReactNode; /** * Called when the dismiss button is clicked. * @param {MouseEvent} event - React's original synthetic event. * @returns {void} */ onDismiss?: (event: MouseEvent) => void; /** * A controlled show value. */ show?: boolean; /** * The style to use. */ variant?: "informative" | "warning" | "positive" | "negative"; } export declare function InnerMessage({ as, children, forwardedRef, onDismiss, role: roleProp, show, variant, ...rest }: InnerMessageProps): JSX.Element; export declare namespace InnerMessage { var defaultElement: string; } /** * A message is an element that displays a brief, important message in a way that attracts the user's attention without interrupting the user's task. * * [Documentation](https://orbit.sharegate.design/?path=/docs/message--default-story) */ export declare const Message: import("react").ForwardRefExoticComponent, "ref"> & import("react").RefAttributes>; export declare type MessageProps = ComponentProps; export {};