import { AudioSegment } from '../interfaces'; import { Config } from '../config/config'; /** * Get the duration of a video file in seconds * @param videoFilePath - Path to the video file * @returns Duration in seconds */ export declare function getVideoDuration(videoFilePath: string): number; /** * Capture a frame from a video at a specific time position * @param videoFilePath - Path to the video file * @param timePosition - Time position in seconds * @param outputPath - Output path for the captured frame * @param lowQuality - If true, save screenshot in 360p resolution */ export declare function captureVideoFrame(videoFilePath: string, timePosition: number, outputPath: string, lowQuality?: boolean): void; /** * Get the duration of an audio file in seconds * @param audioFilePath - Path to the audio file * @returns Duration in seconds */ export declare function getAudioDuration(audioFilePath: string): number; /** * Combine audio segments into a single audio track using lossless intermediates * @param segments - Array of audio segment information * @param outputPath - Output path for the combined audio * @param videoDuration - Duration of the video in seconds * @param settings - Configuration settings */ export declare function combineAudioSegments(segments: AudioSegment[], outputPath: string, videoDuration: number, settings: Config): string | { commandFile: string; }; /** * Clean up temporary files * @param tempDir - Directory containing temporary files */ export declare function cleanupTempFiles(tempDir: string): void;