import { EditorView } from "@codemirror/view";
import { RefObject } from "react";
export declare function useEvent(editorViewRef: RefObject<EditorView | null>): {
    blur: () => void;
    blurOnClickOutside: (event: MouseEvent) => void;
};
