import * as babel from '@babel/core'; import type { PluginOption } from 'vite'; export interface LitJsxPluginOptions { /** * Enable legacy decorators support * @default false */ legacyDecorators?: boolean; /** * Enables support for experimental compiled templates * @default true */ useCompiledTemplates?: boolean; /** * Opts into the automatic discovery is custom elements instead of using the static attribute * @default false */ useImportDiscovery?: boolean; /** * Enable TypeScript type inference for automatic static/dynamic element detection * @default false */ useTypeInference?: boolean; /** * Enable debug mode for additional logging * @default false */ debug?: boolean; /** Options for the Babel transform */ babel?: babel.TransformOptions | ((code: string, id: string) => babel.TransformOptions | Promise); } /** * Vite plugin for jsx-lit with preserve-JSX compilation. * * This plugin uses Babel to transform JSX directly into Lit templates at build time, * providing optimal performance by eliminating runtime JSX processing entirely. */ export declare const litJsx: (options?: LitJsxPluginOptions) => PluginOption; //# sourceMappingURL=vite-plugin.d.ts.map