package dev.inmo.postssystem.services.posts.client

import dev.inmo.micro_utils.common.MPPFile
import dev.inmo.micro_utils.ktor.client.UnifiedRequester
import dev.inmo.postssystem.features.files.common.FileId

internal expect suspend fun UnifiedRequester.tempUpload(
    fullTempUploadDraftPath: String,
    file: MPPFile,
    onUpload: (Long, Long) -> Unit = { _, _ -> }
): FileId

