declare const useWillUnmount: () => { willUnmount: (fn: () => void) => void; }; export default useWillUnmount;