import { type SchemaWithPipeAsync } from "https://deno.land/x/valibot@v0.41.0/src/methods/pipe/index.ts";
Schema with pipe async type.
Type Parameters
TPipe extends [(BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>), ...(PipeItem<any, unknown, BaseIssue<unknown>> | PipeItemAsync<any, unknown, BaseIssue<unknown>>)[]]
definition: Omit<FirstTupleItem<TPipe>, "async" | "_run" | "_types"> & { readonly pipe: TPipe; readonly async: true; readonly _run: (dataset: Dataset<unknown, never>, config: Config<InferIssue<FirstTupleItem<TPipe>>>) => Promise<Dataset<InferOutput<LastTupleItem<TPipe>>, InferIssue<TPipe[number]>>>; readonly _types?: { readonly input: InferInput<FirstTupleItem<TPipe>>; readonly output: InferOutput<LastTupleItem<TPipe>>; readonly issue: InferIssue<TPipe[number]>; }; }