import { Component, OmiProps } from 'omi'; import { StyledProps } from '../common'; import { ImageProps } from '../image'; import { TdAvatarProps } from './type'; export interface AvatarProps extends TdAvatarProps, StyledProps { } export default class Avatar extends Component { static css: any[]; static defaultProps: { hideOnLoadFailed: boolean; shape: string; }; static propTypes: { alt: StringConstructor; hideOnLoadFailed: BooleanConstructor; icon: ObjectConstructor; image: StringConstructor; shape: StringConstructor; size: StringConstructor; onError: FunctionConstructor; children: ObjectConstructor; content: ObjectConstructor; style: ObjectConstructor; imageProps: ObjectConstructor; }; scale: number; gap: number; isImgExist: boolean; inject: string[]; groupSize: any; avatarRef: Partial>; avatarChildrenRef: Partial>; componentName: string; handleScale: () => void; handleImgLoadError: ImageProps['onError']; beforeRender(): void; installed(): void; render(props: OmiProps): JSX.Element; }