/** * Pure helper for the space-aware classmate avatar group in StudentLessonCard. * * Given the measured width available to the avatar group, returns how many avatars * should be shown before collapsing the rest into a "+N" overflow badge. The return * value maps directly onto AvatarGroup's `max` prop (avatars shown before overflow; * the badge renders only when `total > max`). */ export interface ComputeVisibleAvatarCountArgs { /** Measured content width of the avatar wrapper, in px. `null`/`0` → fallback. */ availableWidth: number | null; /** Total number of classmate avatars. */ total: number; /** Avatar diameter in px. Avatar "sm" = 2rem = 32px. */ avatarSize?: number; /** Negative overlap between consecutive avatars, in px. AvatarGroup default = 9. */ overlap?: number; /** "+N" badge diameter in px. --avatar-md = 2.5rem = 40px. */ badgeSize?: number; /** Count to return when width is unknown (initial render). */ fallback?: number; } export declare function computeVisibleAvatarCount({ availableWidth, total, avatarSize, overlap, badgeSize, fallback, }: ComputeVisibleAvatarCountArgs): number; //# sourceMappingURL=avatarFit.d.ts.map