import * as apid from '../../../../api' ; import VideoFile from '../../../db/entities/VideoFile' ; export interface VideoInfo { duration : number ; size : number ; bitRate : number ; } export default interface IVideoUtil { getFullFilePathFromId ( videoFileId ) : Promise < string | null > ; getFullFilePathFromVideoFile ( videoFile ) : string | null ; getParentDirPath ( name ) : string | null ; getInfo ( filePath ) : Promise < VideoInfo > ; }