/** * Optimized and simplified video metadata hook * Reduces code duplication and improves maintainability */ import { VideoMetadata, ProgressState, ErrorState } from '../types/index.js'; interface UseOptimizedVideoMetadataResult { metadata: VideoMetadata | null; progress: ProgressState; error: ErrorState; handleFileSelect: (file: File) => Promise; extractSubtitle: (file: File, streamIndex: number, language?: string, codecName?: string, isForced?: boolean) => Promise; extractStream: (file: File, streamIndex: number, streamType: string) => Promise; extractAllSubtitles: (file: File) => Promise; hideError: () => void; hideProgress: () => void; isLoaded: boolean; selectedFile: File | null; currentMethod: string; } export declare const useOptimizedVideoMetadata: () => UseOptimizedVideoMetadataResult; export {}; //# sourceMappingURL=useOptimizedVideoMetadata.d.ts.map