import type { VideoRenderJob } from './types.js'; declare function processAlive(pid: number | undefined): boolean; declare function readTail(filePath: string, maxBytes?: number): string; export interface FfmpegPlan { args: string[]; outputPath: string; subtitlePath?: string; } export declare function buildFfmpegPlan(projectDir: string, outputPath: string, jobId: string): FfmpegPlan; export interface StartRenderInput { projectDir: string; outputFileName?: string; ffmpegPath?: string; overwriteOutput?: boolean; } declare function acquireOutputLock(lockPath: string, projectDir: string, jobId: string): void; export declare function startRender(input: StartRenderInput): Promise; export declare function getRenderJob(projectDir: string, jobId: string): VideoRenderJob & { logTail?: string; }; declare function ffprobeFor(ffmpegPath?: string): string; export declare function validateVideo(filePath: string, ffmpegPath?: string): Promise<{ valid: boolean; format: unknown; streams: unknown[]; issues: string[]; }>; export declare const __testing: { ffprobeFor: typeof ffprobeFor; processAlive: typeof processAlive; acquireOutputLock: typeof acquireOutputLock; readTail: typeof readTail; }; export {};