/** * This hook can be used to get the previous value of a prop or a state. * * @see {@link https://reactjs.org/docs/hooks-faq.html#how-to-get-the-previous-props-or-state} * @param value Value to be returned next time when the prop changes. */ declare function usePrevious(value: any): any; export default usePrevious;