API Reference
Complete reference documentation for all Estuary SDK components, interfaces, and types.
Overview
The Estuary SDK is organized into several layers:
| Layer | Components | Description |
|---|---|---|
| Core | EstuaryClient, EstuaryConfig, ConnectionState | Low-level WebSocket communication |
| Components | EstuaryManager, EstuaryCharacter, EstuaryCredentials, EstuaryMicrophone | High-level API for building experiences |
| Actions | EstuaryActionManager, EstuaryActions, ParsedAction | Action parsing and event dispatch |
| Models | SessionInfo, BotResponse, BotVoice, SttResponse | Data structures |
| Utilities | AudioConverter, setInternetModule | Helper functions |
Quick Navigation
- Core Components - Low-level client and configuration
- Component Layer - High-level components for Lens Studio
- Action System - Action parsing and events
- Data Models - Response and session types
- Utilities - Audio conversion and module setup
Import Pattern
All SDK exports can be imported from the main module:
import {
// Core
EstuaryClient,
EstuaryConfig,
ConnectionState,
// Components
EstuaryManager,
EstuaryCharacter,
EstuaryCredentials,
EstuaryMicrophone,
// Actions
EstuaryActionManager,
EstuaryActions,
ParsedAction,
// Models
SessionInfo,
BotResponse,
BotVoice,
SttResponse,
// Utilities
floatToPCM16,
setInternetModule,
} from 'estuary-lens-studio-sdk';