import * as apid from '../../../../api' ; import Reserve from '../../../db/entities/Reserve' ; import { RecordedDirInfo } from '../../IConfigFile' ; export interface RecFilePathInfo { parendDir : RecordedDirInfo ; subDir : string ; fileName : string ; fullPath : string ; } export default interface IRecordingUtilModel { getRecPath ( reserve , isEnableTmp ) : Promise < RecFilePathInfo > ; movingFromTmp ( reserve , videoFileId ) : Promise < string > ; updateVideoFileSize ( videoFileId ) : Promise < void > ; }