/** * Hook that stores a value and pass it back to the component on each render. Useful for * example to store a prop and compare it to the newest value. */ export declare const usePrevious: (value: T) => T | undefined;