import React from "react"; import { UserMessage } from "./ChatBot"; import { FormField } from "./FormComponent"; export type ChatProps = { header: string; messages: UserMessage[]; handleMessageBeingSent: (messageText: string, attachment: File | null) => Promise; isLoading: boolean; imageUrl?: string; textPosition?: boolean; chatOpen?: boolean; titleOfChatBot?: string; descriptionOfChatbot?: string; headerDescription?: string; themeColor?: string; backGroundImage?: string; form?: { enableFormAt?: number; fields?: FormField[]; submitApiEndPoint?: string; submitApiAccessToken?: string; submitApiHttpMethod?: "POST" | "GET" | "PUT"; leadFormHeader?: string; leadFormDescription?: string; leadFormButtonText?: string; LFCloseButton?: boolean; }; enableLeadForm?: boolean; APIStoreResponseDataEndpoint?: string; APIAccessToken?: string; APIHttpMethod?: "POST" | "GET" | "PUT"; chatBotHeight?: string; chatBotWidth?: string; leadFormHeader?: string; leadFormDescription?: string; leadFormButtonText?: string; chatIconText?: string; }; declare const Chat: ({ messages, handleMessageBeingSent, isLoading, header, imageUrl, textPosition, chatOpen, titleOfChatBot, descriptionOfChatbot, headerDescription, themeColor, backGroundImage, form, enableLeadForm, APIStoreResponseDataEndpoint, APIAccessToken, APIHttpMethod, chatBotHeight, chatBotWidth, chatIconText }: ChatProps) => React.JSX.Element; export default Chat;