/** * ZwheUI Server-Side Rendering (SSR) Utilities. * * These utilities are for use in server environments like Next.js to ensure * that styles are correctly rendered on the server and sent to the client, * preventing a "flash of unstyled content" (FOUC). */ import { getSsrStyles, clearSsrStyles } from '../css/createClassFlow'; /** * Retrieves all unique CSS rules generated during a server-side render pass. * * In a Next.js Pages Router application, you would use this inside `pages/_document.js` * within `getInitialProps` to collect the styles after the page has been rendered. * * @returns {string} A string containing all the CSS rules to be injected into a `