When you are trying to
import UserAvatar from 'react-native-user-avatar'
an error occurs: Could not find a declaration file for module 'react-native-user-avatar'.
I guess pushing a new tag to git from main branch will solve this issue, because last version v.1.0.8 is outdated from main branch of this module.
In package.json of v1.0.8 path to should be replaced from
"types": "lib/typescript/src/index.d.ts", to "types": "lib/typescript/types.d.ts",