package com.optix.android.domain.repository

import com.optix.android.domain.model.HostResult
import kotlinx.coroutines.flow.Flow

interface NodeRepository {
    fun observeNodes(): Flow<List<HostResult>>
    suspend fun upsertNodes(nodes: List<HostResult>)
    suspend fun markMissingNodes(activeNodeIds: Set<String>)
    suspend fun clear()
}
