namespace Minint.Core.Services;

public interface IGifExporter
{
    /// <summary>
    /// Exports multiple frames as an animated GIF.
    /// </summary>
    /// <param name="stream">Output stream.</param>
    /// <param name="frames">Sequence of (ARGB pixels, delay in ms) per frame.</param>
    /// <param name="width">Frame width.</param>
    /// <param name="height">Frame height.</param>
    void Export(Stream stream, IReadOnlyList<(uint[] Pixels, uint DelayMs)> frames, int width, int height);
}
