import { VegaRTETextAnnotations, VegaRTETextNode } from '../../../../interface';
import { ElementToDTOStrategy } from './element-to-dto-strategy.abstract';
/**
 * Class to handle text node elements and convert them to text node DTOs
 */
export declare abstract class ElementToTextNodeStrategy extends ElementToDTOStrategy {
  /**
   * @inheritDoc
   */
  shouldProceedToElementChildren(): boolean;
  /**
   * @inheritDoc
   */
  appendChildBlocks(): void;
  /**
   * Generate text node DTO object
   *
   * @param {string} text - text content.
   * @param {VegaRTETextAnnotations} annotations - Current annotations.
   * @returns {VegaRTETextNode} - Text node DTO.
   */
  protected generateTextNode(text: string, annotations: VegaRTETextAnnotations): VegaRTETextNode;
}
