import { Command } from 'commander'; import { type Segment } from '../lib/subtitle-build.js'; /** 读 digital-human workspace 的分段文本 + 时长,组装成带累加时间轴的 Segment[]。 */ export declare function readWorkspaceSegments(workspaceDir: string): Segment[]; export declare function runFfmpegBurnSubtitle(videoPath: string, assPath: string, outputPath: string): { ok: boolean; stderr: string; }; /** --out 父目录可能尚不存在(Phase 1 字幕-only 路径下 bookend/ 是首个写入者,subtitle 第一个写它)→ 自建。 */ export declare function ensureOutputDir(outputPath: string): void; export declare function registerVideoSubtitle(parent: Command): void; //# sourceMappingURL=video-subtitle.d.ts.map