/** * What a `?css-sheet` import compiles to under `vite build`. * * The helpers in `css.ts` carry what dev needs (the dev server's raw-css * fetch, a hot-swap callback, `@property` hoisting on every swap), and a * build that called them would ship all of it. An unminified build keeps * this comment, so it names none of those by their identifiers. These build the sheet once. The * plugin passes `hoistPropertyRules` as `hoist` only for a sheet that has a * `@property` rule, so a build without one leaves the hoisting out. * * @module */ type Hoist = (sheet: CSSStyleSheet) => () => void; /** A shared `CSSStyleSheet` holding `css`, inlined into the chunk. */ export declare const inlinedSheet: (css: string, hoist?: Hoist) => CSSStyleSheet; /** * A shared `CSSStyleSheet` filled from the emitted `.css` asset at `url`. * Empty until the fetch resolves. */ export declare const fetchedSheet: (url: string, hoist?: Hoist) => CSSStyleSheet; export {}; //# sourceMappingURL=css-build.d.ts.map