import { ThemeName } from "./extensions/theme";
declare type EditorParams = {
    domElement: Element;
    code: string;
    readonly?: boolean;
    theme?: ThemeName;
    onChange?: (value: string) => void;
};
export declare class Editor {
    private view;
    constructor(params: EditorParams);
    forceUpdate: (code: string) => void;
    destroy: () => void;
}
export {};
