/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /** * Duplicate action that adds a keyboard shortcut for duplicate and overrides * the context menu item to show it if the context menu item is registered. */ export declare class DuplicateAction { private duplicateShortcut; private uninstallHandlers; /** * Install the shortcuts and override context menu entries. * * No change is made if there's already a 'duplicate' shortcut. */ install(): void; /** * Unregister the shortcut and reinstate the original context menu entries. */ uninstall(): void; /** * Create and register the keyboard shortcut for the duplicate action. * Same behaviour as for the core context menu. * Skipped if there is a shortcut with a matching name already. */ private registerDuplicateShortcut; } //# sourceMappingURL=duplicate.d.ts.map