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 Language: { 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 Language = ClosedEnum; /** * Request parameters for text-to-speech conversion with language selection. */ export type TextToSpeechRequest = { /** * Input text to convert to speech */ text: string; /** * Language code: 'auto' for automatic detection, or ISO 639-1 language codes */ language?: Language | 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; }; /** @internal */ export declare const Language$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Language$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const TextToSpeechRequest$inboundSchema: z.ZodType; /** @internal */ export type TextToSpeechRequest$Outbound = { text: string; language: string; model: string; store: boolean; }; /** @internal */ export declare const TextToSpeechRequest$outboundSchema: z.ZodType; export declare function textToSpeechRequestToJSON(textToSpeechRequest: TextToSpeechRequest): string; export declare function textToSpeechRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=texttospeechrequest.d.ts.map