import { FocusOrigin } from '@angular/cdk/a11y'; import { Direction } from '@angular/cdk/bidi'; import { EventEmitter, InjectionToken, TemplateRef } from '@angular/core'; import { MenuPositionX, MenuPositionY } from './menu-positions'; /** * Injection token used to provide the parent menu to menu-specific components. * @docs-private */ export declare const GRANITE_MENU_PANEL: InjectionToken; export type ClosedEventType = void | 'click' | 'keydown' | 'tab'; export type OpenedEventType = void | 'click' | 'keydown'; export interface GraniteMenuPanelInterface { xPosition: MenuPositionX; yPosition: MenuPositionY; templateRef: TemplateRef; parentMenu?: GraniteMenuPanelInterface | undefined; direction?: Direction; focusFirstItem: (origin?: FocusOrigin) => void; closed: EventEmitter; opened: EventEmitter; readonly panelId?: string; showBackButton: boolean; }