import * as apid from '../../../api' ; import Thumbnail from '../../db/entities/Thumbnail' ; export default interface IThumbnailDB { restore ( items ) : Promise < void > ; insertOnce ( thumbnail ) : Promise < apid . ThumbnailId > ; deleteOnce ( thumbnailId ) : Promise < void > ; deleteRecordedId ( recordedId ) : Promise < void > ; findId ( thumbnailId ) : Promise < Thumbnail | null > ; findAll ( ) : Promise < Thumbnail [ ] > ; }