Maps a Valibot schema type to a corresponding HTML input type.
The schema to map.
Optional
The current resolved type (used for recursion).
The HTML input type string.
Handles nested arrays and pipes to determine the most appropriate input type.
Maps a Valibot schema type to a corresponding HTML input type.