package de.krisenvorrat.app.domain.repository

import de.krisenvorrat.app.domain.model.VersionInfo
import java.io.File

internal interface UpdateRepository {
    suspend fun checkForUpdate(serverUrl: String): Result<VersionInfo>
    suspend fun downloadApk(apkUrl: String, targetFile: File, onProgress: (Float) -> Unit): Result<File>
}
