import type { ReactNode } from 'react'; import type { ImageStyle, TextStyle, ViewStyle } from 'react-native'; import type { Omit, IMessage, User, LeftRightStyle } from './Models'; export interface AvatarProps { currentMessage?: TMessage; previousMessage?: TMessage; nextMessage?: TMessage; position?: 'left' | 'right'; renderAvatarOnTop?: boolean; showAvatarForEveryMessage?: boolean; imageStyle?: LeftRightStyle; containerStyle?: LeftRightStyle; textStyle?: TextStyle; renderAvatar?(props: Omit, 'renderAvatar'>): ReactNode; onPressAvatar?(user: User): void; onLongPressAvatar?(user: User): void; } declare const Avatar: { (props: AvatarProps): JSX.Element | null; defaultProps: { renderAvatarOnTop: boolean; showAvatarForEveryMessage: boolean; position: string; currentMessage: { user: null; }; previousMessage: {}; nextMessage: {}; textStyle: undefined; renderAvatar: undefined; containerStyle: {}; imageStyle: {}; onPressAvatar: () => null; onLongPressAvatar: () => null; }; }; export default Avatar;