/**
 * @license
 * Copyright 2023 Tyler Technologies, Inc. 
 * License: Apache-2.0
 */
import { ICustomElementFoundation } from '@tylertech/forge-core';
import { IAvatarAdapter } from './avatar-adapter';
export interface IAvatarFoundation extends ICustomElementFoundation {
    imageUrl: string;
    text: string;
    letterCount: number;
    autoColor: boolean;
}
/**
 * The custom element class behind the `<forge-avatar>` class.
 */
export declare class AvatarFoundation implements IAvatarFoundation {
    private _adapter;
    private _imageUrl;
    private _text;
    private _letterCount;
    private _autoColor;
    private _initialized;
    constructor(_adapter: IAvatarAdapter);
    initialize(): void;
    disconnect(): void;
    private _render;
    private _setBackgroundImageUrl;
    private _setText;
    /**
     * Gets the text content to display in the avatar.
     * @param {string} value The text to parse.
     */
    private _getTextContent;
    /** Gets/sets the text to display. */
    get text(): string;
    set text(value: string);
    /** Controls the number of letters to display from the text. By default the text is split on spaces and the first character of each word is used. */
    get letterCount(): number;
    set letterCount(value: number);
    /** Sets the background image URL to use. */
    get imageUrl(): string;
    set imageUrl(value: string);
    /** Controls whether the background color set automatically based on the text value. Does not have any effect when an image URL is specified. */
    get autoColor(): boolean;
    set autoColor(value: boolean);
}
