import { type RefObject } from "react"; import { EditorView } from "@codemirror/view"; export declare function useCodemirrorEvents({ handleFocus, handleBlur, }: { handleFocus: RefObject<((event: FocusEvent, view: EditorView) => void) | undefined>; handleBlur: RefObject<((event: FocusEvent, view: EditorView) => void) | undefined>; }): { domEventsExtension: import("@codemirror/state").Extension; }; //# sourceMappingURL=useCodemirrorEvents.d.ts.map