type UsePrevious = (value: T) => T | undefined; export { UsePrevious };