/********************************************************************************
 * Copyright (c) 2023-2025 Business Informatics Group (TU Wien) and others.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v. 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0.
 *
 * This Source Code may also be made available under the following Secondary
 * Licenses when the conditions for such availability set forth in the Eclipse
 * Public License v. 2.0 are satisfied: GNU General Public License, version 2
 * with the GNU Classpath Exception which is available at
 * https://www.gnu.org/software/classpath/license.html.
 *
 * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
 ********************************************************************************/
import '../../../../css/keyboard.css';
import { Action, GModelRoot, IActionDispatcher, IActionHandler, ICommand, Point } from '@eclipse-glsp/sprotty';
import { GLSPAbstractUIExtension } from '../../../base/ui-extension/ui-extension';
export declare class KeyboardGrid extends GLSPAbstractUIExtension implements IActionHandler {
    protected readonly actionDispatcher: IActionDispatcher;
    protected triggerActions: Action[];
    protected originId: string;
    id(): string;
    containerClass(): string;
    handle(action: Action): void | Action | ICommand;
    protected initializeContents(containerElement: HTMLElement): void;
    protected onKeyDown(event: KeyboardEvent): void;
    protected setContainerVisible(visible: boolean): void;
    show(root: Readonly<GModelRoot>, ...contextElementIds: string[]): void;
    protected hideIfEscapeEvent(event: KeyboardEvent): any;
    protected activateCellIfDigitEvent(event: KeyboardEvent): any;
    protected dispatchActionsForCell(index: number, cellCenter: Point): void;
    protected centerPositionOfCell(index: number): Point;
    protected matchesDeactivateGrid(event: KeyboardEvent): boolean;
    protected matchesGridBoxAtIndex(event: KeyboardEvent, index: number): boolean;
    private getOffset;
    private getCenterOfCell;
}
//# sourceMappingURL=keyboard-grid.d.ts.map