import { InsertNodeToNearestRootAction } from '../../actions/insert-node-to-nearest-root-action';
import type { RTEBlock } from '../../blocks/block.abstract';
import { ActionHandleStrategy } from '../action-handle-strategy.abstract';
/**
 * Insert a new node in nearest position of parent block strategy.
 */
export declare class InsertNodeToNearestRootStrategy extends ActionHandleStrategy<InsertNodeToNearestRootAction, RTEBlock> {
  /**
   * @inheritDoc
   */
  protected handleAction(action: InsertNodeToNearestRootAction, target: RTEBlock): void;
  /**
   * Update the cursor position to end of the inserted node.
   *
   * @param {RTENode} node - node to find root content
   */
  private updateCursorPosition;
}
