/** * Backing detector — classifies each red line as `cli-backed`, `partial`, * or `prose-only`. The classifier already sets the backing for catalog hits * (cli-backed when an enforcer file path is present). This module exists to * handle the post-classification nuance: heuristics for the "partial" tier * (a gate exists but the LLM can bypass it) and verification that the * enforcer file actually exists on disk. */ import type { RedLineEntry } from './types.js'; export interface BackingResult { readonly entry: RedLineEntry; readonly enforcerExists: boolean; } /** * Re-classify a single RedLineEntry. Returns a new entry with the * `backing` field updated and `enforcerRef` possibly nulled if the * referenced file does not exist on disk. */ export declare function classifyBacking(entry: RedLineEntry, projectRoot: string): BackingResult; export interface BackingBatchResult { readonly entries: readonly RedLineEntry[]; readonly warnings: readonly string[]; } export declare function classifyBackingBatch(entries: readonly RedLineEntry[], projectRoot: string): BackingBatchResult;