/// import CodeMirror, { ScrollInfo, EditorConfiguration, Editor, EditorChange } from 'codemirror'; export declare type CodemirrorProps = { autoFocus?: boolean; className?: string; codeMirrorInstance?: typeof CodeMirror; name?: string; onChange?: (value: string, options: EditorChange) => void; onCursorActivity?: (editor: Editor) => void; onFocusChange?: (focused: boolean, instance: Editor, event: FocusEvent) => void; onScroll?: (scrollInfo: ScrollInfo) => void; options?: EditorConfiguration; value?: string; preserveScrollPosition?: boolean; }; export declare const Codemirror: (props: CodemirrorProps) => JSX.Element;