import { type RefObject } from "react";
import { type EditorView } from "@codemirror/view";
export declare function useCodemirrorKeymap({ handleKeyDown }: {
    handleKeyDown: RefObject<((event: KeyboardEvent, view: EditorView) => boolean) | undefined>;
}): {
    keymapExtension: import("@codemirror/state").Extension;
};
//# sourceMappingURL=useCodemirrorKeymap.d.ts.map