UNPKG

knip

Version:

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

22 lines (21 loc) 978 B
import type { CatalogCounselor } from '../CatalogCounselor.ts'; import type { ConfigurationChief } from '../ConfigurationChief.ts'; import type { ConsoleStreamer } from '../ConsoleStreamer.ts'; import type { DependencyDeputy } from '../DependencyDeputy.ts'; import type { IssueCollector } from '../IssueCollector.ts'; import type { ModuleGraph } from '../types/module-graph.ts'; import type { MainOptions } from '../util/create-options.ts'; interface AnalyzeOptions { analyzedFiles: Set<string>; counselor: CatalogCounselor; chief: ConfigurationChief; collector: IssueCollector; deputy: DependencyDeputy; entryPaths: Set<string>; graph: ModuleGraph; streamer: ConsoleStreamer; unreferencedFiles: Set<string>; options: MainOptions; } export declare const analyze: ({ analyzedFiles, counselor, chief, collector, deputy, entryPaths, graph, streamer, unreferencedFiles, options, }: AnalyzeOptions) => Promise<() => Promise<void>>; export {};