import React from 'react'; import Plugin from '../plugins/Plugin'; import { PluginParamValue } from '../common/type'; export interface EditorContextProps { containerWidth: number; containerHeight: number; plugins: Plugin[]; toolbar: { items: string[]; }; currentPlugin: Plugin | null; handlePluginChange: (plugin: Plugin) => void; paramValue: PluginParamValue | null; handlePluginParamValueChange: (paramValue: PluginParamValue) => void; toolbarItemConfig: any; updateToolbarItemConfig: (config: any) => void; } export declare const EditorContext: React.Context; export declare const withEditorContext:

(WrappedComponent: React.ComponentClass) => React.ForwardRefExoticComponent, keyof EditorContextProps>> & React.RefAttributes>>;