import { FC, ImgHTMLAttributes, Ref } from 'react';
export interface AvatarImageProps extends ImgHTMLAttributes {
/**
* Ref to the native
element.
* Useful for direct DOM access, loading state tracking, or animations.
*/
ref?: Ref;
/**
* URL of the fallback image to display if the main image fails to load.
* This allows graceful degradation of the avatar when the primary source is unavailable.
*/
fallbackSrc?: string;
}
export declare enum ImageStatus {
INITIAL = "initial",
ERROR = "error",
LOADED = "loaded"
}
/**
* The AvatarImage component renders a user’s profile image within an avatar and optionally falls back to a secondary fallbackSrc image if the primary source fails to load
*/
export declare const AvatarImage: FC;