using System.Collections.Generic;


namespace Covox.Understanding
{
    internal interface IUnderstandingModule
    {
        IReadOnlyList<Command> Commands { get; }

        void RegisterCommands(IEnumerable<Command> commands);

        (Match? bestMatch, IReadOnlyList<Match> closeMatches) Understand(string input);
    }
}
