9 lines
263 B
TypeScript
Raw Normal View History

2025-09-05 14:59:21 +08:00
import { Job } from './node-file-trace';
export interface AnalyzeResult {
assets: Set<string>;
deps: Set<string>;
imports: Set<string>;
isESM: boolean;
}
export default function analyze(id: string, code: string, job: Job): Promise<AnalyzeResult>;