import type { ChatMessage, NativeToolCall, ToolDefinition } from "../../types.js"; import "../../tools/definitions.js"; export declare function toOllamaTools(defs: ToolDefinition[]): { type: "function"; function: { name: string; description: string; parameters: ToolDefinition["parameters"]; }; }[]; export declare function toOllamaToolMessages(messages: ChatMessage[]): Array>; export declare function parseOllamaToolCalls(toolCalls: Array<{ id?: string; function?: { name?: string; arguments?: string | Record; }; }> | undefined): NativeToolCall[];