import type { PackageMajorMap } from '../../types/index.js';
export type { PackageMajorMap };
/** Extract major version from a semver-like string (e.g. "^18.2.0" → 18). */
export declare function extractMajor(versionStr: string): number | null;
/** Read package.json and return name→installedMajor for all dependencies. */
export declare function readNpmManifest(projectPath: string): Promise<PackageMajorMap>;
/** Read Cargo.toml and return name→installedMajor. */
export declare function readCargoManifest(projectPath: string): Promise<PackageMajorMap>;
/** Read go.mod and return module→installedMajor (only v2+ explicit majors). */
export declare function readGoManifest(projectPath: string): Promise<PackageMajorMap>;
/** Read pyproject.toml or requirements.txt and return package→installedMajor. */
export declare function readPypiManifest(projectPath: string): Promise<PackageMajorMap>;
/** Read pom.xml / build.gradle and return artifactId→installedMajor. */
export declare function readMavenManifest(projectPath: string): Promise<PackageMajorMap>;
/** Read composer.json and return package→installedMajor. */
export declare function readComposerManifest(projectPath: string): Promise<PackageMajorMap>;
//# sourceMappingURL=manifest-readers.d.ts.map