UNPKG

knip

Version:

Find unused files, dependencies and exports in your TypeScript and JavaScript projects

10 lines (9 loc) 469 B
import type { DependencyGraph } from '../types/dependency-graph.js'; import { type TraceNode } from './trace.js'; type Result = { isReferenced: boolean; reExportingEntryFile: undefined | string; traceNode: TraceNode; }; export declare const getIsIdentifierReferencedHandler: (graph: DependencyGraph, entryPaths: Set<string>) => (filePath: string, id: string, isIncludeEntryExports?: boolean, traceNode?: TraceNode, seen?: Set<string>) => Result; export {};