import { VegaRTETextAnnotations } from '../../../../../interface';
import { AnnotationGeneratorStrategyAbstract } from './annotation-generator-strategy.abstract';
import { RTEDtoClassPrototype } from './html-element-to-annotation-generator';
/** Handle code annotation */
export declare class CodeAnnotationHandler 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;
    /**
     * Is code element.
     *
     * @param {HTMLElement} element - current element.
     * @returns {boolean} - boolean.
     */
    private isCode;
}
