/** * Work as `componentDidUpdate` */ export default function useUpdateEffect(callback: () => void | (() => void), condition: any[]): void;