declare function useUnmount(fn: (...args: any[]) => any): void; export default useUnmount;