import { FileMap } from "../typescript";
import { ThemeName } from "./extensions/theme";
declare type EditorParams = {
    domElement: Element;
    code: string;
    readonly?: boolean;
    types?: FileMap;
    theme?: ThemeName;
    onChange?: (value: string) => void;
    onExecuteQuery?: (query: string) => void;
};
export declare class Editor {
    private ts;
    private view;
    constructor(params: EditorParams);
    private getCompletionSource;
    private getLintDiagnostics;
    private getHoverTooltipSource;
    injectTypes: (types: FileMap) => void;
    forceUpdate: (code: string) => void;
    destroy: () => void;
}
export {};
