/// import type { ConnectConfig, MIND_MODE, SocketSessionManager, WS_MIND_TYPE } from '@mindverse/accessor-open'; import type MessageItem from './components/chat/model/message-item'; import { EAppMode } from './utils/const'; import request from './utils/request'; import { CONTAINER_EVENT } from './utils/utils'; import './index.css'; export * from './components/chat/model/message-item'; export { EAppMode, EChatAppIds } from './utils/const'; export type { MessageItem }; export { request, CONTAINER_EVENT }; export interface MindConfig { mindId: string; mindType: WS_MIND_TYPE; mode?: MIND_MODE; } export interface UserConfig { userName: string; picture: string; model: string; gender: string; type?: 'iconModel' | 'pictureModel'; } export declare enum DevelopType { SCRIPT = "SCRIPT", NPM = "NPM" } export declare const getSocketConfig: () => ConnectConfig | undefined; export interface IConfig { sessionManager?: SocketSessionManager; refUserId?: string; mindConfig: MindConfig; userConfig: UserConfig; initialExpand?: boolean; developType?: DevelopType; voiceMute?: boolean; messageList?: MessageItem[]; } export interface INoLoginConfig { initFirstSentence?: string[]; hasInitShortcut?: boolean; initMessage?: string; } export interface UserProfile { email: string; name: string; avatar: string; } export interface IShortcutConfig { mindFavouriteStatus?: boolean; userProfile?: UserProfile; } export interface IProps { appMode: EAppMode; disabled?: boolean; inIframe?: boolean; sessionCb?: (sessionId: string) => void; inSharedHistory?: boolean; config: IConfig; noLoginConfig?: INoLoginConfig; shortcutConfig?: IShortcutConfig; } declare function App(props: IProps): JSX.Element | null; declare const _default: import("react").MemoExoticComponent; export default _default;