import { EventEmitter } from '@angular/core'; import * as i0 from "@angular/core"; /** * Avatar component that displays a user profile picture or initials with an optional name and description. * * @example * * */ export declare class AvatarComponent { /** * URL of the user profile image */ src: string; /** * Username displayed right to the avatar and used for initials generation */ name: string; /** * Additional description text below the name */ description: string; /** * Whether to hide the name and description labels */ hideLabels: boolean; /** * Emits when the image fails to load */ imageError: EventEmitter; /** * Generates initials from the name. * - Single word: first two letters (e.g., "Madonna" -> "MA") * - Multiple words: first letter of first and last word (e.g., "John Doe" -> "JD") * - Empty/invalid: returns empty string */ get initials(): string; /** * Checks if an image source is provided */ get hasImage(): boolean; /** * Handles image loading errors */ onImageError(event: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }