import type { components } from "./types.gen"; import { BUILT_AGAINST } from "./version"; export type AuditScanResult = components["schemas"]["AuditScanResult"]; export type AuditScoreResult = components["schemas"]["AuditScoreResult"]; export type AuditCheck = components["schemas"]["AuditCheck"]; export type AuditLayer = components["schemas"]["AuditLayer"]; export type AuditTopFix = AuditScanResult["topFixes"][number]; export type JourneyRun = components["schemas"]["JourneyRun"]; export type JourneyCappedRun = components["schemas"]["JourneyCappedRun"]; export type JourneyRunDetail = components["schemas"]["JourneyRunDetail"]; export type JourneyRunResult = components["schemas"]["JourneyRunResult"]; export type JourneyTrajectoryStep = components["schemas"]["JourneyTrajectoryStep"]; export { BUILT_AGAINST }; /** * True when the server reports a newer contract (major or minor) than the one * this build was generated against. Patch drift is spec-prose only - silent. */ export declare function isNewerContract(payloadVersion: string | undefined): boolean; /** One stderr line per process when the server's contract is newer than ours. */ export declare function warnOnNewerContract(payloadVersion: string | undefined): void; /** Test hook: reset the once-per-process warning latch. */ export declare function resetContractWarning(): void;