import type { AcpRequestHandler } from "../transport/acp-server.js";
import type { PermissionApprovalResolver } from "../runtime/ports/index.js";
import * as acpExtended from "./acp-extended-handlers.js";
import * as acpSession from "./acp-session-handlers.js";
export interface CliAcpRequestHandlerHost extends acpSession.AcpSessionHost {
    activeTurn: AbortController | null;
    /** Id of the turn currently running; used to key cancel requests. */
    currentTurnId?: string;
    permissionChecker?: PermissionApprovalResolver | null;
}
export declare function createCliAcpRequestHandler(host: CliAcpRequestHandlerHost, packageVersion: string, extendedHost?: acpExtended.AcpExtendedHost): AcpRequestHandler;
