/** * [WHO]: Public exports from this file (see implementation below). * [FROM]: See the import block immediately after this header. * [TO]: sparkdesign package consumers; output of CLI `add` when applicable. * [HERE]: registry/basic/avatar.tsx — Spark Design source; keep aligned with the main library. * * [PROTOCOL]: * 1. Keep this P3 header in sync when the public contract changes. * 2. Update module AGENTS.md (P2) and root AGENTS.md (P1) when boundaries change. * 3. Follow design tokens and explicit type exports. */ import * as React from 'react'; import * as AvatarPrimitive from '@radix-ui/react-avatar'; import { type VariantProps } from 'class-variance-authority'; declare const avatarVariants: (props?: ({ size?: "default" | "sm" | "lg" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; export interface AvatarProps extends React.ComponentPropsWithoutRef, VariantProps { } declare const Avatar: React.ForwardRefExoticComponent>; export type AvatarImageProps = React.ComponentPropsWithoutRef; declare const AvatarImage: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; export type AvatarFallbackProps = React.ComponentPropsWithoutRef; declare const AvatarFallback: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; export type AvatarBadgeProps = React.HTMLAttributes; declare const AvatarBadge: React.ForwardRefExoticComponent>; export type AvatarGroupProps = React.HTMLAttributes; declare const AvatarGroup: React.ForwardRefExoticComponent>; export type AvatarGroupCountProps = React.HTMLAttributes; declare const AvatarGroupCount: React.ForwardRefExoticComponent>; export { Avatar, AvatarImage, AvatarFallback, AvatarBadge, AvatarGroup, AvatarGroupCount, }; export { avatarVariants };