import { Plugin, PluginKey } from 'prosemirror-state';
import { EditorView } from 'prosemirror-view';
import { MenuCommandFactory } from '../menu/menu-commands';
import { EditorMenuTypes } from '../menu/types';
export declare const actionBarPluginKey: PluginKey<any>;
export interface ActiveMenuItems {
    active: Record<EditorMenuTypes, boolean>;
    allowed: Record<EditorMenuTypes, boolean>;
}
export type UpdateMenuItemsCallBack = (activeTypes: Record<EditorMenuTypes, boolean>, allowedTypes: Record<EditorMenuTypes, boolean>) => void;
export declare const getMenuItemStates: (menuTypes: EditorMenuTypes[], menuCommandFactory: MenuCommandFactory, view: EditorView) => ActiveMenuItems;
export declare const createMenuStateTrackingPlugin: (menuTypes: EditorMenuTypes[], menuCommandFactory: MenuCommandFactory, updateCallback: UpdateMenuItemsCallBack) => Plugin<ActiveMenuItems>;
//# sourceMappingURL=menu-state-tracking-plugin.d.ts.map