package de.krisenvorrat.app.domain.repository

import de.krisenvorrat.shared.model.InventoryDto

internal interface ImportExportRepository {
    suspend fun exportToJson(): String
    suspend fun importFromJson(json: String): Result<Unit>
    suspend fun exportToMarkdown(): String
    suspend fun exportToInventoryDto(): InventoryDto
    suspend fun importFromInventoryDto(dto: InventoryDto): Result<Unit>
}
