/**
 * Version Discovery Utility
 * Discovers actual versions of dependencies from multiple sources:
 * - Node.js: package.json
 * - Python: requirements.txt, pyproject.toml, Pipfile
 * - Go: go.mod
 * - Rust: Cargo.toml
 * - PHP: composer.json
 * Enables version-aware documentation generation
 */
export interface VersionMap {
    dependencies: Record<string, string>;
    devDependencies: Record<string, string>;
}
export type DependencySource = 'package.json' | 'requirements.txt' | 'pyproject.toml' | 'Pipfile' | 'go.mod' | 'Cargo.toml' | 'composer.json';
export interface ComponentVersions {
    frontend?: VersionMap;
    backend?: VersionMap;
    [componentName: string]: VersionMap | undefined;
}
/**
 * Discover versions from all dependency files in the output directory
 * Supports multiple languages and package managers
 */
export declare function discoverVersions(outputDirectory: string): Promise<ComponentVersions>;
/**
 * Get version of a specific package from discovered versions
 */
export declare function getPackageVersion(versions: ComponentVersions, packageName: string, component?: string): string | undefined;
/**
 * Clean version string (remove ^ ~ >= etc.)
 */
export declare function cleanVersion(version: string): string;
/**
 * Get major version number
 */
export declare function getMajorVersion(version: string): number | undefined;
/**
 * Get semantic version parts
 */
export declare function parseVersion(version: string): {
    major: number;
    minor: number;
    patch: number;
} | undefined;
/**
 * Check if a version satisfies a requirement
 */
export declare function satisfiesVersion(actual: string, required: string): boolean;
/**
 * Discover technology versions based on common package patterns
 * Supports multiple languages and frameworks
 */
export declare function discoverTechnologyVersions(outputDirectory: string): Promise<{
    react?: string;
    vue?: string;
    angular?: string;
    svelte?: string;
    express?: string;
    fastify?: string;
    nestjs?: string;
    flask?: string;
    django?: string;
    fastapi?: string;
    gin?: string;
    actix?: string;
    prisma?: string;
    typeorm?: string;
    drizzle?: string;
    sqlalchemy?: string;
    clerk?: string;
    auth0?: string;
    typescript?: string;
    python?: string;
    go?: string;
    rust?: string;
    [key: string]: string | undefined;
}>;
//# sourceMappingURL=version-discovery.d.ts.map