import { ViewUpdate } from "@codemirror/view";
interface UseJsEditorProps {
    autoFocus?: boolean;
    lineWrapping?: boolean;
    onChange?: (value: string, viewUpdate: ViewUpdate) => void;
    placeholder?: string;
    readonly?: boolean;
    value?: string;
}
export declare function useJsEditor(props: UseJsEditorProps): {
    containerRef: import("react").RefObject<HTMLDivElement>;
};
export {};
