import type { ProjectContext } from '../core/context.js';
import type { ACPClient } from '@coralai/claude-code-agent';
import type { AgentRuntime } from '@coralai/claude-code-agent';
import type { ACPSessionRecord, ACPState, ACPTool } from '@coralai/claude-code-agent';
export declare class ACPWorkerRuntime implements AgentRuntime {
    private readonly ctx;
    private readonly client;
    private readonly runtimeStore;
    constructor(ctx: ProjectContext, client?: ACPClient);
    ensureSession(slot: string, tool?: ACPTool, cwdOverride?: string, opts?: {
        mcpServers?: import('@coralai/claude-code-agent').McpServerConfig[];
        extraEnv?: Record<string, string>;
    }): Promise<ACPSessionRecord>;
    startRun(slot: string, prompt: string, tool?: ACPTool, cwdOverride?: string, opts?: {
        extraEnv?: Record<string, string>;
    }): Promise<ACPSessionRecord>;
    resumeRun(slot: string, prompt: string): Promise<ACPSessionRecord>;
    inspect(slot?: string): Promise<ACPState>;
    stopSession(slot: string): Promise<void>;
    private normalizeSlot;
    private defaultTool;
    subscribe(slot: string, listener: import('@coralai/claude-code-agent').AccumulatorListener): () => void;
    cancelRun(slot: string): Promise<void>;
    private buildSessionName;
    private slotStatusFromRun;
    private upsertSession;
    private launchRun;
}
//# sourceMappingURL=ACPWorkerRuntime.d.ts.map