import type { Primitive } from "../../utils/Primitive.js"; import { type ComponentRef, type ComponentPropsWithoutRef, type ElementType } from "react"; export declare namespace MessagePartPrimitiveText { type Element = ComponentRef; type Props = Omit, "children" | "asChild"> & { /** * Whether to enable smooth text streaming animation. * When enabled, text appears with a typing effect as it streams in. * @default true */ smooth?: boolean; /** * The HTML element or React component to render as. * @default "span" */ component?: ElementType; }; } /** * Renders the text content of a message part with optional smooth streaming. * * This component displays text content from the current message part context, * with support for smooth streaming animation that shows text appearing * character by character as it's generated. * * @example * ```tsx * * ``` */ export declare const MessagePartPrimitiveText: import("react").ForwardRefExoticComponent & import("react").HTMLAttributes & { asChild?: boolean; }, "ref"> & { render?: import("react").ReactElement | undefined; } & import("react").RefAttributes, "ref">, "children" | "asChild"> & { /** * Whether to enable smooth text streaming animation. * When enabled, text appears with a typing effect as it streams in. * @default true */ smooth?: boolean; /** * The HTML element or React component to render as. * @default "span" */ component?: ElementType; } & import("react").RefAttributes>; //# sourceMappingURL=MessagePartText.d.ts.map