/* eslint-disable */ /* tslint:disable */ /** * This is an autogenerated file created by the Stencil compiler. * It contains typing information for all components that exist in this project. */ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime"; import { AiIconType, ButtonIconType, IconType } from "./utils/icon-types"; import { SearchResult } from "./components/biel-search-body/biel-search-body"; export { AiIconType, ButtonIconType, IconType } from "./utils/icon-types"; export { SearchResult } from "./components/biel-search-body/biel-search-body"; export namespace Components { interface BielBot { "aiIcon": AiIconType; "apiKey": string; "apiUrl": string; "assistantLabel": string; "bielId": string; "closeButtonText": string; "collapseButtonText": string; "connectButtonText": string; "disableInput": boolean; "email": string; "embeddedMode": boolean; "errorMessage403": string; "errorMessage404": string; "errorMessageDefault": string; "expandButtonText": string; "expandModal": boolean; "fetchData": boolean; "footerText": string; "headerTitle": string; "hideAvatars": boolean; "hideCloseButton": boolean; "hideConnectButton": boolean; "hideExpandButton": boolean; "hideFeedback": boolean; "hideRefreshButton": boolean; "hideSettingsButton": boolean; "hideSources": boolean; "hideTooltips": boolean; "initialMessages": { text: string; sender: 'user' | 'ai'; feedback?: 0 | 1; isPartial: false; }[]; "inputPlaceholderText": string; "keepConversation": boolean; "mcpClaudeCopiedDescription": string; "mcpClaudeDescription": string; "mcpClaudeText": string; "mcpCopiedText": string; "mcpCopilotDescription": string; "mcpCopilotText": string; "mcpCursorDescription": string; "mcpCursorText": string; "mcpServerUrl": string; "mcpUrlCopiedDescription": string; "mcpUrlDescription": string; "mcpUrlText": string; "metadata": string; "modalPosition": string; "project": string; "refreshButtonText": string; "sendButtonText": string; "settingsButtonText": string; "showModal": boolean; "showTermsModal": boolean; "sourcesText": string; "suggestedQuestions": string; "suggestedQuestionsTitle": string; "termsCheckboxText": string; "termsDescription": string; "termsTitle": string; "thinkModeAutoDescription": string; "thinkModeAutoText": string; "thinkModeEnabled": boolean; "thinkModeFastDescription": string; "thinkModeFastText": string; "thinkModeThinkDescription": string; "thinkModeThinkText": string; "welcomeMessage": string; } interface BielButton { "aiIcon": AiIconType; "apiKey": string; "apiUrl": string; "assistantLabel": string; "bielId": string; "buttonPosition": string; "buttonStyle": string; "closeButtonText": string; "collapseButtonText": string; "connectButtonText": string; "customFont": boolean; "disableInput": boolean; "email": string; "errorMessage403": string; "errorMessage404": string; "errorMessageDefault": string; "expandButtonText": string; "expandModal": boolean; "footerText": string; "headerTitle": string; "hideAvatars": boolean; "hideCloseButton": boolean; "hideConnectButton": boolean; "hideExpandButton": boolean; "hideFeedback": boolean; "hideIcon": boolean; "hideRefreshButton": boolean; "hideSettingsButton": boolean; "hideSources": boolean; "hideTooltips": boolean; "initialMessages": { text: string; sender: 'user' | 'ai'; feedback?: 0 | 1 }[]; "inputPlaceholderText": string; "keepConversation": boolean; "mcpClaudeCopiedDescription": string; "mcpClaudeDescription": string; "mcpClaudeText": string; "mcpCopiedText": string; "mcpCopilotDescription": string; "mcpCopilotText": string; "mcpCursorDescription": string; "mcpCursorText": string; "mcpServerUrl": string; "mcpUrlCopiedDescription": string; "mcpUrlDescription": string; "mcpUrlText": string; "metadata": string; "modalPosition": string; "project": string; "refreshButtonText": string; "sendButtonText": string; "settingsButtonText": string; "showTermsModal": boolean; "sourcesText": string; "suggestedQuestions": string; "suggestedQuestionsTitle": string; "termsCheckboxText": string; "termsDescription": string; "termsTitle": string; "thinkModeAutoDescription": string; "thinkModeAutoText": string; "thinkModeEnabled": boolean; "thinkModeFastDescription": string; "thinkModeFastText": string; "thinkModeThinkDescription": string; "thinkModeThinkText": string; "welcomeMessage": string; } interface BielChat { "aiIcon": AiIconType; "assistantLabel": string; "bielId": string; "embeddedMode": boolean; "hideAvatars": boolean; "hideFeedback": boolean; "hideSources": boolean; "isFullscreen": boolean; "isLoading": boolean; "loadedChat": boolean; "messages": { text: string; sender: 'user' | 'ai'; messageId?: string; feedback?: 0 | 1; sources?: { title: string; url: string }[]; isPartial: boolean; partialId?: number; incomplete?: boolean; }[]; "modalPosition": string; "showContinueButton": boolean; "sourcesText": string; "suggestedQuestions": string[]; "suggestedQuestionsTitle": string; "welcomeMessage": string; } interface BielFeedback { "bielId": string; "initialReaction"?: 0 | 1; "messageId": string; } interface BielHeader { "bielId": string; "closeButtonText": string; "collapseButtonText": string; "currentThinkMode": 'auto' | 'fast' | 'think'; "expandButtonText": string; "fullscreen": boolean; "headerTitle": string; "hideCloseButton": boolean; "hideExpandButton": boolean; "hideRefreshButton": boolean; "hideSettingsButton": boolean; "hideTooltips": boolean; "project": string; "refreshButtonText": string; "settingsButtonText": string; "showPoweredBy": boolean; "thinkModeEnabled": boolean; } interface BielIcon { "height": string; "type": IconType; "width": string; } interface BielInput { "apiKey": string; "bielId": string; "connectButtonText": string; "currentThinkMode": 'auto' | 'fast' | 'think'; "hideConnectButton": boolean; "hideSettingsButton": boolean; "isDisabled": boolean; "mcpClaudeCopiedDescription": string; "mcpClaudeDescription": string; "mcpClaudeText": string; "mcpCopiedText": string; "mcpCopilotDescription": string; "mcpCopilotText": string; "mcpCursorDescription": string; "mcpCursorText": string; "mcpEnabled": boolean; "mcpMetadataTag": string; "mcpServerName": string; "mcpServerUrl": string; "mcpUrlCopiedDescription": string; "mcpUrlDescription": string; "mcpUrlText": string; "placeholderText": string; "project": string; "sendButtonText": string; "thinkModeAutoDescription": string; "thinkModeAutoText": string; "thinkModeFastDescription": string; "thinkModeFastText": string; "thinkModeThinkDescription": string; "thinkModeThinkText": string; } interface BielInputOption { "isOpen": boolean; "label": string; } interface BielInputOptions { "apiKey": string; "bielId": string; "connectButtonText": string; "currentThinkMode": 'auto' | 'fast' | 'think'; "hideConnectButton": boolean; "hideSettingsButton": boolean; "mcpClaudeCopiedDescription": string; "mcpClaudeDescription": string; "mcpClaudeText": string; "mcpCopiedText": string; "mcpCopilotDescription": string; "mcpCopilotText": string; "mcpCursorDescription": string; "mcpCursorText": string; "mcpEnabled": boolean; "mcpMetadataTag": string; "mcpServerName": string; "mcpServerUrl": string; "mcpUrlCopiedDescription": string; "mcpUrlDescription": string; "mcpUrlText": string; "project": string; "thinkModeAutoDescription": string; "thinkModeAutoText": string; "thinkModeFastDescription": string; "thinkModeFastText": string; "thinkModeThinkDescription": string; "thinkModeThinkText": string; } interface BielMessage { "aiIcon": AiIconType; "assistantLabel": string; "bielId": string; "feedback"?: 0 | 1; "hideAvatars": boolean; "hideFeedback": boolean; "hideSources": boolean; "isPartial": boolean; "messageId"?: string; "partialId": number; "sender": 'user' | 'ai'; "sources"?: { title: string; url: string }[]; "sourcesText": string; "text": string; } interface BielSearch { "aiIcon": AiIconType; "aiResultFragment": string; "apiKey": string; "apiUrl": string; "assistantLabel": string; "bielId": string; "cleanTitles": boolean; "closeButtonText": string; "collapseButtonText": string; "connectButtonText": string; "disableInput": boolean; "email": string; "errorMessage403": string; "errorMessage404": string; "errorMessageDefault": string; "expandButtonText": string; "expandModal": boolean; "fetchData": boolean; "footerText": string; "headerTitle": string; "hideAskAiButton": boolean; "hideAvatars": boolean; "hideCloseButton": boolean; "hideConnectButton": boolean; "hideDescriptions": boolean; "hideExpandButton": boolean; "hideFeedback": boolean; "hideFilters": boolean; "hideNavigationButtons": boolean; "hideRefreshButton": boolean; "hideSettingsButton": boolean; "hideSources": boolean; "hideTooltips": boolean; "inputPlaceholderText": string; "keepConversation": boolean; "mcpClaudeCopiedDescription": string; "mcpClaudeDescription": string; "mcpClaudeText": string; "mcpCopiedText": string; "mcpCopilotDescription": string; "mcpCopilotText": string; "mcpCursorDescription": string; "mcpCursorText": string; "mcpServerUrl": string; "mcpUrlCopiedDescription": string; "mcpUrlDescription": string; "mcpUrlText": string; "metadata": string; "modalPosition": string; "project": string; "refreshButtonText": string; "searchPlaceholder": string; "sendButtonText": string; "settingsButtonText": string; "showSearchModal": boolean; "showTermsModal": boolean; "sourcesText": string; "stacked": boolean; "suggestedQuestions": string; "suggestedQuestionsTitle": string; "termsCheckboxText": string; "termsDescription": string; "termsTitle": string; "thinkModeAutoDescription": string; "thinkModeAutoText": string; "thinkModeEnabled": boolean; "thinkModeFastDescription": string; "thinkModeFastText": string; "thinkModeThinkDescription": string; "thinkModeThinkText": string; "welcomeMessage": string; } interface BielSearchAskAiButton { "aiIcon": ButtonIconType; "bielId": string; "isSelected": boolean; "resultFragment": string; "resultTitle": string; } interface BielSearchBody { "aiIcon": AiIconType; "aiResultFragment": string; "bielId": string; "cleanTitles": boolean; "hideAskAiButton": boolean; "hideAvatars": boolean; "hideDescriptions": boolean; "lastSearchQuery": string; "searchQuery": string; "searchResults": SearchResult[]; "stacked": boolean; } interface BielSearchButton { "aiIcon": AiIconType; "aiResultFragment": string; "apiKey": string; "apiUrl": string; "assistantLabel": string; "buttonStyle": string; "cleanTitles": boolean; "closeButtonText": string; "collapseButtonText": string; "connectButtonText": string; "customFont": boolean; "disableInput": boolean; "email": string; "errorMessage403": string; "errorMessage404": string; "errorMessageDefault": string; "expandButtonText": string; "expandModal": boolean; "footerText": string; "headerTitle": string; "hideAskAiButton": boolean; "hideAvatars": boolean; "hideCloseButton": boolean; "hideConnectButton": boolean; "hideCtrlK": boolean; "hideDescriptions": boolean; "hideExpandButton": boolean; "hideFeedback": boolean; "hideFilters": boolean; "hideIcon": boolean; "hideNavigationButtons": boolean; "hideRefreshButton": boolean; "hideSettingsButton": boolean; "hideSources": boolean; "hideTooltips": boolean; "initialMessages": { text: string; sender: 'user' | 'ai'; feedback?: 0 | 1 }[]; "inputPlaceholderText": string; "keepConversation": boolean; "mcpClaudeCopiedDescription": string; "mcpClaudeDescription": string; "mcpClaudeText": string; "mcpCopiedText": string; "mcpCopilotDescription": string; "mcpCopilotText": string; "mcpCursorDescription": string; "mcpCursorText": string; "mcpServerUrl": string; "mcpUrlCopiedDescription": string; "mcpUrlDescription": string; "mcpUrlText": string; "metadata": string; "modalPosition": string; "project": string; "refreshButtonText": string; "searchPlaceholder": string; "sendButtonText": string; "settingsButtonText": string; "showTermsModal": boolean; "sourcesText": string; "stacked": boolean; "suggestedQuestions": string; "suggestedQuestionsTitle": string; "termsCheckboxText": string; "termsDescription": string; "termsTitle": string; "thinkModeAutoDescription": string; "thinkModeAutoText": string; "thinkModeFastDescription": string; "thinkModeFastText": string; "thinkModeThinkDescription": string; "thinkModeThinkText": string; "welcomeMessage": string; } interface BielSearchFilters { "disableFilters": boolean; "filters": { title: string }[]; } interface BielSearchHeader { "bielId": string; "closeButtonText": string; "collapseButtonText": string; "expandButtonText": string; "filters": { title: string }[]; "hideExpandButton": boolean; "hideFilters": boolean; "hideTooltips": boolean; "isFullscreen": boolean; "placeholderText": string; "searchQuery": string; } interface BielSearchInput { "placeholderText": string; } interface BielSearchResult { "hideDescription": boolean; "isSelected": boolean; "resultFragment": string; "resultTitle": string; "resultUrl": string; "searchQuery": string; } interface BielSources { "sources": { title: string; url: string }[]; "sourcesText": string; } interface BielSuggestedQuestions { "bielId": string; "heading": string; "questions": string[]; } interface BielTermsModal { "termsCheckboxText": string; "termsDescription": string; "termsTitle": string; } interface CodeSnippet { "code": string; "copiedButtonText": string; "copyButtonText": string; "language": string; } } export interface BielBotCustomEvent extends CustomEvent { detail: T; target: HTMLBielBotElement; } export interface BielButtonCustomEvent extends CustomEvent { detail: T; target: HTMLBielButtonElement; } export interface BielFeedbackCustomEvent extends CustomEvent { detail: T; target: HTMLBielFeedbackElement; } export interface BielHeaderCustomEvent extends CustomEvent { detail: T; target: HTMLBielHeaderElement; } export interface BielInputCustomEvent extends CustomEvent { detail: T; target: HTMLBielInputElement; } export interface BielInputOptionCustomEvent extends CustomEvent { detail: T; target: HTMLBielInputOptionElement; } export interface BielInputOptionsCustomEvent extends CustomEvent { detail: T; target: HTMLBielInputOptionsElement; } export interface BielMessageCustomEvent extends CustomEvent { detail: T; target: HTMLBielMessageElement; } export interface BielSearchCustomEvent extends CustomEvent { detail: T; target: HTMLBielSearchElement; } export interface BielSearchAskAiButtonCustomEvent extends CustomEvent { detail: T; target: HTMLBielSearchAskAiButtonElement; } export interface BielSearchBodyCustomEvent extends CustomEvent { detail: T; target: HTMLBielSearchBodyElement; } export interface BielSearchButtonCustomEvent extends CustomEvent { detail: T; target: HTMLBielSearchButtonElement; } export interface BielSearchFiltersCustomEvent extends CustomEvent { detail: T; target: HTMLBielSearchFiltersElement; } export interface BielSearchHeaderCustomEvent extends CustomEvent { detail: T; target: HTMLBielSearchHeaderElement; } export interface BielSearchInputCustomEvent extends CustomEvent { detail: T; target: HTMLBielSearchInputElement; } export interface BielSuggestedQuestionsCustomEvent extends CustomEvent { detail: T; target: HTMLBielSuggestedQuestionsElement; } export interface BielTermsModalCustomEvent extends CustomEvent { detail: T; target: HTMLBielTermsModalElement; } declare global { interface HTMLBielBotElementEventMap { "addMessageText": { text: string; id: number; bielId: string }; "closeBot": void; "partialMessageComplete": { partialId: number; bielId: string; msg: { text: string; sender: 'user' | 'ai'; messageId?: string; feedback?: 0 | 1; sources?: { title: string; url: string }[]; isPartial: boolean; partialId?: number; }; }; } interface HTMLBielBotElement extends Components.BielBot, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLBielBotElement, ev: BielBotCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLBielBotElement, ev: BielBotCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLBielBotElement: { prototype: HTMLBielBotElement; new (): HTMLBielBotElement; }; interface HTMLBielButtonElementEventMap { "bielBotButtonClick": void; "termsDeclined": boolean; } interface HTMLBielButtonElement extends Components.BielButton, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLBielButtonElement, ev: BielButtonCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLBielButtonElement, ev: BielButtonCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLBielButtonElement: { prototype: HTMLBielButtonElement; new (): HTMLBielButtonElement; }; interface HTMLBielChatElement extends Components.BielChat, HTMLStencilElement { } var HTMLBielChatElement: { prototype: HTMLBielChatElement; new (): HTMLBielChatElement; }; interface HTMLBielFeedbackElementEventMap { "feedbackSent": { bielId: string; messageId: string; reaction: 0 | 1 }; } interface HTMLBielFeedbackElement extends Components.BielFeedback, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLBielFeedbackElement, ev: BielFeedbackCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLBielFeedbackElement, ev: BielFeedbackCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLBielFeedbackElement: { prototype: HTMLBielFeedbackElement; new (): HTMLBielFeedbackElement; }; interface HTMLBielHeaderElementEventMap { "closeClicked": { bielId: string }; "fullscreenClicked": { bielId: string }; "refreshClicked": { bielId: string }; "thinkModeToggled": { bielId: string; isActive: boolean }; "thinkModeChanged": { bielId: string; mode: 'auto' | 'fast' | 'think' }; } interface HTMLBielHeaderElement extends Components.BielHeader, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLBielHeaderElement, ev: BielHeaderCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLBielHeaderElement, ev: BielHeaderCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLBielHeaderElement: { prototype: HTMLBielHeaderElement; new (): HTMLBielHeaderElement; }; interface HTMLBielIconElement extends Components.BielIcon, HTMLStencilElement { } var HTMLBielIconElement: { prototype: HTMLBielIconElement; new (): HTMLBielIconElement; }; interface HTMLBielInputElementEventMap { "messageSent": { bielId: string; message: string }; "scrollToBottom": { bielId: string }; "thinkModeChanged": { bielId: string; mode: 'auto' | 'fast' | 'think' }; } interface HTMLBielInputElement extends Components.BielInput, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLBielInputElement, ev: BielInputCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLBielInputElement, ev: BielInputCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLBielInputElement: { prototype: HTMLBielInputElement; new (): HTMLBielInputElement; }; interface HTMLBielInputOptionElementEventMap { "toggleRequested": void; } interface HTMLBielInputOptionElement extends Components.BielInputOption, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLBielInputOptionElement, ev: BielInputOptionCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLBielInputOptionElement, ev: BielInputOptionCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLBielInputOptionElement: { prototype: HTMLBielInputOptionElement; new (): HTMLBielInputOptionElement; }; interface HTMLBielInputOptionsElementEventMap { "thinkModeChanged": { bielId: string; mode: 'auto' | 'fast' | 'think' }; } interface HTMLBielInputOptionsElement extends Components.BielInputOptions, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLBielInputOptionsElement, ev: BielInputOptionsCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLBielInputOptionsElement, ev: BielInputOptionsCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLBielInputOptionsElement: { prototype: HTMLBielInputOptionsElement; new (): HTMLBielInputOptionsElement; }; interface HTMLBielMessageElementEventMap { "scrollToBottom": { bielId: string }; } interface HTMLBielMessageElement extends Components.BielMessage, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLBielMessageElement, ev: BielMessageCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLBielMessageElement, ev: BielMessageCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLBielMessageElement: { prototype: HTMLBielMessageElement; new (): HTMLBielMessageElement; }; interface HTMLBielSearchElementEventMap { "messageSent": { bielId: string; message: string }; } interface HTMLBielSearchElement extends Components.BielSearch, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLBielSearchElement, ev: BielSearchCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLBielSearchElement, ev: BielSearchCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLBielSearchElement: { prototype: HTMLBielSearchElement; new (): HTMLBielSearchElement; }; interface HTMLBielSearchAskAiButtonElementEventMap { "askAiClicked": { bielId: string }; } interface HTMLBielSearchAskAiButtonElement extends Components.BielSearchAskAiButton, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLBielSearchAskAiButtonElement, ev: BielSearchAskAiButtonCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLBielSearchAskAiButtonElement, ev: BielSearchAskAiButtonCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLBielSearchAskAiButtonElement: { prototype: HTMLBielSearchAskAiButtonElement; new (): HTMLBielSearchAskAiButtonElement; }; interface HTMLBielSearchBodyElementEventMap { "resultClicked": { url: string; newTab: boolean }; } interface HTMLBielSearchBodyElement extends Components.BielSearchBody, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLBielSearchBodyElement, ev: BielSearchBodyCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLBielSearchBodyElement, ev: BielSearchBodyCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLBielSearchBodyElement: { prototype: HTMLBielSearchBodyElement; new (): HTMLBielSearchBodyElement; }; interface HTMLBielSearchButtonElementEventMap { "bielSearchButtonClick": void; } interface HTMLBielSearchButtonElement extends Components.BielSearchButton, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLBielSearchButtonElement, ev: BielSearchButtonCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLBielSearchButtonElement, ev: BielSearchButtonCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLBielSearchButtonElement: { prototype: HTMLBielSearchButtonElement; new (): HTMLBielSearchButtonElement; }; interface HTMLBielSearchFiltersElementEventMap { "filterSelected": string; } interface HTMLBielSearchFiltersElement extends Components.BielSearchFilters, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLBielSearchFiltersElement, ev: BielSearchFiltersCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLBielSearchFiltersElement, ev: BielSearchFiltersCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLBielSearchFiltersElement: { prototype: HTMLBielSearchFiltersElement; new (): HTMLBielSearchFiltersElement; }; interface HTMLBielSearchHeaderElementEventMap { "closeSearchClicked": { bielId: string }; "expandSearchClicked": { bielId: string }; } interface HTMLBielSearchHeaderElement extends Components.BielSearchHeader, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLBielSearchHeaderElement, ev: BielSearchHeaderCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLBielSearchHeaderElement, ev: BielSearchHeaderCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLBielSearchHeaderElement: { prototype: HTMLBielSearchHeaderElement; new (): HTMLBielSearchHeaderElement; }; interface HTMLBielSearchInputElementEventMap { "inputChanged": string; } interface HTMLBielSearchInputElement extends Components.BielSearchInput, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLBielSearchInputElement, ev: BielSearchInputCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLBielSearchInputElement, ev: BielSearchInputCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLBielSearchInputElement: { prototype: HTMLBielSearchInputElement; new (): HTMLBielSearchInputElement; }; interface HTMLBielSearchResultElement extends Components.BielSearchResult, HTMLStencilElement { } var HTMLBielSearchResultElement: { prototype: HTMLBielSearchResultElement; new (): HTMLBielSearchResultElement; }; interface HTMLBielSourcesElement extends Components.BielSources, HTMLStencilElement { } var HTMLBielSourcesElement: { prototype: HTMLBielSourcesElement; new (): HTMLBielSourcesElement; }; interface HTMLBielSuggestedQuestionsElementEventMap { "suggestedQuestionClick": { bielId: string; message: string }; "scrollToBottom": { bielId: string }; } interface HTMLBielSuggestedQuestionsElement extends Components.BielSuggestedQuestions, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLBielSuggestedQuestionsElement, ev: BielSuggestedQuestionsCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLBielSuggestedQuestionsElement, ev: BielSuggestedQuestionsCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLBielSuggestedQuestionsElement: { prototype: HTMLBielSuggestedQuestionsElement; new (): HTMLBielSuggestedQuestionsElement; }; interface HTMLBielTermsModalElementEventMap { "termsAccepted": void; "termsDeclined": boolean; } interface HTMLBielTermsModalElement extends Components.BielTermsModal, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLBielTermsModalElement, ev: BielTermsModalCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLBielTermsModalElement, ev: BielTermsModalCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLBielTermsModalElement: { prototype: HTMLBielTermsModalElement; new (): HTMLBielTermsModalElement; }; interface HTMLCodeSnippetElement extends Components.CodeSnippet, HTMLStencilElement { } var HTMLCodeSnippetElement: { prototype: HTMLCodeSnippetElement; new (): HTMLCodeSnippetElement; }; interface HTMLElementTagNameMap { "biel-bot": HTMLBielBotElement; "biel-button": HTMLBielButtonElement; "biel-chat": HTMLBielChatElement; "biel-feedback": HTMLBielFeedbackElement; "biel-header": HTMLBielHeaderElement; "biel-icon": HTMLBielIconElement; "biel-input": HTMLBielInputElement; "biel-input-option": HTMLBielInputOptionElement; "biel-input-options": HTMLBielInputOptionsElement; "biel-message": HTMLBielMessageElement; "biel-search": HTMLBielSearchElement; "biel-search-ask-ai-button": HTMLBielSearchAskAiButtonElement; "biel-search-body": HTMLBielSearchBodyElement; "biel-search-button": HTMLBielSearchButtonElement; "biel-search-filters": HTMLBielSearchFiltersElement; "biel-search-header": HTMLBielSearchHeaderElement; "biel-search-input": HTMLBielSearchInputElement; "biel-search-result": HTMLBielSearchResultElement; "biel-sources": HTMLBielSourcesElement; "biel-suggested-questions": HTMLBielSuggestedQuestionsElement; "biel-terms-modal": HTMLBielTermsModalElement; "code-snippet": HTMLCodeSnippetElement; } } declare namespace LocalJSX { interface BielBot { "aiIcon"?: AiIconType; "apiKey"?: string; "apiUrl"?: string; "assistantLabel"?: string; "bielId"?: string; "closeButtonText"?: string; "collapseButtonText"?: string; "connectButtonText"?: string; "disableInput"?: boolean; "email"?: string; "embeddedMode"?: boolean; "errorMessage403"?: string; "errorMessage404"?: string; "errorMessageDefault"?: string; "expandButtonText"?: string; "expandModal"?: boolean; "fetchData"?: boolean; "footerText"?: string; "headerTitle"?: string; "hideAvatars"?: boolean; "hideCloseButton"?: boolean; "hideConnectButton"?: boolean; "hideExpandButton"?: boolean; "hideFeedback"?: boolean; "hideRefreshButton"?: boolean; "hideSettingsButton"?: boolean; "hideSources"?: boolean; "hideTooltips"?: boolean; "initialMessages"?: { text: string; sender: 'user' | 'ai'; feedback?: 0 | 1; isPartial: false; }[]; "inputPlaceholderText"?: string; "keepConversation"?: boolean; "mcpClaudeCopiedDescription"?: string; "mcpClaudeDescription"?: string; "mcpClaudeText"?: string; "mcpCopiedText"?: string; "mcpCopilotDescription"?: string; "mcpCopilotText"?: string; "mcpCursorDescription"?: string; "mcpCursorText"?: string; "mcpServerUrl"?: string; "mcpUrlCopiedDescription"?: string; "mcpUrlDescription"?: string; "mcpUrlText"?: string; "metadata"?: string; "modalPosition"?: string; "onAddMessageText"?: (event: BielBotCustomEvent<{ text: string; id: number; bielId: string }>) => void; "onCloseBot"?: (event: BielBotCustomEvent) => void; "onPartialMessageComplete"?: (event: BielBotCustomEvent<{ partialId: number; bielId: string; msg: { text: string; sender: 'user' | 'ai'; messageId?: string; feedback?: 0 | 1; sources?: { title: string; url: string }[]; isPartial: boolean; partialId?: number; }; }>) => void; "project"?: string; "refreshButtonText"?: string; "sendButtonText"?: string; "settingsButtonText"?: string; "showModal"?: boolean; "showTermsModal"?: boolean; "sourcesText"?: string; "suggestedQuestions"?: string; "suggestedQuestionsTitle"?: string; "termsCheckboxText"?: string; "termsDescription"?: string; "termsTitle"?: string; "thinkModeAutoDescription"?: string; "thinkModeAutoText"?: string; "thinkModeEnabled"?: boolean; "thinkModeFastDescription"?: string; "thinkModeFastText"?: string; "thinkModeThinkDescription"?: string; "thinkModeThinkText"?: string; "welcomeMessage"?: string; } interface BielButton { "aiIcon"?: AiIconType; "apiKey"?: string; "apiUrl"?: string; "assistantLabel"?: string; "bielId"?: string; "buttonPosition"?: string; "buttonStyle"?: string; "closeButtonText"?: string; "collapseButtonText"?: string; "connectButtonText"?: string; "customFont"?: boolean; "disableInput"?: boolean; "email"?: string; "errorMessage403"?: string; "errorMessage404"?: string; "errorMessageDefault"?: string; "expandButtonText"?: string; "expandModal"?: boolean; "footerText"?: string; "headerTitle"?: string; "hideAvatars"?: boolean; "hideCloseButton"?: boolean; "hideConnectButton"?: boolean; "hideExpandButton"?: boolean; "hideFeedback"?: boolean; "hideIcon"?: boolean; "hideRefreshButton"?: boolean; "hideSettingsButton"?: boolean; "hideSources"?: boolean; "hideTooltips"?: boolean; "initialMessages"?: { text: string; sender: 'user' | 'ai'; feedback?: 0 | 1 }[]; "inputPlaceholderText"?: string; "keepConversation"?: boolean; "mcpClaudeCopiedDescription"?: string; "mcpClaudeDescription"?: string; "mcpClaudeText"?: string; "mcpCopiedText"?: string; "mcpCopilotDescription"?: string; "mcpCopilotText"?: string; "mcpCursorDescription"?: string; "mcpCursorText"?: string; "mcpServerUrl"?: string; "mcpUrlCopiedDescription"?: string; "mcpUrlDescription"?: string; "mcpUrlText"?: string; "metadata"?: string; "modalPosition"?: string; "onBielBotButtonClick"?: (event: BielButtonCustomEvent) => void; "onTermsDeclined"?: (event: BielButtonCustomEvent) => void; "project"?: string; "refreshButtonText"?: string; "sendButtonText"?: string; "settingsButtonText"?: string; "showTermsModal"?: boolean; "sourcesText"?: string; "suggestedQuestions"?: string; "suggestedQuestionsTitle"?: string; "termsCheckboxText"?: string; "termsDescription"?: string; "termsTitle"?: string; "thinkModeAutoDescription"?: string; "thinkModeAutoText"?: string; "thinkModeEnabled"?: boolean; "thinkModeFastDescription"?: string; "thinkModeFastText"?: string; "thinkModeThinkDescription"?: string; "thinkModeThinkText"?: string; "welcomeMessage"?: string; } interface BielChat { "aiIcon"?: AiIconType; "assistantLabel"?: string; "bielId"?: string; "embeddedMode"?: boolean; "hideAvatars"?: boolean; "hideFeedback"?: boolean; "hideSources"?: boolean; "isFullscreen"?: boolean; "isLoading"?: boolean; "loadedChat"?: boolean; "messages"?: { text: string; sender: 'user' | 'ai'; messageId?: string; feedback?: 0 | 1; sources?: { title: string; url: string }[]; isPartial: boolean; partialId?: number; incomplete?: boolean; }[]; "modalPosition"?: string; "showContinueButton"?: boolean; "sourcesText"?: string; "suggestedQuestions"?: string[]; "suggestedQuestionsTitle"?: string; "welcomeMessage"?: string; } interface BielFeedback { "bielId"?: string; "initialReaction"?: 0 | 1; "messageId"?: string; "onFeedbackSent"?: (event: BielFeedbackCustomEvent<{ bielId: string; messageId: string; reaction: 0 | 1 }>) => void; } interface BielHeader { "bielId"?: string; "closeButtonText"?: string; "collapseButtonText"?: string; "currentThinkMode"?: 'auto' | 'fast' | 'think'; "expandButtonText"?: string; "fullscreen"?: boolean; "headerTitle"?: string; "hideCloseButton"?: boolean; "hideExpandButton"?: boolean; "hideRefreshButton"?: boolean; "hideSettingsButton"?: boolean; "hideTooltips"?: boolean; "onCloseClicked"?: (event: BielHeaderCustomEvent<{ bielId: string }>) => void; "onFullscreenClicked"?: (event: BielHeaderCustomEvent<{ bielId: string }>) => void; "onRefreshClicked"?: (event: BielHeaderCustomEvent<{ bielId: string }>) => void; "onThinkModeChanged"?: (event: BielHeaderCustomEvent<{ bielId: string; mode: 'auto' | 'fast' | 'think' }>) => void; "onThinkModeToggled"?: (event: BielHeaderCustomEvent<{ bielId: string; isActive: boolean }>) => void; "project"?: string; "refreshButtonText"?: string; "settingsButtonText"?: string; "showPoweredBy"?: boolean; "thinkModeEnabled"?: boolean; } interface BielIcon { "height"?: string; "type"?: IconType; "width"?: string; } interface BielInput { "apiKey"?: string; "bielId"?: string; "connectButtonText"?: string; "currentThinkMode"?: 'auto' | 'fast' | 'think'; "hideConnectButton"?: boolean; "hideSettingsButton"?: boolean; "isDisabled"?: boolean; "mcpClaudeCopiedDescription"?: string; "mcpClaudeDescription"?: string; "mcpClaudeText"?: string; "mcpCopiedText"?: string; "mcpCopilotDescription"?: string; "mcpCopilotText"?: string; "mcpCursorDescription"?: string; "mcpCursorText"?: string; "mcpEnabled"?: boolean; "mcpMetadataTag"?: string; "mcpServerName"?: string; "mcpServerUrl"?: string; "mcpUrlCopiedDescription"?: string; "mcpUrlDescription"?: string; "mcpUrlText"?: string; "onMessageSent"?: (event: BielInputCustomEvent<{ bielId: string; message: string }>) => void; "onScrollToBottom"?: (event: BielInputCustomEvent<{ bielId: string }>) => void; "onThinkModeChanged"?: (event: BielInputCustomEvent<{ bielId: string; mode: 'auto' | 'fast' | 'think' }>) => void; "placeholderText"?: string; "project"?: string; "sendButtonText"?: string; "thinkModeAutoDescription"?: string; "thinkModeAutoText"?: string; "thinkModeFastDescription"?: string; "thinkModeFastText"?: string; "thinkModeThinkDescription"?: string; "thinkModeThinkText"?: string; } interface BielInputOption { "isOpen"?: boolean; "label"?: string; "onToggleRequested"?: (event: BielInputOptionCustomEvent) => void; } interface BielInputOptions { "apiKey"?: string; "bielId"?: string; "connectButtonText"?: string; "currentThinkMode"?: 'auto' | 'fast' | 'think'; "hideConnectButton"?: boolean; "hideSettingsButton"?: boolean; "mcpClaudeCopiedDescription"?: string; "mcpClaudeDescription"?: string; "mcpClaudeText"?: string; "mcpCopiedText"?: string; "mcpCopilotDescription"?: string; "mcpCopilotText"?: string; "mcpCursorDescription"?: string; "mcpCursorText"?: string; "mcpEnabled"?: boolean; "mcpMetadataTag"?: string; "mcpServerName"?: string; "mcpServerUrl"?: string; "mcpUrlCopiedDescription"?: string; "mcpUrlDescription"?: string; "mcpUrlText"?: string; "onThinkModeChanged"?: (event: BielInputOptionsCustomEvent<{ bielId: string; mode: 'auto' | 'fast' | 'think' }>) => void; "project"?: string; "thinkModeAutoDescription"?: string; "thinkModeAutoText"?: string; "thinkModeFastDescription"?: string; "thinkModeFastText"?: string; "thinkModeThinkDescription"?: string; "thinkModeThinkText"?: string; } interface BielMessage { "aiIcon"?: AiIconType; "assistantLabel"?: string; "bielId"?: string; "feedback"?: 0 | 1; "hideAvatars"?: boolean; "hideFeedback"?: boolean; "hideSources"?: boolean; "isPartial"?: boolean; "messageId"?: string; "onScrollToBottom"?: (event: BielMessageCustomEvent<{ bielId: string }>) => void; "partialId"?: number; "sender"?: 'user' | 'ai'; "sources"?: { title: string; url: string }[]; "sourcesText"?: string; "text"?: string; } interface BielSearch { "aiIcon"?: AiIconType; "aiResultFragment"?: string; "apiKey"?: string; "apiUrl"?: string; "assistantLabel"?: string; "bielId"?: string; "cleanTitles"?: boolean; "closeButtonText"?: string; "collapseButtonText"?: string; "connectButtonText"?: string; "disableInput"?: boolean; "email"?: string; "errorMessage403"?: string; "errorMessage404"?: string; "errorMessageDefault"?: string; "expandButtonText"?: string; "expandModal"?: boolean; "fetchData"?: boolean; "footerText"?: string; "headerTitle"?: string; "hideAskAiButton"?: boolean; "hideAvatars"?: boolean; "hideCloseButton"?: boolean; "hideConnectButton"?: boolean; "hideDescriptions"?: boolean; "hideExpandButton"?: boolean; "hideFeedback"?: boolean; "hideFilters"?: boolean; "hideNavigationButtons"?: boolean; "hideRefreshButton"?: boolean; "hideSettingsButton"?: boolean; "hideSources"?: boolean; "hideTooltips"?: boolean; "inputPlaceholderText"?: string; "keepConversation"?: boolean; "mcpClaudeCopiedDescription"?: string; "mcpClaudeDescription"?: string; "mcpClaudeText"?: string; "mcpCopiedText"?: string; "mcpCopilotDescription"?: string; "mcpCopilotText"?: string; "mcpCursorDescription"?: string; "mcpCursorText"?: string; "mcpServerUrl"?: string; "mcpUrlCopiedDescription"?: string; "mcpUrlDescription"?: string; "mcpUrlText"?: string; "metadata"?: string; "modalPosition"?: string; "onMessageSent"?: (event: BielSearchCustomEvent<{ bielId: string; message: string }>) => void; "project"?: string; "refreshButtonText"?: string; "searchPlaceholder"?: string; "sendButtonText"?: string; "settingsButtonText"?: string; "showSearchModal"?: boolean; "showTermsModal"?: boolean; "sourcesText"?: string; "stacked"?: boolean; "suggestedQuestions"?: string; "suggestedQuestionsTitle"?: string; "termsCheckboxText"?: string; "termsDescription"?: string; "termsTitle"?: string; "thinkModeAutoDescription"?: string; "thinkModeAutoText"?: string; "thinkModeEnabled"?: boolean; "thinkModeFastDescription"?: string; "thinkModeFastText"?: string; "thinkModeThinkDescription"?: string; "thinkModeThinkText"?: string; "welcomeMessage"?: string; } interface BielSearchAskAiButton { "aiIcon"?: ButtonIconType; "bielId"?: string; "isSelected"?: boolean; "onAskAiClicked"?: (event: BielSearchAskAiButtonCustomEvent<{ bielId: string }>) => void; "resultFragment"?: string; "resultTitle"?: string; } interface BielSearchBody { "aiIcon"?: AiIconType; "aiResultFragment"?: string; "bielId"?: string; "cleanTitles"?: boolean; "hideAskAiButton"?: boolean; "hideAvatars"?: boolean; "hideDescriptions"?: boolean; "lastSearchQuery"?: string; "onResultClicked"?: (event: BielSearchBodyCustomEvent<{ url: string; newTab: boolean }>) => void; "searchQuery"?: string; "searchResults"?: SearchResult[]; "stacked"?: boolean; } interface BielSearchButton { "aiIcon"?: AiIconType; "aiResultFragment"?: string; "apiKey"?: string; "apiUrl"?: string; "assistantLabel"?: string; "buttonStyle"?: string; "cleanTitles"?: boolean; "closeButtonText"?: string; "collapseButtonText"?: string; "connectButtonText"?: string; "customFont"?: boolean; "disableInput"?: boolean; "email"?: string; "errorMessage403"?: string; "errorMessage404"?: string; "errorMessageDefault"?: string; "expandButtonText"?: string; "expandModal"?: boolean; "footerText"?: string; "headerTitle"?: string; "hideAskAiButton"?: boolean; "hideAvatars"?: boolean; "hideCloseButton"?: boolean; "hideConnectButton"?: boolean; "hideCtrlK"?: boolean; "hideDescriptions"?: boolean; "hideExpandButton"?: boolean; "hideFeedback"?: boolean; "hideFilters"?: boolean; "hideIcon"?: boolean; "hideNavigationButtons"?: boolean; "hideRefreshButton"?: boolean; "hideSettingsButton"?: boolean; "hideSources"?: boolean; "hideTooltips"?: boolean; "initialMessages"?: { text: string; sender: 'user' | 'ai'; feedback?: 0 | 1 }[]; "inputPlaceholderText"?: string; "keepConversation"?: boolean; "mcpClaudeCopiedDescription"?: string; "mcpClaudeDescription"?: string; "mcpClaudeText"?: string; "mcpCopiedText"?: string; "mcpCopilotDescription"?: string; "mcpCopilotText"?: string; "mcpCursorDescription"?: string; "mcpCursorText"?: string; "mcpServerUrl"?: string; "mcpUrlCopiedDescription"?: string; "mcpUrlDescription"?: string; "mcpUrlText"?: string; "metadata"?: string; "modalPosition"?: string; "onBielSearchButtonClick"?: (event: BielSearchButtonCustomEvent) => void; "project"?: string; "refreshButtonText"?: string; "searchPlaceholder"?: string; "sendButtonText"?: string; "settingsButtonText"?: string; "showTermsModal"?: boolean; "sourcesText"?: string; "stacked"?: boolean; "suggestedQuestions"?: string; "suggestedQuestionsTitle"?: string; "termsCheckboxText"?: string; "termsDescription"?: string; "termsTitle"?: string; "thinkModeAutoDescription"?: string; "thinkModeAutoText"?: string; "thinkModeFastDescription"?: string; "thinkModeFastText"?: string; "thinkModeThinkDescription"?: string; "thinkModeThinkText"?: string; "welcomeMessage"?: string; } interface BielSearchFilters { "disableFilters"?: boolean; "filters"?: { title: string }[]; "onFilterSelected"?: (event: BielSearchFiltersCustomEvent) => void; } interface BielSearchHeader { "bielId"?: string; "closeButtonText"?: string; "collapseButtonText"?: string; "expandButtonText"?: string; "filters"?: { title: string }[]; "hideExpandButton"?: boolean; "hideFilters"?: boolean; "hideTooltips"?: boolean; "isFullscreen"?: boolean; "onCloseSearchClicked"?: (event: BielSearchHeaderCustomEvent<{ bielId: string }>) => void; "onExpandSearchClicked"?: (event: BielSearchHeaderCustomEvent<{ bielId: string }>) => void; "placeholderText"?: string; "searchQuery"?: string; } interface BielSearchInput { "onInputChanged"?: (event: BielSearchInputCustomEvent) => void; "placeholderText"?: string; } interface BielSearchResult { "hideDescription"?: boolean; "isSelected"?: boolean; "resultFragment"?: string; "resultTitle"?: string; "resultUrl"?: string; "searchQuery"?: string; } interface BielSources { "sources"?: { title: string; url: string }[]; "sourcesText"?: string; } interface BielSuggestedQuestions { "bielId"?: string; "heading"?: string; "onScrollToBottom"?: (event: BielSuggestedQuestionsCustomEvent<{ bielId: string }>) => void; "onSuggestedQuestionClick"?: (event: BielSuggestedQuestionsCustomEvent<{ bielId: string; message: string }>) => void; "questions"?: string[]; } interface BielTermsModal { "onTermsAccepted"?: (event: BielTermsModalCustomEvent) => void; "onTermsDeclined"?: (event: BielTermsModalCustomEvent) => void; "termsCheckboxText"?: string; "termsDescription"?: string; "termsTitle"?: string; } interface CodeSnippet { "code"?: string; "copiedButtonText"?: string; "copyButtonText"?: string; "language"?: string; } interface IntrinsicElements { "biel-bot": BielBot; "biel-button": BielButton; "biel-chat": BielChat; "biel-feedback": BielFeedback; "biel-header": BielHeader; "biel-icon": BielIcon; "biel-input": BielInput; "biel-input-option": BielInputOption; "biel-input-options": BielInputOptions; "biel-message": BielMessage; "biel-search": BielSearch; "biel-search-ask-ai-button": BielSearchAskAiButton; "biel-search-body": BielSearchBody; "biel-search-button": BielSearchButton; "biel-search-filters": BielSearchFilters; "biel-search-header": BielSearchHeader; "biel-search-input": BielSearchInput; "biel-search-result": BielSearchResult; "biel-sources": BielSources; "biel-suggested-questions": BielSuggestedQuestions; "biel-terms-modal": BielTermsModal; "code-snippet": CodeSnippet; } } export { LocalJSX as JSX }; declare module "@stencil/core" { export namespace JSX { interface IntrinsicElements { "biel-bot": LocalJSX.BielBot & JSXBase.HTMLAttributes; "biel-button": LocalJSX.BielButton & JSXBase.HTMLAttributes; "biel-chat": LocalJSX.BielChat & JSXBase.HTMLAttributes; "biel-feedback": LocalJSX.BielFeedback & JSXBase.HTMLAttributes; "biel-header": LocalJSX.BielHeader & JSXBase.HTMLAttributes; "biel-icon": LocalJSX.BielIcon & JSXBase.HTMLAttributes; "biel-input": LocalJSX.BielInput & JSXBase.HTMLAttributes; "biel-input-option": LocalJSX.BielInputOption & JSXBase.HTMLAttributes; "biel-input-options": LocalJSX.BielInputOptions & JSXBase.HTMLAttributes; "biel-message": LocalJSX.BielMessage & JSXBase.HTMLAttributes; "biel-search": LocalJSX.BielSearch & JSXBase.HTMLAttributes; "biel-search-ask-ai-button": LocalJSX.BielSearchAskAiButton & JSXBase.HTMLAttributes; "biel-search-body": LocalJSX.BielSearchBody & JSXBase.HTMLAttributes; "biel-search-button": LocalJSX.BielSearchButton & JSXBase.HTMLAttributes; "biel-search-filters": LocalJSX.BielSearchFilters & JSXBase.HTMLAttributes; "biel-search-header": LocalJSX.BielSearchHeader & JSXBase.HTMLAttributes; "biel-search-input": LocalJSX.BielSearchInput & JSXBase.HTMLAttributes; "biel-search-result": LocalJSX.BielSearchResult & JSXBase.HTMLAttributes; "biel-sources": LocalJSX.BielSources & JSXBase.HTMLAttributes; "biel-suggested-questions": LocalJSX.BielSuggestedQuestions & JSXBase.HTMLAttributes; "biel-terms-modal": LocalJSX.BielTermsModal & JSXBase.HTMLAttributes; "code-snippet": LocalJSX.CodeSnippet & JSXBase.HTMLAttributes; } } }