using PSLauncher.Models;

namespace PSLauncher.Core.Installations;

public interface IInstallationRegistry
{
    IReadOnlyList<InstalledVersion> Scan();
    InstalledVersion? Get(string version);
    bool IsInstalled(string version);
    Task DeleteAsync(string version, IProgress<double>? progress, CancellationToken ct);
}
