import { AvatarPassThrough } from 'primeng/types/avatar'; export * from 'primeng/types/avatar'; import * as i0 from '@angular/core'; import { EventEmitter } from '@angular/core'; import { BaseComponent } from 'primeng/basecomponent'; import * as i1 from 'primeng/bind'; import { Bind } from 'primeng/bind'; import * as _primeuix_styled from '@primeuix/styled'; import { BaseStyle } from 'primeng/base'; import * as i2 from 'primeng/api'; /** * * Avatar represents people using icons, labels and images. * * - [Live Demo](https://primeng.org/avatar) * * @module avatarstyle * */ declare enum AvatarClasses { /** * Class name of the root element */ root = "p-avatar", /** * Class name of the label element */ label = "p-avatar-label", /** * Class name of the icon element */ icon = "p-avatar-icon", /** * Container element in image mode */ image = "p-avatar-image", /** * Container element with a circle shape */ circle = "p-avatar-circle", /** * Container element with a large size */ large = "p-avatar-lg", /** * Container element with an xlarge size */ xlarge = "p-avatar-xl" } declare class AvatarStyle extends BaseStyle { name: string; style: _primeuix_styled.StyleType; classes: { root: ({ instance }: { instance: any; }) => (string | { 'p-avatar-image': boolean; 'p-avatar-circle': boolean; 'p-avatar-lg': boolean; 'p-avatar-xl': boolean; })[]; label: string; icon: string; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface AvatarStyle extends BaseStyle { } /** * Avatar represents people using icons, labels and images. * @group Components */ declare class Avatar extends BaseComponent { $pcAvatar: Avatar | undefined; bindDirectiveInstance: Bind; onAfterViewChecked(): void; /** * Defines the text to display. * @group Props */ label: string | undefined; /** * Defines the icon to display. * @group Props */ icon: string | undefined; /** * Defines the image to display. * @group Props */ image: string | undefined; /** * Size of the element. * @group Props */ size: 'normal' | 'large' | 'xlarge' | undefined; /** * Shape of the element. * @group Props */ shape: 'square' | 'circle' | undefined; /** * Class of the element. * @deprecated since v20.0.0, use `class` instead. * @group Props */ styleClass: string | undefined; /** * Establishes a string value that labels the component. * @group Props */ ariaLabel: string | undefined; /** * Establishes relationships between the component and label(s) where its value should be one or more element IDs. * @group Props */ ariaLabelledBy: string | undefined; /** * This event is triggered if an error occurs while loading an image file. * @param {Event} event - Browser event. * @group Emits */ onImageError: EventEmitter; _componentStyle: AvatarStyle; imageError(event: Event): void; get dataP(): string | undefined; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class AvatarModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { Avatar, AvatarClasses, AvatarModule, AvatarStyle };