import type { AvatarSize } from "./AvatarProps"; /** One member of an AvatarGroup stack. */ export type AvatarGroupMember = { /** Drives the avatar's initials and fill colour, and appears in the group's default `aria-label`. */ name: string; /** Image URL. Falls back to initials when missing or when the image fails to load. */ src?: string; }; /** Overlapping stack of Avatars with a "+N" overflow chip past `max`. */ export interface AvatarGroupProps { /** Rendered left to right; only the first `max` show as avatars. */ people: AvatarGroupMember[]; /** Default 4. */ max?: number; /** Applies to every avatar and the overflow chip. Default "md". */ size?: AvatarSize; /** Overrides the auto-generated group `aria-label`. */ ariaLabel?: string; /** Test hook on the root. */ "data-testid"?: string; }