import { type validateString } from "https://deno.land/x/arktype@v1.0.10-alpha/parse/ast/ast.ts";
definition: parseString<def, $> extends infer ast ? ast extends error<infer message> ? message : validateAst<ast, $> extends error<infer message> ? message : def : never