import { Component } from 'react'; export declare type ChatItemType = { createdAt: Date; content: { text?: string; image?: string; }; user: { _id: string | number; name?: string; avatar?: string; }; }; export interface ChatExampleProps { items: Array; userId?: string | number; } declare class ChatExample extends Component { state: { messages: never[]; }; constructor(props: ChatExampleProps); render(): JSX.Element; } export default ChatExample;