@voxket-ai/voxket-live
Version:
A React widget for embedding Voxket-powered audio/video/chat experiences.
33 lines (32 loc) • 824 B
TypeScript
import { TranscriptionSegment } from 'livekit-client';
export interface CombinedTranscription extends TranscriptionSegment {
role: 'assistant' | 'user';
receivedAtMediaTimestamp: number;
receivedAt: number;
}
export type ThemeMode = 'dark' | 'light' | 'vox';
export interface AppConfig {
pageTitle: string;
pageDescription: string;
companyName: string;
suportsChatInput: boolean;
suportsVideoInput: boolean;
suportsScreenShare: boolean;
logo: string;
startButtonText: string;
accent?: string;
logoDark?: string;
accentDark?: string;
}
export interface SandboxConfig {
[key: string]: {
type: 'string';
value: string;
} | {
type: 'number';
value: number;
} | {
type: 'boolean';
value: boolean;
} | null;
}