> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tappify.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# PromptInput

> The input type prompt P takes, read from the TapPromptMap augmentation.

```ts theme={null}
type PromptInput<P> = P extends keyof TapPromptMap ? TapPromptMap[P] extends {
  input: infer I;
} ? I : Record<string, never> : Record<string, unknown>;
```

The input type prompt `P` takes, read from the `TapPromptMap` augmentation.

## Type Parameters

### P

`P` *extends* [`PromptId`](/extensions/reference/frontend-api/TypeAlias.PromptId)
