import type { MacroProvider, ProviderFactory } from '@uidu/editor-common/provider-factory';
import { Plugin } from 'prosemirror-state';
import { Dispatch } from "../../event-dispatcher/index.js";
import { EditorPlugin } from "../../types/index.js";
export type { ExtensionType, MacroAttributes, MacroProvider, } from '@uidu/editor-common/provider-factory';
export { insertMacroFromMacroBrowser, resolveMacro, runMacroAutoConvert, setMacroProvider, } from "./actions.js";
export declare type MacroState = {
    macroProvider: MacroProvider | null;
};
export declare const createPlugin: (dispatch: Dispatch, providerFactory: ProviderFactory) => Plugin<any>;
declare const macroPlugin: () => EditorPlugin;
export default macroPlugin;
