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