## API Report File for "@livekit/agents-plugin-soniox" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts import { AudioFrame } from '@livekit/rtc-node'; import { AudioResampler } from '@livekit/rtc-node'; import { Logger } from 'pino'; import type { ReadableStream as ReadableStream_2 } from 'node:stream/web'; import type { ReadableStreamDefaultReader as ReadableStreamDefaultReader_2 } from 'node:stream/web'; import type { Span } from '@opentelemetry/api'; import { TransformStream as TransformStream_2 } from 'node:stream/web'; import type { TypedEventEmitter } from '@livekit/typed-emitter'; import type { VideoFrame as VideoFrame_2 } from '@livekit/rtc-node'; import type { WritableStreamDefaultWriter as WritableStreamDefaultWriter_2 } from 'node:stream/web'; // Warning: (ae-forgotten-export) The symbol "tts" needs to be exported by the entry point index.d.ts // // @public (undocumented) export class ChunkedStream extends tts.ChunkedStream { // Warning: (ae-forgotten-export) The symbol "APIConnectOptions" needs to be exported by the entry point index.d.ts constructor(tts: TTS, text: string, opts: TTSOptions, connOptions?: APIConnectOptions, abortSignal?: AbortSignal); // (undocumented) label: string; // (undocumented) protected run(): Promise; } // @public (undocumented) export interface ContextGeneralItem { // (undocumented) key: string; // (undocumented) value: string; } // @public (undocumented) export interface ContextObject { general?: ContextGeneralItem[]; terms?: string[]; text?: string; translationTerms?: ContextTranslationTerm[]; } // @public (undocumented) export interface ContextTranslationTerm { // (undocumented) source: string; // (undocumented) target: string; } // Warning: (ae-forgotten-export) The symbol "stt" needs to be exported by the entry point index.d.ts // // @public (undocumented) export class SpeechStream extends stt.SpeechStream { constructor(stt: STT, opts: STTOptions, connOptions?: APIConnectOptions); // (undocumented) label: string; // (undocumented) protected run(): Promise; } // @public (undocumented) export class STT extends stt.STT { constructor(opts?: Partial); // (undocumented) label: string; // (undocumented) get model(): string; // (undocumented) get provider(): string; // Warning: (ae-forgotten-export) The symbol "AudioBuffer_2" needs to be exported by the entry point index.d.ts // // (undocumented) _recognize(_: AudioBuffer_2): Promise; // (undocumented) stream(options?: { connOptions?: APIConnectOptions; }): SpeechStream; } // @public (undocumented) export interface STTOptions { // (undocumented) apiKey?: string; // (undocumented) baseUrl: string; // (undocumented) clientReferenceId?: string; // (undocumented) context?: ContextObject | string; // (undocumented) enableLanguageIdentification: boolean; // (undocumented) enableSpeakerDiarization: boolean; endpointLatencyAdjustmentLevel?: number; // (undocumented) languageHints?: string[]; // (undocumented) languageHintsStrict: boolean; maxEndpointDelayMs: number; // (undocumented) model: string; // (undocumented) numChannels: number; // (undocumented) sampleRate: number; // (undocumented) translation?: TranslationConfig; } // @public (undocumented) export class SynthesizeStream extends tts.SynthesizeStream { constructor(tts: TTS, opts: TTSOptions, connOptions?: APIConnectOptions); // (undocumented) close(): void; // (undocumented) label: string; // (undocumented) protected onStreamDone(): void; // (undocumented) protected run(): Promise; } // @public (undocumented) export type TranslationConfig = { type: 'one_way'; targetLanguage: string; } | { type: 'two_way'; languageA: string; languageB: string; }; // @public (undocumented) export class TTS extends tts.TTS { constructor(opts?: Partial); // (undocumented) close(): Promise; // (undocumented) label: string; // (undocumented) get model(): string; // (undocumented) prewarm(): void; // (undocumented) get provider(): string; // (undocumented) stream(options?: { connOptions?: APIConnectOptions; }): SynthesizeStream; // (undocumented) synthesize(text: string, connOptions?: APIConnectOptions, abortSignal?: AbortSignal): tts.ChunkedStream; // (undocumented) updateOptions(opts: Partial>): void; } // @public (undocumented) export interface TTSOptions { // (undocumented) apiKey?: string; audioFormat: string; // (undocumented) bitrate?: number | null; // (undocumented) language: string; // (undocumented) model: string; reduceSilence: boolean; // (undocumented) sampleRate: number; speed: number; // (undocumented) voice: string; // (undocumented) websocketUrl: string; } // (No @packageDocumentation comment for this package) ```