using QRRapidoApp.Models.DTOs;

namespace QRRapidoApp.Services
{
    public interface IQuotaValidator
    {
        Task<(bool CanProceed, string? ErrorCode, string? ErrorMessage)> ValidateQuotaAsync(UserRequesterContext context);
        Task RegisterUsageAsync(UserRequesterContext context, string qrId, int cost = 1);
    }
}