/// export declare const enum AvatarStatusEnum { online = "online", idle = "idle", dndst = "dndst", stealth = "stealth" } export declare const AvatarStatusColor: { online: string; idle: string; dndst: string; stealth: string; }; export interface AvatarProps { className?: string; /** * 头像尺寸 */ style?: React.CSSProperties; /** * 头像地址 */ avatar?: string | React.ReactNode; /** * 头像地址替代 avatar */ icon?: string | React.ReactNode; /** * 头像名称 */ name?: string; /** * 头像名称替代name */ title?: string; /** * 头像名称 */ children?: any; /** * 头像状态 */ status?: keyof typeof AvatarStatusEnum; /** * 头像装饰 */ decoration?: string; /** * 头像尺寸 */ size?: number; /** * 头像形状 */ shape?: 'circle' | 'square'; /** * 头像名称长度 中文2 英文1 */ titleLength?: number; /** * 内边距 */ padding?: number; }