using StabilityMatrix.Core.Models; using StabilityMatrix.Core.Models.Packages; namespace StabilityMatrix.Core.Helper.Factory; public interface IPackageFactory { IEnumerable GetAllAvailablePackages(); BasePackage? FindPackageByName(string? packageName); BasePackage? this[string packageName] { get; } PackagePair? GetPackagePair(InstalledPackage? installedPackage); IEnumerable GetPackagesByType(PackageType packageType); }