import { EventEmitter, QueryList, OnDestroy } from '@angular/core';
import { Subscription } from 'rxjs';
import { MenuItemComponent } from './menu-item.component';
export declare class MenuComponent implements OnDestroy {
    popup: any;
    closed: EventEmitter<any>;
    show: EventEmitter<any>;
    position: string;
    items: QueryList<MenuItemComponent>;
    _parentMenu: MenuComponent;
    popupClosed(e: any): void;
    popupShow(e: any): void;
    readonly visible: boolean;
    showByXY(x: number, y: number): void;
    showByTarget(target?: any, direction?: string, parentMenu?: MenuComponent): void;
    togglePopup(target?: any, direction?: string, parentMenu?: MenuComponent): void;
    closeSubMenus(sender: any): void;
    closePopup(withParent?: boolean): void;
    _subscription: Subscription;
    private addSubscription;
    ngAfterContentInit(): void;
    ngOnDestroy(): void;
}
