import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import * as models from "../index.js"; export type StreamSpeechRequest = { voiceId: string; apiConvertTextToSpeechUsingCharacterRequest: models.APIConvertTextToSpeechUsingCharacterRequest; }; export type StreamSpeechResponseResult = ReadableStream | ReadableStream | string; export type StreamSpeechResponse = { headers: { [k: string]: Array; }; result: ReadableStream | ReadableStream | string; }; /** @internal */ export declare const StreamSpeechRequest$inboundSchema: z.ZodType; /** @internal */ export type StreamSpeechRequest$Outbound = { voice_id: string; APIConvertTextToSpeechUsingCharacterRequest: models.APIConvertTextToSpeechUsingCharacterRequest$Outbound; }; /** @internal */ export declare const StreamSpeechRequest$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace StreamSpeechRequest$ { /** @deprecated use `StreamSpeechRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `StreamSpeechRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `StreamSpeechRequest$Outbound` instead. */ type Outbound = StreamSpeechRequest$Outbound; } export declare function streamSpeechRequestToJSON(streamSpeechRequest: StreamSpeechRequest): string; export declare function streamSpeechRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const StreamSpeechResponseResult$inboundSchema: z.ZodType; /** @internal */ export type StreamSpeechResponseResult$Outbound = ReadableStream | ReadableStream | string; /** @internal */ export declare const StreamSpeechResponseResult$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace StreamSpeechResponseResult$ { /** @deprecated use `StreamSpeechResponseResult$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `StreamSpeechResponseResult$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `StreamSpeechResponseResult$Outbound` instead. */ type Outbound = StreamSpeechResponseResult$Outbound; } export declare function streamSpeechResponseResultToJSON(streamSpeechResponseResult: StreamSpeechResponseResult): string; export declare function streamSpeechResponseResultFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const StreamSpeechResponse$inboundSchema: z.ZodType; /** @internal */ export type StreamSpeechResponse$Outbound = { Headers: { [k: string]: Array; }; Result: ReadableStream | ReadableStream | string; }; /** @internal */ export declare const StreamSpeechResponse$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace StreamSpeechResponse$ { /** @deprecated use `StreamSpeechResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `StreamSpeechResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `StreamSpeechResponse$Outbound` instead. */ type Outbound = StreamSpeechResponse$Outbound; } export declare function streamSpeechResponseToJSON(streamSpeechResponse: StreamSpeechResponse): string; export declare function streamSpeechResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=streamspeech.d.ts.map