import * as apid from '../../../../api' ; import { UploadedVideoFileOption } from '../../operator/recorded/IRecordedManageModel' ; export default interface IRecordedApiModel { gets ( option ) : Promise < apid . Records > ; get ( recordedId , isHalfWidth ) : Promise < apid . RecordedItem | null > ; getSearchOptionList ( ) : Promise < apid . RecordedSearchOptions > ; delete ( recordedId ) : Promise < void > ; stopEncode ( recordedId ) : Promise < void > ; changeProtect ( recordedId , isProtect ) : Promise < void > ; fileCleanup ( ) : Promise < void > ; addUploadedVideoFile ( option ) : Promise < void > ; createNewRecorded ( option ) : Promise < apid . RecordedId > ; }