## 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 { APIConnectOptions } from '@livekit/agents';
import { AudioBuffer as AudioBuffer_2 } from '@livekit/agents';
import { stt } from '@livekit/agents';

// @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;
}

// @public (undocumented)
export class SpeechStream extends stt.SpeechStream {
    constructor(stt: STT, opts: STTOptions, connOptions?: APIConnectOptions);
    // (undocumented)
    label: string;
    // (undocumented)
    protected run(): Promise<void>;
}

// @public (undocumented)
export class STT extends stt.STT {
    constructor(opts?: Partial<STTOptions>);
    // (undocumented)
    label: string;
    // (undocumented)
    get model(): string;
    // (undocumented)
    get provider(): string;
    // (undocumented)
    _recognize(_: AudioBuffer_2): Promise<stt.SpeechEvent>;
    // (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;
    // (undocumented)
    languageHints?: string[];
    // (undocumented)
    languageHintsStrict: boolean;
    maxEndpointDelayMs: number;
    // (undocumented)
    model: string;
    // (undocumented)
    numChannels: number;
    // (undocumented)
    sampleRate: number;
    // (undocumented)
    translation?: TranslationConfig;
}

// @public (undocumented)
export type TranslationConfig = {
    type: 'one_way';
    targetLanguage: string;
} | {
    type: 'two_way';
    languageA: string;
    languageB: string;
};

// (No @packageDocumentation comment for this package)

```
