import { RTEBlock } from '../../blocks/block.abstract';
import { Nullable } from '../../../../../types/general';
import { RTERenderContext, VegaRTECreateElementFunction } from '../../../interface';
import { VegaRTEBaseRenderer } from '../base-renderer';
export declare abstract class RTEBlockRenderer extends VegaRTEBaseRenderer<RTEBlock, HTMLElement> {
  abstract render(block: RTEBlock, renderContext: RTERenderContext, createElement?: VegaRTECreateElementFunction): HTMLElement;
  protected registerRef(ref: Nullable<HTMLElement>, block: RTEBlock): void;
  /**
   * The attributes of the element rendered by the block
   *
   * @param {RTEBlock} block - RTE block entity
   * @returns {Record<string, string>} - element  props
   */
  protected getCustomAttrs(block: RTEBlock): Record<string, string>;
}
