import type { ConsistencyIssue, NumericVerification, TemporalResolution } from "./types.js"; /** * Final consistency gate. Detects when prose conclusions contradict the * report's own structured facts. * * Checks: * - ranked recommendations against computed metrics * - "best/current/meta" claims against newer equipment in the same run * - conclusions based on historical values when current values are available * - claims of superiority that depend on unmodeled mechanics */ export interface RankedOption { id: string; label: string; computedMetric: number | undefined; } export interface ConsistencyGateInput { rankedRecommendations?: RankedOption[]; computedMetrics?: RankedOption[]; temporalResolutions?: TemporalResolution[]; numericVerifications?: NumericVerification[]; currentValues?: string[]; } export declare class ConsistencyGate { /** * Raise an issue when a recommendation rank disagrees with the ordering of * the report's own computed metrics. */ checkRecommendationOrdering(input: ConsistencyGateInput): ConsistencyIssue[]; /** * Raise an issue when a temporal resolution leaves a contradiction but the * synthesis still asserts a definite current value. */ checkUnresolvedTemporal(input: ConsistencyGateInput): ConsistencyIssue[]; /** * Raise an issue when a "best/meta" recommendation is based on a historical * value while a current value exists. */ checkHistoricalRecommendation(input: ConsistencyGateInput): ConsistencyIssue[]; run(input: ConsistencyGateInput): ConsistencyIssue[]; } //# sourceMappingURL=consistency.d.ts.map