import { ChipPassThrough, ChipProps } from 'primeng/types/chip'; export * from 'primeng/types/chip'; import * as _angular_core from '@angular/core'; import { TemplateRef } from '@angular/core'; import { BaseComponent } from 'primeng/basecomponent'; import * as i1 from 'primeng/bind'; import { Bind } from 'primeng/bind'; import { BaseStyle } from 'primeng/base'; import * as i2 from 'primeng/api'; declare class ChipStyle extends BaseStyle { name: string; style: string; classes: { root: ({ instance }: { instance: any; }) => (string | { 'p-disabled': any; })[]; image: string; icon: string; label: string; removeIcon: string; }; inlineStyles: { root: ({ instance }: { instance: any; }) => { display: string | null; }; }; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } /** * * Chip represents people using icons, labels and images. * * [Live Demo](https://www.primeng.org/chip) * * @module chipstyle * */ declare enum ChipClasses { /** * Class name of the root element */ root = "p-chip", /** * Class name of the image element */ image = "p-chip-image", /** * Class name of the icon element */ icon = "p-chip-icon", /** * Class name of the label element */ label = "p-chip-label", /** * Class name of the remove icon element */ removeIcon = "p-chip-remove-icon" } /** * Chip represents people using icons, labels and images. * @group Components */ declare class Chip extends BaseComponent { componentName: string; $pcChip: Chip | undefined; bindDirectiveInstance: Bind; /** * Defines the text to display. * @group Props */ label: _angular_core.InputSignal; /** * Defines the icon to display. * @group Props */ icon: _angular_core.InputSignal; /** * Defines the image to display. * @group Props */ image: _angular_core.InputSignal; /** * Alt attribute of the image. * @group Props */ alt: _angular_core.InputSignal; /** * When present, it specifies that the element should be disabled. * @group Props */ disabled: _angular_core.InputSignalWithTransform; /** * Whether to display a remove icon. * @group Props */ removable: _angular_core.InputSignalWithTransform; /** * Icon of the remove element. * @group Props */ removeIcon: _angular_core.InputSignal; /** * Used to pass all properties of the chipProps to the Chip component. * @group Props */ chipProps: _angular_core.InputSignal; /** * Callback to invoke when a chip is removed. * @param {MouseEvent} event - Mouse event. * @group Emits */ onRemove: _angular_core.OutputEmitterRef; /** * This event is triggered if an error occurs while loading an image file. * @param {Event} event - Browser event. * @group Emits */ onImageError: _angular_core.OutputEmitterRef; /** * Custom remove icon template. * @group Templates */ removeIconTemplate: _angular_core.Signal | undefined>; /** * Keyed on what the chip renders: lists re-bind chip views by position, so a chip that hid itself * on remove would otherwise stay hidden for the item that takes its place. */ visible: _angular_core.WritableSignal; _componentStyle: ChipStyle; _label: _angular_core.Signal; _icon: _angular_core.Signal; _image: _angular_core.Signal; _alt: _angular_core.Signal; _removable: _angular_core.Signal; _removeIcon: _angular_core.Signal; removeAriaLabel: _angular_core.Signal; removeIconTabindex: _angular_core.Signal<-1 | 0>; dataP: _angular_core.Signal; onAfterViewChecked(): void; close(event: MouseEvent | KeyboardEvent): void; onKeydown(event: KeyboardEvent): void; imageError(event: Event): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class ChipModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { Chip, ChipClasses, ChipModule, ChipStyle };