import type { AvatarSize } from './mud-avatar.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 the design system's * icon scale (12 / 16 / 20 / 24 / 32 px). `xl` is clamped to 24 because * `mud-icon` does not yet ship a 32-px variant — the icon visually centres * inside the larger 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;