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