import { ElementRef, Renderer2, OnChanges, SimpleChanges } from '@angular/core';
export interface AvatarUser {
    firstName?: string;
    lastName?: string;
    email?: string;
    username?: string;
    userMenuTitle?: string;
}
export declare class AvatarComponent implements OnChanges {
    private el;
    private renderer;
    /** 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);
    ngOnChanges(changes: SimpleChanges): void;
    /**
     * Update the Avatar label based on the users first name, email, or username. If the user has a first or last name use
     * either a combination of the first and last name, or the first two characters of the name that is defined. If the user does
     * not have a first or last name, trying using the first two characters of the email, or the first two characters of the
     * username as a last ditch effort.
     */
    private updateLabel;
    /** Return a new user object that has all of the properties of the existing user
     * with any null, undefined, or whitespace values removed
     */
    private trimUser;
    /**
     * 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;
}
