import type { BaseClientOptions, NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js"; import type * as SarvamAI from "../../../index.js"; import { TextToSpeechStreamingSocket } from "./Socket.js"; export declare namespace TextToSpeechStreamingClient { interface Options extends BaseClientOptions { } interface ConnectArgs { model?: SarvamAI.TextToSpeechStreamingModel | undefined; send_completion_event?: SarvamAI.TextToSpeechStreamingSendCompletionEvent | undefined; /** Optional when the client is configured with `apiSubscriptionKey` or the `SARVAM_API_KEY` environment variable. */ "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 TextToSpeechStreamingClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options?: TextToSpeechStreamingClient.Options); connect(args?: TextToSpeechStreamingClient.ConnectArgs): Promise; }