import type { ExtensionContext } from "@earendil-works/pi-coding-agent"; import { type PreparedVoiceTask } from "./conversation/end-call.ts"; import type { RealtimeVoiceTurn } from "./turns.ts"; /** Call-local task preparation; end_call controls the call, never Pi tools or history. */ export declare function rewriteTaskDelegation(ctx: ExtensionContext, voice: { taskDelegationModel: string; taskDelegationReasoning: "off" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max"; }, turn: RealtimeVoiceTurn, signal: AbortSignal): Promise;