/** * Hook that executes a callback when the component unmounts. * * @param callback Function to be called on component unmount */ export declare const useUnmount: (callback: (...args: Array) => any) => void; export default useUnmount;