import * as React from 'react'; import { BaseUIComponentProps } from "../../internals/types.js"; import type { AvatarRootState, ImageLoadingStatus } from "../root/AvatarRoot.js"; import { type TransitionStatus } from "../../internals/useTransitionStatus.js"; /** * The image to be displayed in the avatar. * Renders an `` element. * * Documentation: [Base UI Avatar](https://base-ui.com/react/components/avatar) */ export declare const AvatarImage: React.ForwardRefExoticComponent & React.RefAttributes>; export interface AvatarImageState extends AvatarRootState { /** * The transition status of the component. */ transitionStatus: TransitionStatus; } export interface AvatarImageProps extends BaseUIComponentProps<'img', AvatarImageState, React.ComponentPropsWithRef<'img'>> { /** * Callback fired when the loading status changes. */ onLoadingStatusChange?: ((status: ImageLoadingStatus) => void) | undefined; /** * Whether the image element stays mounted and loads in place instead of being preloaded. * Supports `loading="lazy"` and optimized image components such as `next/image`. * @default false */ keepMounted?: boolean | undefined; } export declare namespace AvatarImage { type State = AvatarImageState; type Props = AvatarImageProps; }