import * as React from 'react'; import { IIcon, IThemeIcon } from '../Icon'; export declare type imageSize = 'pico' | 'icon' | 'thumb' | 'small' | 'compact' | 'medium' | 'large' | 'grande' | '1024x1024' | '2048x2048' | 'master'; export interface AvatarProps { shape?: 'circle' | 'square'; size?: 'large' | 'small' | 'default' | number; sizeImage?: imageSize; src?: string; icon?: IIcon; themeIcon?: IThemeIcon; sizeIcon?: number; style?: React.CSSProperties; className?: string; content?: string; arrColor?: string[]; alt?: string; onError?: () => boolean; } export interface AvatarState { isImgExist: boolean; } export declare class Avatar extends React.Component { private prefixCls; constructor(props: any); static defaultProps: { shape: string; size: string; sizeImage: string; icon: string; sizeIcon: number; themeIcon: string; arrColor: string[]; }; componentWillReceiveProps(nextprops: any): void; private handleImgLoadError; private changeSizeImage; private randomColor; private shortContent; render(): JSX.Element; }