import { ElementRef, NgZone, OnDestroy, Renderer2 } from '@angular/core'; import { VoidListener } from 'primeng/ts-helpers'; import * as i0 from "@angular/core"; import * as i1 from "@angular/common"; /** * StyleClass manages css classes declaratively to during enter/leave animations or just to toggle classes on an element. * @group Components */ export declare class StyleClass implements OnDestroy { el: ElementRef; renderer: Renderer2; private zone; constructor(el: ElementRef, renderer: Renderer2, zone: NgZone); /** * Selector to define the target element. Available selectors are '@next', '@prev', '@parent' and '@grandparent'. * @group Props */ selector: string | undefined; /** * Style class to add when item begins to get displayed. * @group Props * @deprecated Use enterFromClass instead */ set enterClass(value: string); get enterClass(): string; /** * Style class to add when item begins to get displayed. * @group Props */ enterFromClass: string | undefined; /** * Style class to add during enter animation. * @group Props */ enterActiveClass: string | undefined; /** * Style class to add when item begins to get displayed. * @group Props */ enterToClass: string | undefined; /** * Style class to add when item begins to get hidden. * @group Props * @deprecated Use leaveFromClass instead */ set leaveClass(value: string); get leaveClass(): string; /** * Style class to add when item begins to get hidden. * @group Props */ leaveFromClass: string | undefined; /** * Style class to add during leave animation. * @group Props */ leaveActiveClass: string | undefined; /** * Style class to add when leave animation is completed. * @group Props */ leaveToClass: string | undefined; /** * Whether to trigger leave animation when outside of the element is clicked. * @group Props */ hideOnOutsideClick: boolean | undefined; /** * Adds or removes a class when no enter-leave animation is required. * @group Props */ toggleClass: string | undefined; /** * Whether to trigger leave animation when escape key pressed. * @group Props */ hideOnEscape: boolean | undefined; eventListener: VoidListener; documentClickListener: VoidListener; documentKeydownListener: VoidListener; target: HTMLElement | null | undefined; enterListener: VoidListener; leaveListener: VoidListener; animating: boolean | undefined; _enterClass: string | undefined; _leaveClass: string | undefined; clickListener(): void; toggle(): void; enter(): void; leave(): void; resolveTarget(): any; bindDocumentClickListener(): void; bindDocumentKeydownListener(): void; isVisible(): boolean; isOutsideClick(event: MouseEvent): boolean; unbindDocumentClickListener(): void; unbindDocumentKeydownListener(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; static ngAcceptInputType_hideOnOutsideClick: unknown; static ngAcceptInputType_hideOnEscape: unknown; } export declare class StyleClassModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }