import { useEffect } from 'react';
/**
 * A custom hook that uses `useLayoutEffect` if the `window` object is defined (i.e., in a browser environment),
 * otherwise it falls back to `useEffect` (i.e., in a server-side rendering environment).
 *
 * This is useful for avoiding warnings about `useLayoutEffect` when rendering on the server.
 *
 * @example
 * ```tsx
 * import { useIsomorphicLayoutEffect } from './use-isomorphic-layout-effect';
 *
 * const MyComponent = () => {
 *   useIsomorphicLayoutEffect(() => {
 *     // Your effect logic here
 *   }, []);
 *
 *   return <div>My Component</div>;
 * };
 * ```
 */
export declare const useIsomorphicLayoutEffect: typeof useEffect;
//# sourceMappingURL=use-isomorphic-layout-effect.d.ts.map