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