UNPKG

autosnippet

Version:

Extract code patterns into a knowledge base for AI coding assistants

26 lines (25 loc) 765 B
/** * Shared helpers for recipe relevance audit. * * Previously duplicated in: * - rescan-internal.ts (Step 4) * - rescan-external.ts (Step 4) * * @module bootstrap/shared/audit-helpers */ import type { AstSummary, DependencyGraph } from '#types/project-snapshot.js'; /** * Extract code entities from AST project summary for audit evidence matching. */ export declare function extractCodeEntities(astProjectSummary: AstSummary | null | undefined): Array<{ name: string; kind?: string; file?: string; }>; /** * Extract dependency edges from the dependency graph for audit evidence matching. */ export declare function extractDependencyEdges(depGraphData: DependencyGraph | null | undefined): Array<{ from: string; to: string; }>;