import { type IntersectInput } from "https://deno.land/x/valibot@v0.28.1/src/schemas/intersect/types.ts";
Intersect input inference type.
Type Parameters
TIntersectOptions extends IntersectOptions | IntersectOptionsAsync
definition: TIntersectOptions extends [BaseSchema<infer TInput1, any> | BaseSchemaAsync<infer TInput1, any>, ...infer TRest] ? TRest extends IntersectOptions ? TInput1 & IntersectOutput<TRest> : TRest extends [BaseSchema<infer TInput2, any> | BaseSchemaAsync<infer TInput2, any>] ? TInput1 & TInput2 : never : never