// Copyright © Selmo Technology GmbH. All Rights Reserved

using SelmoStudio.Hmi.Server.SelmoHmi.Shared.WellKnownTypes;

namespace SelmoStudio.Hmi.Server.SelmoHmi.Shared.Service
{
    public interface IFileDownloadService
    {
        Task DownloadAsync(string fileName, WellKnownFileFormat fileFormat, object data);

        Task DownloadAsync<T>(string fileName, WellKnownFileFormat fileFormat, List<T> content);
    }
}