/** @format */
import React from 'react';
import { IMessage, User, IConfig } from '../../types/types';
interface MessageListProps<TMessage extends IMessage> {
    CustomMessage?: React.ComponentType<{
        message: IMessage;
        isUser: boolean;
        isReply: boolean;
    }>;
    CustomDaySeparator?: React.ComponentType<{
        date: Date;
        formattedDate: string;
    }>;
    CustomNewMessageLabel?: React.ComponentType<{
        color?: string;
    }>;
    user: User;
    roomJID: string;
    loadMoreMessages: (chatJID: string, max: number, amount?: number) => Promise<void>;
    loading: boolean;
    config?: IConfig;
    isReply: boolean;
    activeMessage?: IMessage;
}
declare const MessageList: <TMessage extends IMessage>({ CustomMessage, CustomDaySeparator, CustomNewMessageLabel, user, loadMoreMessages, roomJID, config, loading, isReply, activeMessage, }: MessageListProps<TMessage>) => React.JSX.Element;
export default MessageList;
//# sourceMappingURL=MessageList.d.ts.map