/*!
 * 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/README.md]]
 * @packageDocumentation
 * @module plugins/select
 */
import type { IJodit } from "../../types/index";
import { Plugin } from "../../core/plugin/index";
import "./config";
/**
 * A utility plugin that allows you to subscribe to a click/mousedown/touchstart/mouseup on an element in DOM order
 *
 * @example
 * ```js
 * const editor = Jodit.make('#editor');
 * editor.e.on('clickImg', (img) => {
 *   console.log(img.src);
 * })
 * ```
 */
export declare class select extends Plugin {
    private proxyEventsList;
    protected afterInit(jodit: IJodit): void;
    protected beforeDestruct(jodit: IJodit): void;
    private onStartSelection;
    /**
     * @event outsideClick(e) - when user clicked on the outside of editor
     */
    protected onOutsideClick(e: MouseEvent): void;
    protected beforeCommandCut(): void | false;
    protected beforeCommandSelectAll(): false;
    /**
     * Fix caret position when clicking to the right of a list item that has a
     * nested list. Blink/WebKit place the caret at the start of the line instead
     * of the end (#1296); move it to the end of the item's own text.
     */
    protected onClickRightOfNestedListItem(e: MouseEvent): void;
    /**
     * Keep pending inline formatting after a click. Toggling Bold/Italic/etc. on
     * a collapsed cursor leaves empty marker elements with the caret inside; a
     * click puts the caret right before them (outside), so they get cleaned up
     * and the formatting is lost. Move the caret back into the innermost marker
     * so the next typed character keeps every pending format (#1291).
     */
    protected onClickKeepPendingFormat(): void;
    /**
     * Normalize selection after triple click
     */
    protected onTripleClickNormalizeSelection(e: MouseEvent): void;
    protected onCopyNormalizeSelectionBound(e?: ClipboardEvent): void;
}
