import { MutableRefObject } from "react";
import { EditorView } from "@codemirror/view";
export declare function useCodemirrorEditable(viewRef: MutableRefObject<EditorView>, disabled?: boolean): {
    editableCompartmentExtension: import("@codemirror/state").Extension;
};
//# sourceMappingURL=useCodemirrorEditable.d.ts.map