import { Plugin } from 'vite';
import { CompilerContext } from '../context/index.ts';
/**
* CSS extension list taken from https://github.com/vitejs/vite/blob/a8c7083a3d7d7fe2e83e994ff008f39ee4f298f8/packages/vite/src/node/constants.ts#L50
*/
export declare const cssLangsRe: RegExp;
/**
* A flag added by Lumina at compile time to named CSS imports to turn
* them into Lit css`` tagged template literals (using `styles` named import).
*
* We do not automatically process every CSS file to allow for both:
* - keeping side-effect CSS imports inside external library code as is
* - tricky to do using resolveId() because ESBuild is used for some files in
* dev server.
* - explicitly importing external library's CSS as Lit css into shadow root
* - example: monaco or ckeditor styles, but attached into shadow root, rather
* than global
*/
export declare const litCssFlag = "?litCss";
/**
* The `.adoptedStyleSheets` API is very convenient, but it has one issue: it
* has higher precedence order than the `` or `