using System.IO;
using SharepointToolbox.Core.Models;

namespace SharepointToolbox.Services;

public interface ICsvValidationService
{
    List<CsvValidationRow<T>> ParseAndValidate<T>(Stream csvStream) where T : class;
    List<CsvValidationRow<BulkMemberRow>> ParseAndValidateMembers(Stream csvStream);
    List<CsvValidationRow<BulkSiteRow>> ParseAndValidateSites(Stream csvStream);
    List<CsvValidationRow<FolderStructureRow>> ParseAndValidateFolders(Stream csvStream);
}
