/** * Copyright (c) 2019-present Houfeng * @author Houfeng */ import { KeyHandler, HotkeysEvent } from "hotkeys-js"; import { PureComponent } from "../Component"; export { KeyHandler, HotkeysEvent }; export interface IKeymasterProps { keys: string; handler: KeyHandler; scope?: string; } export declare class Keymaster extends PureComponent { static stack: string[]; static getScope(): string; static pushScope: (scope: string) => void; static popScope: () => string; static get shift(): boolean; componentDidMount(): void; componentWillUnmount(): void; }