import { Plugin } from 'vite'; /** * Sets up test config for Vitest * and downlevels any dependencies that use * async/await to support zone.js testing * and tests w/fakeAsync */ export declare function angularVitestPlugin(): Plugin; /** * This eagerly disables esbuild so Vitest * disables it when its internal plugin * is configured. */ export declare function angularVitestEsbuildPlugin(): Plugin; /** * Post-processing pass that converts any `.ts` files Angular's compilation * skipped (e.g. files without Angular decorators when * `useAngularCompilationAPI` is on) into runnable JS via esbuild/OXC. * * Files Angular already compiled have a sourcemap available via * `getInMap` — we skip those here to avoid breaking the chain Vite is * already wiring up. Re-running OXC over already-compiled JS produces a * map relative to the TS-emitted JS, not the original .ts source, and * OXC's `inMap` parameter does not chain through the way esbuild's inline * `//# sourceMappingURL=` auto-detection does. */ export declare function angularVitestSourcemapPlugin(getInMap?: (id: string) => string | undefined): Plugin; export declare function angularVitestPlugins(getInMap?: (id: string) => string | undefined): Plugin[];