import { ModuleEnums } from '../components/enums/ModuleEnums'; /** * 检查页面上是否有可见的弹窗(el-dialog / el-drawer / el-popover / el-message-box) * 当弹窗打开时,设计器快捷键应全部禁用,避免影响弹窗内的输入和操作 */ export declare const hasOpenDialog: () => boolean; /** * 重置ctrlKey */ export declare const resetCtrlKey: (evt: KeyboardEvent) => void; /** * 键盘事件 * @param evt * @param actions 回调函数 * @param params 参数 */ export declare const keyboardEvent: (evt: KeyboardEvent, actions: Function, module: ModuleEnums, ...params: any) => void; export declare const initKeyboardEvent: (actions: Function, module: ModuleEnums, ...params: any) => { keydown: (evt: KeyboardEvent) => void; keyup: (evt: KeyboardEvent) => void; }; export declare const removeKeyboardEvent: (handlers: { keydown: (evt: KeyboardEvent) => void; keyup: (evt: KeyboardEvent) => void; }) => void;