import type { FormatConfig } from "./utils/BaseConnection.js"; export type OutputDeviceConfig = { outputDeviceId?: string; }; export interface OutputController { close(): Promise; setDevice(config?: Partial & OutputDeviceConfig): Promise; setVolume(volume: number): void; interrupt(resetDuration?: number): void; /** * @deprecated AnalyserNode is a web-only API and will not work on all * platforms. Use {@link getVolume} for a scalar audio level (0-1) or * {@link getByteFrequencyData} for frequency band data instead. */ getAnalyser(): AnalyserNode | undefined; /** Returns current audio level as a scalar 0–1. */ getVolume(): number; /** * Writes byte frequency data (0-255) into the provided buffer, focused on * the human voice range (100-8000 Hz). The buffer length determines the * number of frequency bands returned. */ getByteFrequencyData(buffer: Uint8Array): void; } //# sourceMappingURL=OutputController.d.ts.map