import * as React from 'react'; declare class JqxChat extends React.PureComponent { private _jqx; private _id; private _componentSelector; private _rendered; private _host; private _appliedOptions; private _eventHandlers; private _eventElement; private _teardownPending; private _mounting; private _hostParent; private _hostNext; private _widgetPlace; private _hostChildren; private _changedInARow; private _warned; constructor(props: IChatProps); componentDidMount(): void; componentDidUpdate(): void; private _warnRebuiltProps; componentWillUnmount(): void; private _target; render(): React.ReactNode; setOptions(options: IChatProps): void; getOptions(option: string): any; sendMessage(text?: string): void; stop(): void; addMessage(role: string, content: string): void; appendDelta(delta: string): void; getMessages(): IChatMessage[]; clearConversation(): void; focus(): void; openPopup(): void; closePopup(): void; toggle(): void; val(value?: any): any; renderWidget(): void; refresh(): void; destroy(): void; private _manageProps; private _hostAttributes; private _applyHostAttributes; private _wireEvents; private _eventHandler; private _teardown; } export default JqxChat; export declare const jqx: any; export declare const JQXLite: any; export declare type IChatRole = 'user' | 'assistant'; export interface IChatMessage { role?: IChatRole; content?: string; } interface IChatOptions { accentColor?: string; apiKey?: string; botAvatar?: string; botName?: string; colorScheme?: 'auto' | 'light' | 'dark'; disabled?: boolean; enableClear?: boolean; enableCopyCode?: boolean; enableStop?: boolean; headers?: object; height?: string | number; launcherIcon?: string; launcherPosition?: 'bottom-right' | 'bottom-left'; maxTokens?: number; messages?: IChatMessage[]; mode?: 'inline' | 'popup'; model?: string; open?: boolean; placeHolder?: string; provider?: 'anthropic' | 'openai' | 'custom'; proxyUrl?: string; rtl?: boolean; sendButtonIcon?: boolean; sendButtonLabel?: string; sendRequest?: any; showAvatars?: boolean; showHeader?: boolean; showHeaderAvatar?: boolean; showTimestamps?: boolean; starterPrompts?: string[]; statusText?: string; stream?: boolean; subtitle?: string; system?: string; theme?: string; title?: string; typingIndicator?: boolean; userAvatar?: string; userName?: string; welcomeMessage?: string; width?: string | number; } export interface IChatProps extends IChatOptions, React.AriaAttributes { className?: string; style?: React.CSSProperties; children?: React.ReactNode; onMessageSent?: (e?: any) => void; onResponseStart?: (e?: any) => void; onResponseDelta?: (e?: any) => void; onMessageReceived?: (e?: any) => void; onResponseEnd?: (e?: any) => void; onError?: (e?: any) => void; onOpen?: (e?: any) => void; onClose?: (e?: any) => void; onStop?: (e?: any) => void; onCreate?: (e?: any) => void; }