using Elsa.Http.Options;
namespace Elsa.Http.Contracts;
///
/// A general-purpose downloader of files from a given URL.
///
public interface IFileDownloader
{
///
/// Downloads a file from the specified URL.
///
Task DownloadAsync(Uri url, FileDownloadOptions? options = default, CancellationToken cancellationToken = default);
}