import { EditorState, Plugin } from "prosemirror-state";
import { EditorView } from "prosemirror-view";
export interface UseProseMirrorOptions {
    content?: any;
    plugins?: Plugin[];
    editable?: boolean;
    onMarkdownContentChange?: (content: string) => void;
    onJsonContentChange?: (content: any | null) => void;
    onHtmlContentChange?: (content: string) => void;
    version?: number;
}
export declare function useProseMirror(options: UseProseMirrorOptions): {
    mountRef: import("react").RefObject<HTMLDivElement | null>;
    view: EditorView | null;
    editorState: EditorState | null;
};
