import { ComponentProps } from 'react'; export interface ChatItemProps extends ComponentProps<'div'> { /** * Stable id registered with the enclosing `Chat.Messages`, enabling * visibility tracking and `scrollToMessage`. */ messageId?: string; /** * Marks the item as a scroll anchor: when it mounts inside * `Chat.Messages`, the viewport scrolls it near the top so the reply can * stream in below — set it on the latest user message. * @defaultValue false */ scrollAnchor?: boolean; } export declare function ChatItem({ className, messageId, scrollAnchor, ref, ...props }: ChatItemProps): import("react/jsx-runtime").JSX.Element; export declare namespace ChatItem { var displayName: string; } //# sourceMappingURL=chat-item.d.ts.map