import { MutableRefObject } from "react";
export declare function useChangeHandler({ handleChange, handleCursor, }: {
    handleChange: MutableRefObject<(value: string) => void>;
    handleCursor: MutableRefObject<(from: number, to: number) => void>;
}): {
    changeHandlerExtension: import("@codemirror/state").Extension;
};
//# sourceMappingURL=useChangeHandler.d.ts.map