using SharepointToolbox.Web.Core.Models;
namespace SharepointToolbox.Web.Services;
///
/// Lists the document libraries of a single SharePoint site so users can pick a
/// library from a dropdown instead of typing its title by hand.
///
public interface ILibraryDiscoveryService
{
///
/// Returns the titles of the non-hidden document libraries on
/// , ordered case-insensitively by title.
/// Handles elevation + context creation internally.
///
Task> ListLibrariesAsync(
TenantProfile profile,
string siteUrl,
CancellationToken ct = default);
}