import type { BaseClientOptions } from "../../../../BaseClient.js"; import { type NormalizedClientOptions } from "../../../../BaseClient.js"; import type * as SarvamAI from "../../../index.js"; import { SpeechToTextRealtimeStreamingSocket } from "./Socket.js"; export declare namespace SpeechToTextRealtimeStreamingClient { type Options = BaseClientOptions; interface ConnectArgs { language_code: SarvamAI.SpeechToTextRealtimeStreamingLanguageCode; model?: "saaras:v3-realtime"; stream_type?: SarvamAI.SpeechToTextRealtimeStreamingStreamType; mode?: SarvamAI.SpeechToTextRealtimeStreamingMode; prompt?: string; endpointing?: SarvamAI.SpeechToTextRealtimeStreamingEndpointing; encoding?: SarvamAI.SpeechToTextRealtimeStreamingEncoding; sample_rate?: string; return_timestamps?: SarvamAI.SpeechToTextRealtimeStreamingReturnTimestamps; threshold?: string; prefix_padding_ms?: string; silence_duration_ms?: string; min_speech_duration_ms?: string; "Api-Subscription-Key": string; /** Additional query parameters to send with the websocket connect request. */ queryParams?: Record; /** 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 SpeechToTextRealtimeStreamingClient { protected readonly _options: NormalizedClientOptions; constructor(options?: SpeechToTextRealtimeStreamingClient.Options); connect(args: SpeechToTextRealtimeStreamingClient.ConnectArgs): Promise; }