/**
 * DevServer — CLI Debug Handlers
 *
 * Extracted from dev-server.ts for maintainability.
 * All functions take a DevServerContext as their first argument.
 */
import type * as http from 'http';
import type { DevServerContext } from './dev-server-types.js';
/** GET /api/cli/status — list all running CLI/ACP instances with state */
export declare function handleCliStatus(ctx: DevServerContext, _req: http.IncomingMessage, res: http.ServerResponse): Promise<void>;
/** POST /api/cli/launch — launch a CLI agent { type, workingDir?, args? } */
export declare function handleCliLaunch(ctx: DevServerContext, req: http.IncomingMessage, res: http.ServerResponse): Promise<void>;
/** POST /api/cli/send — send message to a running CLI { type, text } */
export declare function handleCliSend(ctx: DevServerContext, req: http.IncomingMessage, res: http.ServerResponse): Promise<void>;
/** POST /api/cli/stop — stop a running CLI { type } */
export declare function handleCliStop(ctx: DevServerContext, req: http.IncomingMessage, res: http.ServerResponse): Promise<void>;
/** GET /api/cli/events — SSE stream of CLI status events */
export declare function handleCliSSE(ctx: DevServerContext, cliSSEClients: http.ServerResponse[], _req: http.IncomingMessage, res: http.ServerResponse): void;
/** GET /api/cli/debug/:type — full internal debug state of a CLI adapter */
export declare function handleCliDebug(ctx: DevServerContext, type: string, _req: http.IncomingMessage, res: http.ServerResponse): Promise<void>;
/** POST /api/cli/resolve — resolve an approval modal { type, buttonIndex } */
export declare function handleCliResolve(ctx: DevServerContext, req: http.IncomingMessage, res: http.ServerResponse): Promise<void>;
/** POST /api/cli/raw — send raw keystrokes to PTY { type, keys } */
export declare function handleCliRaw(ctx: DevServerContext, req: http.IncomingMessage, res: http.ServerResponse): Promise<void>;
