import type { PluginRegistration, ParsedSemver } from '../../types/index.js';
/**
 * Parses a semver string like "1.2.3" into numeric components.
 * Returns null if invalid.
 */
export declare function parseSemver(version: string): ParsedSemver | null;
/**
 * Evaluates a single semver condition like ">=1.2.0", "^1.2.0", "~1.2.0", "<2.0.0".
 */
export declare function evaluateCondition(condition: string, current: ParsedSemver): boolean;
/**
 * Checks if a version satisfies a semver range string.
 * Supports: ^, ~, >=, >, <=, <, exact match, space-separated AND, || for OR.
 */
export declare function satisfiesRange(version: string, range: string): boolean;
/**
 * Checks if a plugin is compatible with the given Planu version.
 */
export declare function isPluginCompatible(planuVersionRange: string, currentVersion: string): boolean;
/**
 * Filters plugin registrations to only those compatible with the given version.
 */
export declare function getCompatiblePlugins(plugins: readonly PluginRegistration[], currentVersion: string): PluginRegistration[];
//# sourceMappingURL=compatibility.d.ts.map