import React, { FunctionComponent } from 'react'; import type { MouseEvent } from 'react'; import { BasicComponent } from '../../utils/typings'; import AvatarGroup from '../../packages/avatargroup'; export interface AvatarProps extends BasicComponent { size: string; icon: React.ReactNode; fit: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down'; shape: AvatarShape; background: string; color: string; src: string; alt: string; onClick: (e: MouseEvent) => void; onError: () => void; } export type AvatarShape = 'round' | 'square'; export declare const Avatar: FunctionComponent & Omit, 'onClick'>> & { Group: typeof AvatarGroup; };