import { EditorProps } from '@monaco-editor/react';
import * as monaco from 'monaco-editor/esm/vs/editor/editor.api';
import { CSSProperties } from 'react';
export declare type EditorOptions = Parameters<monaco.editor.IStandaloneCodeEditor['updateOptions']>[0];
export declare function CodeEditor({ readOnly, lineNumbers, style, ...props }: EditorProps & {
    readOnly?: boolean;
    style?: CSSProperties;
    lineNumbers?: EditorOptions['lineNumbers'];
}): JSX.Element;
