import React from 'react'; type AvatarWithButton = { onPress?: () => void; size: 'large'; }; type AvatarWithoutButton = { onPress?: never; size: 'small' | 'medium'; }; export type AvatarProps = { addButtonTestID?: string; editButtonTestID?: string; name: string; src?: string; testID?: string; showActionButton?: boolean; } & (AvatarWithButton | AvatarWithoutButton); declare const Avatar: ({ addButtonTestID, editButtonTestID, name, onPress, size, src, testID, showActionButton, }: AvatarProps) => React.JSX.Element; export default Avatar;