import { VegaRTETextAnnotations } from '../../../../../interface';
import { AnnotationGeneratorStrategyAbstract } from './annotation-generator-strategy.abstract';
import { HtmlElementToAnnotationGenerateOptions, RTEDtoClassPrototype } from './html-element-to-annotation-generator';
/** Handle custom attribute annotation */
export declare class CustomAttributeAnnotationHandler extends AnnotationGeneratorStrategyAbstract {
  /**
   * Can be handle.
   *
   * @param {RTEDtoClassPrototype} targetDto - Target DTO.
   * @param {HtmlElementToAnnotationGenerateOptions} [options] - Options for annotation generator.
   * @returns {boolean} - .
   */
  canHandle<T extends RTEDtoClassPrototype>(targetDto: T, options: HtmlElementToAnnotationGenerateOptions): boolean;
  /**
   * Handle annotation.
   *
   * @param {HTMLElement} element - Current elements.
   * @returns {VegaRTETextAnnotations} - Annotation.
   */
  handle(element: HTMLElement): VegaRTETextAnnotations;
  /**
   * Obtain the custom attributes of element, excluding 'style' and 'class'.
   *
   * @param {HTMLElement} element - current element.
   * @returns {Record<string, string>} - Record<string, string>.
   */
  private getAttributes;
  /**
   * Check if the attribute name is valid.
   *
   * @param {string} attr - Attribute name.
   * @returns {boolean} - True if valid, false otherwise.
   */
  private isValidAttr;
}
