import * as React from 'react'; import { EditorContext } from './Types'; /** * HOC Typescript implementation copied from: * https://stackoverflow.com/questions/50612299/react-typescript-consuming-context-via-hoc * */ /** * Injects a React component with the editor's context as a prop called editorContext * @param Component a React component */ export declare function withEditorContext

(Component: React.ComponentType

): (props: Pick>) => JSX.Element;