import { Compartment } from '@codemirror/state'; import { EditorView } from '@codemirror/view'; import { type MutableRefObject } from 'react'; /** * Configures the format keymap functionality on the editor. * @param handleFormat - format function * @param viewRef - Ref object for the editor * @param formatKeymapCompartment - CodeMirror Compartment that holds the keymap extension, allowing it * to be swapped in at runtime once a format function is available (initialized empty, then * reconfigured here via dispatch). */ export declare const configureFormatKeymap: (handleFormat: () => void, viewRef: MutableRefObject, formatKeymapCompartment: Compartment) => void;