import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Language code: 'auto' for automatic detection, or ISO 639-1 language codes */ export declare const TextToSpeechStreamingRequestLanguage: { readonly Auto: "auto"; readonly En: "en"; readonly Zh: "zh"; readonly Hi: "hi"; readonly Es: "es"; readonly Ar: "ar"; readonly Bn: "bn"; readonly Pt: "pt"; readonly Ru: "ru"; readonly Ja: "ja"; readonly Pa: "pa"; readonly De: "de"; readonly Ko: "ko"; readonly Fr: "fr"; readonly Tr: "tr"; readonly It: "it"; readonly Th: "th"; readonly Pl: "pl"; readonly Nl: "nl"; readonly Id: "id"; readonly Vi: "vi"; readonly Ur: "ur"; }; /** * Language code: 'auto' for automatic detection, or ISO 639-1 language codes */ export type TextToSpeechStreamingRequestLanguage = ClosedEnum; /** * Audio output format: 'mp3' for MPEG audio (default), or 'pcm' for uncompressed PCM/WAV (24kHz, 16-bit, mono) */ export declare const Format: { readonly Mp3: "mp3"; readonly Pcm: "pcm"; }; /** * Audio output format: 'mp3' for MPEG audio (default), or 'pcm' for uncompressed PCM/WAV (24kHz, 16-bit, mono) */ export type Format = ClosedEnum; /** * Request parameters for streaming text-to-speech conversion with language selection and format options. */ export type TextToSpeechStreamingRequest = { /** * Input text to convert to speech */ text: string; /** * Language code: 'auto' for automatic detection, or ISO 639-1 language codes */ language?: TextToSpeechStreamingRequestLanguage | undefined; /** * TTS model identifier. Defaults to 'auto', which selects the default provider. Registry-resolvable ids dispatch to the matching provider. */ model?: string | undefined; /** * When true, persist this generation (input text, parameters, and the generated audio) to text-to-speech history. Defaults to false. */ store?: boolean | undefined; /** * Audio output format: 'mp3' for MPEG audio (default), or 'pcm' for uncompressed PCM/WAV (24kHz, 16-bit, mono) */ format?: Format | undefined; }; /** @internal */ export declare const TextToSpeechStreamingRequestLanguage$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const TextToSpeechStreamingRequestLanguage$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Format$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Format$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const TextToSpeechStreamingRequest$inboundSchema: z.ZodType; /** @internal */ export type TextToSpeechStreamingRequest$Outbound = { text: string; language: string; model: string; store: boolean; format: string; }; /** @internal */ export declare const TextToSpeechStreamingRequest$outboundSchema: z.ZodType; export declare function textToSpeechStreamingRequestToJSON(textToSpeechStreamingRequest: TextToSpeechStreamingRequest): string; export declare function textToSpeechStreamingRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=texttospeechstreamingrequest.d.ts.map