/**
 * Ollama LLM Adapter with JSON-based tool calling
 * Uses prompt engineering to simulate tool calling for local models
 */
import type { LLMAdapter } from "./index.js";
import type { ToolDefinition, LLMResponse, AgentMessage, LLMProvider } from "../types.js";
export declare class OllamaAdapter implements LLMAdapter {
    readonly provider: LLMProvider;
    private baseUrl;
    private model;
    private initialized;
    initialize(apiKey: string): Promise<void>;
    isInitialized(): boolean;
    setModel(model: string): void;
    setBaseUrl(url: string): void;
    chat(messages: AgentMessage[], tools: ToolDefinition[]): Promise<LLMResponse>;
    private parseToolCalls;
    private extractTextBeforeJson;
}
