import { IconProps } from '../../../Base/Icon/Icon.types'; import { TSquareSize } from '../Thumbnail/Thumbnail.type'; type BaseAvatarProps = { alt: string; icon?: IconProps; imageSrc?: string; }; type SquareAvatarProps = BaseAvatarProps & { id?: number; size: TSquareSize; type: 'square'; }; type ResponsiveAvatarProps = BaseAvatarProps & { id?: number; type: 'mobile' | 'desktop'; }; export type AvatarWithPlaceholderProps = SquareAvatarProps | ResponsiveAvatarProps; export {};