import * as apid from '../../../../api' ; import IPlayList from '../IPlayList' ; export interface VideoFilePathInfo { path : string ; mime : string ; } export default interface IVideoApiModel { getFullFilePath ( videoFileId ) : Promise < VideoFilePathInfo | null > ; getM3u8 ( host , isSecure , videoFileId ) : Promise < IPlayList | null > ; deleteVideoFile ( videoFileId ) : Promise < void > ; getDuration ( videoFileId ) : Promise < number > ; sendToKodi ( host , isSecure , kodiName , videoFileId ) : Promise < void > ; }