namespace DramaLing.Api.Services.Storage;

public interface IImageStorageService
{
    Task<string> SaveImageAsync(Stream imageStream, string fileName);
    Task<string> GetImageUrlAsync(string imagePath);
    Task<bool> DeleteImageAsync(string imagePath);
    Task<StorageInfo> GetStorageInfoAsync();
    Task<bool> ImageExistsAsync(string imagePath);
}

public class StorageInfo
{
    public string Provider { get; set; } = string.Empty;
    public long TotalSizeBytes { get; set; }
    public int FileCount { get; set; }
    public string Status { get; set; } = string.Empty;
}