package com.radiola.domain.repository

import com.radiola.domain.model.Recording
import com.radiola.domain.model.Station
import com.radiola.domain.model.Track
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.StateFlow

interface RecordingRepository {
    val isRecording: StateFlow<Boolean>
    fun getRecordings(): Flow<List<Recording>>
    suspend fun startRecording(station: Station, track: Track?)
    suspend fun stopRecording()
    suspend fun deleteRecording(id: Long)
}
