import React from 'react'; declare const Provider: React.Provider<{ name: any; icon: any; }>; export { Provider as PluginContextProvider }; /** * A Higher Order Component used to inject Plugin context to the * wrapped component. * * @param mapContextToProps Function called on every context change, expected to return object of * props to merge with the component's own props. * * @return Enhanced component with injected context as props. */ export declare const withPluginContext: (mapContextToProps: any) => (OriginalComponent: any) => any;