/// <reference types="react" />
import { EditorProps, Monaco } from '@monaco-editor/react';
type EditorType = EditorProps;
export type MonacoEditorInstance = Parameters<Required<EditorType>['onMount']>[0];
export type MonacoEditorProps = {
    beforeMount?: (monaco: Monaco) => void;
    onDidMount?: (editor: MonacoEditorInstance) => void;
    options?: EditorType['options'];
    onChange?: EditorType['onChange'];
    initialValue?: string;
    language?: 'json' | 'javascript' | 'typescript';
};
export declare const MonacoEditor: (props: MonacoEditorProps) => JSX.Element;
export {};
