/** * Hook to run a function when the component unmounts. * * @param fn The function to run when the component unmounts. */ export declare const useUnmount: (fn: any) => void;