/** * Copyright Aquera Inc 2023 * * This source code is licensed under the BSD-3-Clause license found in the * LICENSE file in the root directory of this source tree. */ import { CSSResultArray, TemplateResult } from 'lit'; import NileElement from '../internal/nile-element'; /** * Nile icon component. * * @tag nile-avatar * */ export declare class NileAvatar extends NileElement { /** * The styles for Avatar * @remarks If you are extending this class you can extend the base styles with super. Eg `return [super(), myCustomStyles]` */ static get styles(): CSSResultArray; /** Gives the url to the Avatar */ src: string; /** Gives the icon to the Avatar */ variant: 'icon' | 'image' | 'text'; /** Gives the icon to the Avatar */ icon: string; /** Gives the default Image Letters to the Avatar */ name: String; /** Gives the default bg color to the Avatar */ bgColor: string; /** Gives the default text color to the Avatar */ textColor: string; /** Gives the default border color to the Avatar */ borderColor: string; /** Size of the Avatar */ size: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl'; /** Gives a border radius of 50% to the Avatar */ isRounded: boolean; private imageError; private generateInitials; private generateVariantCode; private getDefaultIconSize; render(): TemplateResult; getContentWrapped(content: TemplateResult, defaultInitials: string): TemplateResult<1>; getIconContent(): TemplateResult<1>; getImageContent(): TemplateResult<1>; } export default NileAvatar; declare global { interface HTMLElementTagNameMap { 'nile-avatar': NileAvatar; } }