import { AfterViewInit, ElementRef, NgZone, OnDestroy, Renderer2, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core'; import { PrimeNGConfig, TooltipOptions } from 'primeng/api'; import { Nullable } from 'primeng/ts-helpers'; import * as i0 from "@angular/core"; import * as i1 from "@angular/common"; /** * Tooltip directive provides advisory information for a component. * @group Components */ export declare class Tooltip implements AfterViewInit, OnDestroy { private platformId; el: ElementRef; zone: NgZone; config: PrimeNGConfig; private renderer; private viewContainer; /** * Position of the tooltip. * @group Props */ tooltipPosition: 'right' | 'left' | 'top' | 'bottom' | string | undefined; /** * Event to show the tooltip. * @group Props */ tooltipEvent: 'hover' | 'focus' | 'both' | string | any; /** * Target element to attach the overlay, valid values are "body", "target" or a local ng-F variable of another element (note: use binding with brackets for template variables, e.g. [appendTo]="mydiv" for a div element having #mydiv as variable name). * @group Props */ appendTo: HTMLElement | ElementRef | TemplateRef | string | null | undefined | any; /** * Type of CSS position. * @group Props */ positionStyle: string | undefined; /** * Style class of the tooltip. * @group Props */ tooltipStyleClass: string | undefined; /** * Whether the z-index should be managed automatically to always go on top or have a fixed value. * @group Props */ tooltipZIndex: string | undefined; /** * By default the tooltip contents are rendered as text. Set to false to support html tags in the content. * @group Props */ escape: boolean; /** * Delay to show the tooltip in milliseconds. * @group Props */ showDelay: number | undefined; /** * Delay to hide the tooltip in milliseconds. * @group Props */ hideDelay: number | undefined; /** * Time to wait in milliseconds to hide the tooltip even it is active. * @group Props */ life: number | undefined; /** * Specifies the additional vertical offset of the tooltip from its default position. * @group Props */ positionTop: number | undefined; /** * Specifies the additional horizontal offset of the tooltip from its default position. * @group Props */ positionLeft: number | undefined; /** * Whether to hide tooltip when hovering over tooltip content. * @group Props */ autoHide: boolean; /** * Automatically adjusts the element position when there is not enough space on the selected position. * @group Props */ fitContent: boolean; /** * Whether to hide tooltip on escape key press. * @group Props */ hideOnEscape: boolean; /** * Content of the tooltip. * @group Props */ content: string | TemplateRef | undefined; /** * When present, it specifies that the component should be disabled. * @defaultValue false * @group Props */ get disabled(): boolean; set disabled(val: boolean); /** * Specifies the tooltip configuration options for the component. * @group Props */ tooltipOptions: TooltipOptions | undefined; _tooltipOptions: { tooltipLabel: any; tooltipPosition: string; tooltipEvent: string; appendTo: string; positionStyle: any; tooltipStyleClass: any; tooltipZIndex: string; escape: boolean; disabled: any; showDelay: any; hideDelay: any; positionTop: any; positionLeft: any; life: any; autoHide: boolean; hideOnEscape: boolean; id: string; }; _disabled: boolean | undefined; container: any; styleClass: string | undefined; tooltipText: any; showTimeout: any; hideTimeout: any; active: boolean | undefined; mouseEnterListener: Nullable; mouseLeaveListener: Nullable; containerMouseleaveListener: Nullable; clickListener: Nullable; focusListener: Nullable; blurListener: Nullable; scrollHandler: any; resizeListener: any; constructor(platformId: any, el: ElementRef, zone: NgZone, config: PrimeNGConfig, renderer: Renderer2, viewContainer: ViewContainerRef); ngAfterViewInit(): void; ngOnChanges(simpleChange: SimpleChanges): void; isAutoHide(): boolean; onMouseEnter(e: Event): void; onMouseLeave(e: MouseEvent): void; onFocus(e: Event): void; onBlur(e: Event): void; onInputClick(e: Event): void; onPressEscape(): void; activate(): void; deactivate(): void; create(): void; bindContainerMouseleaveListener(): void; unbindContainerMouseleaveListener(): void; show(): void; hide(): void; updateText(): void; align(): void; getHostOffset(): { left: any; top: any; }; alignRight(): void; alignLeft(): void; alignTop(): void; alignBottom(): void; setOption(option: any): void; getOption(option: string): any; getTarget(el: Element): any; preAlign(position: string): void; isOutOfBounds(): boolean; onWindowResize(e: Event): void; bindDocumentResizeListener(): void; unbindDocumentResizeListener(): void; bindScrollListener(): void; unbindScrollListener(): void; unbindEvents(): void; remove(): void; clearShowTimeout(): void; clearHideTimeout(): void; clearTimeouts(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; static ngAcceptInputType_escape: unknown; static ngAcceptInputType_showDelay: unknown; static ngAcceptInputType_hideDelay: unknown; static ngAcceptInputType_life: unknown; static ngAcceptInputType_positionTop: unknown; static ngAcceptInputType_positionLeft: unknown; static ngAcceptInputType_autoHide: unknown; static ngAcceptInputType_fitContent: unknown; static ngAcceptInputType_hideOnEscape: unknown; } export declare class TooltipModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }