namespace PSLauncher.Core.Installations;

public interface IZipInstaller
{
    Task<string> InstallAsync(
        string zipPath,
        string targetFolder,
        IProgress<InstallProgress>? progress,
        CancellationToken ct);
}

public sealed record InstallProgress(long EntriesDone, long EntriesTotal, long BytesDone, long BytesTotal, string CurrentEntry);
