import { type SchemaWithPipe } from "https://deno.land/x/valibot@v1.0.0-beta.1-i18n/mod.ts";
Schema with pipe type.
Type Parameters
TPipe extends [BaseSchema<unknown, unknown, BaseIssue<unknown>>, ...PipeItem<any, unknown, BaseIssue<unknown>>[]]
definition: Omit<FirstTupleItem<TPipe>, "~types" | "~validate"> & { readonly pipe: TPipe; readonly ~types?: { readonly input: InferInput<FirstTupleItem<TPipe>>; readonly output: InferOutput<LastTupleItem<TPipe>>; readonly issue: InferIssue<TPipe[number]>; } | undefined; readonly ~validate: (dataset: UnknownDataset, config?: Config<BaseIssue<unknown>>) => OutputDataset<InferOutput<LastTupleItem<TPipe>>, InferIssue<TPipe[number]>>; }