import { type StaleClaimsForPage } from "../core/drift-detection.js"; import type { RuntimeGraph } from "../core/graph-runtime.js"; import { type EvidenceIrStore } from "../core/ingestion/evidence-store.js"; import type { KnowledgeGap } from "./context-manifest.js"; export interface CodeImpactRef { uri: string; path: string; symbol: string; } export interface CodeImpactRoot extends CodeImpactRef { origin: "changed_path" | "task_path" | "claim"; claimId?: string; pagePath?: string; } export interface CodeImpactRelation extends CodeImpactRef { rootUri: string; relation: "call" | "reference" | "import"; } export interface CodeImpactWikiPage { uri: string; path: string; title: string; type: string; rootUri: string; claimId: string; } export interface CodeImpactFields { codeRoots?: CodeImpactRoot[]; codeRelations?: CodeImpactRelation[]; codeWikiPages?: CodeImpactWikiPage[]; codeSnapshot?: string; codeWarnings?: string[]; codeTruncated?: boolean; } export interface CodeImpactExpansion { fields: CodeImpactFields; gaps: KnowledgeGap[]; requestedPaths: string[]; } /** Only syntactic source paths in the task, never guessed directories/symbols. */ export declare function taskCodePaths(text: string): string[]; export declare function expandCodeImpact(params: { wikiRoot: string; explicitPaths: readonly string[]; taskPaths: readonly string[]; selectedPages: readonly string[]; inferClaims: boolean; readStore: () => Promise; staleClaims: ReadonlyMap; graph: RuntimeGraph; }): Promise; //# sourceMappingURL=code-impact.d.ts.map