/** Build vendor bundles for every @angular/* package the project imports. * `linkerJitMode` controls whether NgModule definitions retain their * declarations/exports — required when consumer (user) components are * runtime-compiled by `@angular/compiler` (dev/HMR via compileAngularFileJIT). * Production AOT builds set this to false to match AOT'd user components. * * `depVendorSpecifiers` are non-framework packages that are also vendored * separately (by `buildDepVendor`). They MUST be externalized here too — * otherwise transitive imports like `@angular/fire/compat/auth` → * `firebase/compat/auth` get bundled twice, creating duplicate * @firebase/app-compat instances. The angular-vendor copy registers * `firebase.auth.*` on its own firebase singleton, leaving the user's * `import firebase from 'firebase/compat/app'` with `firebase.auth` undefined. * Externalizing forces both pipelines to share the same /vendor chunks. */ export declare const buildAngularVendor: (buildDir: string, directories?: string[], linkerJitMode?: boolean, depVendorSpecifiers?: string[]) => Promise; export declare const computeAngularVendorPaths: (specifiers?: string[]) => Record; /** Async variant that scans source + transitive deps before producing the * vendor path map. Use this when the page-bundle build needs the full set of * angular specs in its rewrite map (otherwise transitively-discovered subpaths * like `@angular/core/rxjs-interop` end up as bare specifiers in the output). */ export declare const computeAngularVendorPathsAsync: (directories?: string[], linkerJitMode?: boolean) => Promise>; /** Server-side counterpart to `buildAngularVendor`. Outputs fully-linked * Bun-target ESM bundles for every @angular/* package the project uses, * *plus* `@angular/platform-server` and `@angular/ssr` (excluded from the * browser vendor). The server bundle and `getAngularDeps()` import from * these paths so SSR shares one Angular runtime instance with the page * bundles — eliminates the dual-package hazard that produces NG0201. * * After this build, `@angular/compiler` is no longer required at runtime * for AOT-mode builds: every partial `ɵɵngDeclare*` has been linked into * final ɵdir/ɵcmp/ɵfac definitions in the vendor output. */ export declare const buildAngularServerVendor: (buildDir: string, directories?: string[], linkerJitMode?: boolean) => Promise; /** Absolute filesystem paths to server vendor files, for `rewriteImports` * on server-side bundles and for runtime resolution in `getAngularDeps`. */ export declare const computeAngularServerVendorPaths: (buildDir: string, specifiers: string[]) => Record; /** Async server-vendor path map: scans source + transitive deps, then * produces absolute filesystem paths for every @angular/* spec the project * uses (plus the always-vendored server-only specs). Mirrors * `computeAngularVendorPathsAsync` but for server-side rewriting. */ export declare const computeAngularServerVendorPathsAsync: (buildDir: string, directories?: string[], linkerJitMode?: boolean) => Promise>;