import type { EffectCallback, DependencyList } from 'react'; /** * Accepts a function that contains imperative, possibly effectful code. * A custom useEffect hook that only triggers on updates, not on initial mount. * * @link https://stackoverflow.com/a/55075818/1526448 * @param effect Imperative function that can return a cleanup function. * @param deps If present, effect will only activate if the values in the list change. */ export declare function useUpdateLayoutEffect(effect: EffectCallback, deps?: DependencyList): void;