import { VideoMetadata } from './VideoMetadata.js'; /** * Result of a video download operation. */ export interface DownloadResult { /** Whether download succeeded */ success: boolean; /** Path to the video's folder (contains all related files) */ videoDir: string; /** Path to downloaded video file */ filePath: string; /** Path to metadata JSON file */ metadataPath: string; /** Video format (mp4, webm, etc.) */ format: string; /** File size in bytes */ sizeBytes: number; /** Duration in seconds */ duration: number; /** Extracted metadata from platform */ metadata: VideoMetadata; /** Path to subtitles file (if downloaded) */ subtitlesPath?: string; /** Path to thumbnail (if downloaded) */ thumbnailPath?: string; }