export default function useUnMount(fn: () => void): void;