import { RTETextNode } from '../../nodes/text-node';
import { LinkGroupAnnotation } from '../../annotations/link-group-annotation';
import { RTERenderContext, VegaRTERenderResult } from '../../../interface';
/**
 * Renders link nodes and wraps them with link editor or anchor element based on edit mode.
 */
declare class RTELinkWrapperRenderer {
  /**
   * Render link nodes, grouping them by link group annotation if necessary.
   *
   * @param {RTETextNode[]} nodes - Array of text nodes to render.
   * @param {LinkGroupAnnotation} linkGroupAnnotation - link group annotation
   * @param {RTERenderContext} context - Context containing render options.
   * @returns {VegaRTERenderResult[]} - Array of rendered HTML elements.
   */
  render(nodes: RTETextNode[], linkGroupAnnotation: LinkGroupAnnotation, { editable }: RTERenderContext): VegaRTERenderResult[];
  private groupNodesByLink;
  private isLinkGroup;
  private renderLinkEditorWrapper;
  private renderLink;
  private handleChange;
}
declare const _default: RTELinkWrapperRenderer;
export default _default;
