import { default as React } from 'react';
import { IConfig, IMessage, User } from '../../types/types';
interface MessageListProps<TMessage extends IMessage> {
    CustomMessage?: React.ComponentType<{
        message: IMessage;
        isUser: boolean;
        isReply: boolean;
    }>;
    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, loadMoreMessages, roomJID, config, loading, isReply, activeMessage, }: MessageListProps<TMessage>) => import("react/jsx-runtime").JSX.Element;
export default MessageList;
