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