import { SdmxResult } from "../../model";
import { CursorPosition, CustomTools, Error, Options, Variables } from "../../model";
import "./editor.css";
declare type EditorProps = {
    script: string;
    setScript: (value: string) => void;
    customFetcher?: (url: string) => Promise<any>;
    sdmxResult?: SdmxResult;
    sdmxResultURL?: string;
    readOnly?: boolean;
    variables: Variables;
    variableURLs: string[];
    tools: CustomTools;
    options: Options;
    onCursorChange: (position: CursorPosition) => void;
    onListErrors?: (errors: Error[]) => void;
    movedCursor?: CursorPosition;
    resizeLayout?: any;
};
declare const Editor: ({ script, setScript, customFetcher, sdmxResult, sdmxResultURL, variables, variableURLs, tools, options, onCursorChange, onListErrors, movedCursor, readOnly, resizeLayout, }: EditorProps) => JSX.Element | null;
export default Editor;
