import { ThemeName } from "../editor";
declare type EditorProps = {
    /** (Controlled) Value of the editor */
    value: string;
    /** Controls if the editor is readonly */
    readonly?: boolean;
    /** Theme for the editor */
    theme?: ThemeName;
    /** 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, theme, onChange, onExecuteQuery, }: EditorProps): JSX.Element;
export {};
