/** Shared conclusion decorator for cited-file working-tree freshness. */ import type { CachedContext } from './utils.js'; import { type StaleServingDisclosure } from './freshness.js'; export interface IndexStaleness extends StaleServingDisclosure { /** The structured response cited more files than the bounded collector could inspect. */ uncheckedCitations?: true; } /** * Check the source files actually cited by a completed conclusion payload. * Detection never blocks serving and repair wording is authorized only by an * exact-root host callback (watch-auto/serve), never inferred from process type. */ export declare function computeIndexStaleness(root: string, result: unknown, context?: Pick | null, citedFiles?: readonly string[]): Promise; /** Attach the additive machine-readable boundary without changing existing fields. */ export declare function withIndexStaleness(root: string, result: T, context?: Pick | null, citedFiles?: readonly string[]): Promise; //# sourceMappingURL=index-staleness.d.ts.map