import { default as React, Dispatch, SetStateAction } from 'react'; import { IApplication, IKnowledge, ISessionParams } from '@glodon-aiot/apis'; import { Session } from '@glodon-aiot/bot-client-sdk'; interface AgentChatProps { embeddingService?: string; docViewerUrl?: string; application: IApplication; currentSession?: Session | null; resourceToken?: string; onCreateSession?: (param: ISessionParams & { knowledges?: IKnowledge[]; }) => Promise; footer?: HTMLDivElement | string | boolean; setCurrentSession?: Dispatch>; networkStatus: boolean; setNetworkStatus: Dispatch>; } export interface AgentChatRefProps { getCurrentInputText: () => string | undefined; send: (text: string) => Promise; } declare const AgentChat: React.ForwardRefExoticComponent>; export default AgentChat;