using SharepointToolbox.Core.Models; namespace SharepointToolbox.Services.Export; public class SearchHtmlExportService { public string BuildHtml(IReadOnlyList results) => string.Empty; // implemented in Plan 03-05 public async Task WriteAsync(IReadOnlyList results, string filePath, CancellationToken ct) { var html = BuildHtml(results); await System.IO.File.WriteAllTextAsync(filePath, html, System.Text.Encoding.UTF8, ct); } }