import { LineBreakSingleBlockAction } from '../../actions/line-break-single-block-action';
import type { RTETextBlock } from '../../blocks/text-block';
import { ActionHandleStrategy } from '../action-handle-strategy.abstract';
/**
 * Insert a line break node into current text block at special position strategy.
 */
export declare class BlockInsertLineBreakStrategy extends ActionHandleStrategy<LineBreakSingleBlockAction, RTETextBlock> {
  /**
   * @inheritDoc
   */
  protected handleAction(action: LineBreakSingleBlockAction, target: RTETextBlock): void;
  /**
   * lineBreakSingleBlock
   *
   * @param {RTETextNode} splitNode -
   * @param {number} startOffsetOfNode -
   * @param {RTETextBlock} target -
   * @returns {Nullable<RTETextNode>} Nullable<RTETextNode>
   */
  private lineBreakSingleBlock;
  /**
   * mergeLineBreakNodes
   *
   * @param {RTENode[]} beforeNodes -
   * @param {RTETextNode} lineBreakNode -
   * @param {RTENode[]} afterNodes -
   * @param {RTETextBlock} target -
   */
  private mergeLineBreakNodes;
}
