import { type Parser } from "https://deno.land/x/cav@0.0.24/parser.ts";
An object or function responsible for parsing data or throwing errors if the
data isn't shaped as expected. These can either be functions with a single
data argument that return the parsed data or an object with a parse(data): unknown
function that does the same. Parsers can be asynchronous.
definition: (ParserFunction<I, O> | ParserObject<I, O>)