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