import { LitElement, type PropertyValues } from 'lit'; import { type NuiType } from '../../types/nui-type.js'; import { type NuiAvatarViewState } from './logic.js'; import type { AvatarShape, AvatarSize, NuiAvatarEventMap } from './types.js'; export type { NuiAvatarEventMap }; /** * @slot - Default slot content */ export declare class NuiAvatar extends LitElement implements NuiAvatarViewState { label: string; icon: string; image: string; size: AvatarSize | ''; shape: AvatarShape | ''; ariaLabel: string; ariaLabelledby: string; unstyled: boolean; nuiType: NuiType; avatarClass: string; protected createRenderRoot(): DocumentFragment | HTMLElement; protected updated(changed: PropertyValues): void; private handleError; render(): import("lit-html").TemplateResult; } export interface NuiAvatar { addEventListener( type: K, listener: (this: NuiAvatar, ev: NuiAvatarEventMap[K]) => void, options?: boolean | AddEventListenerOptions, ): void; addEventListener( type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions, ): void; removeEventListener( type: K, listener: (this: NuiAvatar, ev: NuiAvatarEventMap[K]) => void, options?: boolean | AddEventListenerOptions, ): void; removeEventListener( type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions, ): void; } declare global { interface HTMLElementTagNameMap { 'nui-avatar': NuiAvatar; } } //# sourceMappingURL=nui-avatar.d.ts.map