/** * Trigger only when component unmount */ export default function useUnmount(callback: VoidFunction): void;