import { CdkOverlayOrigin, ConnectedPosition, Overlay } from '@angular/cdk/overlay'; import { ElementRef, OnInit, OnChanges } from '@angular/core'; import { TooltipComponent } from '../tooltip.component'; import * as i0 from "@angular/core"; export declare class GalaxyTooltip implements OnInit, OnChanges { private elementRef; private overlay; tooltip?: TooltipComponent; origin: CdkOverlayOrigin; show: boolean; private overlayRef; /** The text of the tooltip */ text: string; /** An optional title that can be given to the tooltip */ tooltipTitle: string; /** * What positioning strategy to use for the tooltip. If empty, no positions are applied to the popover (it has a default position set) */ tooltipPositions?: ConnectedPosition[]; /** Change the background color and text for high contrast with white backgrounds */ highContrast?: boolean; private hiddenTestID; onMouseEnter(): void; onMouseLeave(): void; constructor(elementRef: ElementRef, overlay: Overlay); ngOnInit(): void; ngOnChanges(): void; initTooltip(): void; updateTooltipValues(): void; showTooltip(): void; hideTooltip(): void; /** * Test to see if the parent element is in the DOM. If not, hide the tooltip */ private testElementHidden; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }