/**
 * Solo mode handlers — extracted from StdioServer.
 * Handles: solo.start, solo.status, solo.cancel, solo.select,
 *          solo.list, solo.delete, solo.message, solo.evaluate
 */
import { AgentProcessManager } from "../../runtime/infra/agent-process.js";
import type { AcpDetector } from "../../runtime/infra/acp-detector.js";
import type { AgentConfigStore } from "../../runtime/infra/agent-config-store.js";
import { SoloEvaluator } from "../../orchestration/solo-evaluator.js";
import { type AgentRpcError, type AgentRpcRequest } from "../../protocol/wire/index.js";
export declare const soloProjectMap: Map<string, string>;
export interface SoloHandlerHost {
    soloEvaluator: SoloEvaluator | null;
    soloProcessManager: AgentProcessManager | null;
    acpDetector: AcpDetector;
    agentConfigStore: AgentConfigStore | null;
    sendNotification(method: string, params: Record<string, unknown>): void;
    sendResponse(id: string | number, result?: unknown, error?: AgentRpcError): void;
    emitAgentStatus(agentId: string, state: string, extra?: {
        missedBeats?: number;
        lastActivityAt?: number;
        usage?: {
            inputTokens: number;
            outputTokens: number;
            totalTokens: number;
        };
    }): void;
    handleMcpToolCall(memberId: string, toolName: string, args: Record<string, unknown>): Promise<unknown>;
}
export declare function ensureSoloEvaluator(this: SoloHandlerHost): SoloEvaluator;
export declare function handleSoloStart(this: SoloHandlerHost, msg: AgentRpcRequest): Promise<void>;
export declare function handleSoloStatus(this: SoloHandlerHost, msg: AgentRpcRequest): Promise<void>;
export declare function handleSoloCancel(this: SoloHandlerHost, msg: AgentRpcRequest): Promise<void>;
export declare function handleSoloSelect(this: SoloHandlerHost, msg: AgentRpcRequest): Promise<void>;
export declare function handleSoloList(this: SoloHandlerHost, msg: AgentRpcRequest): void;
export declare function handleSoloDelete(this: SoloHandlerHost, msg: AgentRpcRequest): Promise<void>;
export declare function handleSoloMessage(this: SoloHandlerHost, msg: AgentRpcRequest): Promise<void>;
export declare function handleSoloEvaluate(this: SoloHandlerHost, msg: AgentRpcRequest): Promise<void>;
