import * as apid from '../../../api' ; import Recorded from '../../db/entities/Recorded' ; export default interface IRecordedEvent { emitDeleteRecorded ( recorded ) : void ; emitUpdateVideoFileSize ( videoFileId ) : void ; emitCreateNewRecorded ( recordedId ) : void ; emitAddVideoFile ( newVideoFileId ) : void ; emitAddUploadedVideoFile ( newVideoFileId , needsCreateThumbnail ) : void ; emitDeleteVideoFile ( videoFileId ) : void ; emitChangeProtect ( recordedId , isProtected ) : void ; setDeleteRecorded ( callback ) : void ; setCreateNewRecorded ( callback ) : void ; setUpdateVideoFileSize ( callback ) : void ; setAddVideoFile ( callback ) : void ; setAddUploadedVideoFile ( callback ) : void ; setDeleteVideoFile ( callback ) : void ; setChangeProtect ( callback ) : void ; }