using SharepointToolbox.Web.Core.Models; namespace SharepointToolbox.Web.Services; /// /// Discovers SharePoint sites in a tenant via Microsoft Graph so users can /// pick multiple sites to scan instead of typing URLs one at a time. /// public interface ISiteDiscoveryService { /// /// Returns sites matching (defaults to all sites). /// OneDrive personal sites are excluded; results are de-duplicated by URL /// and ordered by title. /// Task> SearchSitesAsync( TenantProfile profile, string? query = null, CancellationToken ct = default); }