import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type Files = { fileName: string; content: ReadableStream | Blob | ArrayBuffer | Uint8Array; }; /** * Audio file and voice metadata */ export type CreateClonedVoiceRequest = { /** * Audio file to clone voice from (all common audio formats accepted, max 3MB) */ files: Files | Blob; /** * Name of the cloned voice */ name: string; /** * Description of the cloned voice */ description?: string | undefined; }; /** @internal */ export declare const Files$inboundSchema: z.ZodType; /** @internal */ export type Files$Outbound = { fileName: string; content: ReadableStream | Blob | ArrayBuffer | Uint8Array; }; /** @internal */ export declare const Files$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 Files$ { /** @deprecated use `Files$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Files$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Files$Outbound` instead. */ type Outbound = Files$Outbound; } export declare function filesToJSON(files: Files): string; export declare function filesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateClonedVoiceRequest$inboundSchema: z.ZodType; /** @internal */ export type CreateClonedVoiceRequest$Outbound = { files: Files$Outbound | Blob; name: string; description?: string | undefined; }; /** @internal */ export declare const CreateClonedVoiceRequest$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 CreateClonedVoiceRequest$ { /** @deprecated use `CreateClonedVoiceRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CreateClonedVoiceRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CreateClonedVoiceRequest$Outbound` instead. */ type Outbound = CreateClonedVoiceRequest$Outbound; } export declare function createClonedVoiceRequestToJSON(createClonedVoiceRequest: CreateClonedVoiceRequest): string; export declare function createClonedVoiceRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createclonedvoice.d.ts.map