package app.closer.domain.repository

import app.closer.domain.model.LocalAnswer
import kotlinx.coroutines.flow.Flow

interface LocalAnswerRepository {
    fun observeAnswers(): Flow<List<LocalAnswer>>
    fun observeAnswer(questionId: String): Flow<LocalAnswer?>
    suspend fun getAnswer(questionId: String): LocalAnswer?
    suspend fun saveAnswer(answer: LocalAnswer)
    suspend fun markRevealed(questionId: String)
    suspend fun deleteAnswer(questionId: String)
}
