@meonode/ui
Version:
A structured approach to component composition, direct CSS-first prop styling, built-in theming, smart prop handling (including raw property pass-through), and dynamic children.
16 lines • 686 B
TypeScript
import type { CssProp } from '../types/node.type.js';
export declare function getServerEmotionCache(): import("@emotion/utils").EmotionCache;
/**
* Compiles an Emotion-compatible css object to a stable className in server paths
* without relying on @emotion/react runtime APIs.
*/
export declare function compileServerEmotionClassName(css: CssProp): string | undefined;
/**
* Consumes pending server-compiled Emotion rules for injection into SSR output.
* Rules are drained so each request only emits newly added styles once.
*/
export declare function consumeServerEmotionRules(): Array<{
id: string;
cssText: string;
}>;
//# sourceMappingURL=server-emotion.util.d.ts.map