package ru.fincode.tsudesk.feature.news.domain.repository

import kotlinx.coroutines.flow.Flow
import ru.fincode.tsudesk.core.network.model.NetworkResult
import ru.fincode.tsudesk.feature.news.domain.model.NewsItem

interface NewsRepository {
    fun loadPage(page: Int): Flow<NetworkResult<List<NewsItem>>>
}