# InferMapInput

> This document is the Markdown version of [valibot.dev/api/InferMapInput/](https://valibot.dev/api/InferMapInput/). For the complete documentation index, see [llms.txt](https://valibot.dev/llms.txt).

Infer map input type.

## Generics

- `TKey` `extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>`
- `TValue` `extends BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>`

## Definition

- `InferMapInput` `Map<InferInput<TKey>, InferInput<TValue>>`
