import * as esbuild from "esbuild"; import { JavaScriptTransformer } from "@angular/build/private"; import type { NormalizedContextOptions } from "./normalize-context-options.js"; /** * Excludes @angular/core and @angular/compiler which define the declarations * and would cause false positives. */ export declare function requiresLinking(filePath: string, source: string): boolean; /** * Creates an esbuild plugin that applies the Angular linker to partially compiled * Angular libraries like a design system. * * Uses Angular's JavaScriptTransformer which handles linking internally. */ export declare function createAngularLinkerPlugin(jsTransformer: JavaScriptTransformer, advancedOptimizations: boolean): esbuild.Plugin; export declare function createNodeModulesEsbuildContext(options: NormalizedContextOptions): Promise<{ ctx: esbuild.BuildContext; pluginDisposed: Promise; }>; //# sourceMappingURL=node-modules-bundler.d.ts.map