import { CompilerContext } from '../context/index.ts'; import { Plugin } from 'vite'; /** * Update src/runtime.ts in the component package based on the options specified * in the Lumina config. This is done so that all configuration is isolated to * the single vite.config.ts file, rather than spread over several files. */ export declare const injectRuntimeOptions: (context: CompilerContext) => Plugin; /** * Add to chunks/runtime.js import statement for the global CSS file. * This way CSS is injected automatically, simplifying get started instructions. * We also inject CSS imports for Lumina dependencies this package uses - this * is needed to ensure CSS is loaded in correct order - this does not cause * duplicate CSS bundling. * * Research notes: https://devtopia.esri.com/WebGIS/arcgis-web-components/discussions/1824#discussioncomment-12625 */ export declare function getGlobalCssImport(context: CompilerContext): string;