import { Input } from "./utils/input"; import { Output } from "./utils/output"; import type { BaseConnection } from "./utils/BaseConnection"; import type { AgentAudioEvent, InterruptionEvent } from "./utils/events"; import { BaseConversation, type Options, type PartialOptions } from "./BaseConversation"; export declare class VoiceConversation extends BaseConversation { readonly input: Input; readonly output: Output; wakeLock: WakeLockSentinel | null; static startSession(options: PartialOptions): Promise; private inputFrequencyData?; private outputFrequencyData?; protected constructor(options: Options, connection: BaseConnection, input: Input, output: Output, wakeLock: WakeLockSentinel | null); protected handleEndSession(): Promise; protected handleInterruption(event: InterruptionEvent): void; protected handleAudio(event: AgentAudioEvent): void; private onInputWorkletMessage; private onOutputWorkletMessage; private addAudioBase64Chunk; private fadeOutAudio; private calculateVolume; setMicMuted(isMuted: boolean): void; getInputByteFrequencyData(): Uint8Array; getOutputByteFrequencyData(): Uint8Array; getInputVolume(): number; getOutputVolume(): number; }