import { type LLMToolResult } from '../LLMService.typedefs'; /** * The package-level tool-result normalization every tool call and delegation * passes through before its value reaches the model. `execute` is typed to * return `string | LLMStructuredToolResult`, but a tool is ordinary application * code: a mistyped one can hand back an object, a number, or nothing at all. * Coercing here keeps `[object Object]` out of the conversation without every * tool author serializing by hand. */ export declare function coerceToolResult(value: unknown): LLMToolResult;