export type NgBuildEnvVariable = 'NG_BUILD_PARALLEL_TS' | 'NG_BUILD_OPTIMIZE_CHUNKS'; export interface ReplayMessage { level: 'info' | 'warn'; message: string; } type EnvLike = Record; type CacheLike = Record; /** * Re-applies the `NG_BUILD_*` variables the caller just disabled onto an * `@angular/build` that was already loaded — see the README FAQ and #107 / #114. * Nx requires `@angular/build/private` before resolving the builder, and * `environment-options.js` snapshots the variables on first load, so the caller's * writes land too late. Mutating the cached exports works because both consumers * re-read the property per call; evicting the module does not, as they keep a * reference to the stale namespace. * * Must run before this package imports `@angular/build`, or it detects our own * load. No match means "not loaded yet" *or* "cannot see it" (ESM), not "healthy". */ export declare function replayNgBuildEnv(variables: readonly NgBuildEnvVariable[], cache?: CacheLike, env?: EnvLike): ReplayMessage[]; export {}; //# sourceMappingURL=ng-build-env-snapshot.d.ts.map