import '../../../preact/compat/dist/compat.module.mjs';
import { useLayoutEffect as y } from '../../../preact/hooks/dist/hooks.module.mjs';

// packages/react/use-layout-effect/src/use-layout-effect.tsx
var useLayoutEffect2 = globalThis?.document ? y : () => {
};

export { useLayoutEffect2 as useLayoutEffect };
//# sourceMappingURL=index.mjs.map
