> ## Documentation Index
> Fetch the complete documentation index at: https://cognitio-agent.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Type Alias: HookEventName

> Generated from the public TypeScript API.

```ts theme={null}
type HookEventName =
  | "PreToolUse"
  | "PostToolUse"
  | "UserPromptSubmit"
  | "Notification"
  | "Stop"
  | "SubagentStop"
  | "PreCompact"
  | "PostCompact"
  | "SessionStart"
  | "SessionEnd"
  | "SessionStateChange"
  | "BeforeShellExecution"
  | "AfterShellExecution"
  | "PermissionAsked"
  | "PermissionReplied";
```

The supported Cognitio v2 lifecycle hook event names. This is not the current Claude SDK hook-name inventory.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.