/**
 * Semver version matching for RustSec advisory version constraints
 * Supports: "1.0.0", "^1.0.0", ">=1.0.0", "<2.0.0", etc.
 */
export interface ParsedVersion {
    major: number;
    minor: number;
    patch: number;
    prerelease?: string;
}
/**
 * Parse a version string into components
 */
export declare function parseVersion(version: string): ParsedVersion;
/**
 * Compare two versions
 * Returns: -1 if a < b, 0 if a == b, 1 if a > b
 */
export declare function compareVersions(a: string, b: string): number;
/**
 * Check if a version satisfies a semver specification
 */
export declare function semverSatisfies(version: string, spec: string): boolean;
/**
 * Check if a version is in a vulnerable range based on patched/unaffected specs
 */
export declare function isVersionVulnerable(version: string, patched?: string[], unaffected?: string[]): boolean;
//# sourceMappingURL=semver.d.ts.map