import { Plugin } from 'vite'; import { type ComponentRegistry } from './compiler/index.js'; declare global { /** * Shared convention for out-of-tree compilers (e.g. `@tsrx/analog`) that * produce Angular Ivy definitions from a non-TS source format. Populate * this map with directive/component metadata for any class fastCompile * can't reach through its own tsconfig-driven scan, and the per-compile * registry lookup in `fastCompilePlugin` will merge those entries in — * so TS `@Component({ imports: [X] })` references to such classes * resolve statically instead of hitting the `_unresolved-${className}` * sentinel. */ var __ANALOG_EXTERNAL_REGISTRY__: ComponentRegistry | undefined; } export interface FastCompilePluginOptions { tsconfigGetter: () => string; workspaceRoot: string; inlineStylesExtension: string; jit: boolean; liveReload: boolean; supportedBrowsers: string[]; transformFilter?: (code: string, id: string) => boolean; isTest: boolean; isAstroIntegration: boolean; fastCompileMode?: 'full' | 'partial'; } export declare function fastCompilePlugin(pluginOptions: FastCompilePluginOptions): Plugin;