import * as React from 'react'; import type { AgMessage } from '../types.js'; import type { AgPartRenderer, AgTextRenderer } from '../renderers.js'; export interface MessagePartsProps { message: AgMessage; renderers?: Record | undefined; renderText?: AgTextRenderer | undefined; /** Citation mode: 'markers' parses [n]/[^sourceId] into inline Citation links. */ citations?: 'markers' | 'off' | undefined; showSteps?: boolean | undefined; thumbnailSize?: number | undefined; onApprovalResponse?: ((detail: { approvalId: string; toolCallId: string; approved: boolean; reason?: string; }) => void) | undefined; } /** REQ-SURF-112/115: renders message parts in order; server-safe (no hooks/context). */ export declare function MessageParts({ message, renderers, renderText, citations, showSteps, thumbnailSize, onApprovalResponse, }: MessagePartsProps): React.JSX.Element; //# sourceMappingURL=MessageParts.d.ts.map