UNPKG

knip

Version:

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

5 lines (4 loc) 480 B
import type { DependencyGraph, ImportDetails } from '../types/dependency-graph.js'; export declare const hasStrictlyEnumReferences: (importsForExport: ImportDetails | undefined, id: string) => boolean; export declare const hasStrictlyNsReferences: (graph: DependencyGraph, importsForExport: ImportDetails | undefined, id: string) => [boolean, string?]; export declare const getType: (hasOnlyNsReference: boolean, isType: boolean) => "exports" | "types" | "nsExports" | "nsTypes";