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?: "bulbul:v2" | undefined; send_completion_event?: SarvamAI.TextToSpeechStreamingSendCompletionEvent | 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 TextToSpeechStreamingClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options?: TextToSpeechStreamingClient.Options); connect(args: TextToSpeechStreamingClient.ConnectArgs): Promise; }