import { ThemeName } from "../editor";
import { FileMap } from "../typescript";
declare type EditorProps = {
    /** (Controlled) Value of the editor */
    value: string;
    /** Controls if the editor is readonly */
    readonly?: boolean;
    /** Theme for the editor */
    theme?: ThemeName;
    /** Additional Typescript types to load into the editor */
    types?: FileMap;
    /** Callback called when the value of the editor changes (debounced) */
    onChange?: (value: string) => void;
    /** Callback called when the user requests a query to be run */
    onExecuteQuery?: (query: string) => void;
};
export declare function Editor({ value, readonly, types, theme, onChange, onExecuteQuery, }: EditorProps): JSX.Element;
export {};
