/** * Per-site resolution trace (debug-only). When `GRAPH_SITE_LOG` points at a * file, every `resolveDeclToHash` decision appends one TSV row: * engine \t ownerFile \t callee \t decl= \t dts= \t spec=<...> \t out= * * This is the harness that root-caused the exact↔sharded divergence classes * (the decl-file discriminator + the matching-strictness asymmetry). It is OFF * with zero production cost when the env var is unset; kept so the next * divergence investigation starts from measurement, not a rebuilt harness. */ import type { ResolverContext } from '../edge-resolvers/types.js'; import type ts from 'typescript'; /** The inputs of one `resolveDeclToHash` decision, as traced by {@link traceResolveDecl}. */ export interface ResolveDeclDecision { readonly ctx: ResolverContext; readonly candidateNames: readonly string[]; readonly bindingNames: readonly string[]; readonly declSourceFile: ts.SourceFile; readonly dts: boolean; readonly out: string | null; } /** Append one resolveDeclToHash decision row when GRAPH_SITE_LOG is set; else a no-op. */ export declare function traceResolveDecl(decision: ResolveDeclDecision): void; //# sourceMappingURL=resolution-trace.d.ts.map