/** * Hook that stores the previous value of a state * Useful for comparing current and previous values * * @param value - The current value to track * @returns The previous value */ declare function usePrevious(value: T): T | undefined; export { usePrevious };