/**
 * KimiWireProtocolRuntime — true wire-protocol runtime adapter.
 *
 * Communicates with Kimi CLI via `kimi --wire` using the JSON-RPC 2.0
 * wire protocol (protocol version 1.7).
 */
import type { AgentRuntime, AgentRunResult, AgentResult, AgentTask, RuntimeCapabilities, RuntimeHealth } from "./agent-runtime.js";
import type { ContextCapsule } from "./context-capsule.js";
export interface KimiWireProtocolRuntimeOptions {
    /** Working directory for the wire client */
    cwd?: string;
    /** Additional environment variables */
    env?: NodeJS.ProcessEnv;
    /** Agent file path */
    agentFile?: string;
    /** Config file path */
    configFile?: string;
    /** MCP config file path */
    mcpConfigFile?: string;
    /** Hook subscriptions */
    hooks?: Array<{
        id: string;
        event: string;
        matcher?: string;
        timeout?: number;
    }>;
}
export declare class KimiWireProtocolRuntime implements AgentRuntime {
    readonly id = "kimi-wire";
    readonly providerId = "kimi";
    readonly legacy = true;
    readonly runtimeMode = "wire";
    readonly kind = "cli";
    readonly priority = 85;
    readonly capabilities: RuntimeCapabilities;
    private readonly options;
    private kimiAvailable;
    constructor(options?: KimiWireProtocolRuntimeOptions);
    supports(capsule: ContextCapsule): boolean;
    health(): Promise<RuntimeHealth>;
    runNode(capsule: ContextCapsule, signal: AbortSignal): Promise<AgentRunResult>;
    execute(task: AgentTask): Promise<AgentResult>;
}
export declare function createKimiWireProtocolRuntime(options?: KimiWireProtocolRuntimeOptions): KimiWireProtocolRuntime;
