/** * Local Backend * * Implements ComfyBackend using local ComfyUI. * This is the DEFAULT backend for most operations. */ import { ComfyBackend, GenerationResult, PortraitParams, TTSParams, LipSyncParams, ImagineParams, ImageToVideoParams, LocalBackendConfig } from "./types.js"; export declare class LocalBackend implements ComfyBackend { readonly name: "local"; private client; private config; constructor(config: LocalBackendConfig); healthCheck(): Promise<{ healthy: boolean; version: string; details: import("../comfyui-client.js").SystemStats; error?: undefined; } | { healthy: boolean; error: string; version?: undefined; details?: undefined; }>; portrait(params: PortraitParams): Promise; tts(params: TTSParams): Promise; lipsync(params: LipSyncParams): Promise; imagine(params: ImagineParams): Promise; /** * Extract output files from ComfyUI history and save locally */ private extractOutputFiles; imageToVideo(params: ImageToVideoParams): Promise; }