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