import { ApplicationRef, ElementRef, OnDestroy, TemplateRef } from '@angular/core'; import { TooltipComponent } from './tooltip.component'; import * as i0 from "@angular/core"; export declare class TooltipDirective implements OnDestroy { protected readonly el: ElementRef; protected readonly applicationRef: ApplicationRef; constructor(el: ElementRef, applicationRef: ApplicationRef); private _rivTooltip?; set rivTooltip(value: string | TemplateRef | undefined); get rivTooltip(): string | TemplateRef | undefined; rivTooltipTheme: 'dark' | 'light'; rivTooltipMaxWidth: string; rivTooltipPreferredPosition: TooltipComponent.AnchoredPosition; rivTooltipCloseDelay: number; rivTooltipOpenDelay: number; /** * Window after the pointer leaves in which the time already spent hovering is * kept. Coming back within it resumes the open countdown rather than starting * it over, so brushing off a small target — a 16px `riv-help` icon, say — and * returning does not cost another full `rivTooltipOpenDelay`. */ rivTooltipGracePeriod: number; private tooltipRef?; private closeTimeout?; private openTimeout?; private graceTimeout?; /** Hover time already served toward `rivTooltipOpenDelay`. */ private servedDelay; /** When the pending open countdown started. */ private openStartedAt; onMouseEnter(): void; onMouseLeave(): void; ngOnDestroy(): void; private initiateClose; private cancelClose; private cancelOpen; /** * Banks the hover time served so far and starts the grace period, after which * the countdown starts from zero again. */ private holdOpenProgress; private discardOpenProgress; private closeImmediately; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }