import '../styles/chatbox.css'; import '../styles/markdown.css'; export interface ChatboxOptions { /** URL for the chat webhook */ webhookUrl: string; /** Optional API URL */ apiUrl?: string; /** Selector for container element */ containerSelector?: string; /** Initial welcome message */ welcomeMessage?: string; /** Placeholder text for input field */ inputPlaceholder?: string; title?: string; /** Whether to auto-focus input on load */ autoFocus?: boolean; /** Whether the chat should start open */ startOpen?: boolean; } export declare class Chatbox { private elements; private seasonId; private state; private messages; private config; private typingIndicator; private chatButton; constructor(options: ChatboxOptions); private createContainer; private getHtmlTemplate; private getChatButtonTemplate; private createTypingIndicator; generateSeasonId(): string; updateStatus(statusText: string, statusClass: string): void; display(): void; toggleChatBox(): void; private updateChatVisibility; handleSendButtonClick(): void; handleMessage(messageText: string): void; addMessage(sender: string, message: string): void; updateChatDirectly(messageObject: { name: string; message: string; }): void; displayLoading(isLoading: boolean): void; scrollToBottom(): void; expandChatBox(): void; collapseChatBox(): void; reloadChat(): void; showTypingIndicator(): void; hideTypingIndicator(): void; }