import { type ReactNode } from 'react'; import type { AIToolApprover } from '../ToolCalls/AIToolApprover'; import type { AIMessagePartData } from './types'; export type AIMessagePartProps = { part: AIMessagePartData; /** * Who answers tool calls' questions and sign-ins on this device, to ask them. Defaults to the * one of the nearest `AIToolApproverProvider`. */ approver?: AIToolApprover; /** The whole of a reasoning step's thinking, when the app has it. */ reasoningText?: (stepId: string) => string | undefined; }; /** * One step of a reply: a round of reasoning (`AIReasoning`), a tool call (`AIToolCall`, with * its question or sign-in when it waits for this person here), or a neutral line for a step * this SDK can't show. The counterpart of `AIMessagePartView`. */ export declare const AIMessagePart: ({ approver, part, reasoningText }: AIMessagePartProps) => import("react/jsx-runtime").JSX.Element; export type AIMessagePartsProps = Omit & { parts: AIMessagePartData[]; /** Renders a step, instead of `AIMessagePart`. */ children?: (part: AIMessagePartData) => ReactNode; className?: string; }; /** The steps of a reply, in order. The counterpart of `AIMessagePartsView`. */ export declare const AIMessageParts: ({ approver, children, className, parts, reasoningText, }: AIMessagePartsProps) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=AIMessageParts.d.ts.map