import { Avatar } from "@salaxy/core"; /** * Shows the Palkkaus Avatar image: This is either an image or a font-icon * with a user specific color/initilas combination. * * @example * */ export declare class NgAvatarComponent { /** * Avatar that is shown by this component * Typically, this is an Avatar object, but the component also supports shortcut strings, * currently: * * - "palkkaus" for Palkkaus.fi logo * - "anon" for anonymous user */ avatar: Avatar; /** Gets the model with default values and display logic */ getModel(): Avatar; /** Returns true if the avatar is an image url (as opposed to icon rendering) */ readonly isImage: boolean; /** Returns true if the avatar should be rendered as a person icon */ readonly isPersonIcon: boolean; /** Returns true if the avatar should be rendered as a company icon */ readonly isCompanyIcon: boolean; /** Returns the avatar color or 'gray' if nothing is defined. */ readonly color: string; /** Returns the initials for rendering the avatar */ readonly initials: string; }