import type { Plugin as Plugin_2 } from 'grapesjs';

export declare type CommandOptions = {
    referenceElement?: HTMLElement;
    floatingElement?: HTMLElement;
    isDebugging?: boolean;
};

export declare function hideFloatingElement(floatingElement: HTMLElement, stopAutoUpdate?: () => void): void;

declare const plugin: Plugin_2<PluginOptions>;
export default plugin;

export declare type PluginOptions = {
    floatingElement?: HTMLElement;
};

export declare function showFloatingElement(referenceElement: HTMLElement, floatingElement: HTMLElement): (() => void) | undefined;

export declare type Store = {
    floatingElement?: HTMLElement;
    stopAutoUpdate?: () => void;
};

export declare function updateFloatingPosition(referenceElement: HTMLElement, floatingElement: HTMLElement): () => void;

export { }
