import { type SchemaWithPipeAsync } from "https://deno.land/x/valibot@v1.0.0-beta.4/src/methods/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: UnknownDataset, config: Config<BaseIssue<unknown>>) => Promise<OutputDataset<InferOutput<LastTupleItem<TPipe>>, InferIssue<TPipe[number]>>>; readonly ~types?: { readonly input: InferInput<FirstTupleItem<TPipe>>; readonly output: InferOutput<LastTupleItem<TPipe>>; readonly issue: InferIssue<TPipe[number]>; } | undefined; }