import { Element } from '@angular/compiler'; import { OnDestroy } from '@angular/core'; import * as i0 from "@angular/core"; export type HotKeyId = string | number | Element | HTMLElement | HTMLElement[]; export interface HotKey { id?: HotKeyId; keyCodes: string[]; target?: HTMLElement | HTMLElement[]; pathItem?: HTMLElement; withControlModifier?: boolean; withShiftModifier?: boolean; metaKey?: boolean; stopEvent?: boolean; callback(event: KeyboardEvent): void; } export declare class HotKeyService implements OnDestroy { private hotKeys; private readonly destroyed$; private observing$; private static cancelKeyboardEvent; registerHotKey(hotKey: HotKey): void; unregisterHotKey(idOrTarget: HotKeyId): void; ngOnDestroy(): void; startHotKeyObserve(): void; stopHotKeyObserve(): void; private isTargetMatched; private findAndRunHotKey; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }