import React from 'react'; import { ScrollToEndOptions } from '../PullToRefresh'; import { MessageProps } from '../Message'; export interface MessageContainerProps { messages: MessageProps[]; renderMessageContent: (message: MessageProps) => React.ReactNode; isTyping?: boolean; loadMoreText?: string; onRefresh?: () => Promise; onScroll?: (event: React.UIEvent) => void; renderBeforeMessageList?: () => React.ReactNode; onBackBottomShow?: () => void; onBackBottomClick?: () => void; } export interface MessageContainerHandle { ref: React.RefObject; scrollToEnd: (options?: ScrollToEndOptions) => void; } export declare const MessageContainer: React.ForwardRefExoticComponent>;