import { TemplateRef, Type, ViewContainerRef } from '@angular/core'; import { MatDialog, MatDialogConfig } from '@angular/material/dialog'; import { MenuItem } from '@dotglitch/ngx-common/core'; import { TooltipOptions } from './types'; import * as i0 from "@angular/core"; export declare class TooltipDirective { private dialog; private viewContainer; /** */ template: TemplateRef | Type | MenuItem[]; /** * Configuration for opening the app menu */ config: TooltipOptions; /** * Arbitrary data to pass into the template */ data: any; private isCursorOverTarget; private dialogIsOpen; constructor(dialog: MatDialog, viewContainer: ViewContainerRef); ngAfterViewInit(): void; open(): Promise; onPointerEnter(evt: PointerEvent): Promise; onPointerLeave(evt: PointerEvent): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare const openTooltip: (dialog: MatDialog, template: TemplateRef | Type | MenuItem[], data: any, el: HTMLElement, config?: TooltipOptions, focusTrap?: boolean, matPopupOptions?: MatDialogConfig) => Promise; export declare class DropdownDirective extends TooltipDirective { /** * The items that will be bound to the menu that pops * up when the user clicks the element. */ template: TemplateRef | Type | MenuItem[]; /** * Configuration for opening the app menu */ _config: TooltipOptions; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }