import "./Avatar.css"; import { AriaLabelingProps } from "../../shared"; import { ComponentProps, ElementType, ForwardedRef, ReactNode } from "react"; export interface InnerAvatarProps extends AriaLabelingProps { /** * The name of the person in the avatar. */ name: string; /** * The url of a remote image or an image object. */ src?: string | ReactNode; /** * The allowed number of retry to load a remote image. */ retryCount?: number; /** * An avatar can vary in size. */ size?: "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl"; /** * An HTML element type or a custom React element type to render as. */ as?: ElementType; /** * Default slot override. */ slot?: string; /** * @ignore */ forwardedRef: ForwardedRef; } export declare type AvatarTextProps = Partial & { children: ReactNode; }; export declare function AvatarText(props: AvatarTextProps): JSX.Element; export declare function InnerAvatar({ name, src, retryCount, size, "aria-label": ariaLabel, as, forwardedRef, ...rest }: InnerAvatarProps): JSX.Element; export declare const Avatar: import("../../shared").OrbitComponent; export declare type AvatarProps = ComponentProps;