/** * Heuristic hallucination / grounding check — compares answer tokens to context. * For production, combine with LLM-as-judge or @hazeljs/eval. */ export interface HallucinationCheckResult { grounded: boolean; overlapRatio: number; suspiciousPhrases: string[]; } /** * Returns true when answer appears supported by context (token overlap + hedge detection). */ export declare function checkHallucinationHeuristic(answer: string, context: string): HallucinationCheckResult; //# sourceMappingURL=hallucination.check.d.ts.map