import { Nullable } from '../../../../../../types/general';
import { BlockToRTEBlockStrategyAbstract } from './block-to-rte-block-strategy.abstract';
import { RTECodeBlock } from '../../../../dto/blocks/code-block';
/** Transform other editor code element which has attribute data-language to RTE code block DTO */
export declare class JiraCodeToRTECodeBlockStrategy extends BlockToRTEBlockStrategyAbstract {
  /**
   * Can be handle.
   *
   * @param {HTMLElement[]} elementsArray - Current elements.
   * @param {number} currentIndex - Current element index.
   * @returns {number} - can be handled element count.
   */
  canHandle(elementsArray: HTMLElement[], currentIndex: number): number;
  /**
   * Parse to a code block.
   *
   * @param {HTMLElement[]} elementsArray - Current elements.
   * @returns {Nullable<RTECodeBlock>} - Code block.
   */
  handle(elementsArray: HTMLElement[]): Nullable<RTECodeBlock>;
  /**
   * Append child blocks.
   */
  appendChildBlocks(): void;
  /**
   * Should continue process to child elements.
   *
   * @returns {boolean} - boolean.
   */
  shouldProceedToElementChildren(): boolean;
}
