declare function useUnmount(fn: () => void): void; export default useUnmount;