import { EditorState } from "prosemirror-state";
import { EditorView } from "prosemirror-view";
interface UseProseMirrorProps {
    initialContent?: string | any;
    editable?: boolean;
    handleImageUpload?: (file: File) => Promise<string>;
}
export declare function useProseMirror({ initialContent, editable, handleImageUpload }: UseProseMirrorProps): {
    state: EditorState;
    view: EditorView | null;
    editorRef: import("react").RefObject<HTMLDivElement | null>;
};
export {};
