import { default as React } from 'react';
import { SxProps, Theme } from '@mui/material/styles';
export interface CodeEditorProps {
    value: string;
    onChange?: (value: string) => void;
    language?: string;
    readOnly?: boolean;
    minimap?: boolean;
    lineNumbers?: boolean;
    wordWrap?: boolean;
    maxHeight?: number | string;
    theme?: string;
    onSave?: (value: string) => void;
    /** Custom loading indicator shown while the editor initializes. */
    loading?: React.ReactNode;
    sx?: SxProps<Theme>;
}
declare function CodeEditor({ value, onChange, language, readOnly, minimap, lineNumbers, wordWrap, maxHeight, theme, onSave, loading, sx, }: CodeEditorProps): import("react/jsx-runtime").JSX.Element;
declare namespace CodeEditor {
    var displayName: string;
}
export default CodeEditor;
