import { FileType } from "./File"; import React from "react"; import { FormField } from "./FormComponent"; type ChatbotProps = { apiKey: string; prompt: string; model?: string; header?: string; temperature?: number; useContext?: boolean; pathToEmbeddedData?: string; apiMaxOutputTokens?: number; imageUrl?: string; textPosition?: boolean; chatOpen?: boolean; titleOfChatBot?: string; descriptionOfChatbot?: string; headerDescription?: string; zIndex: number; themeColor?: string; backGroundImage?: string; APIStoreResponseDataEndpoint?: string; APIAccessToken?: string; APIHttpMethod?: "POST" | "GET" | "PUT"; leadForm?: { enableFormAt?: number; fields?: FormField[]; submitApiEndPoint?: string; submitApiAccessToken?: string; submitApiHttpMethod?: "POST" | "GET" | "PUT"; leadFormHeader?: string; leadFormDescription?: string; leadFormButtonText?: string; LFCloseButton?: boolean; }; enableLeadForm?: boolean; approach?: Array<{ agent: string; user: string; }>; goodFormatting?: boolean; tone?: string; useEmoji?: boolean; chatBotHeight?: string; chatBotWidth?: string; exemptions?: string; enableJailbreakSecurity?: Boolean; chatIconText?: string; }; export type UserMessage = { isUser: boolean; type: "attachment" | "text"; fileName?: string; fileType?: FileType; fileUrl?: string; text: string; timestamp: string; }; declare function ChatBot({ apiKey, prompt, model, header, temperature, useContext, apiMaxOutputTokens, imageUrl, textPosition, chatOpen, titleOfChatBot, descriptionOfChatbot, headerDescription, zIndex, themeColor, backGroundImage, APIStoreResponseDataEndpoint, APIAccessToken, APIHttpMethod, leadForm, enableLeadForm, approach, goodFormatting, tone, useEmoji, chatBotHeight, chatBotWidth, pathToEmbeddedData, exemptions, enableJailbreakSecurity, chatIconText }: ChatbotProps): React.JSX.Element; export { ChatBot };