/** * Simple video capture module for extracting frames from videos */ import { VisionModel } from './models/vision-model'; export interface VideoConfig { maxDurationSeconds?: number; frameRate?: number; supportedFormats?: string[]; targetFrameSize?: [number, number]; resizeFrames?: boolean; cacheDir?: string; cloudBucket?: string | undefined; } export declare class VideoValidationError extends Error { constructor(message: string); } export declare class VidCapture { private config; private visionModel; private invalidateCache; private cache; constructor(config?: VideoConfig, visionModel?: VisionModel, invalidateCache?: boolean); private validateVideo; private optimizeFrame; extractFrames(videoPath: string): Promise<{ frames: Buffer[]; interval: number; }>; captureAsync(prompt: string, images: Buffer[]): Promise; capture(prompt: string, images: Buffer[]): Promise; private getCacheKey; private getFromCacheAsync; private saveToCacheAsync; processVideoAsync(videoPath: string, prompt: string): Promise; processVideo(videoPath: string, prompt: string): Promise; static analyzeVideo(videoPath: string): Promise<{ status: string; duration?: number; fps?: number; frame_count?: number; width?: number; height?: number; resolution?: string; codec?: string; message?: string; }>; } //# sourceMappingURL=vid-capture.d.ts.map