import React, { FC, ReactNode } from 'react'; import { ChatSDK } from '../SDK'; import { renderUserProfileProps } from '../baseMessage'; import { CurrentConversation } from '../store/ConversationStore'; import { BaseMessageProps } from '../baseMessage'; import { NoticeMessageBody } from '../noticeMessage/NoticeMessage'; export interface MsgListProps { prefix?: string; className?: string; style?: React.CSSProperties; isThread?: boolean; renderMessage?: (message: ChatSDK.MessageBody | NoticeMessageBody) => ReactNode; renderUserProfile?: (props: renderUserProfileProps) => React.ReactNode; conversation?: CurrentConversation; messageProps?: BaseMessageProps; onOpenThreadPanel?: (threadId: string) => void; } declare let MessageList: FC; export { MessageList };