import React from 'react'; import { Props as InfoCardProps } from './InfoCard'; import { Props as HeaderProps } from './Header'; import { Props as MessageProps } from './message'; import { Props as MessageData } from './message/Item'; export declare const patInfo: ({}: InfoCardProps) => void; export declare const header: ({}: Omit) => void; export declare const messageInitData: ({}: Omit) => void; export type Props = { /** * 类名 */ className?: string; /** * 是否是医生,医生显示的内容跟患者不同 */ isDoctor?: boolean; /** * 患者信息 */ patInfo?: InfoCardProps; /** * 头部信息 */ header?: HeaderProps; /** * socket链接 */ socketUrl: string; /** * 初始化接口的返回的聊天数据 */ initMessages?: D[]; } & Omit, 'initData'>; declare const _default: ({ className, header, patInfo, isDoctor, socketUrl, initMessages, doctorName, patName, patAvatar, doctorAvatar, transformData, }: Props) => React.JSX.Element; export default _default;