import type { GatewayClient } from "../types.js"; /** * Handle agent.cancel: abort the current turn for the given session. * - Proxy agents: abort in-flight run via registered AbortController. * - Local agent: uses pi-coding-agent's session.abort(). */ export declare function handleAgentCancel(client: GatewayClient, params: { sessionId?: string; agentId?: string; }): Promise<{ status: string; }>;