/**
 * Shared CLI/API semver compatibility: major mismatch or >2 minor drift is incompatible;
 * 1–2 minor drift is compatible with warning; patch ignored.
 */
export type SemverTriplet = [number, number, number];
/** Parse leading X.Y.Z from a version string; null if not semver-like. */
export declare function parseSemverTriplet(v: string): SemverTriplet | null;
export interface CompareVersionsResult {
    compatible: boolean;
    /** Human-readable warning when compatible but drifted, or when version unknown. */
    warning?: string;
}
/**
 * Compare two Neotoma-style semver strings (e.g. CLI vs API from /health).
 * Rules mirror `neotoma compat`: major mismatch or |minor| > 2 ⇒ incompatible;
 * 1–2 minor drift ⇒ compatible + warning; unknown remote version ⇒ compatible + warning.
 */
export declare function compareCliApiCompat(localVersion: string, remoteVersion: string): CompareVersionsResult;
//# sourceMappingURL=semver_compat.d.ts.map