namespace Books.Api.EventFlow.Repositories;

public interface IManufacturerRepository
{
    /// <summary>
    /// Gets distinct manufacturers for a company, optionally filtered by search term.
    /// Used for autocomplete functionality.
    /// </summary>
    Task<IReadOnlyList<string>> GetManufacturersAsync(
        string companyId,
        string? searchTerm = null,
        int limit = 20,
        CancellationToken cancellationToken = default);
}
