export interface QelosChatWidgetOptions { /** Qelos AI agent (integration) ID to chat with */ agentId: string; /** Base URL of the Qelos instance, e.g. "https://my.qelos.io" */ appUrl: string; /** Public API token used as `x-api-key` (qelos_pk_...) */ apiToken?: string; /** Bearer access token for end-user-bound chats */ accessToken?: string; /** Where to dock the launcher: "bottom-right" (default), "bottom-left", "top-right", "top-left" */ position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left'; /** Color theme for the widget */ theme?: 'light' | 'dark'; /** First assistant message shown when the chat panel opens */ initialMessage?: string; /** Header text inside the chat panel */ headerText?: string; /** Placeholder text in the input box */ inputPlaceholder?: string; /** Persist conversation state on the backend with a thread */ recordThread?: boolean; /** Existing thread ID to resume */ threadId?: string; /** Container to mount into. Defaults to `document.body`. */ container?: HTMLElement; /** Open the panel automatically on load */ autoOpen?: boolean; /** Brand accent color override (CSS color) */ accentColor?: string; /** Optional context object sent with every chat request */ chatContext?: Record; } export declare class QelosChatWidget { private options; private host; private shadow; private launcher; private panel; private messagesEl; private inputEl; private sendBtn; private statusEl; private messages; private threadId?; private isOpen; private isSending; private destroyed; constructor(options: QelosChatWidgetOptions); /** Static helper for the documented `QelosChatWidget.init({...})` pattern. */ static init(options: QelosChatWidgetOptions): QelosChatWidget; open(): void; close(): void; toggle(): void; destroy(): void; private render; private bindEvents; private renderMessages; private appendStreamingChunk; private scrollToBottom; private setStatus; private buildHeaders; private buildUrl; private ensureThread; private send; private consumeStream; private handleSSEEvent; } export default QelosChatWidget;