import type { BaseMedia , Configuration , Media , MediaPlaylist , Playlist , PlaylistCreate , PlaylistEntryUpdate , PlaylistUpdate , SubsetConstraints , SubsetFields , UpdateMedia , } from '@vimtur/common' ; export abstract class Database { public abstract getMedia ( hash ) ; public abstract saveMedia ( hash , media ) ; public abstract saveBulkMedia ( constraints , media ) ; public abstract removeMedia ( hash , ignoreInImport ) ; public abstract isDeletedPath ( path ) ; public abstract addMediaTag ( hash , tag ) ; public abstract removeMediaTag ( hash , tag ) ; public abstract addMediaActor ( hash , actor ) ; public abstract removeMediaActor ( hash , actor ) ; public abstract addMediaToPlaylist ( hash , playlistId ) ; public abstract removeMediaFromPlaylist ( hash , playlistId ) ; public abstract updateMediaPlaylistOrder ( hash , playlistId , update ) ; public abstract subset ( constraints ) ; public abstract subsetFields ( constraints , fields ) ; public abstract addActor ( name ) ; public abstract removeActor ( name ) ; public abstract getActors ( ) ; public abstract addTag ( name ) ; public abstract removeTag ( name ) ; public abstract getTags ( ) ; public abstract addPlaylist ( request ) ; public abstract removePlaylist ( id ) ; public abstract updatePlaylist ( id , request ) ; public abstract getPlaylists ( ) ; public abstract getPlaylist ( id ) ; public abstract getUserConfig ( ) ; public abstract saveUserConfig ( config ) ; public abstract close ( ) ; public abstract resetClones ( age ) ; public abstract resetAutoTags ( ) ; }