Types
Type aliases, union types, and utility types.
Type aliases, union types, and utility types.
- AgentEvent — Union of all agent lifecycle events.
- AgentState — The possible states of the CompositeVoice agent.
- AudioCaptureState — Runtime state of the audio capture pipeline.
- AudioEncoding — Audio encoding schemes supported by the SDK.
- AudioEvent — Union of all audio-related events.
- AudioFormat — Audio container/codec formats supported by the SDK.
- AudioPlaybackState — Runtime state of the audio playback pipeline.
- CartesiaOutputEncoding — Cartesia output audio encoding types.
- CartesiaTTSModel — Cartesia voice model identifiers.
- CompositeVoiceEvent — Union of all events that can be emitted by a CompositeVoice agent.
- DetectedAudioFormat — Audio container/codec formats detectable via magic byte inspection.
- DrainCallback() — Callback type for the drain consumer.
- ElevenLabsOutputFormat — ElevenLabs output format identifiers.
- ElevenLabsSTTAudioFormat — ElevenLabs STT audio format identifiers.
- ElevenLabsSTTModel — ElevenLabs STT model identifiers.
- ElevenLabsTTSModel — ElevenLabs voice model identifiers.
- EventListener()
— Generic event listener function type. - EventType — String union of all possible event type identifiers.
- LLMEvent — Union of all LLM-related events.
- LLMStreamChunk — Discriminated union for streaming chunks from tool-aware generation.
- OpenAITTSFormat — Supported OpenAI TTS audio output formats.
- OpenAITTSVoice — Supported OpenAI TTS voice identifiers.
- OverflowCallback() — Callback type for overflow notifications.
- ProviderRole — Pipeline role a provider can fulfil.
- ProviderType — Communication type for providers.
- QueueEvent — Union of all queue-related events.
- STTProvider — Union type for all speech-to-text providers.
- TranscriptionEvent — Union of all transcription-related events.
- TTSEvent — Union of all TTS-related events.
- TTSProvider — Union type for all text-to-speech providers.