/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { WorkspaceSvg, IDraggable, IFocusableNode, IBoundedElement, ISelectable } from 'blockly'; import { Mover } from './mover'; /** * Actions for moving workspace elements with keyboard shortcuts. */ export declare class MoveActions { private mover; constructor(mover: Mover); private shortcuts; private menuItems; private registerShortcuts; private registerMenuItems; /** * Install the actions as both keyboard shortcuts and (where * applicable) context menu items. */ install(): void; /** * Uninstall these actions. */ uninstall(): void; /** * Get the source draggable for the cursor location, or undefined if no * source draggable can be found. * If the cursor is on a shadow block, walks up the tree until it finds * a non-shadow block to drag. * * @param workspace The workspace to inspect for a cursor. * @returns The source draggable, or undefined if no appropriate draggable * could be found. */ getCurrentDraggable(workspace: WorkspaceSvg): (IDraggable & IFocusableNode & IBoundedElement & ISelectable) | undefined; } //# sourceMappingURL=move.d.ts.map