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 PredictDurationRequest = { voiceId: string; predictTTSDurationRequest: models.PredictTTSDurationRequest; }; /** * Returns predicted duration of the audio in seconds */ export type PredictDurationResponse = { duration?: number | undefined; }; /** @internal */ export declare const PredictDurationRequest$inboundSchema: z.ZodType; /** @internal */ export type PredictDurationRequest$Outbound = { voice_id: string; PredictTTSDurationRequest: models.PredictTTSDurationRequest$Outbound; }; /** @internal */ export declare const PredictDurationRequest$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 PredictDurationRequest$ { /** @deprecated use `PredictDurationRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PredictDurationRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PredictDurationRequest$Outbound` instead. */ type Outbound = PredictDurationRequest$Outbound; } export declare function predictDurationRequestToJSON(predictDurationRequest: PredictDurationRequest): string; export declare function predictDurationRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PredictDurationResponse$inboundSchema: z.ZodType; /** @internal */ export type PredictDurationResponse$Outbound = { duration?: number | undefined; }; /** @internal */ export declare const PredictDurationResponse$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 PredictDurationResponse$ { /** @deprecated use `PredictDurationResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PredictDurationResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PredictDurationResponse$Outbound` instead. */ type Outbound = PredictDurationResponse$Outbound; } export declare function predictDurationResponseToJSON(predictDurationResponse: PredictDurationResponse): string; export declare function predictDurationResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=predictduration.d.ts.map