/// import { Readable } from 'node:stream'; import { z } from 'zod'; /** * @internal */ export declare const synthesize_result_success: z.ZodObject<{ error: z.ZodOptional; value: z.ZodType; }, "strip", z.ZodTypeAny, { value: Readable; error?: undefined; }, { value: Readable; error?: undefined; }>; /** * @internal */ export declare const synthesize_result_failure: z.ZodObject<{ error: z.ZodType; value: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: Error; value?: undefined; }, { error: Error; value?: undefined; }>; /** * @internal */ export declare const synthesize_result: z.ZodUnion<[z.ZodObject<{ error: z.ZodType; value: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: Error; value?: undefined; }, { error: Error; value?: undefined; }>, z.ZodObject<{ error: z.ZodOptional; value: z.ZodType; }, "strip", z.ZodTypeAny, { value: Readable; error?: undefined; }, { value: Readable; error?: undefined; }>]>; /** * Synthesize result. * * @public */ export type SynthesizeResult = z.infer; export declare const text_to_synthesize: z.ZodString; export declare const synthesize_func: z.ZodFunction, z.ZodPromise; value: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: Error; value?: undefined; }, { error: Error; value?: undefined; }>, z.ZodObject<{ error: z.ZodOptional; value: z.ZodType; }, "strip", z.ZodTypeAny, { value: Readable; error?: undefined; }, { value: Readable; error?: undefined; }>]>>>; export type Synthesize = z.infer; export declare const synthesis: z.ZodObject<{ config: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; extension: z.ZodString; synthesize: z.ZodFunction, z.ZodPromise; value: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: Error; value?: undefined; }, { error: Error; value?: undefined; }>, z.ZodObject<{ error: z.ZodOptional; value: z.ZodType; }, "strip", z.ZodTypeAny, { value: Readable; error?: undefined; }, { value: Readable; error?: undefined; }>]>>>; }, "strip", z.ZodTypeAny, { config: {} & { [k: string]: unknown; }; extension: string; synthesize: (args_0: string, ...args_1: unknown[]) => Promise<{ value: Readable; error?: undefined; } | { error: Error; value?: undefined; }>; }, { config: {} & { [k: string]: unknown; }; extension: string; synthesize: (args_0: string, ...args_1: unknown[]) => Promise<{ value: Readable; error?: undefined; } | { error: Error; value?: undefined; }>; }>; export type Synthesis = z.input; export declare const synthesis_client: z.ZodFunction, z.ZodObject<{ config: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; extension: z.ZodString; synthesize: z.ZodFunction, z.ZodPromise; value: z.ZodOptional; }, "strip", z.ZodTypeAny, { error: Error; value?: undefined; }, { error: Error; value?: undefined; }>, z.ZodObject<{ error: z.ZodOptional; value: z.ZodType; }, "strip", z.ZodTypeAny, { value: Readable; error?: undefined; }, { value: Readable; error?: undefined; }>]>>>; }, "strip", z.ZodTypeAny, { config: {} & { [k: string]: unknown; }; extension: string; synthesize: (args_0: string, ...args_1: unknown[]) => Promise<{ value: Readable; error?: undefined; } | { error: Error; value?: undefined; }>; }, { config: {} & { [k: string]: unknown; }; extension: string; synthesize: (args_0: string, ...args_1: unknown[]) => Promise<{ value: Readable; error?: undefined; } | { error: Error; value?: undefined; }>; }>>; //# sourceMappingURL=schemas.d.ts.map