import { type IntersectionInput } from "https://deno.land/x/valibot@v0.19.0/src/schemas/intersection/types.ts";
Intersection input type.
Type Parameters
TIntersectionOptions extends IntersectionOptions | IntersectionOptionsAsync
definition: TIntersectionOptions extends [BaseSchema<infer TInput1, any> | BaseSchemaAsync<infer TInput1, any>, ...infer TRest] ? TRest extends IntersectionOptions ? TInput1 & IntersectionOutput<TRest> : TRest extends [BaseSchema<infer TInput2, any> | BaseSchemaAsync<infer TInput2, any>] ? TInput1 & TInput2 : never : never