import { TransformToCodeBlockAction } from '../../actions/transform-to-code-block-action';
import type { VegaRTEContent } from '../../content-state';
import { ActionHandleStrategy } from '../action-handle-strategy.abstract';
/**
 * Transform the selected text blocks to a code block strategy.
 */
export declare class BlockTransformToCodeBlockStrategy extends ActionHandleStrategy<TransformToCodeBlockAction, VegaRTEContent> {
  /**
   * Get the all select text and create a new code block.
   *
   * @param {TransformToCodeBlockAction} action - The action instance.
   * @param {VegaRTEContent} target - The block top parent instance.
   */
  protected handleAction(action: TransformToCodeBlockAction, target: VegaRTEContent): void;
  /**
   * Get the selected text block text content.
   *
   * @param {RTEBlock[]} selectedBlocks - The selected blocks.
   * @returns {string} - The selected text content.
   */
  private getCodeContent;
  /**
   * Remove the selected blocks after append new code block.
   *
   * @param {RTEBlock[]} selectedBlocks - The selected blocks.
   * @param {VegaRTEContent} target - The selected block top parent object.
   */
  private removeSelectBlocks;
}
