import { type Parser } from "https://deno.land/x/valibot@v1.0.0-beta.7/src/methods/parser/parser.ts";
The parser type.
Type Parameters
TSchema extends BaseSchema<unknown, unknown, BaseIssue<unknown>>
TConfig extends Config<InferIssue<TSchema>> | undefined
Call Signatures
(input: unknown): InferOutput<TSchema>
Parses an unknown input based on the schema.