<!-- source-hash: d1cebe46eff04115f214c16b75a69467 -->
Barrel export file for the chat hooks module, re-exporting all public hooks from their individual files into a single `'use client'` entry point.

## Key Components

| Export Group | Hooks |
|---|---|
| **Realtime / Streaming** | `useChunkCatchup`, `useRealtimeChunkProcessor`, `useJetstreamDialogSubscription`, `useNatsDialogSubscription` |
| **UI Utilities** | `useCollapsible`, `useCloseOnNavigation`, `useChatCardItem` |
| **Chat Core** | `useChat`, `useSSE`, `useChatIdentity`, `useChatAttachments`, `useChatAttachmentImageGallery`, `useSlashCommands` |
| **Transport Adapters** | `useSSEChatAdapter`, `useNatsChatAdapter` |
| **Unified Surface** | `useUnifiedChat` (primary), `useEmbeddedChat` (legacy SSE alias) |
| **Image Proxy** | `useProxiedImageUrl` |

## Usage Example

```typescript
// Typical consumer — import directly from the module index
import {
  useUnifiedChat,
  useChatAttachments,
  useSlashCommands,
} from '@flamingo/chat-hooks'

function ChatPanel({ modes, activeMode }) {
  const chat = useUnifiedChat({ modes, activeMode })
  const attachments = useChatAttachments()
  const slashCommands = useSlashCommands()

  // ...
}

// Advanced: direct transport access
import { useNatsChatAdapter } from '@flamingo/chat-hooks'

function CustomTransportPanel() {
  const nats = useNatsChatAdapter({ /* config */ })
  // ...
}
```

## Notes

- Marked `'use client'` — safe for React Server Component trees; hooks run only on the client.
- `useUnifiedChat` is the recommended entry point for new consumers; `useEmbeddedChat` is the legacy SSE alias kept for backward compatibility.
- `useProxiedImageUrl` reads proxy config from `ChatRuntime.endpoints`, keeping image-proxy resolution consistent between hub and embedder environments.