declare const usePrevious: (state: T) => T | null | undefined; export default usePrevious;