import { Observable } from 'rxjs'; import * as t from './types'; export declare class Keyboard implements t.IKeyboard { static create(options: t.IKeyboardArgs): Keyboard; static isModifier(key: string): boolean; static parse(pattern: string | boolean | undefined, defaultValue?: string): t.IKeyPattern; static matchEvent(pattern: t.IKeyPattern | string, event: Partial): boolean; static formatKey(key?: string): string; private constructor(); private readonly _dispose$; readonly dispose$: Observable; readonly keyPress$: Observable; readonly bindingPress$: Observable>; readonly bindings: t.KeyBindings; latest: t.IKeypressEvent | undefined; get isDisposed(): boolean; dispose(): void; clone(options?: Partial>): Keyboard; filter(fn: (e: t.IKeypressEvent) => boolean): Keyboard; takeUntil(dispose$: Observable): Keyboard; private monitorBindings; private matchBinding; }