export default function useUnmount(fn: () => any): void;