import { ComponentProps, FC, ReactElement } from 'react'; import { Colors, DeepPartial, MainSizes, Positions, RoundedSizes } from '../../types/types'; import { AvatarStatus } from './AvatarTypes'; import { AvatarTheme } from './theme'; export interface AvatarImageProps { alt?: string; className: string; "data-testid": string; } export interface AvatarProps extends Omit, "color"> { alt?: string; bordered?: boolean; img?: string | ((props: AvatarImageProps) => ReactElement); color?: Colors; rounded?: RoundedSizes; size?: MainSizes; stacked?: boolean; status?: keyof AvatarStatus; statusPosition?: keyof Positions; placeholderInitials?: string; theme?: DeepPartial; } /** * * @name Avatar * @description The Avatar component is used to display a user's profile picture or initials, and can also display a status indicator or a counter. Usefull in a chat application, a social network, a forum... * * @returns */ declare const Avatar: FC; export { Avatar }; //# sourceMappingURL=Avatar.d.ts.map