import React from "react"; import { Avatar as PrimitiveAvatar } from "src/primitives/Avatar"; type AvatarSize = "sm" | "default" | "lg" | "xl"; interface AvatarTooltipProps { /** Tooltip content. Defaults to user.name if showTooltip is true. */ content?: React.ReactNode; /** Tooltip position. */ position?: string; } export interface AvatarProps extends Omit, "size"> { /** User data for the avatar. */ user?: { id?: string | number; name?: string; email?: string; imageUrl?: string; }; /** Status indicator displayed as a colored badge. */ status?: "online" | "idle" | "offline" | null; /** Show the user's name in a tooltip on hover. */ showTooltip?: boolean; /** Tooltip configuration. Overrides showTooltip content. */ tooltipProps?: AvatarTooltipProps; /** Size of the avatar. */ size?: AvatarSize; /** Additional CSS class names. */ className?: string; } declare const AvatarNamespace: React.ForwardRefExoticComponent & React.RefAttributes> & { Group: (props: React.ComponentProps) => import("react/jsx-runtime").JSX.Element; GroupCount: (props: React.ComponentProps) => import("react/jsx-runtime").JSX.Element; }; export { AvatarNamespace as Avatar };