import type { BaseClientOptions, NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js"; import type * as SarvamAI from "../../../index.js"; import { SpeechToTextStreamingSocket } from "./Socket.js"; export declare namespace SpeechToTextStreamingClient { interface Options extends BaseClientOptions { } interface ConnectArgs { "language-code": SarvamAI.SpeechToTextStreamingLanguageCode; model?: SarvamAI.SpeechToTextTranslateModel | undefined; input_audio_codec?: SarvamAI.SpeechToTextStreamingInputAudioCodec | undefined; sample_rate?: string | undefined; high_vad_sensitivity?: SarvamAI.SpeechToTextStreamingHighVadSensitivity | undefined; vad_signals?: SarvamAI.SpeechToTextStreamingVadSignals | undefined; flush_signal?: SarvamAI.SpeechToTextStreamingFlushSignal | undefined; "Api-Subscription-Key": string; /** Arbitrary headers to send with the websocket connect request. */ headers?: Record; /** Enable debug mode on the websocket. Defaults to false. */ debug?: boolean; /** Number of reconnect attempts. Defaults to 30. */ reconnectAttempts?: number; } } export declare class SpeechToTextStreamingClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options?: SpeechToTextStreamingClient.Options); connect(args: SpeechToTextStreamingClient.ConnectArgs): Promise; }