/** * A person's avatar: their image, falling back to their initials, falling back to a generic placeholder. It is decorative and hidden from assistive technology unless the consumer sets `aria-label`, which turns it into an image with that name; `name` never becomes the accessible name. * * @part root - The outermost element, holding the avatar and its optional name label. */ export declare class Avatar { host: HTMLElement; /** The person's name, which the initials and the visible label are drawn from. */ name?: string; /** The URL of the image to show. */ src?: string; /** The URL of the image to show instead if `src` fails to load. */ fallbackSrc?: string; /** Which step of the size scale to render at. */ size: "xs" | "s" | "m" | "l" | "xl" | "2xl"; /** Whether the avatar is a circle or a rounded square. */ shape: "circle" | "square"; /** Whether to show `name` as a visible label beside the avatar. */ showName: boolean; private srcFailed; private fallbackFailed; private shadowElement?; private inheritedAttributes; resetSrc(): void; resetFallbackSrc(): void; componentWillRender(): void; private getImageSrc; private getInitials; private handleImageError; render(): import("@stencil/core/jsx-runtime").JSX.Element; }