using System.Collections.Generic;
using System.Threading;
namespace MediaBrowser.Controller.Library;
///
/// Interface for external search providers that offer enhanced search capabilities.
///
public interface IExternalSearchProvider : ISearchProvider
{
///
/// Searches for items matching the query.
///
/// The search query.
/// Cancellation token.
/// Async enumerable of search results with relevance scores.
new IAsyncEnumerable SearchAsync(
SearchProviderQuery query,
CancellationToken cancellationToken);
}