/** * Version comparison for the harness-update pipeline: compare a descriptor's * `verifiedAgainst` against the latest published version to decide whether * the descriptor's facts are stale. Pure and dotted-numeric: prerelease and * build suffixes are split on and compared numerically where present, else * ignored - the signal is "a newer version shipped", not full semver * precedence. */ export type VersionStatus = "ok" | "behind" | "ahead" | "unknown" | "drift"; /** -1 if a < b, 0 if equal, 1 if a > b, comparing dotted-numeric parts with * missing trailing parts treated as 0. */ export declare const compareVersions: (a: string, b: string) => -1 | 0 | 1; /** Where `verified` stands relative to `latest`. `unknown` when either is * absent or has no numeric parts (so a wrong descriptor never reads as ok). */ export declare const versionStatus: (verified: string, latest: string | null) => VersionStatus; //# sourceMappingURL=versions.d.ts.map