import type { AvatarSize } from './mud-avatar.types'; import type { IconSize } from '../mud-icon/mud-icon.types'; /** * Maps the avatar `size` rung to the icon glyph size in CSS pixels. * * The avatar slot is a circle whose diameter is the rung value * (24 / 32 / 40 / 48 / 72 px); the glyph inside follows `mud-icon`'s scale * (16 / 20 / 24 / 32 px). These values mirror the `--avatar-icon-size-*` * tokens, which carry the glyph box Figma draws in set 203:2112 — note that * `xl` keeps the 24px glyph instead of growing with the circle. */ export declare const ICON_SIZE_FOR: Record; /** * Derives initials from a person's full name. Returns at most two characters, * uppercased. Returns an empty string for blank input. * * The split happens on whitespace or hyphens so compound first names * (`Maria-Andreea Pop`) collapse to the first letter of the first segment * plus the first letter of the last segment. * * @example * deriveInitials('Ion Popescu') // 'IP' * deriveInitials('Maria-Andreea Pop') // 'MP' * deriveInitials('Ștefan') // 'Ș' * deriveInitials('') // '' */ export declare function deriveInitials(name: string | undefined): string;