import React from 'react'; import { type StyleProp, type ViewStyle } from 'react-native'; import type { GiftedChatProps } from 'react-native-gifted-chat/lib/GiftedChat/types'; import type { CustomConversationInfo, IUserInfo, MessageProps } from '../interfaces'; import { CustomImageVideoBubbleProps } from './components/bubble'; import { IInputToolbar } from './components/InputToolbar'; export type ChatScreenChildrenProps = { onSend: (messages: MessageProps) => Promise; }; type RenderChildren = (props: ChatScreenChildrenProps) => React.ReactNode; interface ChatScreenProps extends GiftedChatProps { style?: StyleProp; memberIds: string[]; partners: IUserInfo[]; onStartLoad?: () => void; onLoadEnd?: () => void; maxPageSize?: number; inputToolbarProps?: IInputToolbar; customConversationInfo?: CustomConversationInfo; customImageVideoBubbleProps?: CustomImageVideoBubbleProps; customContainerStyle?: StyleProp; customTextStyle?: StyleProp; unReadSentMessage?: string; unReadSeenMessage?: string; sendMessageNotification?: () => void; timeoutSendNotify?: number; enableTyping?: boolean; typingTimeoutSeconds?: number; messageStatusEnable?: boolean; customMessageStatus?: (hasUnread: boolean) => React.JSX.Element; /** Render prop children to access onSend function */ children?: RenderChildren; } export declare const ChatScreen: React.FC; export {}; //# sourceMappingURL=ChatScreen.d.ts.map