import { type RefObject } from 'react'; /** * Keeps a ref up to date with a changing value. * * Normal values are captured in scopes, while refs are not. Therefore a changing value in a callback * requires the use of a ref. * * @param value The value to keep in the ref. * @returns A ref object that is updated with the value. */ export declare function useRefValue(value: T): RefObject;