import { forwardRef } from "react";
import { type BoxProps } from "../box/box";
export interface MessageTitleProps extends React.HTMLAttributes<HTMLParagraphElement> {
    /**
     * Change the default rendered element for the one passed as a child, merging their props and behavior.
     *
     * @default false
     */
    asChild?: boolean;
}
export declare const MessageTitle: import("react").ForwardRefExoticComponent<MessageTitleProps & import("react").RefAttributes<HTMLParagraphElement>>;
export interface MessageDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement> {
    /**
     * Change the default rendered element for the one passed as a child, merging their props and behavior.
     *
     * @default false
     */
    asChild?: boolean;
}
export declare const MessageDescription: import("react").ForwardRefExoticComponent<MessageDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>>;
export type MessageProps = ({
    variant?: "success" | "attention" | "warning" | "info";
    icon?: never;
    iconClassName?: never;
} | {
    variant: "neutral";
    icon?: React.ReactNode;
    iconClassName?: string;
}) & Omit<BoxProps, "variant" | "asChild">;
/** @deprecated Use Alert component instead */
export declare const Message: MessageType;
type MessageType = ReturnType<typeof forwardRef<HTMLDivElement, MessageProps>> & {
    Title: typeof MessageTitle;
    Description: typeof MessageDescription;
};
export {};
//# sourceMappingURL=message.d.ts.map