import { EditorState } from "@codemirror/state";
import { EditorView } from "@codemirror/view";
import { ThemeName } from "../extensions/appearance";
import { BaseEditor } from "./base-editor";
declare type PrismaSchemaEditorParams = {
    domElement: Element;
    code?: string;
    readonly?: boolean;
    theme?: ThemeName;
    onChange?: (value: string) => void;
};
export declare class PrismaSchemaEditor extends BaseEditor {
    protected view: EditorView;
    /**
     * Returns a state-only version of the editor, without mounting the actual view anywhere. Useful for testing.
     */
    static state(params: PrismaSchemaEditorParams): EditorState;
    constructor(params: PrismaSchemaEditorParams);
}
export {};
