import { type LLMToolResult, type LLMToolResultImage } from '../../LLMService.typedefs'; /** * The shape every provider's tool loop works with internally: a text * `content` (always present) plus an `images` array (possibly empty). */ export interface NormalizedToolResult { content: string; images: LLMToolResultImage[]; } /** * Collapses the two possible tool-result shapes into a single normalized * form. A plain `string` becomes text-only; a structured result keeps its * text and images (defaulting `images` to an empty array). */ export declare function normalizeToolResult(raw: LLMToolResult): NormalizedToolResult;