import { FocusableOption, FocusMonitor, FocusOrigin } from '@angular/cdk/a11y'; import { ElementRef, OnDestroy } from '@angular/core'; import { Subject } from 'rxjs'; import { ClientInputInterface, ClientOutputInterface } from '../core/client-environment'; import { GraniteMenuPanelInterface } from './menu-panel'; import * as i0 from "@angular/core"; export declare class GraniteMenuItemComponent implements OnDestroy, FocusableOption { private _elementRef; private _focusMonitor; _parentMenu?: GraniteMenuPanelInterface; /** ARIA role for the menu item. */ role: 'menuitem' | 'menuitemradio' | 'menuitemcheckbox'; /** Stream that emits when the menu item is hovered. */ readonly _hovered: Subject; /** Stream that emits when the menu item is focused. */ readonly _focused: Subject; /** Whether the menu item acts as a trigger for a sub-menu (used for styling) */ _triggersSubmenu: boolean; /** * Whether the menu item is highlighted, e.g. in the "breadcrumb" parent chain * of sub menu trigger items */ _highlighted: boolean; /** Client input device information */ _clientInput: ClientInputInterface; /** Client output device information */ _clientOutput: ClientOutputInterface; constructor(_elementRef: ElementRef, _focusMonitor: FocusMonitor, _parentMenu?: GraniteMenuPanelInterface); ngOnDestroy(): void; /** Focuses the menu item. */ focus(origin?: FocusOrigin, options?: FocusOptions): void; /** Returns the host DOM element. */ _getHostElement(): HTMLElement; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }