import { z } from "zod"; import { ComfyUIClient } from "../comfyui-client.js"; import { ProgressOptions } from "../progress.js"; export declare const ttsGenerateSchema: z.ZodObject<{ text: z.ZodString; voice_reference: z.ZodString; voice_reference_text: z.ZodOptional; speed: z.ZodDefault>; seed: z.ZodDefault>; model: z.ZodDefault>; vocoder: z.ZodDefault>>; output_path: z.ZodString; upload_to_cloud: z.ZodDefault>; }, "strip", z.ZodTypeAny, { model: string; seed: number; output_path: string; upload_to_cloud: boolean; text: string; voice_reference: string; speed: number; vocoder: "vocos" | "auto" | "bigvgan"; voice_reference_text?: string | undefined; }, { output_path: string; text: string; voice_reference: string; model?: string | undefined; seed?: number | undefined; upload_to_cloud?: boolean | undefined; voice_reference_text?: string | undefined; speed?: number | undefined; vocoder?: "vocos" | "auto" | "bigvgan" | undefined; }>; export declare const listTTSModelsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; export declare const listVoicesSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; /** * Generate speech from text using F5-TTS with voice cloning * Optionally uploads to cloud storage if configured */ export declare function ttsGenerate(rawArgs: z.input, client: ComfyUIClient, progressOptions?: ProgressOptions): Promise<{ audio: string; text: string; remote_url?: string; taskId: string; }>; /** * List available TTS models */ export declare function listTTSModels(_args: z.infer, client: ComfyUIClient): Promise<{ f5tts: { available: boolean; models: string[]; }; xtts: { available: boolean; models: string[]; }; }>; /** * List available voice samples in ComfyUI input folder */ export declare function listVoices(_args: z.infer, client: ComfyUIClient): Promise<{ voices: string[]; }>;