import { type FC } from 'react'; import { type IconName } from '../icon'; export type AvatarSize = 'xsmall' | 'small' | 'medium' | 'large'; interface BaseAvatarProps { bgColor?: string; className?: string; size?: AvatarSize; } interface IconAvatar extends BaseAvatarProps { iconName: IconName; imgSrc?: never; username?: never; } interface UserAvatar extends BaseAvatarProps { iconName?: never; imgSrc?: string; username?: string; } export type AvatarProps = IconAvatar | UserAvatar; export declare const Avatar: FC; export {};