# SuggestionEvent (@salmonui/chat/text-suggest)

> The SuggestionEvent interface of @salmonui/chat/text-suggest.

Canonical: https://salmonui.dev/docs/reference/chat/text-suggest/SuggestionEvent

```ts
import type { SuggestionEvent } from '@salmonui/chat/text-suggest';
```

Entry index: https://salmonui.dev/docs/reference/chat/text-suggest (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/chat/text-suggest.md).

## Reference

Kind: interface

```ts
interface SuggestionEvent {
    readonly text: string;
}
```

Members (1):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `text` | `readonly text: string;` |  |  |
