import { LineCounter } from "https://dotland.deno.dev/x/yaml@v2.6.0/src/parse/line-counter.ts";
Tracks newlines during parsing in order to provide an efficient API for
determining the one-indexed { line, col }
position for any offset
within the input.