import * as React from "react"; import "./WhiteboardChat.less"; import { Room, Player } from "white-web-sdk"; import { MessageType } from "./WhiteboardBottomRight"; import { IdentityType } from "../../pages/NetlessRoomTypes"; export declare type WhiteboardChatProps = { userId: string; messages: MessageType[]; userAvatarUrl?: string; userName?: string; room?: Room; player?: Player; identity?: IdentityType; elementId: string; }; export declare type WhiteboardChatStates = { url: string; isLandscape: boolean; }; export default class WhiteboardChat extends React.Component { private messagesEnd; constructor(props: WhiteboardChatProps); private scrollToBottom; private detectLandscape; private getElementHeight; componentWillUnmount(): void; componentDidMount(): Promise; private getAvatarUrl; UNSAFE_componentWillReceiveProps(): Promise; private renderTextComposer; render(): React.ReactNode; }