import React from 'react'; export interface AvatarProps { size?: 'large' | 'small' | 'default' | number; /** Whether to show red dot without number */ shape?: 'circle' | 'square' /** 形状 */; src?: string; icon?: React.ReactNode; style?: React.CSSProperties; prefixCls?: string; className?: string; children?: React.ReactNode; alt?: string; isOnline?: boolean; draggable?: boolean; crossOrigin?: '' | 'anonymous' | 'use-credentials'; srcSet?: string; presence?: { visible: boolean; text?: string; icon?: HTMLImageElement | string; }; onClick?: (e: React.MouseEvent) => void; onError?: () => boolean; } export declare const InternalAvatar: (props: any, ref: any) => import("react/jsx-runtime").JSX.Element; declare const Avatar: React.ForwardRefExoticComponent>; export default Avatar;