package com.radiola.domain.repository

import com.radiola.domain.model.Station
import kotlinx.coroutines.flow.Flow

interface FavoritesRepository {
    fun getFavorites(): Flow<List<Station>>
    fun getFavoriteIds(): Flow<Set<Int>>
    suspend fun addFavorite(station: Station)
    suspend fun addFavorite(stationId: Int)
    suspend fun removeFavorite(stationId: Int)
    fun isFavorite(stationId: Int): Flow<Boolean>
    suspend fun reorderFavorites(orderedIds: List<Int>)
}
