import { useEffect } from 'react'; /** * `useLayoutEffect` on the client, `useEffect` during SSR. Use when you * need a layout effect (e.g. measuring DOM, syncing a ref) without * triggering React's "useLayoutEffect does nothing on the server" * warning when the same component renders under SSR. * * The check is `typeof window` rather than `typeof document` so the * shim is correct in any non-browser runtime (Node, Deno, edge * runtimes, workers). */ export declare const useIsomorphicLayoutEffect: typeof useEffect; //# sourceMappingURL=use-isomorphic-layout-effect.d.ts.map