import { SkeletonProps, SxProps } from '@mui/material'; type AvatarProps = { alt: string; /** * component used to display the avatar (img or avatar) */ component?: 'img' | 'avatar'; id?: string; isLoading?: boolean; maxHeight?: string | number; maxWidth?: string | number; /** * thumbnail size to fetch */ size?: string; sx?: SxProps; url?: string; /** * skeleton variant */ variant?: SkeletonProps['variant']; }; declare const Avatar: ({ sx, id, alt, maxWidth, maxHeight, variant, component, isLoading, url, }: AvatarProps) => JSX.Element | null; export default Avatar;