/** * Enhancement Client * * Shared SSE consumer and polling fallback for cloud TTS enhancement progress. * Used by both `render` and `generate --cloud` commands. */ import type { ApiClient } from "./api-client.js"; import type { EnhancedTimeline } from "./audio-stitching.js"; export interface SSEJobResult { status: "completed" | "partial" | "failed"; enhancedCount: number; fallbackCount: number; failedCount: number; } export declare function consumeEnhancementSSE(apiClient: ApiClient, jobId: string, totalSegments: number): Promise; export declare function pollEnhancementStatus(apiClient: ApiClient, jobId: string, onProgress?: (progress: number, status: string) => void): Promise; //# sourceMappingURL=enhancement-client.d.ts.map