using StabilityMatrix.Core.Models.Database;
namespace StabilityMatrix.Core.Services;
public interface IImageIndexService
{
///
/// Gets a list of local images that start with the given path prefix
///
Task> GetLocalImagesByPrefix(string pathPrefix);
///
/// Refreshes the index of local images
///
Task RefreshIndex(string subPath = "");
///
/// Refreshes the index of local images in the background
///
void BackgroundRefreshIndex();
}