/** * Video frame extraction (ffmpeg) and GPT-4o-mini vision analysis. * Extracted from openai.ts for modular decomposition (Phase 3). */ /** * Register process-exit handlers that clean up in-flight temp files, * and run an initial sweep of stale files in TEMP_DIR. * * Call once during application bootstrap (not at import time). */ export declare function initVideoTempCleanup(): void; /** Maximum number of frames to extract from a video. */ export declare const MAX_FRAMES = 6; /** * Extract key frames from a video buffer using ffmpeg. * Writes video to a temp file and reads JPEG frames from stdout. * @param videoBuffer Raw video file content (MP4). * @param durationSec Video duration in seconds (used to calculate interval). * @returns Array of JPEG-encoded frame buffers. */ export declare function extractVideoFrames(videoBuffer: Buffer, durationSec: number): Promise; //# sourceMappingURL=video.d.ts.map