import * as React from 'react'; import { GetClasses } from '../../typeUtils'; export declare const AvatarStylesKey = "ChromaAvatar"; export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"img" | "root" | "size0" | "size1" | "size2" | "defaultSrc" | "clickable">; export declare type AvatarClasses = GetClasses; export interface AvatarProps extends React.ComponentPropsWithoutRef<'div'> { children?: React.ReactNode; name: string; size?: 0 | 1 | 2; src?: string; useDefaultSrc?: boolean; onError?: React.ReactEventHandler; } /** The Avatar component is used to represent a user. It displays a profile picture, their name initials, or fallback icon. ### Accessibility - An `aria-label` is set with the `name`. - When the Avatar is clickable, the Avatar has `role="button"`. - When the Avatar is clickable, it has a `tabIndex={0}`. - The Avatar source image, when provided, has an `alt` set to the `name`. ### Links - [Component Source](https://github.com/lifeomic/chroma-react/blob/master/src/components/Avatar/Avatar.tsx) - [Story Source](https://github.com/lifeomic/chroma-react/blob/master/stories/components/Avatar/Avatar.stories.tsx) */ export declare const Avatar: React.ForwardRefExoticComponent>;