import{type PropertyValues,type TemplateResult}from'lit';import{LyraElement}from'../../../internal/lyra-element.js';import type{LyraSize,LyraVariant}from'../../../internal/variants.js';export type LyraAvatarShape='circle'|'rounded'|'square';export type LyraAvatarLoading='eager'|'lazy';export interface LyraAvatarErrorDetail{image:string;}export interface LyraAvatarEventMap{'lr-error':CustomEvent;} /** * `` — a small, fixed-size identity marker: an image, an `icon`-slotted fallback * glyph, or an initials fallback, in that priority order. Mirrors `wa-avatar`'s public surface * (`image`/`initials`/`loading`/`shape`, the `icon` slot, the image-load error event) and adds * this library's own `size`/`variant` vocabulary. Purely presentational, no built-in interactivity; * a consumer wraps it in their own `