import { VegaRTETextAnnotations } from '../../../../../interface';
import { AnnotationGeneratorStrategyAbstract } from './annotation-generator-strategy.abstract';
import { RTEDtoClassPrototype } from './html-element-to-annotation-generator';
/** Handle color annotation */
export declare class ColorAnnotationHandler extends AnnotationGeneratorStrategyAbstract {
  /**
   * @inheritDoc
   */
  canHandle<T extends RTEDtoClassPrototype>(targetDto: T): boolean;
  /**
   * Handle annotation.
   *
   * @param {HTMLElement} element - Current elements.
   * @param {VegaRTETextAnnotations} parentAnnotations - Parent annotations.
   * @returns {VegaRTETextAnnotations} - Annotation.
   */
  handle(element: HTMLElement, parentAnnotations?: VegaRTETextAnnotations): VegaRTETextAnnotations;
  /**
   * Get current color of element.
   *
   * @param {HTMLElement} element - current element.
   * @returns {Nullable<string>} - color.
   */
  private getColor;
}
