using StabilityMatrix.Core.Models; using StabilityMatrix.Core.Models.Database; namespace StabilityMatrix.Core.Services; public interface IModelIndexService { /// /// Refreshes the local model file index. /// Task RefreshIndex(); /// /// Get all models of the specified type from the existing index. /// Task> GetModelsOfType(SharedFolderType type); /// /// Starts a background task to refresh the local model file index. /// void BackgroundRefreshIndex(); }