/**
 * @license
 * Copyright 2025 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */
import type { WorkspaceSvg } from 'blockly';
import { Navigation } from '../navigation';
/**
 * Action to insert a block into the workspace.
 *
 * This action registers itself as both a keyboard shortcut and a context menu
 * item.
 */
export declare class DisconnectAction {
    private navigation;
    /**
     * Registration name for the keyboard shortcut.
     */
    private shortcutName;
    constructor(navigation: Navigation);
    /**
     * Install this action as both a keyboard shortcut and a context menu item.
     */
    install(): void;
    /**
     * Uninstall this action as both a keyboard shortcut and a context menu item.
     * Reinstall the original context menu action if possible.
     */
    uninstall(): void;
    /**
     * Create and register the keyboard shortcut for this action.
     */
    private registerShortcut;
    /**
     * Disconnects the connection that the cursor is pointing to, and bump blocks.
     * This is a no-op if the connection cannot be broken or if the cursor is not
     * pointing to a connection.
     *
     * @param workspace The workspace.
     */
    disconnectBlocks(workspace: WorkspaceSvg): void;
}
//# sourceMappingURL=disconnect.d.ts.map