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