import type { AIMessagePartData } from '../MessageParts/types'; import type { AIToolApprover } from '../ToolCalls/AIToolApprover'; import { type AIMessageAttachmentData } from './AIMessageAttachment'; export type AIAssistantMessageProps = { /** The answer, in Markdown. */ text: string; /** * Who answers tool calls' questions and sign-ins on this device, to ask them. Defaults to the * one of the nearest `AIToolApproverProvider`. */ approver?: AIToolApprover; /** What the agent sent with it, such as images and files. */ attachments?: AIMessageAttachmentData[]; className?: string; /** Whether the agent is still writing it. The text that arrives meanwhile is typed out. */ isGenerating?: boolean; /** The steps the agent took, in order, shown before the answer. */ parts?: AIMessagePartData[]; /** The whole of a reasoning step's thinking, when the app has it. */ reasoningText?: (stepId: string) => string | undefined; }; /** * The agent's reply: its steps (reasoning, tool calls and their questions), then its answer, * typed out as it streams in, then what it sent with it. The counterpart of * `AIAssistantMessageView`. */ export declare const AIAssistantMessage: ({ approver, attachments, className, isGenerating, parts, reasoningText, text, }: AIAssistantMessageProps) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=AIAssistantMessage.d.ts.map