using Managing.Domain.Statistics;

namespace Managing.Application.Abstractions.Repositories;

public interface IAgentBalanceRepository
{
    void InsertAgentBalance(AgentBalance balance);
    Task<IList<AgentBalance>> GetAgentBalances(string agentName, DateTime start, DateTime? end = null);

    Task<(IList<AgentBalanceHistory> result, int totalCount)> GetAllAgentBalancesWithHistory(DateTime start,
        DateTime? end);
}