import type { EditorView } from 'prosemirror-view';
export interface UseNodeEditingArgs {
    nodeRef: React.RefObject<HTMLElement>;
    view: EditorView;
}
export declare const useNodeEditing: ({ nodeRef, view }: UseNodeEditingArgs) => [boolean, () => void, () => void, () => void];
