import * as apid from '../../../api' ; import RecordedHistory from '../../db/entities/RecordedHistory' ; export default interface IRecordedHistoryDB { restore ( items ) : Promise < void > ; insertOnce ( program ) : Promise < apid . RecordedHistoryId > ; delete ( time ) : Promise < void > ; findAll ( ) : Promise < RecordedHistory [ ] > ; }