///
import { ChatObject, MessageObject } from '../../../../interfaces';
import { MessageListStyles } from './styles';
import { MessageProps } from './Message/props';
export interface MessageListProps extends MessageListStyles {
messages: MessageObject[];
chat?: ChatObject;
username?: string;
timezoneOffset?: number;
hasMoreMessages?: boolean;
onMessageLoaderShow?: () => Promise;
onMessageLoaderHide?: () => Promise;
onBottomMessageShow?: () => Promise;
onBottomMessageHide?: () => Promise;
renderMessageList?: (props: MessageListProps) => JSX.Element | Element | React.FC;
renderMessage?: (props: MessageProps) => JSX.Element | Element | React.FC;
}