import { ElementRef, EventEmitter, OnDestroy, OnInit, OnChanges, SimpleChanges } from '@angular/core';
export declare class PoRichTextBodyComponent implements OnInit, OnDestroy, OnChanges {
    private richTextService;
    private readonly cd;
    bodyElement: ElementRef;
    height?: string;
    label: string;
    modelValue?: string;
    placeholder?: string;
    readonly?: string;
    disabled: boolean;
    loading: boolean;
    change: EventEmitter<any>;
    commands: EventEmitter<any>;
    keydown: EventEmitter<KeyboardEvent>;
    selectedLink: EventEmitter<any>;
    size: string;
    shortcutCommand: EventEmitter<any>;
    value: EventEmitter<any>;
    blur: EventEmitter<any>;
    private isLinkEditing;
    private linkElement;
    private timeoutChange;
    private valueBeforeChange;
    private modelSubscription;
    private resizeObserver;
    hasScroll: boolean;
    hasValue: boolean;
    onWindowResize(): void;
    ngOnInit(): void;
    ngOnChanges(changes: SimpleChanges): void;
    ngOnDestroy(): void;
    executeCommand(command: string | {
        command: any;
        value: string | any;
    }): void;
    linkEditing(event: any): void;
    onBlur(): void;
    focus(): void;
    onClick(): void;
    onFocus(): void;
    onKeyDown(event: any): void;
    onKeyUp(event: any): void;
    onPaste(): void;
    update(): void;
    protected mapSizeToIcon(size: string): string;
    private addClickListenerOnAnchorElements;
    private emitSelectionCommands;
    private getTextSelection;
    private handleCommandLink;
    private insertHtmlLinkElement;
    private isCursorPositionedInALink;
    private isParentNodeAnchor;
    private makeLinkTag;
    private onAnchorClick;
    private removeBrElement;
    private rgbToHex;
    private toggleCursorOnLink;
    private updateModel;
    private updateValueWithModelValue;
    private verifyCursorPositionInFirefoxIEEdge;
    private get bodyEl();
    private updateHasValue;
    private checkScrollState;
    private initResizeObserver;
}
