import { type SafeParserAsync } from "https://deno.land/x/valibot@v0.41.0/src/methods/safeParser/safeParserAsync.ts";
The safe parser async type.
Type Parameters
TSchema extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>
TConfig extends Config<InferIssue<TSchema>> | undefined
Call Signatures
(input: unknown): Promise<SafeParseResult<TSchema>>
Parses an unknown input based on the schema.