/** * RunPod Backend * * Implements ComfyBackend using RunPod serverless. */ import { ComfyBackend, GenerationResult, PortraitParams, TTSParams, LipSyncParams, ImagineParams, ImageToVideoParams, RunPodBackendConfig } from "./types.js"; export declare class RunPodBackend implements ComfyBackend { readonly name: "runpod"; private client; constructor(config: RunPodBackendConfig); healthCheck(): Promise<{ healthy: boolean; version: any; error?: undefined; } | { healthy: boolean; error: string; version?: undefined; }>; portrait(params: PortraitParams): Promise; tts(params: TTSParams): Promise; lipsync(params: LipSyncParams): Promise; imagine(params: ImagineParams): Promise; imageToVideo(params: ImageToVideoParams): Promise; /** * Process RunPod response files - download if base64, return URLs otherwise */ private processFiles; }