import { type TemplateResult } from "lit"; import { GlobalStyle } from "../../internal/global-style.js"; /** * {@linkcode Avatar} renders a avatar. * * Renders as an image if it has a src property, * otherwise falls back to name or nameless slot. * * @slot - Display content if no `src` or `name` provided. * @category display */ declare class Avatar extends GlobalStyle { /** * The `src` property specifies the URL of the avatar image. * If `src` is not provided, the component will display the `name` property instead. */ src: string | undefined | null; /** * Specifies the name or initials to display if no `src` is provided */ name: string; /** * If `true`, will make the avatar display as a circle. */ round: boolean; protected render(): TemplateResult<1>; protected _renderAvatar(): TemplateResult<1>; formatName(): string; protected _handleError(): void; } export default Avatar; export { Avatar };