/** * The following code is modified based on * https://github.com/puppeteer/puppeteer/blob/main/packages/puppeteer-core/src/common/USKeyboardLayout.ts * * Copyright 2017 Google Inc. * SPDX-License-Identifier: Apache-2.0 * https://github.com/puppeteer/puppeteer/blob/main/LICENSE */ import type { KeyInput } from 'puppeteer-core'; /** * Only adapt for common macOS system hotkeys * * See issues: * - https://github.com/bytedance/UI-TARS-desktop/pull/560 * * References: * - Mac shortcuts list: https://support.apple.com/zh-cn/102650 * - Chrome: https://support.google.com/chrome/answer/157179 * - CDP: https://chromedevtools.github.io/devtools-protocol/tot/Input/#method-dispatchKeyEvent * - Commands: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/editing/commands/editor_command_names.h */ export declare const MAC_SYSTEM_HOTKEY_MAP: Map; export declare const KEY_ABBR_TO_STANDARD_MAP: Readonly>; export declare const KEY_LOW_TO_STANDARD_MAP: Readonly>; //# sourceMappingURL=key-map.d.ts.map