import { Primitive } from "../../utils/Primitive.js"; import { type ComponentRef, type ComponentPropsWithoutRef } from "react"; export declare namespace ComposerPrimitiveRoot { type Element = ComponentRef; /** * Props for the ComposerPrimitive.Root component. * Accepts all standard form element props. */ type Props = ComponentPropsWithoutRef; } /** * The root form container for message composition. * * This component provides a form wrapper that handles message submission when the form * is submitted (e.g., via Enter key or submit button). It automatically prevents the * default form submission and triggers the composer's send functionality. * * @example * ```tsx * * * Send * * ``` */ export declare const ComposerPrimitiveRoot: import("react").ForwardRefExoticComponent & import("react").FormHTMLAttributes & { asChild?: boolean; }, "ref"> & { render?: import("react").ReactElement | undefined; } & import("react").RefAttributes, "ref"> & import("react").RefAttributes>; //# sourceMappingURL=ComposerRoot.d.ts.map