namespace AdventOfCode2024.Input; /// /// Represents a text parser that outputs a specific type /// given a text stream /// /// The type that will be parsed public interface IParser where T : notnull { /// /// Parses the stream and returns an object /// /// /// The object public Task ParseAsync(Stream input); }