import { Primitive } from "../../utils/Primitive.js"; import { type ComponentRef, type ComponentPropsWithoutRef } from "react"; export declare namespace MessagePrimitiveRoot { type Element = ComponentRef; type Props = ComponentPropsWithoutRef; } /** * The root container component for a message. * * This component provides the foundational wrapper for message content and handles * hover state management for the message. It automatically tracks when the user * is hovering over the message, which can be used by child components like action bars. * * When `turnAnchor="top"` is set on the viewport, this component automatically * registers itself as the top-anchor user message (when it's the previous user * message) or as the top-anchor target (when it's the streaming assistant * response). No additional component is required. * * @example * ```tsx * * * * * * * * ``` */ export declare const MessagePrimitiveRoot: import("react").ForwardRefExoticComponent & import("react").HTMLAttributes & { asChild?: boolean; }, "ref"> & { render?: import("react").ReactElement | undefined; } & import("react").RefAttributes, "ref"> & import("react").RefAttributes>; //# sourceMappingURL=MessageRoot.d.ts.map