/*!
 * Jodit Editor (https://xdsoft.net/jodit/)
 * Released under MIT see LICENSE.txt in the project root for license information.
 * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
 */
/**
 * [[include:plugins/select-cells/README.md]]
 * @packageDocumentation
 * @module plugins/select-cells
 */
import type { IJodit } from "../../types/index";
import { Plugin } from "../../core/plugin/index";
import "./config";
export declare class selectCells extends Plugin {
    static requires: string[];
    /**
     * Shortcut for Jodit.modules.Table
     */
    private get __tableModule();
    protected afterInit(jodit: IJodit): void;
    /**
     * The cell with the caret, and the selection, when a key went down
     */
    private __keyDownCell;
    private __keyDownRange;
    private __onKeyDown;
    /**
     * A link's popup replaces the cell's while the caret is in the link
     */
    private __keyDownInLink;
    private __isInLink;
    /**
     * Where the selection starts rather than `s.current()`, which finds the
     * first cell when the caret is just before the table
     */
    private __caretCell;
    /**
     * A key that moves the caret into a cell, from another cell or from
     * outside the table, marks that cell and opens its popup, as a click on
     * it does. One that moves the caret out of the table unmarks the cells
     */
    protected onKeyUp(): void;
    private __followCaret;
    /**
     * First selected cell
     */
    private __selectedCell;
    /**
     * User is selecting cells now
     */
    private __isSelectionMode;
    /**
     * Mouse click inside the table
     */
    protected onStartSelection(cell: HTMLTableCellElement, event?: MouseEvent): void | false;
    protected onOutsideClick(): void;
    protected onChange(): void;
    /**
     * Mouse move inside the table
     */
    private __onMove;
    /**
     * On click in outside - remove selection
     */
    private __onRemoveSelection;
    /**
     * Stop a selection process
     */
    private __onStopSelection;
    /**
     * Remove selection for all cells
     */
    private unselectCells;
    /**
     * Execute custom commands for table
     */
    private onExecCommand;
    /**
     * The cell that takes the caret when rows or columns are deleted: the next
     * one in the same column (or row) that is not deleted, else the previous one
     */
    private __nearestCell;
    /**
     * Add some align after native command
     */
    private onAfterCommand;
    /**
     * Remove the table and put the caret where it stood: at the start of what
     * follows it, else at the end of what precedes it
     */
    private __removeTable;
    /** @override */
    protected beforeDestruct(jodit: IJodit): void;
}
