import type { ScrobblerPluginConfig } from '../index'; import type { SetConfType } from '../main'; import type { SongInfo } from '@/providers/song-info'; export abstract class ScrobblerBase { public abstract isSessionCreated(config: ScrobblerPluginConfig): boolean; public abstract createSession( config: ScrobblerPluginConfig, setConfig: SetConfType, ): Promise; public abstract setNowPlaying( songInfo: SongInfo, config: ScrobblerPluginConfig, setConfig: SetConfType, ): void; public abstract addScrobble( songInfo: SongInfo, config: ScrobblerPluginConfig, setConfig: SetConfType, ): void; }