/**
 * LocalLlmRuntime — local LLM via OpenAI-compatible chat completions API.
 *
 * Connects to llama.cpp server, llama-server, vllm, or any
 * local OpenAI-compatible endpoint (/v1/chat/completions).
 * Supports SSE streaming and reasoning_content.
 */
import type { AgentRuntime, AgentRunResult, AgentResult, AgentTask, RuntimeCapabilities, RuntimeHealth } from "./agent-runtime.js";
import type { ContextCapsule } from "./context-capsule.js";
export interface LocalLlmRuntimeOptions {
    apiKey?: string;
    model?: string;
    baseUrl?: string;
}
export declare class LocalLlmRuntime implements AgentRuntime {
    readonly id = "local-llm";
    readonly kind = "api";
    readonly priority = 35;
    readonly capabilities: RuntimeCapabilities;
    private readonly apiKey;
    private readonly model;
    private readonly baseUrl;
    constructor(options?: LocalLlmRuntimeOptions);
    supports(capsule: ContextCapsule): boolean;
    health(): Promise<RuntimeHealth>;
    runNode(capsule: ContextCapsule, signal: AbortSignal): Promise<AgentRunResult>;
    execute(task: AgentTask): Promise<AgentResult>;
    private parseStreamResponse;
}
