import type { JSX, ValidComponent } from "@solidjs/web"; import type { BaseUIComponentProps } from "../../internals/types.js"; import { type ImageLoadingStatus } from "../avatar-root-context.js"; export interface AvatarRootState { /** The current image-loading status bubbled up from ``. */ imageLoadingStatus: ImageLoadingStatus; } export interface AvatarRootProps extends BaseUIComponentProps<"span", AvatarRootState> { /** Tag/component to render. Defaults to `"span"`. */ as?: ValidComponent; } /** * Displays a user's profile picture, initials, or fallback icon. * Renders a `` element (or `as` override). * * Base UI React maps `imageLoadingStatus` to `null` so no `data-*` attribute * is emitted for it on the root. */ export declare function AvatarRoot(props: AvatarRootProps): JSX.Element; //# sourceMappingURL=avatar-root.d.ts.map