import { EditorView } from '@codemirror/view'; import { type MutableRefObject } from 'react'; /** * Configures the spellcheck functionality on the editor. * @param spellCheck - flag pointing to whether spellcheck is enabled or not * @param readOnly - flag pointing to whether the editor is in readonly mode or not * @param viewRef - Ref object for the editor */ export declare const configureSpellCheck: (spellCheck: boolean, readOnly: boolean, viewRef: MutableRefObject) => void;