import type { TransferredVoiceControls } from "../handoff-contract.ts"; import { type LanVoiceActivity } from "./activity.ts"; import type { LanVoiceBrowserClients } from "./browser-clients.ts"; /** Session events use the same names as Pi's local event bridge. */ export declare class LanTransferredSession { private removeListener; private assistantText; private readonly activity; readonly controls: TransferredVoiceControls; ended: boolean; private sessionInfo; private agentRunning; constructor(controls: TransferredVoiceControls, clients: LanVoiceBrowserClients, activity: LanVoiceActivity); detach(): void; end(): void; snapshot(): unknown; sendText(text: string): Promise; rpc(body: Record): Promise; stop(): Promise; private assertActive; private updateActivity; }