import { VegaRTECreateElementFunction, VegaRTEToolbarRenderContext, VegaRTERenderResult, RTEDropdownListItem, RTEDropdownListGroup } from '../../interface';
import { VegaRTEToolbarButtonRenderer } from '../base-toolbar-button-renderer';
/**
 * Renderer for the token toolbar button in the Vega Rich Text Editor.
 */
export declare class RTETokenToolbarButtonRenderer extends VegaRTEToolbarButtonRenderer {
  private tokenList;
  constructor(tokenList: (RTEDropdownListItem | RTEDropdownListGroup)[]);
  /**
   * Renders the token toolbar button.
   *
   * @param {VegaRTECreateElementFunction} createElement Function to create elements in the rich text editor.
   * @param {VegaRTEToolbarRenderContext} editorContext The render context for the editor.
   * @returns {VegaRTERenderResult} Token toolbar button.
   */
  render(createElement: VegaRTECreateElementFunction, editorContext: VegaRTEToolbarRenderContext): VegaRTERenderResult;
  /**
   * Checks if the token toolbar button is disabled.
   *
   * @param {VegaRTEToolbarRenderContext} editorContext The render context for the editor.
   * @returns {boolean} True if the button is disabled, false otherwise.
   */
  protected isDisabled(editorContext: VegaRTEToolbarRenderContext): boolean;
  /**
   * Handles the button click event. No need this method for token button.
   *
   * @param {VegaRTEToolbarRenderContext} editorContext - The render context for the editor.
   */
  protected handleButtonClick(editorContext: VegaRTEToolbarRenderContext): void;
  /**
   * Handles the token item click event from the dropdown.
   *
   * @param {string} itemKey - The key of the clicked token item.
   * @param {VegaRTEToolbarRenderContext} editorContext - The render context for the editor.
   */
  protected handleDropdownClick(itemKey: string, editorContext: VegaRTEToolbarRenderContext): void;
  /**
   * Refreshes the editor UI.
   *
   * @param {VegaRTEToolbarRenderContext} editorContext - The render context for the editor.
   */
  private flushEditorUI;
}
