import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type TextToSpeechRequest = { /** * Optional external end-user identifier forwarded by the API gateway. */ xOnBehalfOf?: string | undefined; textToSpeechRequest: components.TextToSpeechRequest; }; export type TextToSpeechResponse = { headers: { [k: string]: Array; }; result: ReadableStream; }; /** @internal */ export declare const TextToSpeechRequest$inboundSchema: z.ZodType; /** @internal */ export type TextToSpeechRequest$Outbound = { "X-On-Behalf-Of"?: string | undefined; TextToSpeechRequest: components.TextToSpeechRequest$Outbound; }; /** @internal */ export declare const TextToSpeechRequest$outboundSchema: z.ZodType; export declare function textToSpeechRequestToJSON(textToSpeechRequest: TextToSpeechRequest): string; export declare function textToSpeechRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const TextToSpeechResponse$inboundSchema: z.ZodType; /** @internal */ export type TextToSpeechResponse$Outbound = { Headers: { [k: string]: Array; }; Result: ReadableStream; }; /** @internal */ export declare const TextToSpeechResponse$outboundSchema: z.ZodType; export declare function textToSpeechResponseToJSON(textToSpeechResponse: TextToSpeechResponse): string; export declare function textToSpeechResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=texttospeech.d.ts.map