#pragma warning disable CS1591
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Jellyfin.Database.Implementations.Entities;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Model.Drawing;
using MediaBrowser.Model.Dto;
using MediaBrowser.Model.Entities;
namespace MediaBrowser.Controller.Drawing
{
    /// 
    /// Interface IImageProcessor.
    /// 
    public interface IImageProcessor
    {
        /// 
        /// Gets the supported input formats.
        /// 
        /// The supported input formats.
        IReadOnlyCollection SupportedInputFormats { get; }
        /// 
        /// Gets a value indicating whether [supports image collage creation].
        /// 
        /// true if [supports image collage creation]; otherwise, false.
        bool SupportsImageCollageCreation { get; }
        /// 
        /// Gets the dimensions of the image.
        /// 
        /// Path to the image file.
        /// ImageDimensions.
        ImageDimensions GetImageDimensions(string path);
        /// 
        /// Gets the dimensions of the image.
        /// 
        /// The base item.
        /// The information.
        /// ImageDimensions.
        ImageDimensions GetImageDimensions(BaseItem item, ItemImageInfo info);
        /// 
        /// Gets the blurhash of the image.
        /// 
        /// Path to the image file.
        /// BlurHash.
        string GetImageBlurHash(string path);
        /// 
        /// Gets the blurhash of the image.
        /// 
        /// Path to the image file.
        /// The image dimensions.
        /// BlurHash.
        string GetImageBlurHash(string path, ImageDimensions imageDimensions);
        /// 
        /// Gets the image cache tag.
        /// 
        /// The items basePath.
        /// The image last modification date.
        /// Guid.
        string? GetImageCacheTag(string baseItemPath, DateTime imageDateModified);
        /// 
        /// Gets the image cache tag.
        /// 
        /// The item.
        /// The image.
        /// Guid.
        string? GetImageCacheTag(BaseItemDto item, ChapterInfo image);
        /// 
        /// Gets the image cache tag.
        /// 
        /// The item.
        /// The image.
        /// Guid.
        string GetImageCacheTag(BaseItem item, ItemImageInfo image);
        /// 
        /// Gets the image cache tag.
        /// 
        /// The item.
        /// The image.
        /// Guid.
        string GetImageCacheTag(BaseItemDto item, ItemImageInfo image);
        string? GetImageCacheTag(BaseItem item, ChapterInfo chapter);
        string? GetImageCacheTag(User user);
        /// 
        /// Processes the image.
        /// 
        /// The options.
        /// Task.
        Task<(string Path, string? MimeType, DateTime DateModified)> ProcessImage(ImageProcessingOptions options);
        /// 
        /// Gets the supported image output formats.
        /// 
        /// .
        IReadOnlyCollection GetSupportedImageOutputFormats();
        /// 
        /// Creates the image collage.
        /// 
        /// The options.
        /// The library name to draw onto the collage.
        void CreateImageCollage(ImageCollageOptions options, string? libraryName);
    }
}