import { AvatarSize } from './constants'; export interface AvatarProps { /** Name to display in the avatar. Will be truncated to the first two characters. */ children: string; /** Displays a check icon to indicated the selected state. */ selected?: boolean; /** Sets blue or black color on avatar. */ color?: 'blueberry' | 'black'; /** Square or circle variant of avatar. The circle should only be used for representation of someone else. NB: This is temporary and will be renamed in v10 */ variant?: 'square' | 'circle'; /** Avatar size. Default: small */ size?: keyof typeof AvatarSize; /** Adds custom classes to the element. */ className?: string; /** Sets the data-testid attribute. */ testId?: string; /** Ref passed to the root element */ ref?: React.Ref; } export type AvatarType = typeof Avatar; declare const Avatar: React.FC; export default Avatar;