import { VegaRichTextEditor } from '../../../vega-rich-text-editor';
import { VisualModeToolbarButtonSlimmer } from './visual-mode-toolbar-button-slimmer.abstract';
/**
 * The code block toolbar button slimmer.
 */
export declare class CodeBlockToolbarButtonSlimmer extends VisualModeToolbarButtonSlimmer {
  selectionController: VegaRichTextEditor['selectionController'];
  valueController: VegaRichTextEditor['valueController'];
  value: VegaRichTextEditor['value'];
  constructor();
  /**
   * The selected blocks should convert to a code block.
   */
  protected onClick(): void;
  /**
   * The button will be selected if the selected blocks all code block.
   *
   * @returns {boolean} - The code block should selected or not.
   */
  protected isSelected(): boolean;
  protected isDisabled(): boolean;
  private shouldDisabledCodeBlockToolbar;
}
