UNPKG

@voxket-ai/voxket-live

Version:

A React widget for embedding Voxket-powered audio/video/chat experiences.

32 lines (31 loc) 820 B
/** * Chat Modality Plugin * Enhanced chat capabilities with custom UI components */ export interface ChatPluginConfig { enableRichText?: boolean; enableFileUpload?: boolean; enableCustomComponents?: boolean; maxMessageLength?: number; autoScroll?: boolean; } export declare const chatModalityPlugin: import('../plugin-system').Plugin; export interface ChatComponent { type: string; props: Record<string, any>; timestamp: Date; } export interface QuickAction { id: string; label: string; action: string; variant?: 'primary' | 'secondary' | 'danger'; } export interface FormField { name: string; type: 'text' | 'email' | 'number' | 'select' | 'textarea'; label: string; required?: boolean; options?: string[]; validation?: Record<string, any>; }