import type { Context, Model, StreamFunction, StreamOptions, ToolChoice } from "../types"; export interface OllamaChatOptions extends StreamOptions { reasoning?: "minimal" | "low" | "medium" | "high" | "xhigh" | "max"; toolChoice?: ToolChoice; } type OllamaFunctionTool = { type: "function"; function: { name: string; description: string; parameters: Record; }; }; type OllamaMessage = { role: "system" | "user" | "assistant" | "tool"; content: string; images?: string[]; thinking?: string; tool_calls?: Array<{ type: "function"; function: { index?: number; name: string; arguments: Record; }; }>; tool_name?: string; }; export declare function createChatBody(model: Model<"ollama-chat">, context: Context, options: OllamaChatOptions | undefined): { model: string; messages: OllamaMessage[]; tools?: OllamaFunctionTool[] | undefined; think?: "high" | "low" | "medium" | boolean | undefined; tool_choice?: "auto" | "none" | "required" | undefined; options?: { num_predict: number; } | undefined; stream: boolean; }; export declare const streamOllama: StreamFunction<"ollama-chat">; export {};