import type { Song } from './song'

export type PlayerMode = 'guided' | 'free'
export type RepeatMode = 'none' | 'one' | 'all'

export interface PlayerState {
  isPlaying: boolean
  currentSong: Song | null
  currentTime: number
  duration: number
  volume: number
  mode: PlayerMode
  repeatMode: RepeatMode
  isShuffled: boolean
  playlist: Song[]
  queue: Song[]
  isExpanded: boolean
}
