import React, { ReactNode } from 'react'; import { ImageStyle, TextStyle, ViewStyle } from 'react-native'; import { IMessage, LeftRightStyle, User } from './Models'; export interface AvatarProps { currentMessage: TMessage; previousMessage?: TMessage; nextMessage?: TMessage; position: 'left' | 'right'; isAvatarOnTop?: boolean; isAvatarVisibleForEveryMessage?: boolean; imageStyle?: LeftRightStyle; containerStyle?: LeftRightStyle; textStyle?: TextStyle; renderAvatar?(props: Omit, 'renderAvatar'>): ReactNode; onPressAvatar?: (user: User) => void; onLongPressAvatar?: (user: User) => void; } export declare function Avatar(props: AvatarProps): React.JSX.Element | null; //# sourceMappingURL=Avatar.d.ts.map