import { ElementRef, OnDestroy } from '@angular/core'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare class UiTooltipComponent implements OnDestroy { private _changeDetectorRef; protected _elementRef: ElementRef; isError?: boolean; inverseColor?: boolean; _isMultiline: boolean; /** Message to display in the tooltip */ message: string; /** Classes to be added to the tooltip. Supports the same syntax as `ngClass`. */ tooltipClass: string | string[] | Set | { [key: string]: any; }; /** The timeout ID of any current timer set to show the tooltip */ private _showTimeoutId; /** The timeout ID of any current timer set to hide the tooltip */ private _hideTimeoutId; /** Element that caused the tooltip to open. */ _triggerElement: HTMLElement; /** Amount of milliseconds to delay the closing sequence. */ _mouseLeaveHideDelay: number; /** Whether animations are currently disabled. */ private _animationsDisabled; /** Reference to the internal tooltip element. */ _tooltip: ElementRef; /** Whether interactions on the page should close the tooltip */ private _closeOnInteraction; /** Whether the tooltip is currently visible. */ private _isVisible; /** Subject for notifying that the tooltip has been hidden from the view */ private readonly _onHide; /** Name of the show animation and the class that toggles it. */ private readonly _showAnimation; /** Name of the hide animation and the class that toggles it. */ private readonly _hideAnimation; constructor(...args: unknown[]); /** * Shows the tooltip with an animation originating from the provided origin * @param delay Amount of milliseconds to the delay showing the tooltip. */ show(delay: number): void; /** * Begins the animation to hide the tooltip after the provided delay in ms. * @param delay Amount of milliseconds to delay showing the tooltip. */ hide(delay: number): void; /** Returns an observable that notifies when the tooltip has been hidden from view. */ afterHidden(): Observable; /** Whether the tooltip is being displayed. */ isVisible(): boolean; ngOnDestroy(): void; /** * Interactions on the HTML body should close the tooltip immediately as defined in the * material design spec. * https://material.io/design/components/tooltips.html#behavior */ _handleBodyInteraction(): void; /** * Marks that the tooltip needs to be checked in the next change detection run. * Mainly used for rendering the initial text before positioning a tooltip, which * can be problematic in components with OnPush change detection. */ _markForCheck(): void; _handleMouseLeave({ relatedTarget }: MouseEvent): void; /** * Callback for when the timeout in this.show() gets completed. * This method is only needed by the mdc-tooltip, and so it is only implemented * in the mdc-tooltip, not here. */ protected _onShow(): void; /** Whether the tooltip text has overflown to the next line */ private _isTooltipMultiline; /** Event listener dispatched when an animation on the tooltip finishes. */ _handleAnimationEnd({ animationName }: AnimationEvent): void; /** Cancels any pending animation sequences. */ _cancelPendingAnimations(): void; /** Handles the cleanup after an animation has finished. */ private _finalizeAnimation; /** Toggles the visibility of the tooltip element. */ private _toggleVisibility; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }