import React from 'react';
import { MsgType } from '@/_utils/chat';
export interface ChatDataSource {
    id: number | string;
    msgType: MsgType;
    [props: string]: any;
}
export interface ChatListForwardRef {
    chatListRearchBottom?: () => void;
}
export interface FieldNames {
}
export interface ChatListProps {
    /**
     *  @description 数据源
     *  @default
     */
    dataSource: ChatDataSource[];
    /**
     *  @description 自定义 dataSource 中 label name children 的字段,暂时没写这个功能
     *  @default
     */
    fieldNames?: FieldNames;
    /**
     *  @description 登录者id
     *  @default
     */
    loginId: number | string;
    /**
     *  @description 加载更多
     *  @default
     */
    loadMore?: () => void;
    /**
     *  @description 调用loadMore之前的临界值，单位是像素
     *  @default
     */
    reachedTopThreshold?: number;
    /**
     *  @description 加载数据状态
     *  @default true
     */
    isLoading: boolean;
    /**
     *  @description 是否还有更多数据
     *  @default true
     */
    hasMore: boolean;
    /**
     *  @description 消息类型，暂时没做处理
     *  @default
     */
    msgTypeManage?: any;
}
declare const _default: React.ForwardRefExoticComponent<ChatListProps & React.RefAttributes<any>>;
export default _default;
