import { Nullable } from '../../../../types/general';
import { VegaRTEBaseRenderer } from './base-renderer';
import { RTEBlock } from '../blocks/block.abstract';
import { VNode } from '../../../../stencil-public-runtime';
declare type BaseBlockRenderer = VegaRTEBaseRenderer<RTEBlock, HTMLElement | VNode>;
/**
 * RTEBlockRendererFactory is a factory class that provides methods to get the appropriate block renderer.
 * It registers various block renderers for different types of blocks and nodes.
 */
declare class RTEBlockRendererFactory {
  /**
   * Registers the default block renderers and node renderers.
   */
  constructor();
  /**
   * getBlockRenderer retrieves the renderer for a given block type.
   *
   * @param {string} type - The type of the block for which the renderer is needed.
   * @returns {Nullable<BaseBlockRenderer>} - The renderer instance if found, otherwise null.
   */
  getBlockRenderer(type: string): Nullable<BaseBlockRenderer>;
}
declare const _default: RTEBlockRendererFactory;
export default _default;
