import { VegaSlimmer } from '../../../../vega-slimmer/vega-slimmer-core';
import { VegaCodeBlock } from '../../vega-code-block';
import { CodeNodeType } from '../../types';
/**
 * Parse the code content to different tokens.
 */
export declare class CodeContentParseController extends VegaSlimmer {
  protected prismCodeHighlightParser: VegaCodeBlock['prismCodeHighlightParser'];
  protected defaultCodeHighlightParser: VegaCodeBlock['defaultCodeHighlightParser'];
  private codeNodes;
  /**
   * Get the current rendering code node array.
   *
   * @returns {CodeNodeType[]} - The code node array.
   */
  getCurrentCodeNodes(): CodeNodeType[];
  /**
   * Split the code content to code node array. The default parse used if the language is not defined.
   *
   * @returns {CodeNodeType[]} - The code node array.
   */
  parseCode(): CodeNodeType[];
}
