declare function useUnmount(func: Function): void; export default useUnmount;