import { Command } from 'commander';
export declare function registerVideoCommand(program: Command): void;
export declare function hasFfmpegBinary(name: 'ffmpeg' | 'ffprobe'): boolean;
export declare function runFfmpegCopy(concatListPath: string, outputPath: string): {
    ok: boolean;
    stderr: string;
};
export declare function runFfmpegReencode(concatListPath: string, outputPath: string): {
    ok: boolean;
    stderr: string;
};
export declare function ffprobeDuration(filePath: string): number;
/**
 * 3 层 failed_input 探测(SPEC 决策 #9):
 * 1) ffmpeg stderr 含 input 路径字面 → 再 ffprobe verify 一次,验证 fail 才返回
 *    (P2-2 修正:ffmpeg `Input #N` 默认会把所有 input 名字打 stderr,
 *    Layer 1 命中不等于该 input 真坏;必须 ffprobe verify 避免 false positive)
 * 2) 否则 ffprobe scan 全部 input,首个 exit≠0 = failed_input
 * 3) 都 ffprobe OK 但 concat 仍失败 → null (codec mismatch,非单个 input 问题)
 */
export declare function detectFailedInput(stderr: string, inputs: string[]): string | null;
//# sourceMappingURL=video.d.ts.map