import type { TransferredVoiceControls, VoiceHandoffChannel } from "./handoff-contract.ts"; import { type CapturedHandoffAudio } from "./handoff-peer.ts"; export declare function startVoiceDeparture(options: { channel: VoiceHandoffChannel; captured: CapturedHandoffAudio; waitForSettled(signal: AbortSignal): Promise; onReleased(controls: TransferredVoiceControls): void; onClosed(error: Error): void; }): { completion: Promise; close(): void; };