import { PlayerName } from "./models"; export declare class MusicController { static readonly WINDOWS_SPOTIFY_TRACK_FIND: string; private scriptsPath; private lastVolumeLevel; private scripts; private static instance; private constructor(); static getInstance(): MusicController; isMusicPlayerActive(player: PlayerName): Promise; stopPlayer(player: PlayerName): Promise; startPlayer(player: string, options?: any): Promise; startMacPlayer(player: string, options?: any): Promise; launchPlayerWithCommand(command: string): Promise; execScript(player: string, scriptName: string, params?: any, argv?: any): Promise; run(player: PlayerName, scriptName: string, params?: any, argv?: any): Promise; setVolume(player: string, volume: number): Promise; setItunesLoved(loved: boolean): Promise; playSpotifyDesktopTrack(trackId?: string, playlistId?: string): void; playTrackInContext(player: string, params: any[]): Promise; playPauseSpotifyDevice(device_id: string, play: boolean): Promise; spotifyWebPlayPlaylist(playlistId: string, startingTrackId?: string, deviceId?: string): Promise; spotifyWebPlayTrack(trackId: string, deviceId?: string): Promise; spotifyWebPlay(options: any): Promise; spotifyWebPause(options: any): Promise; spotifyWebPrevious(options: any): Promise; spotifyWebNext(options: any): Promise; getGenre(artist: string, songName?: string, spotifyArtistId?: string): Promise; getHighestFrequencySpotifyGenre(genreList: string[]): string; getGenreFromSpotify(artist: string, spotifyArtistId?: string): Promise; /** * Kills the Spotify desktop player if it's running * @param player {spotify|spotify-web|itunes} */ quitApp(player: PlayerName): Promise; /** * Launches the desktop player * @param player {spotify|spotify-web|itunes} */ launchApp(player: PlayerName): Promise; }