using MealPlan.Api.DTOs.Recipe;

namespace MealPlan.Api.Services;

public interface IRecipeExcelService
{
    /// <summary>Generates a blank .xlsx template with Recipes, Ingredients, and Steps sheets.</summary>
    byte[] GenerateTemplate();

    /// <summary>Parses an uploaded workbook and creates recipes in the database.</summary>
    Task<RecipeImportResultDto> ImportAsync(Stream fileStream, CancellationToken ct = default);
}
