import { RefObject } from 'react'; import { FlatList, FlatListProps } from 'react-native'; import { ConversationResource } from '../../types/resources/conversation'; import { MessageResource } from '../../types/resources/message'; import { type EnrichedMessage } from '../../utils/group_messages'; type ScrollHandlers = Pick, 'onScroll' | 'onLayout' | 'onContentSizeChange' | 'onScrollBeginDrag' | 'onScrollEndDrag' | 'onMomentumScrollEnd'>; interface MessageListProps extends ScrollHandlers { listRef: RefObject; conversation: ConversationResource; conversationId: number; messages: MessageResource[]; replyRootId?: string | null; anchorMessageId?: string | null; behind?: boolean; hasNextPage: boolean; onEndReached: () => void; onStartReached?: () => void; } /** MessageList * The inverted list of messages, reply previews, and date separators for a conversation */ export declare function MessageList({ listRef, conversation, conversationId, messages, replyRootId, anchorMessageId, behind, hasNextPage, onEndReached, onStartReached, onScroll, onLayout, onContentSizeChange, onScrollBeginDrag, onScrollEndDrag, onMomentumScrollEnd, }: MessageListProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=message_list.d.ts.map