/** * Pins the dependencies whose releases are tied to an Angular major. * * Zard supports Angular 19 and above, but several of the packages it installs * ship one release per Angular major and peer on `>=` that major. Asking for * them by name resolves to `latest`, which peers on an Angular newer than the * project's: npm then fails the whole install with ERESOLVE, and the retry with * `--legacy-peer-deps` "succeeds" while leaving a version that cannot compile. */ /** The major of an Angular version string, or null when it could not be read. */ export declare function angularMajorOf(angularVersion: string | null | undefined): number | null; /** * The install specifier for one package. * * Returns the name unchanged whenever nothing is known to constrain it — an * unrecognized package, or an Angular major this package has no history for. */ export declare function pinForAngular(packageName: string, angularMajor: number | null): string; /** `pinForAngular` over a batch, keeping the order the caller passed. */ export declare function pinAllForAngular(packageNames: Iterable, angularVersion: string | null): string[]; //# sourceMappingURL=angular-compat.d.ts.map