import { Session } from '@glodon-aiot/bot-client-sdk'; import { ISessionParams, IKnowledge } from '@glodon-aiot/apis'; import { default as React, CSSProperties } from 'react'; interface DialogProps { appId: string; docViewerUrl?: string; bodyStyle?: CSSProperties; sessionId?: string; } export interface DialogRefProps { createSession: (params: ISessionParams & { knowledges?: IKnowledge[]; }) => Promise | undefined; getSessionList: () => Promise | undefined; getCurrentInputText: () => string | undefined; send: (text: string) => Promise; } declare const Dialog: React.ForwardRefExoticComponent>; export default Dialog;