/**
 * @license
 * Copyright 2025 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */
import { ShortcutRegistry } from 'blockly/core';
import type { WorkspaceSvg } from 'blockly/core';
import type { Navigation } from '../navigation';
/**
 * Class for registering shortcuts for navigating the workspace with arrow keys.
 */
export declare class ArrowNavigation {
    private navigation;
    constructor(navigation: Navigation);
    /**
     * Gives the cursor to the field to handle if the cursor is on a field.
     *
     * @param workspace The workspace to check.
     * @param shortcut The shortcut
     *     to give to the field.
     * @returns True if the shortcut was handled by the field, false
     *     otherwise.
     */
    fieldShortcutHandler(workspace: WorkspaceSvg, shortcut: ShortcutRegistry.KeyboardShortcut): boolean;
    /**
     * Adds all arrow key navigation shortcuts to the registry.
     */
    install(): void;
    /**
     * Removes all the arrow navigation shortcuts.
     */
    uninstall(): void;
}
//# sourceMappingURL=arrow_navigation.d.ts.map