> ## Documentation Index
> Fetch the complete documentation index at: https://botmesh.afaya.com.co/llms.txt
> Use this file to discover all available pages before exploring further.

# HookRegistration

> Interface exported by @botmesh/core.

Defined in: [core/types.ts:205](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/types.ts#L205)

A registered hook: its event, phase, handler and priority (higher runs first).

## Properties

### event

```ts theme={null}
event: HookEvent;
```

Defined in: [core/types.ts:206](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/types.ts#L206)

***

### phase

```ts theme={null}
phase: HookPhase;
```

Defined in: [core/types.ts:207](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/types.ts#L207)

***

### handler

```ts theme={null}
handler: AnyHookHandler;
```

Defined in: [core/types.ts:208](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/types.ts#L208)

***

### priority

```ts theme={null}
priority: number;
```

Defined in: [core/types.ts:209](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/types.ts#L209)


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