import { ElementRef, OnChanges, Renderer2, SimpleChanges } from '@angular/core';
import { AvatarService } from './avatar.service';
import * as i0 from "@angular/core";
export interface AvatarUser {
    firstName?: string;
    lastName?: string;
    email?: string;
    username?: string;
}
export declare class AvatarComponent implements OnChanges {
    private el;
    private renderer;
    private avatarService;
    /** Color map base on the first let of the label */
    private colors;
    user: AvatarUser;
    /** Label is defaulted to HI in the rare case the user does not have a first name, last name, email or username */
    label: string;
    /** Track the current CSS class so we can remove it if the user changes before setting the next one */
    private currentCSSClass;
    constructor(el: ElementRef, renderer: Renderer2, avatarService: AvatarService);
    ngOnChanges(changes: SimpleChanges): void;
    /**
     * Update the Avatar label
     *
     */
    private updateLabel;
    /**
     * Sets the color of the Avatar based on the first letter of the label. If the label is HI or is not
     * a letter, default to gray.
     */
    private updateColor;
    static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "ec-avatar", never, { "user": { "alias": "user"; "required": false; }; }, {}, never, never, false, never>;
}
