using System.Collections.Generic;
using System.Threading.Tasks;
using AdvancedCalculator.Models;

namespace AdvancedCalculator.Services;

public interface ICalculatorService
{
    Task<InterpretResult> InterpretAsync(string input);
}

public class InterpretResult
{
    public string Output { get; set; } = string.Empty;
    public IReadOnlyList<VariableItem> Variables { get; set; } = new List<VariableItem>();
}

