import React from "react";
import { EditorState } from "prosemirror-state";
import { EditorView } from "prosemirror-view";
export interface ProseMirrorContextType {
    state: EditorState | null;
    view: EditorView | null;
}
export declare const ProseMirrorContext: React.Context<ProseMirrorContextType>;
export declare const useProseMirrorContext: () => ProseMirrorContextType;
