export type WidgetPosition = 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left'; export interface ChatWidgetConfig { apikey?: string; agentId?: string; agentName?: string; agentRole?: string; primaryColor?: string; accentColor?: string; welcomeMessage?: string; placeholderText?: string; position?: WidgetPosition; width?: string; height?: string; showMinimizeButton?: boolean; showTimestamps?: boolean; enableFileUpload?: boolean; enableSpeech?: boolean; showPoweredBy?: boolean; customerMetadata?: Record; } export interface ChatWidgetEvents { messageSent: CustomEvent<{ message: string; timestamp: Date; }>; widgetOpened: CustomEvent; widgetClosed: CustomEvent; }