import { ElementRef, OnDestroy, OnInit } from '@angular/core';
import Editor from '../../../Editor';
import * as i0 from "@angular/core";
export declare class FloatingMenuComponent implements OnInit, OnDestroy {
    el: ElementRef<HTMLElement>;
    constructor(el: ElementRef<HTMLElement>);
    get display(): Partial<CSSStyleDeclaration>;
    private get view();
    editor: Editor;
    autoPlace: boolean;
    private posLeft;
    private posTop;
    private showMenu;
    private updateSubscription;
    private dragging;
    private resizeSubscription;
    onMouseDown(e: MouseEvent): void;
    onKeyDown(e: KeyboardEvent): void;
    onMouseUp(e: MouseEvent): void;
    onKeyUp(e: KeyboardEvent): void;
    private useUpdate;
    private hide;
    private show;
    private calculateBubblePosition;
    private canShowMenu;
    private update;
    ngOnInit(): void;
    ngOnDestroy(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<FloatingMenuComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<FloatingMenuComponent, "ngx-editor-floating-menu", never, { "editor": "editor"; "autoPlace": "autoPlace"; }, {}, never, ["*"], false>;
}
