import { TemplateRef, Type, ViewContainerRef } from '@angular/core'; import { MatDialog, MatDialogConfig, MatDialogRef } from '@angular/material/dialog'; import { MenuItem } from '@dotglitch/ngx-common/core'; import { TooltipOptions } from './types'; import * as i0 from "@angular/core"; export declare const calcTooltipBounds: (template: TemplateRef | Type, data: any, matDialogConfig: MatDialogConfig) => Promise; export declare class TooltipComponent { viewContainer: ViewContainerRef; private _data; dialog: MatDialog; dialogRef: MatDialogRef; data: any; config: TooltipOptions; ownerCords: DOMRect; selfCords: any; template: TemplateRef | Type | MenuItem[]; isTemplate: boolean; isMenu: boolean; hasBootstrapped: boolean; pointerIsOnVoid: boolean; isLockedOpen: boolean; clientWidth: number; clientHeight: number; coverRectCords: { top: number; left: number; height: number; width: number; }; constructor(viewContainer: ViewContainerRef, _data: any, dialog: MatDialog, // optional only for the purpose of estimating dimensions dialogRef: MatDialogRef); ngOnInit(): void; ngAfterViewInit(): void; onKeyDown(evt: KeyboardEvent): void; onVoidPointerDown(evt: PointerEvent): void; onWheel(evt: WheelEvent): void; /** * Close the tooltip if these actions occur */ private onClose; closeOnVoid(force?: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }