import { Editor } from '@tiptap/core';
import { PluginKey, Plugin } from '@tiptap/pm/state';
import { DecorationSet } from '@tiptap/pm/view';

export declare const inlineUiKey: PluginKey<any>;
export declare const InlineLoaderPlugin: () => Plugin<DecorationSet>;
export declare const showInlineLoadingUI: (editor: Editor, id: string, text: string) => HTMLDivElement | undefined;
export declare const removeInlineUI: (editor: Editor, id: string, floatingDiv?: HTMLDivElement) => void;
export declare const inlineLoader: (editor: Editor, text: string) => {
    showLoader: () => HTMLDivElement | undefined;
    removeLoader: (div?: HTMLDivElement) => void;
    id: string;
};
export declare const clearAllFloatingLoaders: () => void;
export declare const getActiveLoaderCount: () => number;
export declare const updateLoaderText: (floatingDiv: HTMLDivElement, newText: string) => void;
