/** * Hook that returns the previous value of a state or prop. * * @template T - Type of the value to track. * @param {T} value - Current value to track. * @param {T} [initValue=value] - Initial value for the reference. * @returns {T} Previous value of the input `value`. */ export declare const usePrevious: (value: T, initValue?: T) => Partial; export default usePrevious;