import { MutableRefObject, RefObject } from "react";
type CursorTarget = {
    inputRef: RefObject<HTMLInputElement | null>;
    cursorRef: MutableRefObject<number | null>;
};
/** Restores cursor selection range on the active input after each render, then clears the stored position. */
export declare function useCursorRestore(targets: CursorTarget[]): void;
export {};
