import type * as HydraDB from "../index.js"; /** * TemporalDuration is the computed event-duration answer, when resolved. */ export interface SearchTemporalDuration { /** * Approximate is set when either endpoint's granularity is coarser than a * day (month/year brackets) — the day count is then a floor-to-floor * estimate, not an exact span; consumers should not present it as exact. */ approximate?: boolean; days?: number; from?: HydraDB.SearchTemporalFact; fromDate?: string; /** * PairingConfidence is the normalized pair-scorer margin (0..1); low values * mean the endpoints were weakly anchored to the question. Durations whose * endpoints share no entity token with the question are suppressed * entirely (P4: a wrong confident day count misleads answerers). */ pairingConfidence?: number; to?: HydraDB.SearchTemporalFact; toDate?: string; }