import * as React from 'react'; import type { AvatarImageProps } from './types.js'; /** * Loads `src` itself (independent of the `` tag's native load event) and * only renders the `` once it has finished loading successfully; * renders nothing while idle, loading, or on error, so a sibling * `AvatarFallback` shows through instead. Must be used inside an `Avatar`. * * `alt` defaults to the root's `label`, so the avatar announces the same name * loaded as it does while showing its fallback, and is forced to `""` when the * root is `decorative`. It is still worth passing explicitly when the picture * says something the label does not. * * @example * ```tsx * * * JD * * ``` */ export declare const AvatarImage: { ({ onLoadingStatusChange, src, srcSet, sizes, alt, asChild, children, ref: forwardedRef, ...props }: AvatarImageProps): React.ReactNode; displayName: string; };