/** * Minimal zero-dependency semver parser + range satisfier. * Supports: exact ("1.2.3"), caret ("^1.2.3"), tilde ("~1.2.3"), * comparison operators (">=1.2.3", ">1.2.3", "<=1.2.3", "<1.2.3", "=1.2.3"), * and wildcard ("*", "x", ""). * * Deliberately NOT a full semver spec implementation (no build metadata, * simplified prerelease handling) — sufficient for plugin dependency * declarations of the form used by @lombok-* packages. */ export interface ParsedVersion { major: number; minor: number; patch: number; prerelease: string | null; } export declare function parseVersion(v: string): ParsedVersion; /** Returns -1 if ab. Numeric segment comparison * (never string/lexicographic) so 2.9.0 correctly sorts before 2.10.0. */ export declare function compareVersions(a: string, b: string): -1 | 0 | 1; /** Checks whether `version` satisfies `range`. Range may be a single * clause ("^1.0.0") or a space-separated conjunction (">=1.0.0 <2.0.0"). */ export declare function satisfies(version: string, range: string): boolean;