import { ChangeDetectorRef } from '@angular/core'; import { TooltipService } from './service'; import { SafeHtml } from "@angular/platform-browser"; export declare class TooltipComponent { private _tooltipService; private _detectorRef; tooltip: any; arrow: any; originalContent: string | SafeHtml; content: string | SafeHtml; maxWidth: string; width: number; tooltipPosition: string; copy: boolean; copied: boolean; isShown: boolean; arrowPosition: string; arrowLocation: { left: string; top: string; }; location: any; private _truncation; private _placement; constructor(_tooltipService: TooltipService, _detectorRef: ChangeDetectorRef); /** * Copy the original content to the clipboard */ copyTooltip(): void; /** * Position the tooltip to the left */ private getTooltipLeft(position); /** * Position the tooltip to the bottom */ private getTooltipBottom(position); /** * Position the tooltip to the right */ private getTooltipRight(position); /** * Position the tooltip the the top */ private getTooltipDefault(position); /** * Check the space available for the tooltip before positioning it */ private setLocation(position); /** * Open the tooltip */ private openTooltip(event); /** * Update the content of the tooltip */ private updateTooltip(content); /** * Truncate the original content */ private truncateContent(truncation); /** * Close the tooltip */ private closeTooltip(); }