using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using GB5Shared.DTO.Framework.Login; using GB5Shared.DTO.Report; namespace GB5Shared.Export.CSVExport { public interface ICSVExport { Task Export( IAsyncEnumerable> records, IAsyncEnumerable mainHeaders, IAsyncEnumerable columnTitles, IAsyncEnumerable columnFieldNames, Stream outputStream, string sheetName = "Report", CancellationToken cancellationToken = default, List? reportViewFields = null); IAsyncEnumerable> ReportURICalling( ReportCallingDTO reportCallingDTO, LoginDTO? loginDTO, [System.Runtime.CompilerServices.EnumeratorCancellation] CancellationToken cancellationToken); } }