import { VegaRTEImageAnnotations } from '../../../../../interface';
import { AnnotationGeneratorStrategyAbstract } from './annotation-generator-strategy.abstract';
import { RTEDtoClassPrototype } from './html-element-to-annotation-generator';
/** Handle image size annotation */
export declare class ImageSizeAnnotationHandler extends AnnotationGeneratorStrategyAbstract {
  /**
   * @inheritDoc
   */
  canHandle<T extends RTEDtoClassPrototype>(targetDto: T): boolean;
  /**
   * Handle annotation.
   *
   * @param {HTMLElement} element - Current elements.
   * @returns {VegaRTEImageAnnotations} - Annotation.
   */
  handle(element: HTMLImageElement): VegaRTEImageAnnotations;
  /**
   * Determine the image display size based on the width of the current element.
   *
   * @param {HTMLElement} element - current element.
   * @returns {Nullable<VegaRichTextImageEditorSizeType>} -Image size, default 'md'.
   */
  private getImageSize;
}
