{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "ink/use-input",
  "title": "Use Input",
  "description": "Keyboard input hook wrapping Ink's useInput.",
  "dependencies": [
    "ink"
  ],
  "files": [
    {
      "path": "registry/hooks/use-input.ts",
      "content": "import { useInput as inkUseInput } from \"ink\";\nimport type { Key } from \"ink\";\n\n/** @deprecated Import Key from Ink or use-interaction instead. */\nexport type { Key } from \"ink\";\n\nexport type InputHandler = (input: string, key: Key) => void;\n\n/** @deprecated Use useInteraction for focus-scoped component input. */\nexport const useInput = (\n  handler: InputHandler,\n  options?: { isActive?: boolean }\n): void => {\n  inkUseInput(handler, options);\n};\n",
      "type": "registry:hook"
    }
  ],
  "categories": [
    "core"
  ],
  "type": "registry:hook"
}