import { RTERenderContext, VegaRTECreateElementFunction, VegaRTERenderResult } from '../../interface';
import { VegaRTEExtensionRenderer } from '../base-extension-renderer';
import { RTETokenNode } from './token-node';
/**
 * Token node renderer for the rich text editor.
 */
export declare class RTETokenNodeRenderer extends VegaRTEExtensionRenderer {
  /**
   * Renders the token node as a DOM element.
   *
   * @param {VegaRTECreateElementFunction} createElement - The function to create a DOM element.
   * @param {RTETokenNode} node - The token node to render.
   * @param {RTERenderContext} editorContent - The editor content context.
   * @returns {VegaRTERenderResult} - The rendered DOM element.
   */
  doRender(createElement: VegaRTECreateElementFunction, node: RTETokenNode, editorContent?: RTERenderContext): VegaRTERenderResult;
  /**
   * Override to inject RTE scope styles for the token node.
   *
   * @returns {string} The CSS styles for the token node.
   */
  injectRTEScopeStyles(): string;
  /**
   * Handle the click event on the token element.
   *
   * @typedef HTMLVegaRichTextEditorElement - The type definition for the rich text editor host element.
   * @param {MouseEvent} event - The click event.
   * @param {RTETokenNode} node - The token node that was clicked.
   * @param {HTMLVegaRichTextEditorElement} [richTextEditor] - The rich text editor host element.
   */
  private handleTokenElementClick;
  /**
   * Additional attributes for the token node.
   *
   * @param {RTETokenNode} node - The token node.
   * @returns {Record<string, string>} Additional attributes
   */
  private additionalAttributes;
}
