using Domain.Entities;

namespace Core.Interfaces
{
    public interface IExchangeRateDom
    {
        Task<EExchangeRateHistory> GetYesterdayRateAsync();
        /// <summary>
        /// Solo lee del histórico; no dispara llamada externa.
        /// </summary>
        Task<EExchangeRateHistory?> GetByDateAsync(DateOnly date);
    }
}
