import { TemplateRef, Type, ViewContainerRef } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import * as i0 from "@angular/core"; export type NgxTooltipOptions = Partial<{ /** * Position relative to the element the menu pops-up at */ position: "top" | "right" | "bottom" | "left"; /** * How the popup is aligned relative to the element */ alignment: "center" | "beforestart" | "start" | "end" | "afterend"; /** * @hidden * WIP: * Show an error from the dialog pointing to the element */ showArrow: boolean; /** * @hidden * WIP: * Size of the arrow. */ arrowSize: number; /** * How much padding to add near the edges of the screen. */ edgePadding: number; customClass: string[]; }>; export declare class NgxTooltipDirective { private dialog; private viewContainer; /** */ template: TemplateRef | Type; /** * Configuration for opening the app menu */ config: NgxTooltipOptions; /** * Arbitrary data to pass into the template */ data: any; constructor(dialog: MatDialog, viewContainer: ViewContainerRef); ngOnInit(): void; private dialogInstance; onPointerEnter(evt: PointerEvent): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare const openTooltip: (dialog: MatDialog, template: TemplateRef | Type, data: any, el: HTMLElement, config?: NgxTooltipOptions) => Promise;