using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Model.Entities;
namespace MediaBrowser.Controller.Providers
{
    public interface IDynamicImageProvider : IImageProvider
    {
        /// 
        /// Gets the supported images.
        /// 
        /// The item.
        /// IEnumerable{ImageType}.
        IEnumerable GetSupportedImages(BaseItem item);
        /// 
        /// Gets the image.
        /// 
        /// The item.
        /// The type.
        /// The cancellation token.
        /// Task{DynamicImageResponse}.
        Task GetImage(BaseItem item, ImageType type, CancellationToken cancellationToken);
    }
}