import type { IElementRef } from '@melodicdev/core';
import type { Size } from '../../../types/index.js';
/**
 * ml-avatar - User avatar with image, initials, or icon fallback
 *
 * @example
 * ```html
 * <ml-avatar src="/images/user.jpg" alt="John Doe"></ml-avatar>
 * <ml-avatar initials="JD"></ml-avatar>
 * <ml-avatar initials="JD" size="lg"></ml-avatar>
 * ```
 *
 * @slot default - Custom fallback content (icon)
 */
export declare class AvatarComponent implements IElementRef {
    elementRef: HTMLElement;
    /** Image source URL */
    src: string;
    /** Alt text for image */
    alt: string;
    /** Initials to display (fallback if no image) */
    initials: string;
    /** Avatar size */
    size: Size;
    /** Use rounded square instead of circle */
    rounded: boolean;
    /** Internal: track image load errors */
    _imageError: boolean;
    handleImageError: () => void;
    getInitials(): string;
}
//# sourceMappingURL=avatar.component.d.ts.map