import * as React from 'react'; import type { SemanticClassName } from "../_util/classNameUtils"; import type { AvatarSize } from './SizeContext'; export interface AvatarProps { shape?: 'circle' | 'square'; size?: AvatarSize; gap?: number; /** Src of image avatar */ src?: React.ReactNode; /** Srcset of image avatar */ srcSet?: string; draggable?: boolean; /** Icon to be used in avatar */ icon?: React.ReactNode; style?: React.CSSProperties; prefixCls?: string; className?: SemanticClassName<{ children?: string; }>; children?: React.ReactNode; alt?: string; crossOrigin?: '' | 'anonymous' | 'use-credentials'; onClick?: (e?: React.MouseEvent) => void; onError?: () => boolean; } declare const Avatar: React.ForwardRefExoticComponent>; export default Avatar;