import { ElementRef } from "@angular/core"; import { BehaviorSubject, Observable } from "rxjs"; import * as i0 from "@angular/core"; export interface KeyboardHandlingOptions { menuElement: ElementRef | null; menuId: string; itemIndex?: number; } export interface DropdownState { activeMenuId: string; } export declare class DropdownService { private readonly initialState; state$: BehaviorSubject; readonly activeMenuId$: Observable; openMenu(menuId: string): void; closeAllMenus(): void; isMenuActive(menuId: string): Observable; reset(): void; handleKeyboardInput(key: string, options: KeyboardHandlingOptions): void; handleKeyboardNavigation(key: string, options: KeyboardHandlingOptions): void; private focusNextElement; private focusPreviousElement; private getFocusableElements; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }