import { AfterViewInit, ElementRef, EventEmitter, NgZone, OnDestroy, OnInit, Renderer2 } from '@angular/core'; export declare class KeyboardNavigationDirective implements OnInit, AfterViewInit, OnDestroy { private _render; private _elementRef; private _ngZone; currentIndex: number; closeOnTop: boolean; close: EventEmitter; private _rootIndex; private _initialListener; constructor(_render: Renderer2, _elementRef: ElementRef, _ngZone: NgZone); ngOnInit(): void; ngAfterViewInit(): void; ngOnDestroy(): void; private targetIsInMenu(target); /** * Store the hovered item */ private mouseMove(event); private keyDown(event); private mouseClick(); /** * Focus an item in list or sub-list based on a direction */ private focusItem(direction); /** * Add or remove the class 'active' from the parent of a sub-menu */ private toggleActiveClass(); /** * Return the list of button at the root level */ private readonly rootList; /** * Return the list of button at the sub-menu level */ private readonly childList; /** * Return a button at the root level */ private rootLevelItem(i); /** * Return a button at the sub-menu level */ private readonly childLevelItem; /** * Return the index of a element */ private getElementIndex(node); /** * Trigger the click event of an item */ private triggerClick(); private reset(); }