import * as AvatarPrimitive from "@radix-ui/react-avatar"; import { type VariantProps } from "class-variance-authority"; import type { ComponentPropsWithoutRef } from "react"; /** * Avatar — user/team avatar with safe fallback to initials. * * Composition: * * * AA * * * Built on Radix Avatar (handles image load failures → fallback automatically). * Sizes scale on the root; fallback inherits the size's text scale. */ declare const avatarVariants: (props?: ({ size?: "sm" | "md" | "lg" | "xs" | "xl" | null | undefined; tone?: "accent" | "primary" | "muted" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; interface AvatarProps extends ComponentPropsWithoutRef, VariantProps { } declare const Avatar: import("react").ForwardRefExoticComponent> & { Image: import("react").ForwardRefExoticComponent, "ref"> & import("react").RefAttributes>; Fallback: import("react").ForwardRefExoticComponent, "ref"> & import("react").RefAttributes>; }; export { Avatar, avatarVariants };