import { EditorState, PluginKey } from 'prosemirror-state';
import React from 'react';
import { EditorPlugin } from "../../types/index.js";
import { ContextPanelHandler } from "./types.js";
export declare const pluginKey: PluginKey<any>;
export declare type ContextPanelPluginState = {
    visible: boolean;
    handlers: ContextPanelHandler[];
    contents: React.ReactNode[];
};
export declare function getPluginState(state: EditorState): any;
declare const contextPanelPlugin: () => EditorPlugin;
export default contextPanelPlugin;
