import type { LlmAdapter, LlmOptions, LlmResponse, ChatMessage, OllamaConfig } from "./llm-types";
/**
 * Ollama Adapter — Local LLM inference via Ollama HTTP API.
 * Zero dependencies, zero cost, zero latency to network.
 * Falls back gracefully if Ollama isn't running.
 */
export declare class OllamaAdapter implements LlmAdapter {
    readonly provider: "ollama";
    private config;
    get name(): string;
    constructor(config?: Partial<OllamaConfig>);
    available(): Promise<boolean>;
    chat(messages: ChatMessage[], options?: LlmOptions): Promise<LlmResponse>;
    /**
     * Ollama doesn't natively support function calling for all models.
     * We parse structured JSON action blocks from the response text.
     * Format expected:
     * ```json
     * {"action": "tool_name", "params": {...}}
     * ```
     */
    private parseToolCalls;
}
//# sourceMappingURL=ollama-adapter.d.ts.map