import { Theme } from "@monaco-editor/react";
import { IPosition, editor } from "monaco-editor";
import "./style.css";
import "../../i18n";
interface IProps {
    height?: string | number;
    width?: string | number;
    theme?: Theme;
    readOnly?: boolean;
    options?: editor.IStandaloneEditorConstructionOptions;
    hasDiff?: boolean;
    defaultValue?: string;
    language?: string;
    onEditorDidMount?: () => void;
    onCursorPositionChange?: (position: IPosition) => void;
    onChange?: (value: string) => void;
    onActionTrigger?: (actionId: string) => void;
    onLinkOpen?: (source: string, index?: number, version?: number) => void;
    onVersionChange?: (version: number) => void;
}
export interface IRefs {
    setOriginalScript: (val: string) => void;
    gotoLine: () => void;
    setScript: (code: string) => void;
    getEditorLayout: () => undefined | {
        contentHeight: number;
        lineCount: number | undefined;
    };
    setPosition: (column: number, lineNumber: number) => void;
    setModelMarkers: (markers: editor.IMarkerData[]) => void;
    focus: () => void;
}
declare const _default: import("react").ForwardRefExoticComponent<IProps & import("react").RefAttributes<IRefs>>;
export default _default;
