import { useLayoutEffect } from 'react'; /** * If rendering on client side, use the useLayoutEffect hook. If SSR, use useEffect to avoid a big warning. */ declare const useIsomorphicLayoutEffect: typeof useLayoutEffect; export default useIsomorphicLayoutEffect;