> ## 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: HookCallback<Event>

> Generated from the public TypeScript API.

```ts theme={null}
type HookCallback<Event> = object["callback"];
```

A synchronous or asynchronous SDK-local callback invoked for a supported lifecycle event.

## Type Parameters

### Event

`Event` *extends* [`HookEventName`](HookEventName) = [`HookEventName`](HookEventName)


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