import PropTypes from 'prop-types'; import React from 'react'; import { StyleProp, ImageStyle, TextStyle } from 'react-native'; import { User } from './Models'; export interface GiftedAvatarProps { user?: User; avatarStyle?: StyleProp; textStyle?: StyleProp; onPress?: (props: GiftedAvatarProps) => void; onLongPress?: (props: GiftedAvatarProps) => void; } export declare function GiftedAvatar(props: GiftedAvatarProps): React.JSX.Element; export declare namespace GiftedAvatar { var propTypes: { user: PropTypes.Requireable; onPress: PropTypes.Requireable<(...args: any[]) => any>; onLongPress: PropTypes.Requireable<(...args: any[]) => any>; avatarStyle: PropTypes.Requireable>; textStyle: PropTypes.Requireable>; }; }