/** * Tracks the previous value of a given input. * * @param {T} value The current value to track. * @returns {T} The previous value of the input, or `value` if it's the first render. */ export declare const usePrevious: (value: T) => T;